|
|
(self.webpackChunk=self.webpackChunk||[]).push([[6270],{89489:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(54476),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},pe=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:pe}))},ne=_e.forwardRef(se),ie=ne},59477:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(54476),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},pe=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:pe}))},ne=_e.forwardRef(se),ie=ne},26227:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(54476),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},pe=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:pe}))},ne=_e.forwardRef(se),ie=ne},49198:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(54476),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},pe=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:pe}))},ne=_e.forwardRef(se),ie=ne},41464:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(54476),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},pe=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:pe}))},ne=_e.forwardRef(se),ie=ne},87169:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(54476),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},pe=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:pe}))},ne=_e.forwardRef(se),ie=ne},52671:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(54476),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},pe=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:pe}))},ne=_e.forwardRef(se),ie=ne},8657:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(54476),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},pe=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:pe}))},ne=_e.forwardRef(se),ie=ne},56082:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(54476),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},pe=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:pe}))},ne=_e.forwardRef(se),ie=ne},33853:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(54476),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},pe=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:pe}))},ne=_e.forwardRef(se),ie=ne},15075:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(54476),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},pe=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:pe}))},ne=_e.forwardRef(se),ie=ne},43531:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(54476),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},pe=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:pe}))},ne=_e.forwardRef(se),ie=ne},38819:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return ie}});var be=ve(54476),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},pe=E,de=ve(7657),se=function(ue,ae){return _e.createElement(de.Z,(0,be.Z)({},ue,{ref:ae,icon:pe}))},ne=_e.forwardRef(se),ie=ne},96408:function(Et,dt){"use strict";dt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},25492:function(Et,dt){"use strict";dt.Z={footer:"footer___bruwa",whiteFooter:"whiteFooter___mR7kn",error:"error___KO0Jg",case:"case___L0pNc","resize-y-bar":"resize-y-bar___NK0gI",unfoldBtn:"unfoldBtn___aMmZw",caseHead:"caseHead___EuMPr",dot:"dot___Iky9k",text:"text___lMSx6",pass:"pass___XjijC",noPass:"noPass___JxpWk",btns:"btns___FPIaK",result:"result___oRj1h",title:"title___IhMSa",left:"left___XlC98",leftNode:"leftNode___NGHgx",right:"right____fIu_",node:"node___MwdH7",elseNode:"elseNode___WjFIg",nameWrap:"nameWrap___bEdbD",scroll:"scroll___ylWYt",scrollBox:"scrollBox___hWkc9",action:"action___xBwDi",whiteCase:"whiteCase___AZiDR",disabled:"disabled___lWQU2",codeHead:"codeHead___l8q5R",navWrap:"navWrap___xdWQe",nav:"nav___JKPVX",active:"active___DTAtT",whiteCodeHead:"whiteCodeHead___wDOny",header:"header___VjNh9",timepiece:"timepiece___yuqJC",btn_edit:"btn_edit___ozzux",whiteHeader:"whiteHeader___REV3m",djs:"djs___v0Ru7",myProblems:"myProblems___DKSbs",whiteMyProblems:"whiteMyProblems___k0QS3",fullMask:"fullMask___QZH1M"}},829:function(){"use strict"},81747:function(Et,dt,ve){"use strict";var be=ve(59301),_e=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,se=(ce,ue,ae)=>ue in ce?_e(ce,ue,{enumerable:!0,configurable:!0,writable:!0,value:ae}):ce[ue]=ae,ne=(ce,ue)=>{for(var ae in ue||(ue={}))pe.call(ue,ae)&&se(ce,ae,ue[ae]);if(E)for(var ae of E(ue))de.call(ue,ae)&&se(ce,ae,ue[ae]);return ce};const ie=ce=>React.createElement("svg",ne({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},ce),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));dt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},51976:function(Et,dt,ve){"use strict";var be=ve(59301),_e=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,se=(ce,ue,ae)=>ue in ce?_e(ce,ue,{enumerable:!0,configurable:!0,writable:!0,value:ae}):ce[ue]=ae,ne=(ce,ue)=>{for(var ae in ue||(ue={}))pe.call(ue,ae)&&se(ce,ae,ue[ae]);if(E)for(var ae of E(ue))de.call(ue,ae)&&se(ce,ae,ue[ae]);return ce};const ie=ce=>React.createElement("svg",ne({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},ce),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));dt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},25863:function(){"use strict";function Et(z,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=z,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(Et.prototype,"name",{get:function(){return this._name},set:function(z){if(typeof z!="string"||z==="")throw new Error("Shape name must be a valid string.");this._name=z}}),Object.defineProperty(Et.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("The default value must be a real number, not: "+z);this._defaultValue=z}}),Object.defineProperty(Et.prototype,"minimum",{get:function(){return this._minimum},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("Minimum must be a real number, not: "+z);this._minimum=z}}),Object.defineProperty(Et.prototype,"maximum",{get:function(){return this._maximum},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("Maximum must be a real number, not: "+z);this._maximum=z}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(z,a){var y=go.Shape._FigureParameters[z];return y?y[a]:null},go.Shape.setFigureParameter=function(z,a,y){if(!(y instanceof Et))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValue<y.minimum||y.defaultValue>y.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[z];x||(x=[],go.Shape._FigureParameters[z]=x),x[a]=y};var dt=[];function ve(z,a){var y=dt.pop();return y===void 0?new go.Point(z,a):(y.x=z,y.y=a,y)}function be(){var z=dt.pop();return z===void 0?new go.Point:z}function _e(z){dt.push(z)}function E(z,a,y,x,b,ee,te,le,fe){fe||(fe=new go.Point);var ge=z-y,me=b-te,he=NaN,Se=NaN;if(ge===0)if(me===0)z===y&&(he=z,Se=a);else{var ye=(ee-le)/me,Pe=ee-ye*b;he=z,Se=ye*he+Pe}else if(me===0){var we=(a-x)/ge,De=a-we*z;he=b,Se=we*he+De}else{var we=(a-x)/ge,ye=(ee-le)/me,De=a-we*z,Pe=ee-ye*b;he=(Pe-De)/(we-ye),Se=we*he+De}return fe.x=he,fe.y=Se,fe}function pe(z,a,y,x,b,ee,te,le,fe,ge,me,he,Se,ye){var Pe=1-fe,we=fe,De=z*Pe+y*we,xe=a*Pe+x*we,Ae=y*Pe+b*we,Ce=x*Pe+ee*we,je=b*Pe+te*we,Fe=ee*Pe+le*we,Ge=De*Pe+Ae*we,Be=xe*Pe+Ce*we,tt=Ae*Pe+je*we,Ye=Ce*Pe+Fe*we,Ve=Ge*Pe+tt*we,Xe=Be*Pe+Ye*we;ge.x=De,ge.y=xe,me.x=Ge,me.y=Be,he.x=Ve,he.y=Xe,Se.x=tt,Se.y=Ye,ye.x=je,ye.y=Fe}var de=new go.Spot(.156,.156),se=new go.Spot(.844,.844),ne=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Et("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*ne,ee=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,1,-b,-b)),ee}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=y/2,x.endX=a,x.endY=y/2,x}),go.Shape.defineFigureGenerator("LineV",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=y,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(z,a,y){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(z,a,y){var x=a/2,b=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=de,b.spot2=se,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}),go.Shape.defineFigureGenerator("Line2",function(z,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=y,x}),go.Shape.defineFigureGenerator("Curve1",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,ne*a,0,a,(1-ne)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,ne*y,(1-ne)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,ne*y,ne*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-ne)*a,0,0,(1-ne)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Et("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&ee.setSpots(b/a,0,(a-b)/a,1),ee}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new Et("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)?x=10:x<-a?x=-a:x>a&&(x=a);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&ee.setSpots(b/a,0,(a-b)/a,1),ee}}),go.Shape.setFigureParameter("Trapezoid1",0,new Et("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)?x=.2:x<.5?x=-.5:x>.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&ee.setSpots(b/a,0,(a-b)/a,1),ee}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new Et("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)?x=20:x<-a?x=-a/2:x>a&&(x=a/2);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&ee.setSpots(b/a,0,(a-b)/a,1),ee}}),go.Shape.setFigureParameter("ManualOperation",0,new Et("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)?x=10:x<-a?x=-a/2:x>a&&(x=a/2);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())):ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b<a/2&&ee.setSpots(b/a,0,(a-b)/a,1),ee}});var ie=[];function ce(){var z=ie.pop();return z===void 0?[]:z}function ue(z){z.length=0,ie.push(z)}function ae(z){for(var a=ce(),y=.5,x=.5,b=Math.PI*1.5,ee=0,te=0;te<z;te++)ee=2*Math.PI/z*te+b,a[te]=new go.Point(x+y*Math.cos(ee),x+y*Math.sin(ee));return a.push(a[0]),a}function oe(z){var a=re(z),y=ce();y[0]=a[0];for(var x=1,b=1;x<a.length;x+=2,b+=3)y[b]=a[x],y[b+1]=a[x],y[b+2]=a[x+1];return ue(a),y}function re(z){for(var a=ae(z),y=ce(),x=Math.floor(a.length/2),b=a.length-1,ee=z%2===0?2:1,te=0;te<b;te++){var le=a[te],fe=a[te+1],ge=a[(x+te-1)%b],me=a[(x+te+ee)%b];y[te*2]=le,y[te*2+1]=E(le.x,le.y,ge.x,ge.y,fe.x,fe.y,me.x,me.y,new go.Point)}return y[y.length]=y[0],ue(a),y}go.Shape.defineFigureGenerator("Pentagon",function(z,a,y){var x=ae(5),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<5;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.2,.22),b.spot2=new go.Spot(.8,.9),b}),go.Shape.defineFigureGenerator("Hexagon",function(z,a,y){var x=ae(6),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<6;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.07,.25),b.spot2=new go.Spot(.93,.75),b}),go.Shape.defineFigureGenerator("Heptagon",function(z,a,y){var x=ae(7),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<7;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.2,.15),b.spot2=new go.Spot(.8,.85),b}),go.Shape.defineFigureGenerator("Octagon",function(z,a,y){var x=ae(8),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<8;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.85),b}),go.Shape.defineFigureGenerator("Nonagon",function(z,a,y){var x=ae(9),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<9;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.17,.13),b.spot2=new go.Spot(.82,.82),b}),go.Shape.defineFigureGenerator("Decagon",function(z,a,y){var x=ae(10),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<10;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("Dodecagon",function(z,a,y){var x=ae(12),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<12;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("FivePointedStar",function(z,a,y){var x=re(5),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<10;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.266,.333),b.spot2=new go.Spot(.733,.733),b}),go.Shape.defineFigureGenerator("SixPointedStar",function(z,a,y){var x=re(6),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<12;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.17,.25),b.spot2=new go.Spot(.83,.75),b}),go.Shape.defineFigureGenerator("SevenPointedStar",function(z,a,y){var x=re(7),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<14;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("EightPointedStar",function(z,a,y){var x=re(8),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<16;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("NinePointedStar",function(z,a,y){var x=re(9),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<18;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("TenPointedStar",function(z,a,y){var x=re(10),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<20;te++)ee.add(new go.PathSegment(go.PathSegment.Line,x[te].x*a,x[te].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),ue(x),b.spot1=new go.Spot(.281,.261),b.spot2=new go.Spot(.723,.748),b}),go.Shape.defineFigureGenerator("FivePointedBurst",function(z,a,y){var x=oe(5),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<x.length;te+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*a,x[te+2].y*y,x[te].x*a,x[te].y*y,x[te+1].x*a,x[te+1].y*y));return ee.segments.last().close(),ue(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("SixPointedBurst",function(z,a,y){var x=oe(6),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<x.length;te+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*a,x[te+2].y*y,x[te].x*a,x[te].y*y,x[te+1].x*a,x[te+1].y*y));return ee.segments.last().close(),ue(x),b.spot1=new go.Spot(.17,.222),b.spot2=new go.Spot(.833,.777),b}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(z,a,y){var x=oe(7),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<x.length;te+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*a,x[te+2].y*y,x[te].x*a,x[te].y*y,x[te+1].x*a,x[te+1].y*y));return ee.segments.last().close(),ue(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("EightPointedBurst",function(z,a,y){var x=oe(8),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<x.length;te+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*a,x[te+2].y*y,x[te].x*a,x[te].y*y,x[te+1].x*a,x[te+1].y*y));return ee.segments.last().close(),ue(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("NinePointedBurst",function(z,a,y){var x=oe(9),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<x.length;te+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*a,x[te+2].y*y,x[te].x*a,x[te].y*y,x[te+1].x*a,x[te+1].y*y));return ee.segments.last().close(),ue(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("TenPointedBurst",function(z,a,y){var x=oe(10),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var te=1;te<x.length;te+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[te+2].x*a,x[te+2].y*y,x[te].x*a,x[te].y*y,x[te+1].x*a,x[te+1].y*y));return ee.segments.last().close(),ue(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.setFigureParameter("FramedRectangle",0,new Et("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new Et("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(z,a,y){var x=z?z.parameter1:NaN,b=z?z.parameter2:NaN;isNaN(x)&&(x=8),isNaN(b)&&(b=8);var ee=new go.Geometry,te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x<a/2&&b<y/2&&(te.add(new go.PathSegment(go.PathSegment.Move,x,b)),te.add(new go.PathSegment(go.PathSegment.Line,x,y-b)),te.add(new go.PathSegment(go.PathSegment.Line,a-x,y-b)),te.add(new go.PathSegment(go.PathSegment.Line,a-x,b).close())),ee.setSpots(0,0,1,1,x,b,-x,-b),ee}),go.Shape.setFigureParameter("Ring",0,new Et("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=8);var b=a/2,ee=new go.Geometry,te=new go.PathFigure(a,a/2,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close());var le=Math.max(b-x,0);return le>0&&(te.add(new go.PathSegment(go.PathSegment.Move,a/2+le,a/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,le,le).close())),ee.spot1=de,ee.spot2=se,ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Cloud",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(z,a,y){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,x*y).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new Et("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Et("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(z,a,y){var x=z?z.parameter1:NaN,b=z?z.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var ee=x%360;ee<0&&(ee+=360);var te=b%360,le=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(le,le).add(new go.PathSegment(go.PathSegment.Arc,ee,te,le,le,le,le).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(z,a,y){var x=ne/Math.SQRT2*.5,b=Math.SQRT2/2,ee=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,ee*y,a,(1-x)*y,(b+x)*a,(ee+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Et("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,ee=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,te-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Et("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,ee=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te-b)).add(new go.PathSegment(go.PathSegment.Line,a,te+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,te-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new Et("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(z,a,y){var x=z?z.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}else{var ee=a/2,te=y/2,le=Math.atan2(y,a),fe=x-Math.min(Math.cos(le)*x/2,ee),ge=x-Math.min(Math.sin(le)*x/2,te),b=new go.Geometry,me=new go.PathFigure(fe,0,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Line,ee,.2*y)),me.add(new go.PathSegment(go.PathSegment.Line,a-fe,0)),me.add(new go.PathSegment(go.PathSegment.Line,a,ge)),me.add(new go.PathSegment(go.PathSegment.Line,.8*a,te)),me.add(new go.PathSegment(go.PathSegment.Line,a,y-ge)),me.add(new go.PathSegment(go.PathSegment.Line,a-fe,y)),me.add(new go.PathSegment(go.PathSegment.Line,ee,.8*y)),me.add(new go.PathSegment(go.PathSegment.Line,fe,y)),me.add(new go.PathSegment(go.PathSegment.Line,0,y-ge)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),me.add(new go.PathSegment(go.PathSegment.Line,0,ge).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new Et("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,ee=new go.PathFigure(.1*a,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new Et("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new Et("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,ne*a,0,a,(.5-ne/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+ne/2)*y,ne*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var ee=.2,te=.3,le=0,fe=ee*ne;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+ee+le)*y,(.5-ee+te)*a,(.5+fe+le)*y,(.5-fe+te)*a,(.5+ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+te)*a,(.5+le)*y,(.5+fe+te)*a,(.5+ee+le)*y,(.5+ee+te)*a,(.5+fe+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-ee+le)*y,(1-.5+ee+te)*a,(.5-fe+le)*y,(.5+fe+te)*a,(.5-ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-fe+te)*a,(.5-ee+le)*y,(.5-ee+te+.05)*a,(.5-fe+le-.02)*y)),ee=.2,te=0,le=-.3,fe=ee*ne,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+te)*a,(.5+le)*y,(.5+fe+te)*a,(.5+ee+le)*y,(.5+ee+te)*a,(.5+fe+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-ee+le)*y,(1-.5+ee+te)*a,(.5-fe+le)*y,(.5+fe+te)*a,(.5-ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+te)*a,(.5+le)*y,(.5-fe+te)*a,(.5-ee+le)*y,(.5-ee+te)*a,(.5-fe+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-fe+te)*a,(.5+ee+le)*y,(.5-ee+te)*a,(.5+fe+le)*y,(.5-fe+te)*a,(.5+ee+le)*y)),ee=.2,te=-.3,le=0,fe=ee*ne,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-ee+le)*y,(1-.5+ee+te-.05)*a,(.5-fe+le-.02)*y,(.5+fe+te)*a,(.5-ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+te)*a,(.5+le)*y,(.5-fe+te)*a,(.5-ee+le)*y,(.5-ee+te)*a,(.5-fe+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+ee+le)*y,(.5-ee+te)*a,(.5+fe+le)*y,(.5-fe+te)*a,(.5+ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+fe+te)*a,(.5+ee+le)*y,(.5+ee+te)*a,(.5+fe+le)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var ee=.1,te=.5,le=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(te+ee)*a,le*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*te,y*le,ee*a,ee*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),le=.75,b=new go.PathFigure((te+ee)*a,le*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*te,y*le,ee*a,ee*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(z,a,y){var x=.8535533905932737,b=.5*a,ee=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,ee,b,ee)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(z,a,y){var x=new go.Geometry,b=ne*.5,ee=.5,te=.5,le=.5,fe=new go.PathFigure(te*a,(le-ee)*y);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,le*y,(te-b)*a,(le-ee)*y,(te-ee)*a,(le-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+ee)*y,(te-ee)*a,(le+b)*y,(te-b)*a,(le+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,le*y,(te+b)*a,(le+ee)*y,(te+ee)*a,(le+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-ee)*y,(te+ee)*a,(le-b)*y,(te+b)*a,(le-ee)*y)),ee=.4,b=ne*.4;var ge=be(),me=be(),he=be(),Se=be();pe(te,le-ee,te+b,le-ee,te+ee,le-b,te+ee,le,.42,ge,me,he,Se,Se);var ye=be(),Pe=be(),we=be();pe(te,le-ee,te+b,le-ee,te+ee,le-b,te+ee,le,.58,Se,Se,we,ye,Pe);var De=be(),xe=be(),Ae=be();pe(te,le+ee,te-b,le+ee,te-ee,le+b,te-ee,le,.42,De,xe,Ae,Se,Se);var Ce=be(),je=be(),Fe=be();return pe(te,le+ee,te-b,le+ee,te-ee,le+b,te-ee,le,.58,Se,Se,Fe,Ce,je),fe.add(new go.PathSegment(go.PathSegment.Move,Fe.x*a,Fe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,le*y,Ce.x*a,Ce.y*y,je.x*a,je.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-ee)*y,(te-ee)*a,(le-b)*y,(te-b)*a,(le-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,ge.x*a,ge.y*y,me.x*a,me.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,Fe.x*a,Fe.y*y).close()),fe.add(new go.PathSegment(go.PathSegment.Move,Ae.x*a,Ae.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,we.x*a,we.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,le*y,ye.x*a,ye.y*y,Pe.x*a,Pe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+ee)*y,(te+ee)*a,(le+b)*y,(te+b)*a,(le+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,Ae.x*a,Ae.y*y,De.x*a,De.y*y,xe.x*a,xe.y*y).close()),_e(ge),_e(me),_e(he),_e(Se),_e(ye),_e(Pe),_e(we),_e(De),_e(xe),_e(Ae),_e(Ce),_e(je),_e(Fe),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Et("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,ee=b+x;return new go.Geometry().add(new go.PathFigure(ee,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,b,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(z,a,y){var x=new go.Geometry,b=ne*.4,ee=.4,te=.5,le=.5,fe=be(),ge=be(),me=be(),he=be(),Se=new go.PathFigure((te-ee)*a,le*y,!1);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-ee)*y,(te-ee)*a,(le-b)*y,(te-b)*a,(le-ee)*y)),pe(te,le-ee,te+b,le-ee,te+ee,le-b,te+ee,le,.44,me,he,ge,fe,fe),Se.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,me.x*a,me.y*y,he.x*a,he.y*y));var ye=ve(ge.x,ge.y);pe(te,le-ee,te+b,le-ee,te+ee,le-b,te+ee,le,.56,fe,fe,ge,me,he);var Pe=ve(ge.x,ge.y);Se.add(new go.PathSegment(go.PathSegment.Line,(ye.x*.1+.95*.9)*a,ye.y*.1*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,ye.y*.1*y)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),Se.add(new go.PathSegment(go.PathSegment.Line,a,0)),Se.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,.15*y)),Se.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,(Pe.y*.1+.05*.9)*y)),Se.add(new go.PathSegment(go.PathSegment.Line,Pe.x*a,Pe.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,le*y,me.x*a,me.y*y,he.x*a,he.y*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+ee)*y,(te+ee)*a,(le+b)*y,(te+b)*a,(le+ee)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,le*y,(te-b)*a,(le+ee)*y,(te-ee)*a,(le+b)*y)),ee=.35,b=ne*.35;var we=new go.PathFigure(te*a,(le-ee)*y,!1);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,le*y,(te-b)*a,(le-ee)*y,(te-ee)*a,(le-b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+ee)*y,(te-ee)*a,(le+b)*y,(te-b)*a,(le+ee)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,le*y,(te+b)*a,(le+ee)*y,(te+ee)*a,(le+b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-ee)*y,(te+ee)*a,(le-b)*y,(te+b)*a,(le-ee)*y));var De=new go.PathFigure((te-ee)*a,le*y,!1);return x.add(De),_e(fe),_e(ge),_e(me),_e(he),_e(ye),_e(Pe),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(z,a,y){var x=new go.Geometry,b=.375,ee=0,te=-.125,le=b*ne,fe=new go.PathFigure((.525+ee)*a,(.5+b+te)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+te)*y,(.5+le+ee)*a,(.5+b+te)*y,(.5+b+ee)*a,(.5+le+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+te)*y,(1-.5+b+ee)*a,(.5-le+te)*y,(.5+le+ee)*a,(.5-b+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+te)*y,(.5-le+ee)*a,(.5-b+te)*y,(.5-b+ee)*a,(.5-le+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*a,(.5+b+te)*y,(.5-b+ee)*a,(.5+le+te)*y,(.5-le+ee)*a,(.5+b+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,ee=0,te=-.125,le=b*ne;var fe=new go.PathFigure((1-.5+b+ee)*a,(.5+te)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+b+te)*y,(.5+b+ee)*a,(.5+le+te)*y,(.5+le+ee)*a,(.5+b+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+te)*y,(.5-le+ee)*a,(.5+b+te)*y,(.5-b+ee)*a,(.5+le+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+te)*y,(.5-b+ee)*a,(.5-le+te)*y,(.5-le+ee)*a,(.5-b+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+te)*y,(.5+le+ee)*a,(.5-b+te)*y,(1-.5+b+ee)*a,(.5-le+te)*y));var fe=new go.PathFigure((.525+ee)*a,(.5+b+te)*y,!1);return x.add(fe),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(z,a,y){var x=z?z.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(z,a,y){var x=z?z.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(z,a,y){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(z,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(z,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Et("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Et("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=z?z.parameter2:NaN;isNaN(b)&&(b=.3);var ee=(1-x)*a,te=(.5-b/2)*y,le=(.5+b/2)*y,fe=new go.Geometry,ge=new go.PathFigure(0,te,!0);fe.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee,te)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,le)),ge.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),fe.spot1=new go.Spot(0,te/y);var me=E(0,le/y,1,le/y,ee/a,1,1,.5,be());return fe.spot2=new go.Spot(me.x,me.y),_e(me),fe}),go.Shape.setFigureParameter("Arrow2",0,new Et("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Et("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=z?z.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var ee=a-x,te=(y-b)/2,le=te+b,fe=new go.Geometry,ge=new go.PathFigure(0,te,!0);fe.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee,te)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,le)),ge.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),fe.spot1=new go.Spot(0,te/y);var me=E(0,le/y,1,le/y,ee/a,1,1,.5,be());return fe.spot2=new go.Spot(me.x,me.y),_e(me),fe}),go.Shape.defineFigureGenerator("Chevron",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Et("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,ee=(.5+x/2)*y,te=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);te.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var fe=E(0,.5,.3,0,0,b/y,.1,b/y,be());return te.spot1=new go.Spot(fe.x,fe.y),fe=E(.7,1,1,.5,0,ee/y,1,ee/y,fe),te.spot2=new go.Spot(fe.x,fe.y),_e(fe),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Et("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Et("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=40);var b=z?z.parameter2:NaN;isNaN(b)&&(b=100);var ee=(y-x)/2,te=ee+x,le=(y-b)/2,fe=le+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,te=ee+x,le=0,fe=y):(ee=0,te=y,le=0,fe=y));var ge=new go.Geometry,me=new go.PathFigure(a,.5*y,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),me.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),me.add(new go.PathSegment(go.PathSegment.Line,.3*a,fe)),me.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),me.add(new go.PathSegment(go.PathSegment.Line,.3*a,le)),me.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,le).close());var he=E(0,.5,.3,le/y,0,ee/y,1,ee/y,be());return ge.spot1=new go.Spot(he.x,he.y),he=E(.7,fe/y,1,.5,0,te/y,1,te/y,he),ge.spot2=new go.Spot(he.x,he.y),_e(he),ge}),go.Shape.setFigureParameter("IBeamArrow",0,new Et("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,ee=(.5+x/2)*y,te=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);te.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(0,b/y);var fe=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return te.spot2=new go.Spot(fe.x,fe.y),_e(fe),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new Et("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Et("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=40);var b=z?z.parameter2:NaN;isNaN(b)&&(b=100);var ee=(y-x)/2,te=ee+x,le=(y-b)/2,fe=le+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,te=ee+x,le=0,fe=y):(ee=0,te=y,le=0,fe=y));var ge=new go.Geometry,me=new go.PathFigure(a,.5*y,!0);ge.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,fe)),me.add(new go.PathSegment(go.PathSegment.Line,0,fe)),me.add(new go.PathSegment(go.PathSegment.Line,0,le)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,le)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),me.add(new go.PathSegment(go.PathSegment.Line,.7*a,le).close()),ge.spot1=new go.Spot(0,ee/y);var he=E(.7,fe/y,1,.5,0,te/y,1,te/y,be());return ge.spot2=new go.Spot(he.x,he.y),_e(he),ge}),go.Shape.setFigureParameter("Pointer",0,new Et("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var te=E(.2,.65,1,.65,0,1,1,.5,be());return b.spot2=new go.Spot(te.x,te.y),_e(te),b}),go.Shape.setFigureParameter("RoundedPointer",0,new Et("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var te=E(0,.65,1,.65,0,1,1,.5,be());return b.spot2=new go.Spot(te.x,te.y),_e(te),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new Et("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,ee=(.5+x/2)*y,te=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);te.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,0,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,.3);var fe=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return te.spot2=new go.Spot(fe.x,fe.y),_e(fe),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Et("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,ee=b+x;x>y&&(b=0,ee=y);var te=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);te.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,0,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,b/y);var fe=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return te.spot2=new go.Spot(fe.x,fe.y),_e(fe),te}),go.Shape.setFigureParameter("SquareArrow",0,new Et("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(z,a,y){var x=new go.Geometry,b=ne*.5,ee=ne*.1,te=new go.PathFigure(0,.9*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var ee=new go.PathFigure(0,.9*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var ee=new go.PathFigure(.5*a,y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var ee=new go.PathFigure(0,.3*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,ee=ne*.5,te=new go.PathFigure(0,x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ne*x,(.5-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+ee)*a,0,1*a,ne*x)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-ne*x,(.5+ee)*a,1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,1*y,0,y-ne*x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x));var le=new go.PathFigure(a,x,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-ne*x,(.5+ee)*a,2*x)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-ee)*a,2*x,0,2*x-ne*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,ee=ne*.5,te=new go.PathFigure(0,y-x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ne*x,(.5-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+ee)*a,0,a,ne*x)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-ne*x,(.5+ee)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,y,0,y-ne*x));var le=new go.PathFigure(0,y-x,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-ne*x,(.5-ee)*a,y-2*x)),le.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+ee)*a,y-2*x,a,y-x-ne*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,ee=ne*.5,te=new go.PathFigure(x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ne*x,0,a,(.5-ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-ne*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ne*x,y,0,(.5+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,ne*x,0));var le=new go.PathFigure(x,0,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+ne*x,0,2*x,(.5-ee)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+ee)*y,x+ne*x,y)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,ee=ne*.5,te=new go.PathFigure(a-x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ne*x,0,a,(.5-ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-ne*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ne*x,y,0,(.5+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,ne*x,0)),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var le=new go.PathFigure(a-x,0,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-ne*x,0,a-2*x,(.5-ee)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+ee)*y,a-x-ne*x,y)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(.25*a,.25*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var ee=new go.PathFigure(.5*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var ee=new go.PathFigure(.5*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(z,a,y){var x=new go.Geometry,b=.2,ee=.1,te=ne*b,le=ne*ee,fe=.5,ge=.1,me=new go.PathFigure(fe*a,(ge+ee)*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-b)*a,ge*y,(fe-te)*a,(ge+ee)*y,(fe-b)*a,(ge+le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-ee)*y,(fe-b)*a,(ge-le)*y,(fe-te)*a,(ge-ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe+b)*a,ge*y,(fe+te)*a,(ge-ee)*y,(fe+b)*a,(ge-le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+ee)*y,(fe+b)*a,(ge+le)*y,(fe+te)*a,(ge+ee)*y));var he=.05,Se=ne*he;fe=.05,ge=.25;var ye=new go.PathFigure(.5*a,.2*y,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),fe=.95,ge=.25,ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe+he)*a,ge*y,(fe+Se)*a,(ge-he)*y,(fe+he)*a,(ge-Se)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),he=.025,Se=ne*he,fe=.825,ge=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe+he)*a,(ge-Se)*y,(fe+Se)*a,(ge-he)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-he)*a,ge*y,(fe-Se)*a,(ge-he)*y,(fe-he)*a,(ge-Se)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),he=.05,Se=ne*he,fe=.5,ge=.7,ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe+he)*a,(ge-Se)*y,(fe+Se)*a,(ge-he)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-he)*a,ge*y,(fe-Se)*a,(ge-he)*y,(fe-he)*a,(ge-Se)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),he=.025,Se=ne*he,fe=.175,ge=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe+he)*a,(ge-Se)*y,(fe+Se)*a,(ge-he)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-he)*a,ge*y,(fe-Se)*a,(ge-he)*y,(fe-he)*a,(ge-Se)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),he=.05,Se=ne*he,fe=.05,ge=.25,ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe-he)*a,(ge-Se)*y,(fe-Se)*a,(ge-he)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new Et("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,ee=new go.PathFigure(a,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var ee=new go.PathFigure(.5*a,.5*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,b*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(z,a,y){var x=new go.Geometry,b=ne*.5,ee=ne*.1,te=new go.PathFigure(a,.1*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-ee)*y));var le=new go.PathFigure(a,.1*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+ee)*y,(.5+b)*a,.4*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+ee)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(z,a,y){var x=new go.Geometry,b=ne*.5,ee=ne*.1,te=new go.PathFigure(a,.1*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-ee)*y));var le=new go.PathFigure(a,.1*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var ee=ne*.2,te=new go.PathFigure(0,.2*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-ee)*y,(.2-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+ee)*a,0,a,(.2-ee)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+ee)*y,(.8+ee)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-ee)*a,y,0,(.8+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var le=new go.PathFigure(0,b*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(0,b*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(z,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(b*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),te.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var ee=new go.PathFigure(.1*a,.4*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(.75*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var ee=new go.PathFigure(a,.5*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y));var te=new go.PathFigure(a,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,ee=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var le=new go.PathFigure(b*a,0,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),le.add(new go.PathSegment(go.PathSegment.Move,0,ee*y)),le.add(new go.PathSegment(go.PathSegment.Line,a,ee*y)),x}),go.Shape.defineFigureGenerator("Junction",function(z,a,y){var x=new go.Geometry,b=1/Math.SQRT2,ee=(1-1/Math.SQRT2)/2,te=ne*.5,le=.5,fe=new go.PathFigure(a,le*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,le*a,y,a,(le+te)*y,(le+te)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,le*y,(le-te)*a,y,0,(le+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,le*a,0,0,(le-te)*y,(le-te)*a,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,le*y,(le+te)*a,0,a,(le-te)*y));var ge=new go.PathFigure((ee+b)*a,(ee+b)*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee*a,ee*y)),ge.add(new go.PathSegment(go.PathSegment.Move,ee*a,(ee+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,(ee+b)*a,ee*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(z,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var ee=new go.PathFigure(.1*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(z,a,y){var x=new go.Geometry,b=ne*.5,ee=.5,te=new go.PathFigure(.5*a,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ee+.1)*a,.9*y,a,(ee+b)*y,(ee+b)*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.7);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(z,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var ee=new go.PathFigure(.1*a,.2*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var ee=new go.PathFigure(.2*a,.1*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=1-b,te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var le=new go.PathFigure(.5*b*a,b*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(z,a,y){var x=new go.Geometry,b=ne*.5,ee=.5,te=new go.PathFigure(a,ee*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+b)*y,(ee+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y));var le=new go.PathFigure(a,.5*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),le.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(z,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,ee=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,ee=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure((1-b)*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var te=new go.PathFigure(b*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(b*a,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var te=new go.PathFigure(b*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(z,a,y){var x=new go.Geometry,b=ne*.5,ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(z,a,y){var x=new go.Geometry,b=ne*.5,ee=.5,te=new go.PathFigure(a,ee*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+b)*y,(ee+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y));var le=new go.PathFigure(a,ee*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,ee*y));var fe=new go.PathFigure(.8*a,.75*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),x}),go.Shape.defineFigureGenerator("Inverter",function(z,a,y){var x=new go.Geometry,b=ne*.1,ee=.1,te=.9,le=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,0,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ge=new go.PathFigure((te+ee)*a,le*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+ee)*y,(te+ee)*a,(le+b)*y,(te+b)*a,(le+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,le*y,(te-b)*a,(le+ee)*y,(te-ee)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-ee)*y,(te-ee)*a,(le-b)*y,(te-b)*a,(le-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,le*y,(te+b)*a,(le-ee)*y,(te+ee)*a,(le-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(z,a,y){var x=new go.Geometry,b=ne*.5,ee=ne*.4,te=ne*.1,le=.1,fe=.9,ge=.5,me=new go.PathFigure(.8*a,.5*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+ee)*y,(.4+b)*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,0,y)),me.add(new go.PathSegment(go.PathSegment.Line,0,0)),me.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),me.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-ee)*y));var he=new go.PathFigure((fe+le)*a,ge*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+le)*y,(fe+le)*a,(ge+te)*y,(fe+te)*a,(ge+le)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe-le)*a,ge*y,(fe-te)*a,(ge+le)*y,(fe-le)*a,(ge+te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-le)*y,(fe-le)*a,(ge-te)*y,(fe-te)*a,(ge-le)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe+le)*a,ge*y,(fe+te)*a,(ge-le)*y,(fe+le)*a,(ge-te)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(z,a,y){var x=new go.Geometry,b=.5,ee=ne*b,te=0,le=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(le+ee)*y,(te+ee)*a,(le+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+ee)*a,(le-b)*y,.7*a,(le-ee)*y)),b=.1,ee=ne*.1,te=.9,le=.5;var ge=new go.PathFigure((te-b)*a,le*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-b)*y,(te-b)*a,(le-ee)*y,(te-ee)*a,(le-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,le*y,(te+ee)*a,(le-b)*y,(te+b)*a,(le-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+b)*y,(te+b)*a,(le+ee)*y,(te+ee)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,le*y,(te-ee)*a,(le+b)*y,(te-b)*a,(le+ee)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(z,a,y){var x=new go.Geometry,b=.5,ee=ne*b,te=0,le=.5,fe=new go.PathFigure(0,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+ee+ee)*a,(le-b)*y,.8*a,(le-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(le+ee)*y,(te+ee+ee)*a,(le+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(z,a,y){var x=new go.Geometry,b=.5,ee=ne*b,te=.2,le=.5,fe=new go.PathFigure(.1*a,0,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ge=new go.PathFigure(.8*a,.5*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(le+ee)*y,(te+ee)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+ee)*a,(le-b)*y,.7*a,(le-ee)*y)),b=.1,ee=ne*.1,te=.9,le=.5;var me=new go.PathFigure((te-b)*a,le*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-b)*y,(te-b)*a,(le-ee)*y,(te-ee)*a,(le-b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,le*y,(te+ee)*a,(le-b)*y,(te+b)*a,(le-ee)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+b)*y,(te+b)*a,(le+ee)*y,(te+ee)*a,(le+b)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,le*y,(te-ee)*a,(le+b)*y,(te-b)*a,(le+ee)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(z,a,y){var x=new go.Geometry,b=.5,ee=ne*b,te=.2,le=.5,fe=new go.PathFigure(.1*a,0,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ge=new go.PathFigure(.2*a,0,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+ee)*a,(le-b)*y,.9*a,(le-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(le+ee)*y,(te+ee)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Resistor",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),x}),go.Shape.defineFigureGenerator("Inductor",function(z,a,y){var x=new go.Geometry,b=ne*.1,ee=.1,te=.1,le=.5,fe=new go.PathFigure((te-b*.5)*a,y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-b)*a,y,(te-ee)*a,0)),te=.3,fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+ee)*a,0,(te+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-b)*a,y,(te-ee)*a,0)),te=.5,fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+ee)*a,0,(te+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-b)*a,y,(te-ee)*a,0)),te=.7,fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+ee)*a,0,(te+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,0,(te-b)*a,y,(te-ee)*a,0)),te=.9,fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+b*.5)*a,y,(te+ee)*a,0,(te+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(z,a,y){var x=new go.Geometry,b=ne*.5,ee=.5,te=.5,le=.5,fe=new go.PathFigure((te-ee)*a,le*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-ee)*y,(te-ee)*a,(le-b)*y,(te-b)*a,(le-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,le*y,(te+b)*a,(le-ee)*y,(te+ee)*a,(le-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+ee)*y,(te+ee)*a,(le+b)*y,(te+b)*a,(le+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,le*y,(te-b)*a,(le+ee)*y,(te-ee)*a,(le+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Move,(te-ee+.1)*a,le*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee-.1)*a,le*y,te*a,(le-ee)*y,te*a,(le+ee)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Diode",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(z,a,y){var x=new go.Geometry,b=a,ee=y;a=a*.38,y=y*.6;var te=ne*.8,le=.8,fe=0,ge=.5,me=(b-a)/2,he=(ee-y)/2,Se=new go.PathFigure(fe*a+me,(ge+le)*y+he,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(fe-le)*a+me,ge*y+he,(fe-te)*a+me,(ge+le)*y+he,(fe-le)*a+me,(ge+te)*y+he)),Se.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+me,(ge-le)*y+he,(fe-le)*a+me,(ge-te)*y+he,(fe-te)*a+me,(ge-le)*y+he)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(fe-le+te*.5)*a+me,ge*y+he,fe*a+me,(ge-le)*y+he,(fe-le+te*.5)*a+me,(ge-te)*y+he)),Se.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+me,(ge+le)*y+he,(fe-le+te*.5)*a+me,(ge+te)*y+he,fe*a+me,(ge+le)*y+he).close()),te=ne*.4,le=.4,fe=.2,ge=.5;var ye=new go.PathFigure(fe*a+me,(ge+le)*y+he,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-le)*a+me,ge*y+he,(fe-te)*a+me,(ge+le)*y+he,(fe-le)*a+me,(ge+te)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+me,(ge-le)*y+he,(fe-le)*a+me,(ge-te)*y+he,(fe-te)*a+me,(ge-le)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-le+te*.5)*a+me,ge*y+he,fe*a+me,(ge-le)*y+he,(fe-le+te*.5)*a+me,(ge-te)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+me,(ge+le)*y+he,(fe-le+te*.5)*a+me,(ge+te)*y+he,fe*a+me,(ge+le)*y+he).close()),te=ne*.2,le=.2,fe=.5,ge=.5;var Pe=new go.PathFigure((fe-le)*a+me,ge*y+he,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+me,(ge-le)*y+he,(fe-le)*a+me,(ge-te)*y+he,(fe-te)*a+me,(ge-le)*y+he)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+le)*a+me,ge*y+he,(fe+te)*a+me,(ge-le)*y+he,(fe+le)*a+me,(ge-te)*y+he)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+me,(ge+le)*y+he,(fe+le)*a+me,(ge+te)*y+he,(fe+te)*a+me,(ge+le)*y+he)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-le)*a+me,ge*y+he,(fe-te)*a+me,(ge+le)*y+he,(fe-le)*a+me,(ge+te)*y+he)),te=ne*.4,le=.4,fe=.8,ge=.5;var we=new go.PathFigure(fe*a+me,(ge-le)*y+he,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(fe+le)*a+me,ge*y+he,(fe+te)*a+me,(ge-le)*y+he,(fe+le)*a+me,(ge-te)*y+he)),we.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+me,(ge+le)*y+he,(fe+le)*a+me,(ge+te)*y+he,(fe+te)*a+me,(ge+le)*y+he)),we.add(new go.PathSegment(go.PathSegment.Bezier,(fe+le-te*.5)*a+me,ge*y+he,fe*a+me,(ge+le)*y+he,(fe+le-te*.5)*a+me,(ge+te)*y+he)),we.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+me,(ge-le)*y+he,(fe+le-te*.5)*a+me,(ge-te)*y+he,fe*a+me,(ge-le)*y+he).close()),te=ne*.8,le=.8,fe=1,ge=.5;var De=new go.PathFigure(fe*a+me,(ge-le)*y+he,!0);return x.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(fe+le)*a+me,ge*y+he,(fe+te)*a+me,(ge-le)*y+he,(fe+le)*a+me,(ge-te)*y+he)),De.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+me,(ge+le)*y+he,(fe+le)*a+me,(ge+te)*y+he,(fe+te)*a+me,(ge+le)*y+he)),De.add(new go.PathSegment(go.PathSegment.Bezier,(fe+le-te*.5)*a+me,ge*y+he,fe*a+me,(ge+le)*y+he,(fe+le-te*.5)*a+me,(ge+te)*y+he)),De.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+me,(ge-le)*y+he,(fe+le-te*.5)*a+me,(ge-te)*y+he,fe*a+me,(ge-le)*y+he).close()),x}),go.Shape.defineFigureGenerator("Email",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var ee=new go.PathFigure(.1*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var te=new go.PathFigure(.6*a,y,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var le=new go.PathFigure(0,.5*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),le.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),le.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(z,a,y){var x=new go.Geometry,b=ne*.4,ee=.4,te=.5,le=.5,fe=be(),ge=be(),me=be(),he=be();pe(te,le-ee,te+b,le-ee,te+ee,le-b,te+ee,le,.5,fe,fe,ge,me,he);var Se=ve(ge.x,ge.y),ye=new go.PathFigure(ge.x*a,ge.y*y,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,le*y,me.x*a,me.y*y,he.x*a,he.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+ee)*y,(te+ee)*a,(le+b)*y,(te+b)*a,(le+ee)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,le*y,(te-b)*a,(le+ee)*y,(te-ee)*a,(le+b)*y)),pe(te-ee,le,te-ee,le-b,te-b,le-ee,te,le-ee,.5,me,he,ge,fe,fe),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,me.x*a,me.y*y,he.x*a,he.y*y)),b=ne*.3,ee=.3,pe(te-ee,le,te-ee,le-b,te-b,le-ee,te,le-ee,.5,me,he,ge,fe,fe),ye.add(new go.PathSegment(go.PathSegment.Line,ge.x*a,ge.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,le*y,he.x*a,he.y*y,me.x*a,me.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+ee)*y,(te-ee)*a,(le+b)*y,(te-b)*a,(le+ee)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,le*y,(te+b)*a,(le+ee)*y,(te+ee)*a,(le+b)*y)),pe(te,le-ee,te+b,le-ee,te+ee,le-b,te+ee,le,.5,fe,fe,ge,me,he),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,he.x*a,he.y*y,me.x*a,me.y*y).close());var ye=new go.PathFigure(.45*a,0,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),_e(fe),_e(ge),_e(me),_e(he),_e(Se),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function ee(te,le,fe){te.add(new go.PathSegment(go.PathSegment.Move,(.3+le)*a,(.8+fe)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+le)*a,(.5+fe)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+le)*a,(.5+fe)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+le)*a,(.8+fe)*y).close())}return ee(b,0,0),ee(b,.4,0),ee(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.37*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),b.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(z,a,y){var x=new go.Geometry,b=.5,ee=0,te=0,le=b*ne,fe=.4*Math.SQRT2/2+.5,ge=.5-.5*Math.SQRT2/2,me=1,he=.5,Se=.5,ye=0,Pe=new go.PathFigure(fe*a,(1-ge)*y,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,me*a,he*y,me*a,.7*y,me*a,he*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(Se+ee)*a,(ye+ee)*y,(.5+b+ee)*a,(.5-le+ee)*y,(.5+le+ee)*a,(.5-b+ee)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+te)*y,(.5-le+ee)*a,(.5-b+te)*y,(.5-b+ee)*a,(.5-le+te)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*a,.9*y,(.5-b+ee)*a,(.5+le+te)*y,(.5-le+ee)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Move,(.25+ee)*a,.8*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.35+ee)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.2+ee)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(a,y,!1);x.add(ee);var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var b=new go.PathFigure(0,.2*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var ee=new go.PathFigure(.45*a,.73*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var te=.5-.285,le=.5,fe=te,ge=Math.PI/4,me=4*(1-Math.cos(ge))/(3*Math.sin(ge)),he=me*.5,Se=te,ye=te,Pe=me*Se,we=me*ye;ee.add(new go.PathSegment(go.PathSegment.Bezier,(le-Se)*a,fe*y,(le-(Pe+Se)/2)*a,(fe+(ye+we)/2)*y,(le-Se)*a,(fe+we)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(fe-ye)*y,(le-Se)*a,(fe-we)*y,(le-Pe)*a,(fe-ye)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(le+Se)*a,fe*y,(le+Pe)*a,(fe-ye)*y,(le+Se)*a,(fe-we)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(le+Se)*a,(fe+we)*y,(le+(Pe+Se)/2)*a,(fe+(ye+we)/2)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var De=new go.PathFigure(.2*a,y,!1);x.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var xe=new go.PathFigure(.8*a,y,!1);return x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.2*a,.2*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(a,y,!1);x.add(ee);var te=new go.PathFigure(.1*a,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var ee=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-ee)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,ee*a,ee*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),b.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),b.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var ee=new go.PathFigure(.475*a,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var te=new go.PathFigure(.675*a,.575*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),te.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),te.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(z,a,y){var x=new go.Geometry,b=.5,ee=ne*.5,te=new go.PathFigure(a,b*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+ee)*y,(b+ee)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-ee)*a,y,0,(b+ee)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-ee)*y,(b-ee)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+ee)*a,0,a,(b-ee)*y));var le=new go.PathFigure(b*a,0,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),le.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),le.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),le.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,.15*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var te=new go.PathFigure(0,.6*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var ee=new go.PathFigure(.15*a,.6*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var te=.1,le=ne*.1,fe=.2,ge=.9,me=new go.PathFigure((fe-te)*a,ge*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-te)*y,(fe-te)*a,(ge-le)*y,(fe-le)*a,(ge-te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe+te)*a,ge*y,(fe+le)*a,(ge-te)*y,(fe+te)*a,(ge-le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+te)*y,(fe+te)*a,(ge+le)*y,(fe+le)*a,(ge+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-te)*a,ge*y,(fe-le)*a,(ge+te)*y,(fe-te)*a,(ge+le)*y).close()),te=.1,le=ne*.1,fe=.8,ge=.9;var he=new go.PathFigure((fe-te)*a,ge*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-te)*y,(fe-te)*a,(ge-le)*y,(fe-le)*a,(ge-te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe+te)*a,ge*y,(fe+le)*a,(ge-te)*y,(fe+te)*a,(ge-le)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+te)*y,(fe+te)*a,(ge+le)*y,(fe+le)*a,(ge+te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe-te)*a,ge*y,(fe-le)*a,(ge+te)*y,(fe-te)*a,(ge+le)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),x}),go.Shape.defineFigureGenerator("Forklift",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var ee=new go.PathFigure(0,.5*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var te=new go.PathFigure(.5*a,.8*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var le=new go.PathFigure(.5*a,.7*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var fe=.1,ge=ne*.1,me=.1,he=.9,Se=new go.PathFigure((me-fe)*a,he*y,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(he-fe)*y,(me-fe)*a,(he-ge)*y,(me-ge)*a,(he-fe)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(me+fe)*a,he*y,(me+ge)*a,(he-fe)*y,(me+fe)*a,(he-ge)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(he+fe)*y,(me+fe)*a,(he+ge)*y,(me+ge)*a,(he+fe)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(me-fe)*a,he*y,(me-ge)*a,(he+fe)*y,(me-fe)*a,(he+ge)*y)),fe=.1,ge=ne*.1,me=.4,he=.9;var ye=new go.PathFigure((me-fe)*a,he*y,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(he-fe)*y,(me-fe)*a,(he-ge)*y,(me-ge)*a,(he-fe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(me+fe)*a,he*y,(me+ge)*a,(he-fe)*y,(me+fe)*a,(he-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,me*a,(he+fe)*y,(me+fe)*a,(he+ge)*y,(me+ge)*a,(he+fe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(me-fe)*a,he*y,(me-ge)*a,(he+fe)*y,(me-fe)*a,(he+ge)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var ee=new go.PathFigure(.45*a,.7*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var te=new go.PathFigure(.55*a,.4*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var me=.05,he=ne*.05,Se=.175,ye=.95,le=new go.PathFigure((Se-me)*a,ye*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye-me)*y,(Se-me)*a,(ye-he)*y,(Se-he)*a,(ye-me)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*a,ye*y,(Se+he)*a,(ye-me)*y,(Se+me)*a,(ye-he)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye+me)*y,(Se+me)*a,(ye+he)*y,(Se+he)*a,(ye+me)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*a,ye*y,(Se-he)*a,(ye+me)*y,(Se-me)*a,(ye+he)*y));var me=.05,he=ne*.05,Se=.375,ye=.95,fe=new go.PathFigure((Se-me)*a,ye*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye-me)*y,(Se-me)*a,(ye-he)*y,(Se-he)*a,(ye-me)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*a,ye*y,(Se+he)*a,(ye-me)*y,(Se+me)*a,(ye-he)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye+me)*y,(Se+me)*a,(ye+he)*y,(Se+he)*a,(ye+me)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*a,ye*y,(Se-he)*a,(ye+me)*y,(Se-me)*a,(ye+he)*y));var me=.05,he=ne*.05,Se=.625,ye=.95,ge=new go.PathFigure((Se-me)*a,ye*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye-me)*y,(Se-me)*a,(ye-he)*y,(Se-he)*a,(ye-me)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*a,ye*y,(Se+he)*a,(ye-me)*y,(Se+me)*a,(ye-he)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye+me)*y,(Se+me)*a,(ye+he)*y,(Se+he)*a,(ye+me)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*a,ye*y,(Se-he)*a,(ye+me)*y,(Se-me)*a,(ye+he)*y));var me=.05,he=ne*.05,Se=.825,ye=.95,Pe=new go.PathFigure((Se-me)*a,ye*y,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye-me)*y,(Se-me)*a,(ye-he)*y,(Se-he)*a,(ye-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(Se+me)*a,ye*y,(Se+he)*a,(ye-me)*y,(Se+me)*a,(ye-he)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,Se*a,(ye+me)*y,(Se+me)*a,(ye+he)*y,(Se+he)*a,(ye+me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(Se-me)*a,ye*y,(Se-he)*a,(ye+me)*y,(Se-me)*a,(ye+he)*y).close());var we=new go.PathFigure(0,y,!1);return x.add(we),we.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var te=new go.PathFigure(.15*a,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var le=.05,fe=ne*.05,ge=.35,me=.775,he=new go.PathFigure((ge-le)*a,me*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(me-le)*y,(ge-le)*a,(me-fe)*y,(ge-fe)*a,(me-le)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ge+le)*a,me*y,(ge+fe)*a,(me-le)*y,(ge+le)*a,(me-fe)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(me+le)*y,(ge+le)*a,(me+fe)*y,(ge+fe)*a,(me+le)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ge-le)*a,me*y,(ge-fe)*a,(me+le)*y,(ge-le)*a,(me+fe)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Globe",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),x}),go.Shape.defineFigureGenerator("Wave",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),x}),go.Shape.defineFigureGenerator("Operator",function(z,a,y){var x=new go.Geometry,b=.3,ee=ne*.3,te=.5,le=.7,fe=new go.PathFigure((te-b)*a,le*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-b)*y,(te-b)*a,(le-ee)*y,(te-ee)*a,(le-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,le*y,(te+ee)*a,(le-b)*y,(te+b)*a,(le-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+b)*y,(te+b)*a,(le+ee)*y,(te+ee)*a,(le+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,le*y,(te-ee)*a,(le+b)*y,(te-b)*a,(le+ee)*y));var ge=new go.PathFigure(0,.7*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var ee=new go.PathFigure(0,.6*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(z,a,y){var x=new go.Geometry,b=.5,ee=ne*.5,te=.5,le=.5,fe=new go.PathFigure((te-b)*a,le*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-b)*y,(te-b)*a,(le-ee)*y,(te-ee)*a,(le-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,le*y,(te+ee)*a,(le-b)*y,(te+b)*a,(le-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+b)*y,(te+b)*a,(le+ee)*y,(te+ee)*a,(le+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,le*y,(te-ee)*a,(le+b)*y,(te-b)*a,(le+ee)*y));var ge=new go.PathFigure(.15*a,.5*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.1*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),x}),go.Shape.defineFigureGenerator("Help",function(z,a,y){var x=new go.Geometry,b=.5,ee=ne*.5,te=.5,le=.5,fe=new go.PathFigure((te-b)*a,le*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-b)*y,(te-b)*a,(le-ee)*y,(te-ee)*a,(le-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,le*y,(te+ee)*a,(le-b)*y,(te+b)*a,(le-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+b)*y,(te+b)*a,(le+ee)*y,(te+ee)*a,(le+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,le*y,(te-ee)*a,(le+b)*y,(te-b)*a,(le+ee)*y).close()),b=.05,ee=ne*.05,te=.5,le=.8;var ge=new go.PathFigure((te-b)*a,le*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le-b)*y,(te-b)*a,(le-ee)*y,(te-ee)*a,(le-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,le*y,(te+ee)*a,(le-b)*y,(te+b)*a,(le-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(le+b)*y,(te+b)*a,(le+ee)*y,(te+ee)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,le*y,(te-ee)*a,(le+b)*y,(te-b)*a,(le+ee)*y).close()),ge.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.2*a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.2*a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(z,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),x}),go.Shape.defineFigureGenerator("Map",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),x}),go.Shape.defineFigureGenerator("Eject",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var ee=new go.PathFigure(0,y*.6,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var ee=new go.PathFigure(.126*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var te=new go.PathFigure(.402*a,.85*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var le=new go.PathFigure(.678*a,.85*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),le.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),le.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var fe=new go.PathFigure(.5*a,.1*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),fe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var ee=new go.PathFigure(a*.204,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var te=new go.PathFigure(a*.408,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var le=new go.PathFigure(a*.612,y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),le.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),le.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var fe=new go.PathFigure(a*.816,y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var ee=new go.PathFigure(a*.055,.07*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var te=new go.PathFigure(a*.055,.13*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var le=new go.PathFigure(a*.055,.18*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),le.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),le.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var fe=new go.PathFigure(a*1,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(.55*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),x}),go.Shape.defineFigureGenerator("Key",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(0,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),ee.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var te=new go.PathFigure(a*.11,y*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),te.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var le=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var fe=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(z,a,y){var x=new go.Geometry,b=8,ee=b*ne,te=new go.PathFigure(b,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-ee,a-ee,y)),te.add(new go.PathSegment(go.PathSegment.Line,b,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,ee,y,0,y-ee)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,ee,ee,0).close());var le=new go.PathFigure(a*.83,0,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),le.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),le.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var fe=new go.PathFigure(a*.83,y*1,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var ge=new go.PathFigure(a*.78,y*.05,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*ne,ee=y*.8,te=new go.Geometry,le=new go.PathFigure(x,0,!0);return te.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),le.add(new go.PathSegment(go.PathSegment.Line,a,ee-x)),le.add(new go.PathSegment(go.PathSegment.Bezier,a-x,ee,a,ee-b,a-b,ee)),le.add(new go.PathSegment(go.PathSegment.Line,a*.7,ee)),le.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),le.add(new go.PathSegment(go.PathSegment.Line,a*.55,ee)),le.add(new go.PathSegment(go.PathSegment.Line,x,ee)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-x,b,ee,0,ee-b)),le.add(new go.PathSegment(go.PathSegment.Line,0,x)),le.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(te.spot1=new go.Spot(0,0,b,b),te.spot2=new go.Spot(1,.8,-b,-b)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var ee=new go.PathFigure(a*1,y*.55,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var ee=new go.PathFigure(a*.1,y*.2,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var te=new go.PathFigure(a*.28,y*.37,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),te.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),te.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(z,a,y){var x=new go.Geometry,b=15,ee=b*ne,te=new go.PathFigure(a*.62,y*.475,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-ee,a-ee,y)),te.add(new go.PathSegment(go.PathSegment.Line,b,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,ee,y,0,y-ee)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),te.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),te.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),ee>1?(x.spot1=new go.Spot(0,0,ee,ee),x.spot2=new go.Spot(1,1,-ee,-ee)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close());var te=new go.PathFigure(a*.4,y*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),te.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close());var te=new go.PathFigure(a*.5,y*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),te.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var ee=new go.PathFigure(a*.235,y*.28,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,y*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},93510: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 Et={},dt="5.0",ve={},be=null,_e=!1,E=!1,pe=null,de=!1,se=null,ne=null,ie=0;ie<arguments.length;ie++){var ce=arguments[ie];if(ce!==null)switch(typeof ce){case"number":dt=ce.toFixed(1);break;case"string":ce.match(new RegExp("^[0-9]\\.[0-9]+$"))?dt=ce:pe=ce;break;case"object":typeof ce.is3D!="undefined"?be=ce:ve=ce;break;case"boolean":_e=ce,E=!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},ve.material_id!==void 0&&!E&&(_e=!0)),pe!==null&&ve.id===void 0&&(ve.id=pe);var ue="",ae="",oe=!1,re=null,z=null,a=null,y=!1,x=null,b=null,ee=null,te=null,le=null;ve.height!==void 0&&(ve.height=Math.round(ve.height)),ve.width!==void 0&&(ve.width=Math.round(ve.width));var fe=function(Ze){return parseFloat(Ze)>4?parseFloat(Ze):5};Et.setHTML5Codebase=function(Ze,ke){ne=Ze,Ye(Ze,ke)},Et.setJavaCodebase=Et.setJavaCodebaseVersion=Et.isCompiledInstalled=Et.setPreCompiledScriptPath=Et.setPreCompiledResourcePath=function(){},Et.setHTML5CodebaseVersion=function(Ze,ke){var ze=parseFloat(Ze);if(ze!==NaN&&ze<5){console.log("The GeoGebra HTML5 codebase version "+ze+" is deprecated. Using version latest instead.");return}se=Ze,tt(Ze,ke)},Et.getHTML5CodebaseVersion=function(){return z},Et.getParameters=function(){return ve},Et.setFontsCSSURL=function(Ze){te=Ze},Et.setGiacJSURL=function(Ze){},Et.setJNLPFile=function(Ze){ue=Ze},Et.setJNLPBaseDir=function(Ze){},Et.inject=function(){function Ze(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ke="auto",ze=ve.id,et,Je=!1,ut=0;ut<arguments.length;ut++){var Qe=arguments[ut];typeof Qe=="string"?(Qe=Qe.toLowerCase(),Qe.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ke=Qe:ze=arguments[ut]):typeof Qe=="boolean"?Je=Qe:Qe instanceof HTMLElement&&(et=Qe)}Ue();function Ue(){if(!de){setTimeout(Ue,200);return}ke=Ge(ke);var Re=et||document.getElementById(ze);if(!Re){console.log("possibly bug on ajax loading? ");return}if(Et.removeExistingApplet(Re,!1),ve.width===void 0&&Re.clientWidth&&(ve.width=Re.clientWidth),ve.height===void 0&&Re.clientHeight&&(ve.height=Re.clientHeight),!(ve.width&&ve.height)&&ke==="html5"&&(delete ve.width,delete ve.height),re=ke,ke==="screenshot")xe(Re,ve);else{var $e=!1;ve.hasOwnProperty("playButton")&&ve.playButton||ve.hasOwnProperty("clickToLoad")&&ve.clickToLoad?$e=!0:ve.hasOwnProperty("playButtonAutoDecide")&&ve.playButtonAutoDecide&&($e=(!ge()||Ze())&&me()),$e?(re="screenshot",Ce(Re,ve,Je,ke)):De(Re,ve,Je)}}};function ge(){try{return window.self!==window.top}catch(Ze){return!0}}function me(){return ve.hasOwnProperty("screenshotGenerator")&&ve.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Et.getViews=function(){return be},Et.isJavaInstalled=function(){return!1};var he=function(Ze){var ke=function(ut){var Qe=JSON.parse(ut),Ue=function(Le){return Le.type=="G"||Le.type=="E"},Re=Qe.elements?Qe.elements.filter(Ue)[0]:Qe;if(!Re||!Re.url){ze();return}ve.fileName=Re.url,Se(Re.settings||{}),be.is3D=!0;var $e="https://www.geogebra.org/images/";Et.setPreviewImage(x||Re.previewUrl,$e+"GeoGebra_loading.png",$e+"applet_play.png"),Ze()},ze=function(){ve.onError&&ve.onError(),Ve("Error: Fetching material (id "+ve.material_id+") failed.",ve)},et=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Je="/materials/"+ve.material_id+"?scope=basic";ye("https://"+et+"/api/proxy.php?path="+encodeURIComponent(Je),ke,ze)};function Se(Ze){var ke=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(ze){Ze[ze]=!!Ze[ze]}),ke.forEach(function(ze){ve[ze]===void 0&&Ze[ze]!==void 0&&(ve[ze]=Ze[ze])}),ve.showToolBarHelp===void 0&&(ve.showToolBarHelp=ve.showToolBar)}function ye(Ze,ke,ze){var et=new XMLHttpRequest;et.open("GET",Ze),et.onload=function(){ke(et.responseText)},et.onerror=ze,et.send()}Et.isHTML5Installed=function(){return!0},Et.getLoadedAppletType=function(){return re},Et.setPreviewImage=function(Ze,ke,ze){x=Ze,b=ke,ee=ze},Et.removeExistingApplet=function(Ze,ke){var ze;typeof Ze=="string"&&(Ze=document.getElementById(Ze)),re=null;var et=null;for(ze=0;ze<Ze.childNodes.length;ze++){var Je=Ze.childNodes[ze],ut=Je.className;ut==="applet_screenshot"?ke?(Je.style.display="block",re="screenshot"):Je.style.display="none":ut!=="applet_scaler prerender"&&(Ze.removeChild(Je),et=ut&&ut.indexOf("appletParameters")!=-1?Je.id:null,ze--)}var Qe=ve.id!==void 0?ve.id:et,Ue=window[Qe];Ue&&typeof Ue.getBase64=="function"&&(Ue.remove(),window[Qe]=null)},Et.refreshHitPoints=function(){if(fe(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Ze=Et.getAppletObject();return Ze&&typeof Ze.recalculateEnvironments=="function"?(Ze.recalculateEnvironments(),!0):!1},Et.startAnimation=function(){var Ze=Et.getAppletObject();return Ze&&typeof Ze.startAnimation=="function"?(Ze.startAnimation(),!0):!1},Et.stopAnimation=function(){var Ze=Et.getAppletObject();return Ze&&typeof Ze.stopAnimation=="function"?(Ze.stopAnimation(),!0):!1},Et.getAppletObject=function(){var Ze=ve.id!==void 0?ve.id:"ggbApplet";return window[Ze]},Et.resize=function(){};var Pe=function(Ze,ke,ze){var et=document.createElement("param");et.setAttribute("name",ke),et.setAttribute("value",ze),Ze.appendChild(et)},we=function(Ze){return Ze&&Ze!=="false"},De=function(Ze,ke,ze){fe(z)<=4.2&&(ze=!0);var et=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==z||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(et=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Je=document.createElement("div");Je.classList.add("appletParameters","notranslate");var ut=ke.width,Qe=ke.height;if(ke.disableAutoScale=ke.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ke.disableAutoScale,ke.width!==void 0)if(fe(z)<=4.4)we(ke.showToolBar)&&(ke.height-=7),we(ke.showAlgebraInput)&&(ke.height-=37),ke.width<605&&we(ke.showToolBar)&&(ke.width=605,ut=605);else{var Ue=100;(we(ke.showToolBar)||we(ke.showMenuBar))&&(ke.hasOwnProperty("customToolBar")&&(ke.customToolbar=ke.customToolBar),Ue=we(ke.showMenuBar)?245:155),ut<Ue&&(ke.width=Ue,ut=Ue)}Je.style.border="none",Je.style.display="inline-block";for(var Re in ke)ke.hasOwnProperty(Re)&&Re!=="appletOnLoad"&&Je.setAttribute("data-param-"+Re,ke[Re]);te&&Je.setAttribute("data-param-fontscssurl",te),Et.resize=function(){GGBAppletUtils.responsiveResize(Ze,ke)},window.addEventListener("resize",function(He){Et.resize()});var $e=typeof ke.appletOnLoad=="function"?ke.appletOnLoad:function(){};if(!ze&&ke.width!==void 0){ke.hasOwnProperty("showSplash")||Je.setAttribute("data-param-showSplash","false");var Le=Ze.querySelector(".applet_scaler.prerender"),Ne=Le!==null;if(Ne)var qe=Le.querySelector(".ggb_preview");else{var qe=Fe(ut,Qe,ke.borderColor,!1);Le=document.createElement("div"),Le.className="applet_scaler",Le.style.position="relative",Le.style.display="block",Le.style.width=ut+"px",Le.style.height=Qe+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Le,"66%"),fe(z)>=5?(ke.appletOnLoad=function(He){var nt=Ze.querySelector(".ggb_preview");nt&&nt.parentNode.removeChild(nt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Le),window.GGBT_wsf_view&&$(window).trigger("resize"),$e(He)},Ne||Le.appendChild(qe)):Je.appendChild(qe),Le.appendChild(Je),Ne||Ze.appendChild(Le),setTimeout(function(){Et.resize()},1)}else{var We=document.createElement("div");We.className="applet_scaler",We.style.position="relative",We.style.display="block",We.appendChild(Je),Ze.appendChild(We),ke.appletOnLoad=function(He){Et.resize(),$e(He)}}function Me(He,nt){nt&&typeof nt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(He,nt.appletOnLoad):renderGGBElement(He),Ve("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",nt)}function Te(He,nt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:He,params:nt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(ft){Me(ft.article,ft.params)}),html5AppletsToProcess=null)},fe(z)<5&&(He.className+=" geogebraweb")):Me(He,nt)}if(et){scriptLoadStarted=!0;for(var Oe=0;Oe<Je.childNodes.length;Oe++){var Ee=Je.childNodes[Oe].tagName;Ee==="TABLE"&&(Je.removeChild(Je.childNodes[Oe]),Oe--)}if(ggbHTML5LoadedScript!==null){var Ie=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Ie!=null&&Ie.parentNode.removeChild(Ie)}var Ke=document.createElement("script"),at=function(){Te(Je,ke)};Ke.src=ae+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=z,ggbHTML5LoadedScript=Ke.src,Ve("GeoGebra HTML5 codebase loaded: '"+ae+"'.",ke),!ne&&(!se||se=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),at()):ae.requirejs?__webpack_require__.e(3861).then(function(){var He=[__webpack_require__(40341)];at.apply(null,He)}.bind(this)).catch(__webpack_require__.oe):(Ke.onload=at,Ze.appendChild(Ke))}else Te(Je,ke);ke.height=Qe,ke.width=ut},xe=function(Ze,ke,ze){var et=Fe(ke.width,ke.height,ke.borderColor,ze),Je=document.createElement("div");Je.style.position="relative",Je.style.display="block",Je.style.width=ke.width+"px",Je.style.height=ke.height+"px",Je.className="applet_screenshot applet_scaler"+(ze?" applet_screenshot_play":""),Je.appendChild(et);var ut=GGBAppletUtils.getScale(ke,Ze,ze);ze?(Ze.appendChild(je()),window.GGBT_wsf_view||(Ze.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Je,"66%"),Ze.appendChild(Je),ut!==1&&!isNaN(ut)&&(GGBAppletUtils.scaleElement(Je,ut),Je.style.width=ke.width+"px",Je.style.height=ke.height+"px",Je.parentNode.style.width=ke.width*ut+"px",Je.parentNode.style.height=ke.height*ut+"px"),Et.resize=function(){Ae(Ze,et,Je,ze)},window.addEventListener("resize",function(Qe){Et.resize()}),Et.resize()};function Ae(Ze,ke,ze,et){if(Ze.contains(ke)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ze.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Ze)}var Je=GGBAppletUtils.getScale(ve,Ze,et);ze.parentNode!==null&&(!isNaN(Je)&&Je!==1?(GGBAppletUtils.scaleElement(ze,Je),ze.parentNode.style.width=ve.width*Je+"px",ze.parentNode.style.height=ve.height*Je+"px"):(GGBAppletUtils.scaleElement(ze,1),ze.parentNode.style.width=ve.width+"px",ze.parentNode.style.height=ve.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Ze),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Et.onExitFullscreen=function(Ze,ke){ke.appendChild(Ze)};var Ce=function(Ze,ke,ze,et){xe(Ze,ke,!0);for(var Je=function(){var Ue=[];for(Qe=0;Qe<Ze.childNodes.length;Qe++)Ue.push(Ze.childNodes[Qe]);if(window.GGBT_wsf_view){var Re=window.GGBT_wsf_view.renderFullScreen(Ze,ke.id),$e=document.getElementById("fullscreencontainer"),Le=jQuery(Ze).find(".fullscreencontent");Le.length>0?(Re.remove(),Le.attr("id","fullscreencontent").show(),jQuery($e).append(Le),window.dispatchEvent(new Event("resize"))):De(Re,ke,!1),window.GGBT_wsf_view.launchFullScreen($e)}else re=et,De(Ze,ke,!1);if(!window.GGBT_wsf_view)for(Qe=0;Qe<Ue.length;Qe++)Ze.removeChild(Ue[Qe])},ut=Ze.getElementsByClassName("ggb_preview_play"),Qe=0;Qe<ut.length;Qe++)ut[Qe].addEventListener("click",Je,!1),ut[Qe].addEventListener("ontouchstart",Je,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Ze),me()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},je=function(){var Ze=document.createElement("div");if(Ze.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");}',ze=document.createElement("style");ze.styleSheet?ze.styleSheet.cssText=ke:ze.appendChild(document.createTextNode(ke)),document.getElementsByTagName("head")[0].appendChild(ze)}return Ze},Fe=function(Ze,ke,ze,et){var Je=document.createElement("div");Je.className="ggb_preview",Je.style.position="absolute",Je.style.zIndex="90",Je.style.width=Ze-2+"px",Je.style.height=ke-2+"px",Je.style.top="0px",Je.style.left="0px",Je.style.overflow="hidden",Je.style.backgroundColor="white";var ut="lightgrey";ze!==void 0&&(ze==="none"?ut="transparent":ut=ze),Je.style.border="1px solid "+ut;var Qe=document.createElement("img");if(Qe.style.position="relative",Qe.style.zIndex="1000",Qe.style.top="-1px",Qe.style.left="-1px",x!==null&&Qe.setAttribute("src",x),Qe.style.opacity=.7,b!==null){var Ue,Re,$e;if(!et){Ue=document.createElement("img"),Ue.style.position="absolute",Ue.style.zIndex="1001",Ue.style.opacity=1,Qe.style.opacity=.3,Re=360,Re>Ze/4*3&&(Re=Ze/4*3),$e=Re/5.8,Ue.setAttribute("src",b),Ue.setAttribute("width",Re),Ue.setAttribute("height",$e);var Le=(Ze-Re)/2,Ne=(ke-$e)/2;Ue.style.left=Le+"px",Ue.style.top=Ne+"px",Je.appendChild(Ue)}}return Je.appendChild(Qe),Je},Ge=function(Ze){return Ze=Ze.toLowerCase(),Ze==="html5"||Ze==="screenshot"?Ze:"html5"},Be=["web","webSimple","web3d","tablet","tablet3d","phone"],tt=function(Ze,ke){if(z=Ze,ke){Ye(z,!0);return}var ze=!_e;if(ze){var et=fe(z);!isNaN(et)&&et<4.4&&(ze=!1)}var Je,ut;window.location.protocol.substr(0,4)==="http"?Je=window.location.protocol:Je="http:";var Qe=z.indexOf("//");Qe>0?ut=z:Qe===0?ut=Je+z:ut="https://www.geogebra.org/apps/5.2.814.0/";for(var Ue in Be)if(z.slice(Be[Ue].length*-1)===Be[Ue]||z.slice((Be[Ue].length+1)*-1)===Be[Ue]+"/"){Ye(ut,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&ze&&!be.is3D&&!be.AV&&!be.SV&&!be.CV&&!be.EV2&&!be.CP&&!be.PC&&!be.DA&&!be.FI&&!be.PV&&!we(ve.showToolBar)&&!we(ve.showMenuBar)&&!we(ve.showAlgebraInput)&&!we(ve.enableRightClick)&&(!ve.appName||ve.appName=="classic")?ut+="webSimple/":ut+="web3d/",Ye(ut,!1)},Ye=function(Ze,ke){if(Ze.requirejs){ae=Ze;return}Ze.slice(-1)!=="/"&&(Ze+="/"),ae=Ze,ke===null&&(ke=Ze.indexOf("http")===-1),oe=ke,a="web.nocache.js",y=!1;var ze=ae.split("/");ze.length>1&&(!ke&&ze[ze.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Be.indexOf(ze[ze.length-2])>=0&&(a=ze[ze.length-2]+".nocache.js")),ze=Ze.split("/"),z=ze[ze.length-3],z.substr(0,4)==="test"?z=z.substr(4,1)+"."+z.substr(5,1):(z.substr(0,3)==="war"||z.substr(0,4)==="beta")&&(z="5.0");var et=parseFloat(z);et!==NaN&&et<5&&Ze.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+et+" is deprecated. Using version latest instead."),tt("5.0",ke))},Ve=function(Ze,ke){window.console&&window.console.log&&(!ke||typeof ke.showLogging=="undefined"||ke.showLogging&&ke.showLogging!=="false")&&console.log(Ze)};ve.material_id!==void 0?he(Xe):Xe();function Xe(){var Ze=dt;se!==null?Ze=se:parseFloat(Ze)<5&&(Ze="5.0"),tt(Ze,!1),ne!==null&&Ye(ne,oe),de=!0}return Et},GGBAppletUtils=function(){"use strict";function Et(){return window.GGBT_wsf_edit!==void 0}function dt(de,se){se!=1?(de.style.transformOrigin="0% 0% 0px",de.style.webkitTransformOrigin="0% 0% 0px",de.style.transform="scale("+se+","+se+")",de.style.webkitTransform="scale("+se+","+se+")",de.style.maxWidth="initial",de.querySelector(".ggb_preview")!==null&&(de.querySelector(".ggb_preview").style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[0]!==void 0&&(de.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[1]!==void 0&&(de.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(de.style.transform="none",de.style.webkitTransform="none")}function ve(de,se,ne,ie,ce,ue){var ae=null;if(ue!=null&&ue!="")for(var oe=de.parentNode;oe!=null;)if((" "+oe.className+" ").indexOf(" "+ue+" ")>-1){ae=oe;break}else oe=oe.parentNode;var re=0,z=0,a=0,y=0,x=0,b=0,ee=0;if(ae)re=ae.offsetWidth,z=Math.max(ie?ae.offsetWidth:0,ae.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(re=Math.min(window.innerWidth,document.documentElement.clientWidth),z=Math.min(window.innerHeight,document.documentElement.clientHeight),a=re):(re=window.innerWidth,z=window.innerHeight,a=window.innerWidth),de){var te=de.getBoundingClientRect();te.left>0&&te.left<=re&&(ce===void 0||!ce)&&(document.dir==="rtl"?(x=re-te.width-te.left,b=a<=480?10:30):(b=te.left,x=a<=480?10:30),y=b+x)}if(de&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var le=de.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,ee=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,ee=40)}}return de&&((ne===void 0||!ne)&&se>0&&se+y<re?re=se:re-=y,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ne===void 0||!ne)&&(z-=ee)),{width:re,height:z}}function be(de,se,ne,ie,ce){if(de.isScreenshoGenerator)return 1;var ue=ie!==void 0&&ie,ae=de.noScaleMargin!=null&&de.noScaleMargin,oe=function(le){return le&&le!=="false"},re=oe(de.autoHeight),z=ve(se,de.width,ne,re,ue&&window.GGBT_wsf_view||ae,ce),a=parseInt(z.width),y=de.width,x=de.height;if(y===void 0){var b=se.querySelector(".appletParameters");b&&(y=b.offsetWidth,x=b.offsetHeight)}var ee=a/y,te=ue?1:z.height/x;return ne!==void 0&&!ne&&(ee=Math.min(1,ee),te=Math.min(1,te)),Math.min(ee,te)}function _e(de,se,ne){var ie=1,ce,ue=!1;if(de.hasOwnProperty("allowUpscale")&&(ue=de.allowUpscale),de.hasOwnProperty("scale")&&(ie=parseFloat(de.scale),(isNaN(ie)||ie===null||ie===0)&&(ie=1),ie>1&&(ue=!0)),se&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ue=!0),!(de.hasOwnProperty("disableAutoScale")&&de.disableAutoScale))ce=be(de,se,ue,ne,de.scaleContainerClass);else return ie;return ue&&(!de.hasOwnProperty("scale")||ie===1)?ce:Math.min(ie,ce)}function E(de){var se=Math.min(window.innerWidth,document.documentElement.clientWidth),ne=Math.min(window.innerHeight,document.documentElement.clientHeight),ie=de.getBoundingClientRect(),ce=(se-ie.width)/2,ue=(ne-ie.height)/2;ue<0&&(ue=0),de.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ce<40?de.style.left="40px":de.style.left=ce+"px",de.style.top=ue+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ue<40?de.style.top="40px":de.style.top=ue+"px",de.style.left=ce+"px")}function pe(de,se){var ne=de.querySelector(".appletParameters");if(ne){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(se.id!==ne.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(de)}if(ne.parentElement&&/fullscreen/.test(ne.parentElement.className))return;var ie=_e(se,de);Et()&&ne.setAttribute("data-param-scale",ie);for(var ce=null,ue=0;ue<de.childNodes.length;ue++)if(de.childNodes[ue].className!==void 0&&de.childNodes[ue].className.match(/^applet_scaler/)){ce=de.childNodes[ue];break}if(ce!==null&&ce.querySelector(".noscale")!==null)return;var ae=se.id!==void 0?se.id:"ggbApplet",oe=window[ae];(oe==null||!oe.recalculateEnvironments)&&ce!==null&&!ce.className.match(/fullscreen/)&&(ce.parentNode.style.transform="",!isNaN(ie)&&ie!==1?(ce.parentNode.style.width=se.width*ie+"px",ce.parentNode.style.height=se.height*ie+"px",dt(ce,ie)):(dt(ce,1),ce.parentNode.style.width=se.width+"px",ce.parentNode.style.height=se.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&E(de),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ne).parents(".content-added-content"))}}return{responsiveResize:pe,isFlexibleWorksheetEditor:Et,positionCenter:E,getScale:_e,scaleElement:dt}}();__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 Et=n.location.search;return Et.indexOf(J)!=-1||Et.indexOf(K)!=-1}function q(Et,dt){}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(Et){var dt=s[L].bindings;s[L].bindings=function(){for(var ve=dt?dt():{},be=Et[webModule.__softPermutationId],_e=O;_e<be.length;_e++){var E=be[_e];ve[E[O]]=E[P]}return ve}};var t;function u(){return v(),t}function v(){if(!t){var Et=o.createElement(Q);if(Et.id=L,Et.style.cssText=R+S,Et.tabIndex=-1,o.body.appendChild(Et),t=Et.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var dt=document.compatMode==U?V:W;t.write(dt+X),t.close()}}}function w(Et){function dt(be){function _e(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var E=_e();if(E){be();return}function pe(){if(!E){if(!_e())return;E=!0,be(),o.removeEventListener&&o.removeEventListener(Z,pe,!1),de&&clearInterval(de)}}o.addEventListener&&o.addEventListener(Z,pe,!1);var de=setInterval(function(){pe()},$)}function ve(be){var _e=u(),E=_e.body,pe=_e.createElement(_);pe.language=ab,pe.crossOrigin=W,pe.src=be,webModule.__errFn&&(pe.onerror=function(){webModule.__errFn(L,new Error(bb+be))}),E.appendChild(pe)}dt(function(){ve(Et)})}webModule.__startLoadingFragment=function(Et){return C(Et)},webModule.__installRunAsyncCode=function(Et){var dt=u(),ve=dt.body,be=dt.createElement(_);be.language=ab,be.text=Et,ve.appendChild(be),ve.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(Et){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Et){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Et){var dt=c[Et];return dt==null?null:dt},r=d,webModule.__errFn=e}function B(){function Et(de){var se=de.lastIndexOf(rb);se==-1&&(se=de.length);var ne=de.indexOf(sb);ne==-1&&(ne=de.length);var ie=de.lastIndexOf(tb,Math.min(ne,se));return ie>=O?de.substring(O,ie+P):W}function dt(de){if(!de.match(/^\w+:\/\//)){var se=o.createElement(ub);se.src=de+vb,de=Et(se.src)}return de}function ve(){var de=__gwt_getMetaProperty(wb);return de!=null?de:W}function be(){for(var de=o.getElementsByTagName(_),se=O;se<de.length;++se)if(de[se].src.indexOf(xb)!=-1)return Et(de[se].src);return W}function _e(){var de=o.getElementsByTagName(yb);return de.length>O?de[de.length-P].href:W}function E(){var de=o.location;return de.href==de.protocol+zb+de.host+de.pathname+de.search+de.hash}var pe=ve();return pe==W&&(pe=be()),pe==W&&(pe=_e()),pe==W&&E()&&(pe=Et(o.location.href)),pe=dt(pe),pe}function C(Et){return Et.match(/^\//)||Et.match(/^[a-zA-Z]+:\/\//)?Et:webModule.__moduleBase+Et}function D(){var Et=[],dt=O,ve=[],be=[];function _e(de){var se=be[de](),ne=ve[de];if(se in ne)return se;var ie=[];for(var ce in ne)ie[ne[ce]]=ce;throw r&&r(de,ie,se),null}if(__gwt_isKnownPropertyValue=function(de,se){return se in ve[de]},webModule.__getPropMap=function(){var de={};for(var se in ve)ve.hasOwnProperty(se)&&(de[se]=_e(se));return de},webModule.__computePropValue=_e,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var pe=E.indexOf(Db);pe!=-1&&(dt=parseInt(E.substring(pe+P),$),E=E.substring(O,pe))}catch(de){}return webModule.__softPermutationId=dt,C(E+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},28735:function(Et,dt,ve){"use strict";ve.d(dt,{Ax:function(){return pe},Ds:function(){return de},KI:function(){return ne},SI:function(){return E},f1:function(){return _e}});var be=ve(74128);function _e(ie){let ce=!0;if(ie.length>0){for(let ue=0;ue<ie.length;ue++)if(ie[ue].compile_success==0||!ie[ue].compile_success){ce=!1;break}}else ce=!1;return ce}function E(ie,ce=""){let ue=[];for(let ae=0;ae<ie.length;ae++){let oe=ie[ae],re=ce?`${ce}/${oe.name}`:`${oe.name}`;ue.push({title:oe.name,type:oe.type,isLeaf:oe.type!=="tree",key:re})}return ue}function pe(ie,ce,ue){for(let ae=0;ae<ie.length;ae++){let oe=ie[ae];if(oe.key===ce){oe.children=ue;break}oe.children&&pe(oe.children,ce,ue)}return ie}function de(ie,ce,ue){let ae;return function(){let oe=this,re=arguments,z=function(){ae=null,ue||ie.apply(oe,re)},a=ue&&!ae;clearTimeout(ae),ae=setTimeout(z,ce),a&&ie.apply(oe,re)}}const se=!0,ne=be.Z.API_SERVER},35195:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return we},U:function(){return Se}});var be=ve(59301),_e=ve(31797),E=ve(43418),pe=ve(1710),de=ve(84056),se=ve(87513),ne=ve(56656),ie=ve.n(ne),ce={exitFullScreenModalWrapper:"exitFullScreenModalWrapper___aNB9Q",exitFullScreenModal:"exitFullScreenModal___HIMyY",warningIcon:"warningIcon___xEURa",warningText:"warningText___W6NPJ",countdownWrapper:"countdownWrapper___n8g1M",forcedModalWrapper:"forcedModalWrapper___JPMQ2",forcedModalContent:"forcedModalContent___uY5FV",forcedText:"forcedText___C3CrF",screenNumText:"screenNumText___oljHN"},ue="data:image/png;base64,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",ae="data:image/png;base64,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",oe=ve(65862),re=ve(65582),z=ve(65808),a=ve(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,fe=(De,xe,Ae)=>xe in De?y(De,xe,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):De[xe]=Ae,ge=(De,xe)=>{for(var Ae in xe||(xe={}))te.call(xe,Ae)&&fe(De,Ae,xe[Ae]);if(ee)for(var Ae of ee(xe))le.call(xe,Ae)&&fe(De,Ae,xe[Ae]);return De},me=(De,xe)=>x(De,b(xe)),he=(De,xe,Ae)=>new Promise((Ce,je)=>{var Fe=tt=>{try{Be(Ae.next(tt))}catch(Ye){je(Ye)}},Ge=tt=>{try{Be(Ae.throw(tt))}catch(Ye){je(Ye)}},Be=tt=>tt.done?Ce(tt.value):Promise.resolve(tt.value).then(Fe,Ge);Be((Ae=Ae.apply(De,xe)).next())});const Se=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:ye}=_e.default,Pe=({exercise:De,socket:xe,dispatch:Ae,onStartScreenshot:Ce,onCloseScreenshot:je,handleToDetail:Fe})=>{const[Ge,Be]=E.default.useModal(),tt=(0,be.useRef)(),[Ye,Ve]=(0,be.useState)(!0),Xe=(0,be.useRef)(!1),Ze=(0,re.useParams)();(0,be.useEffect)(()=>{var Ee,Ie,Ke;if(document.addEventListener((0,de.gH)(),Te,!1),window.addEventListener("blur",We,!1),(Ee=De.exerciseUserInfo)!=null&&Ee.screen_open&&(0,de.vp)()&&Ve(!1),(Ie=De.exerciseUserInfo)!=null&&Ie.screen_open&&!(0,de.vp)()){(0,oe.RG)(" ",!0);const at=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?De.exerciseUserInfo.screen_sec+3:De.exerciseUserInfo.screen_sec+10+1;tt.current=E.default.info({icon:null,centered:!0,width:444,title:(0,z._V)(z.CP.recordScreen1),keyboard:!1,content:a.createElement("div",null,(0,z._V)(z.CP.recordScreen2),a.createElement("span",{style:{color:"#FF9849"}},De.exerciseUserInfo.screen_num-De.exerciseUserInfo.used_screen_num),(0,z._V)(z.CP.recordScreen3)),okText:a.createElement("span",null,(0,z._V)(z.CP.recordScreen4),"\uFF08",a.createElement("span",{style:{display:"inline-block"}},a.createElement(ye,{onFinish:()=>he(void 0,null,function*(){var He;const nt=yield Me();(He=tt.current)==null||He.destroy(),nt.used_screen_num&&Le(nt.used_screen_num+1)}),valueStyle:{fontSize:14,lineHeight:1.4,color:"#FFF",display:"inline-block"},format:"ss",value:Date.now()+at*1e3})),"S\uFF09"),onOk:()=>{var He;(0,oe.RG)(" ",!0),(He=tt.current)==null||He.destroy(),Ve(!1),(0,de.Dj)(document.body),document.getElementById("root").addEventListener("click",ze,!1)}})}return(Ke=De.exerciseUserInfo)!=null&&Ke.screen_open&&!(0,de.vp)()||document.getElementById("root").addEventListener("click",ze,!1),()=>{document.getElementById("root").removeEventListener("click",ze,!1),document.removeEventListener((0,de.gH)(),Te,!1),window.removeEventListener("blur",We,!1)}},[]),(0,be.useEffect)(()=>{setTimeout(()=>{De.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",ze,!1),document.removeEventListener((0,de.gH)(),Te,!1))},500),et()},[De.actionTabs]),(0,be.useEffect)(()=>{setTimeout(()=>{De.exerciseUserInfo.used_screen_num>De.exerciseUserInfo.screen_num&&Ne()},500)},[De.exerciseUserInfo]);const ke=()=>he(void 0,null,function*(){const Ee=yield Me();setTimeout(()=>{var Ie,Ke;(Ie=tt.current)==null||Ie.destroy(),tt.current=E.default.info({okText:a.createElement("span",null,"\u56DE\u5230\u8003\u8BD5"),content:a.createElement("div",null,"\u60A8\u5DF2\u5207\u5C4F",a.createElement("span",{className:"c-red"},Ee.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",a.createElement("span",{className:"c-red"},(Ke=De.exerciseUserInfo)==null?void 0:Ke.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>he(void 0,null,function*(){(0,de.Dj)(document.body)})})},1e3)}),ze=Ee=>{!(0,de.vp)()&&Ee.target.nodeName!=="A"&&Ee.target.nodeName!=="BUTTON"&&Ee.target.innerHTML!=="\u786E \u5B9A"&&(0,de.Dj)(document.body)},et=()=>he(void 0,null,function*(){const Ee=yield Ae({type:"exercise/getExerciseUserInfo",payload:ge({},Ze)});return Ee==null?void 0:Ee.data}),Je=Ee=>he(void 0,null,function*(){var Ie;if((Ie=De.exerciseUserInfo)!=null&&Ie.screen_at){const at=yield(0,se.ck)(me(ge({},Ze),{reset:!0}));if((at==null?void 0:at.status)===-6)return}const Ke=yield(0,se.oy)({id:Ze.categoryId});if(Ke!=null&&Ke.is_commit){E.default.destroyAll(),yield ut(),qe(!0);return}else Le(Ee+1)}),ut=()=>he(void 0,null,function*(){var Ee;const Ie=ie()(),Ke=De.exerciseUserInfo.screen_sec;if(Re.current.length>0){const at=Ie.format("YYYY-MM-DD HH:mm:ss");let He=Math.floor(Ie.diff(ie()(Re.current[0].start))/1e3);const nt=Re.current.length;He/Ke>>0>nt&&(He=(nt+1)*Ke-1),yield(0,se.P8)(Ze.categoryId,{exercise_user_id:(Ee=De.exerciseUserInfo)==null?void 0:Ee.exercise_user_id,time:at,time_long:He,count:nt})}Re.current=[]}),Qe=(0,be.useRef)(0),Ue=(0,be.useRef)(0),Re=(0,be.useRef)([]),$e=(0,be.useRef)(!1),Le=Ee=>he(void 0,null,function*(){var Ie;Xe.current||(Ce(),E.default.destroyAll(),Qe.current=ie()().valueOf(),$e.current=!0,tt.current=E.default.info({icon:null,maskClosable:!1,width:1080,keyboard:!1,centered:!0,className:ce.exitFullScreenModalWrapper,okText:a.createElement("span",null,(0,z._V)(z.CP.recordScreen8)),content:a.createElement("div",{className:ce.exitFullScreenModal},a.createElement("img",{src:ue,alt:"",className:ce.warningIcon}),a.createElement("div",{className:ce.warningText,style:{marginBottom:50,fontWeight:500}},(0,z._V)(z.CP.recordScreen9)),a.createElement("div",{style:{marginBottom:40}},(0,z._V)(z.CP.recordScreen10)),a.createElement("div",{style:{marginBottom:40}},(0,z._V)(z.CP.recordScreen11),a.createElement("span",{className:ce.warningText},((Ie=De.exerciseUserInfo)==null?void 0:Ie.screen_num)+1),(0,z._V)(z.CP.recordScreen12),a.createElement("span",{className:ce.warningText,style:{fontWeight:600}},(0,z._V)(z.CP.recordScreen13)),",",(0,z._V)(z.CP.recordScreen14),a.createElement("span",{className:ce.warningText},Ee-1),(0,z._V)(z.CP.recordScreen15)),a.createElement("div",null,a.createElement("span",null,a.createElement(ye,{className:ce.countdownWrapper,onFinish:()=>{Ue.current=ie()().valueOf(),Re.current.push({start:Qe.current,end:Ue.current}),Je(Ee)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(De.exerciseUserInfo.screen_sec+1)*1e3}),(0,z._V)(z.CP.recordScreen25)),(0,z._V)(z.CP.recordScreen16))),onOk:()=>{(0,oe.RG)(" ",!0),ut(),(0,de.Dj)(document.body),je(),tt.current.destroy(),$e.current=!1}}))}),Ne=()=>he(void 0,null,function*(){E.default.destroyAll(),(yield(0,se.VL)({categoryId:Ze.categoryId,commit_method:1}))&&qe()}),qe=(Ee=!1)=>he(void 0,null,function*(){var Ie,Ke;if(document.removeEventListener((0,de.gH)(),Te,!1),(0,de.BU)(),E.default.destroyAll(),Xe.current=!0,Ee){const at=yield(0,se.Yu)(Ze.categoryId,{exercise_user_id:(Ie=De.exerciseUserInfo)==null?void 0:Ie.exercise_user_id});Ge.confirm({icon:null,closable:!1,maskClosable:!1,okText:"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5",cancelText:"\u8FD4\u56DE",width:616,className:ce.forcedModalWrapper,centered:!0,content:a.createElement("div",{className:ce.forcedModalContent},a.createElement("img",{src:ae,alt:""}),a.createElement("div",{className:ce.forcedText},(0,z._V)(z.CP.recordScreen17)),a.createElement("div",{className:ce.screenNumText},(0,z._V)(z.CP.recordScreen18),(Ke=De.exerciseUserInfo)==null?void 0:Ke.screen_num,(0,z._V)(z.CP.recordScreen19)),a.createElement(pe.default,{dataSource:at==null?void 0:at.data,pagination:!1,rowKey:"time",bordered:!0,columns:[{title:(0,z._V)(z.CP.recordScreen20),align:"center",dataIndex:"time"},{title:(0,z._V)(z.CP.recordScreen21),align:"center",dataIndex:"time_long"},{title:(0,z._V)(z.CP.recordScreen22),align:"center",dataIndex:"count"}]})),onCancel:()=>{je(),Fe()},onOk:()=>{re.history.push(`/classrooms/${Ze.coursesId}/exercisenotice/${Ze.categoryId}/users/${Ze.login}?isShowApply=true`)}})}else Ge.info({content:a.createElement("div",{className:"tc font16"},(0,z._V)(z.CP.recordScreen23),a.createElement("br",null),(0,z._V)(z.CP.recordScreen24)),onOk:()=>{Fe()}})}),We=Ee=>{(0,de.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!$e.current&&(0,de.BU)()},Me=()=>he(void 0,null,function*(){var Ee;if((Ee=De.exerciseUserInfo)!=null&&Ee.screen_at){const at=yield(0,se.ck)(me(ge({},Ze),{reset:!0}));if((at==null?void 0:at.status)===-6)return}const Ie=yield(0,se.oy)({id:Ze.categoryId});if(Ie!=null&&Ie.is_commit){qe();return}return yield et()}),Te=()=>he(void 0,null,function*(){var Ee;if((0,oe.RG)(" ",!0),(0,de.vp)()){if((Ee=De.exerciseUserInfo)!=null&&Ee.screen_at){var Ie=yield(0,se.ck)(me(ge({},Ze),{reset:!0}));if((Ie==null?void 0:Ie.status)===-6)return}}else if(!$e.current){var Ie=yield(0,se.ck)(ge({},Ze));if((Ie==null?void 0:Ie.status)===-6)return;const at=yield et();Le(at.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),Oe=()=>he(void 0,null,function*(){(0,se.ck)(ge({},Ze));const Ee=yield et();Le(Ee.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")});return a.createElement("div",null,Be)};var we=(0,re.connect)(({exercise:De,globalSetting:xe})=>({globalSetting:xe,exercise:De}))(Pe)},42217:function(Et,dt,ve){"use strict";ve.d(dt,{X:function(){return pe},y:function(){return E}});var be=ve(59301),_e=ve(8591);const E=de=>{(0,be.useEffect)(()=>{if(de){const se=ie=>{ie.key==="F12"&&(ie.preventDefault(),console.log("F12\u88AB\u7981\u7528"))},ne=ie=>{ie.preventDefault()};return document.addEventListener("keydown",se),document.addEventListener("contextmenu",ne),()=>{document.removeEventListener("keydown",se),document.removeEventListener("contextmenu",ne)}}},[de])},pe=()=>{const[de,se]=(0,be.useState)(!1),ne=ie=>{const{keyCode:ce,ctrlKey:ue,metaKey:ae,type:oe}=ie;(oe==="paste"||(ce===67||ce===86)&&(ae||ue))&&(_e.ZP.warning("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"),ie.preventDefault(),ie.stopPropagation())};return(0,be.useEffect)(()=>(de&&(window.addEventListener("keydown",ne,!0),window.addEventListener("paste",ne,!0)),()=>{window.removeEventListener("keydown",ne,!0),window.removeEventListener("paste",ne,!0)}),[de]),{setOpenDisableCopyAndPaste:se,disableCopyAndPaste:de}}},16750:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return ae}});var be=ve(59301),_e={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=ve(92310),pe=ve.n(E),de=ve(71418),se=ve(2859),ne=ve(38147),ie=ve(65862),ce=(oe,re,z)=>new Promise((a,y)=>{var x=te=>{try{ee(z.next(te))}catch(le){y(le)}},b=te=>{try{ee(z.throw(te))}catch(le){y(le)}},ee=te=>te.done?a(te.value):Promise.resolve(te.value).then(x,b);ee((z=z.apply(oe,re)).next())}),ae=({data:oe,className:re,fullWidth:z,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:ee})=>{const te=(0,be.useRef)(null),le=(0,be.useRef)(null),fe=(0,be.useRef)(null),ge=(0,be.useRef)(null),[me,he]=(0,be.useState)(!1),[Se,ye]=(0,be.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,be.useEffect)(()=>{fe.current||(fe.current=document.createElement("style"),document.head.appendChild(fe.current)),oe!=null&&oe.visible?(document.body.setAttribute("data-custom","y-hidden"),fe.current.innerHTML=" html { overflow-y: hidden; }",oe!=null&&oe.src&&Pe()):(document.body.removeAttribute("data-custom"),fe.current&&(document.head.removeChild(fe.current),fe.current=null))},[oe==null?void 0:oe.visible]);const Pe=()=>ce(void 0,null,function*(){he(!0),ye("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ce=yield(0,ie.ZJ)(oe==null?void 0:oe.src);te.current.src="",te.current.src=Ce,te.current.onload=function(){Ae()},he(!1),ye("")}),we=()=>{document.body.removeAttribute("data-custom"),fe.current.innerHTML=" ",y()},De=Ce=>ce(void 0,null,function*(){he(!0),ye("\u6B63\u5728\u4FDD\u5B58\u4E2D");const je=yield(0,ne.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:oe.title,file:Ce.dataUrl}});je!=null&&je.id&&!ee?(yield(0,ne.ZP)(`/api/attachments/${oe.id}/add_subitem.json`,{method:"post",body:{subitem_id:je==null?void 0:je.id,settings:JSON.stringify(Ce.state)}})).status===0&&x():je!=null&&je.id&&x(je),document.body.removeAttribute("data-custom"),fe.current.innerHTML=" ",he(!1),ye("")}),xe=()=>{const Ce=document.querySelector('a[href="https://markerjs.com/"]');Ce&&Ce.parentNode&&(Ce.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Fe=>{const Ge=document.querySelector(Fe.name);Ge&&Ge.setAttribute("title",Fe.title)})},Ae=()=>{le.current=new se.hP(te.current),le.current.targetRoot=ge.current,le.current.addEventListener("render",De),le.current.addEventListener("beforeclose",we),b&&(le.current.availableMarkerTypes=le.current.ALL_MARKER_TYPES,le.current.uiStyleSettings.redoButtonVisible=!0,le.current.uiStyleSettings.notesButtonVisible=!0,le.current.uiStyleSettings.zoomButtonVisible=!0,le.current.uiStyleSettings.zoomOutButtonVisible=!0,le.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=le.current.uiStyleSettings,le.current.show(),oe!=null&&oe.snapshotData&&le.current.restoreState(oe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),xe()},300)};return be.createElement(be.Fragment,null,(oe==null?void 0:oe.visible)&&be.createElement(de.Z,{spinning:me,tip:Se,style:{position:"absolute"}},be.createElement("div",{ref:ge,className:pe()(_e.imageDimensions,re,z?_e.fullWidth:""),style:a},be.createElement("img",{className:_e.img,ref:te}))))}},99298:function(Et,dt,ve){"use strict";var be=ve(59301),_e=ve(95237),E=ve(43604),pe=ve(99313),de=ve(3113),se=ve(6339),ne=ve(96408),ie=ve(48136),ce=ve(59301);const ue=(0,be.forwardRef)(({callback:ae,showSaveButton:oe,value:re=""},z)=>{const a=(0,be.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
|
|
|
x=a + r\\text{cos}\\theta \\ \r
|
|
|
y=b + r\\text{sin}\\theta \r
|
|
|
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
|
|
|
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
|
|
|
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
|
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
|
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
|
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
|
\\left\\{\\begin{matrix} \r
|
|
|
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
|
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
|
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
|
|
|
\\end{matrix}\\right. \r
|
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
|
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
|
|
|
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
|
|
|
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
|
|
|
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
|
|
|
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
|
|
|
a \\perp \\alpha \\ \r
|
|
|
b \\perp \\alpha \r
|
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
|
|
|
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
|
|
|
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
|
|
|
a \\parallel \\partial ,b \\parallel \\partial \r
|
|
|
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
|
|
|
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
|
|
|
a \\perp m,a \\perp n \r
|
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
|
|
|
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
|
|
|
a^{2}+b^{2}=c^{2} \r
|
|
|
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
|
|
|
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
|
|
|
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
|
|
|
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
|
|
|
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
|
|
|
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
|
|
|
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
|
|
|
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
|
|
|
a,b \\in R^{+} \\ \r
|
|
|
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
|
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
a,b \\in R \\ \r
|
|
|
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
|
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
|
|
|
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
|
|
|
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
|
|
|
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
|
|
|
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
|
|
|
P \\left( \\emptyset \\right) =0 \\\\ \r
|
|
|
P \\left( S \\right) =1 \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
\\forall A \\in S \\\\ \r
|
|
|
P \\left( A \\right) \\ge 0 \r
|
|
|
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
|
|
|
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
|
|
|
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
P_{n}=n! \\\\ \r
|
|
|
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
|
|
|
\\end{array}`}]}]}],b=le=>{a.current.setValue(a.current.getValue()+" "+le.value+" ")},ee=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:ce.createElement(_e.Z,{className:ne.Z.lists,gutter:[10,10]},y.map((le,fe)=>ce.createElement(E.Z,{flex:"110px",className:ne.Z.item},ce.createElement("div",null,ce.createElement(se.Z,{value:`$$${le.value}$$`}),le.name),ce.createElement("div",{className:ne.Z.children},le.children.map((ge,me)=>ce.createElement("div",{key:me},ce.createElement("h1",null,ge.name),ce.createElement(_e.Z,{gutter:[10,10]},ge.data.map((he,Se)=>ce.createElement(E.Z,{key:Se,onClick:()=>b(he),className:ne.Z.diamond},ce.createElement(se.Z,{value:"`$$"+he.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:ce.createElement(_e.Z,{className:ne.Z.lists,gutter:[10,10]},x.map((le,fe)=>ce.createElement(E.Z,{flex:"110px",className:ne.Z.item},ce.createElement("div",null,ce.createElement(se.Z,{value:"`$$"+le.value+"$$`"}),le.name),ce.createElement("div",{className:ne.Z.children},le.children.map((ge,me)=>ce.createElement("div",{key:me},ge.name&&ce.createElement("h1",null,ge.name),ce.createElement(_e.Z,{gutter:[10,10]},ge.data.map((he,Se)=>ce.createElement(E.Z,{key:Se,onClick:()=>b(he),className:ne.Z.diamond},ce.createElement(se.Z,{value:"`$$"+he.value+"$$`"}))))))))))}],te=()=>{var le=document.createElement("div");le.innerHTML=a.current.getValue();var fe=le.innerText;return ae&&ae(fe),fe};return(0,be.useImperativeHandle)(z,()=>({getData:te})),ce.createElement("div",{className:ne.Z.mathWrap},ce.createElement(pe.default,{defaultActiveKey:"1",items:ee}),ce.createElement("math-field",{locale:"zh_cn",className:ne.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},re||""),oe&&ce.createElement("div",{className:ne.Z.button},ce.createElement(de.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});dt.Z=ue},42678:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return pe}});var be=ve(65582),_e={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},E=ve(59301),pe=({message:de,className:se,children:ne,style:ie={}})=>E.createElement("div",{className:`custom-spinner ${_e.idsRingWrapper} ${se}`},E.createElement("div",{className:_e.ldsRing},E.createElement("div",null),E.createElement("div",null),E.createElement("div",null),E.createElement("div",null)),de?E.createElement("p",{style:ie},de):null,ne,E.createElement(be.Outlet,null))},29584:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return pe}});var be=ve(59301),_e=ve(77254),E=ve(59301),pe=({defaultX:de="40%",leftChild:se,rightChild:ne,className:ie,hideResize:ce=!1})=>{const[ue,ae]=(0,be.useState)(de),oe=(0,be.useRef)();function re(){oe.current=!0}(0,be.useEffect)(()=>{function y(b){oe.current&&(_e.Z.publish("resize-move-bar",b),ae(b.pageX))}function x(){oe.current=!1}return window.addEventListener("mousemove",y),window.addEventListener("mouseup",x),()=>{window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",x)}},[]);const z=typeof ue=="number"&&ue!==.01?`${ue}px`:de,a=`calc(100% - ${ce?"0px":"4px"} - ${z})`;return E.createElement("div",{className:`split-panel-container ${ie}`},E.createElement("section",{style:{width:z,display:ue===.01?"none":""}},se),E.createElement("section",{className:"resize-x-bar",onMouseDown:re},E.createElement("a",{className:"btn-resize"},E.createElement("svg",{width:"16",height:"13",viewBox:"0 0 16 13"},E.createElement("path",{d:"M12.245 7.53H5.647v1.882h6.598v2.823L16 8.471l-3.755-3.765V7.53zM10.353 4.706H3.755v2.823L0 3.765 3.755 0v2.824h6.598v1.882z"})))),E.createElement("section",{style:{width:a}},ne))}},51908:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return se}});var be=ve(59301),_e={flex_box_center:"flex_box_center___Gc4dd",flex_space_between:"flex_space_between___K2f1v",flex_box_vertical_center:"flex_box_vertical_center___pupRp",flex_box_center_end:"flex_box_center_end___UDLRC",flex_box_column:"flex_box_column___a5uDo",result:"result___gu5zt",title:"title___xrnx2",left:"left___IAxp9",leftNode:"leftNode___HL8fG",right:"right___ZXYmw",rightNode:"rightNode___jYL5_"},E=ve(92310),pe=ve.n(E),se=({className:ne,style:ie={},leftNode:ce,leftTitle:ue="\u81EA\u6D4B\u8F93\u5165",rightNode:ae,rightTitle:oe="\u8FD0\u884C\u7ED3\u679C"})=>be.createElement("div",{className:pe()(_e.result,ne),style:ie},be.createElement("div",{className:_e.left},be.createElement("div",{className:_e.title},be.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),be.createElement("span",null,ue)),be.createElement("div",{className:_e.leftNode},ce)),be.createElement("div",{className:_e.right},be.createElement("div",{className:_e.title},be.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),be.createElement("span",null,oe)),be.createElement("div",{className:_e.rightNode},ae)))},22744:function(Et,dt,ve){"use strict";var be=ve(59301);const _e=pe=>String(pe).length===1?`0${pe}`:pe,E=({className:pe="",onChange:de,defaultValue:se=0})=>{const[ne,ie]=(0,be.useState)(se);(0,be.useEffect)(()=>{const oe=setTimeout(()=>{ie(ne+1e3)},1e3);return de(ne+1e3),()=>{clearInterval(oe)}},[ne]);const ce=parseInt(ne/(60*6e4))||"00",ue=parseInt(ne%(60*6e4)/6e4)||"00",ae=parseInt(ne%6e4/1e3)||"00";return be.createElement("div",{className:pe},_e(ce),":",_e(ue),":",_e(ae))};dt.Z=E},30214:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return pe}});var be=ve(59301),_e=ve(77254),E=ve(11611),pe=()=>{const[de,se]=(0,be.useState)(""),[ne,ie]=(0,be.useState)(0);let[ce,ue]=(0,be.useState)(),[ae,oe]=(0,be.useState)();const[re,z]=(0,be.useState)(!1),a=(0,be.useRef)("");(0,be.useEffect)(()=>_e.Z.subscribe("preview-image",Se=>{se(Se),console.log(ge.current),document.body.style.overflow="hidden"}),[]),(0,be.useEffect)(()=>(document.addEventListener("keydown",y),()=>{document.removeEventListener("keydown",y)}),[]),(0,be.useEffect)(()=>{a.current=de},[de]);function y(he){he.keyCode==27&&a.current&&x()}function x(){document.body.style.overflow="auto",ue(void 0),oe(void 0),ie(0),se("")}function b(){ie(ne+90)}function ee(){ce=ge.current.width*1.1,ae=ge.current.height*1.1,oe(ae),ue(ce)}function te(){ce=ge.current.width/1.1,ae=ge.current.height/1.1,oe(ae),ue(ce)}const le=(0,be.useRef)(),fe=(0,be.useRef)(),ge=(0,be.useRef)(),me=he=>{(he.nativeEvent.target===le.current||he.nativeEvent.target===fe.current)&&x()};return be.createElement(be.Fragment,null,de?be.createElement("div",null,be.createElement("div",{className:"preview-wrp-group",ref:fe},be.createElement(E.Z,{className:"image-preview",src:de,style:{display:"none"},preview:{visible:!0,src:de,movable:!1,onVisibleChange:he=>{se("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},85533:function(Et,dt,ve){"use strict";ve.d(dt,{h:function(){return le}});var be=ve(59301),_e=ve(57809),E=ve(78241),pe=ve(3113),de=ve(89780),se=ve.n(de),ne=ve(45559),ie=ve(42313),ce=Object.defineProperty,ue=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,a=(fe,ge,me)=>ge in fe?ce(fe,ge,{enumerable:!0,configurable:!0,writable:!0,value:me}):fe[ge]=me,y=(fe,ge)=>{for(var me in ge||(ge={}))re.call(ge,me)&&a(fe,me,ge[me]);if(oe)for(var me of oe(ge))z.call(ge,me)&&a(fe,me,ge[me]);return fe},x=(fe,ge)=>ue(fe,ae(ge));const b=_e.default.Option,ee={labelCol:{span:4},wrapperCol:{span:20}},te={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};dt.Z=({callback:fe,onCancel:ge})=>{const[me,he]=(0,be.useState)("python");function Se(Pe){he(te[Pe][1])}function ye(Pe){fe(Pe)}return be.createElement(E.default,x(y({},ee),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ye,style:{width:500}}),be.createElement(E.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},be.createElement(_e.default,{getPopupContainer:Pe=>Pe.parentNode,onChange:Se},Object.keys(te).map(Pe=>be.createElement(b,{key:Pe,value:Pe},te[Pe][0])))),be.createElement(E.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},be.createElement(le,{mode:me})),be.createElement("div",{className:"flex-container flex-end"},be.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),be.createElement(pe.ZP,{type:"ghost",onClick:ge},"\u53D6\u6D88")))};function le({value:fe,onChange:ge,mode:me,options:he={}}){const Se=(0,be.useRef)(),[ye,Pe]=(0,be.useState)();return(0,be.useEffect)(()=>{if(ye){let we=function(De){const xe=De.getValue();ge&&ge(xe)};return ye.on("change",we),()=>{ye.off("change",we)}}},[ye,ge]),(0,be.useEffect)(()=>{ye&&ye.setOption("mode",me)},[ye,me]),(0,be.useEffect)(()=>{ye&&(fe!==ye.getValue()||fe==="")&&setTimeout(()=>{ye.setValue(fe||"")},300)},[ye,fe]),(0,be.useEffect)(()=>{if(Se.current&&!ye){const we=se().fromTextArea(Se.current,y({mode:me,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},he));Pe(we)}},[Se.current,ye]),be.createElement("div",{className:"my-codemirror-container"},be.createElement("textarea",{ref:Se}))}},96565:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return hr}});var be=ve(59301),_e=ve(89780),E=ve.n(_e),pe=ve(76374),de=ve(45559),se=ve(6313),ne=ve(25717),ie=ve(99498),ce=ve(25419),ue=ve(67549),ae=ve(6339),oe=({value:Ot="",className:It,showTextOnly:_t,showLines:tn,style:Fn={}})=>{const Cn=(0,be.useMemo)(()=>"",[Ot]);return be.createElement(be.Fragment,null,be.createElement("div",{dangerouslySetInnerHTML:{__html:Cn}}))},re=ve(59301),z=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,te=(Ot,It,_t)=>It in Ot?z(Ot,It,{enumerable:!0,configurable:!0,writable:!0,value:_t}):Ot[It]=_t,le=(Ot,It)=>{for(var _t in It||(It={}))b.call(It,_t)&&te(Ot,_t,It[_t]);if(x)for(var _t of x(It))ee.call(It,_t)&&te(Ot,_t,It[_t]);return Ot},fe=(Ot,It)=>a(Ot,y(It));let ge=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function me({onActionCallback:Ot,title:It,icon:_t,actionName:tn,className:Fn="",children:Cn}){function Br(){Ot(tn)}return re.createElement("a",{title:It,className:Fn,onClick:Br},re.createElement("i",{className:`${_t}`}),Cn)}var he=({watch:Ot,showNullButton:It,showNullProgramButton:_t,onActionCallback:tn,fullScreen:Fn,insertTemp:Cn,hidetoolBar:Br,extraUse:or})=>{const Ht=[...ge,{title:`${Ot?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Ot?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return re.createElement("ul",{className:"markdown-toolbar-container"},!Br&&Ht.map((Lt,rn)=>re.createElement("li",{key:rn},Lt.actionName?re.createElement(me,fe(le({},Lt),{onActionCallback:tn})):re.createElement("span",{className:"v-line"}))),It?re.createElement("li",null,re.createElement(me,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:tn},re.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,_t?re.createElement(re.Fragment,null,re.createElement("li",null,re.createElement(me,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:tn},re.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),re.createElement("li",null,re.createElement(me,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:tn},re.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Cn&&re.createElement("li",null,re.createElement(me,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Cn}`,onActionCallback:tn},re.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),or&&re.createElement("li",null,or),re.createElement("li",{className:"btn-full-screen"},re.createElement(me,{icon:`${Fn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Fn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:tn})))},Se=ve(57261),ye=ve(78241),Pe=ve(92832),we=ve(3113),De=Object.defineProperty,xe=Object.defineProperties,Ae=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable,Ge=(Ot,It,_t)=>It in Ot?De(Ot,It,{enumerable:!0,configurable:!0,writable:!0,value:_t}):Ot[It]=_t,Be=(Ot,It)=>{for(var _t in It||(It={}))je.call(It,_t)&&Ge(Ot,_t,It[_t]);if(Ce)for(var _t of Ce(It))Fe.call(It,_t)&&Ge(Ot,_t,It[_t]);return Ot},tt=(Ot,It)=>xe(Ot,Ae(It));const Ye={labelCol:{span:4},wrapperCol:{span:20}};var Ve=({callback:Ot,onCancel:It})=>{function _t(tn){Ot(tn)}return be.createElement(ye.default,tt(Be({},Ye),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:_t,style:{width:500}}),be.createElement(ye.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},be.createElement(Pe.default,null)),be.createElement(ye.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},be.createElement(Pe.default,null)),be.createElement("div",{className:"flex-container flex-end"},be.createElement(we.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),be.createElement(we.ZP,{type:"ghost",onClick:It},"\u53D6\u6D88")))},Xe=ve(85533),Ze=ve(45053),ke=ve(43418),ze=ve(95237),et=ve(16750),Je=ve(59301),ut=({callback:Ot,onCancel:It})=>{const _t=document.createElement("canvas"),tn=_t.getContext("2d");_t.width=1e3,_t.height=800,tn.fillStyle="#ffffff",tn.fillRect(0,0,_t.width,_t.height);const Fn=_t.toDataURL("image/png");return Je.createElement(ke.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Je.createElement(ze.Z,{style:{height:"100vh"}},Je.createElement(et.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Fn,visible:!0,title:String(Date.now())},onOk:Cn=>{Ot({src:Cn.url})},onClose:It})))},Qe=ve(12378);function Ue(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Ue,go.CommandHandler),Ue.prototype.canAlignSelection=function(){var Ot=this.diagram;return!(Ot===null||Ot.isReadOnly||Ot.isModelReadOnly||Ot.selection.count<2)},Ue.prototype.alignLeft=function(){var Ot=this.diagram;Ot.startTransaction("aligning left");var It=1/0;Ot.selection.each(function(_t){_t instanceof go.Link||(It=Math.min(_t.position.x,It))}),Ot.selection.each(function(_t){_t instanceof go.Link||_t.move(new go.Point(It,_t.position.y))}),Ot.commitTransaction("aligning left")},Ue.prototype.alignRight=function(){var Ot=this.diagram;Ot.startTransaction("aligning right");var It=-1/0;Ot.selection.each(function(_t){if(!(_t instanceof go.Link)){var tn=_t.actualBounds.x+_t.actualBounds.width;It=Math.max(tn,It)}}),Ot.selection.each(function(_t){_t instanceof go.Link||_t.move(new go.Point(It-_t.actualBounds.width,_t.position.y))}),Ot.commitTransaction("aligning right")},Ue.prototype.alignTop=function(){var Ot=this.diagram;Ot.startTransaction("alignTop");var It=1/0;Ot.selection.each(function(_t){_t instanceof go.Link||(It=Math.min(_t.position.y,It))}),Ot.selection.each(function(_t){_t instanceof go.Link||_t.move(new go.Point(_t.position.x,It))}),Ot.commitTransaction("alignTop")},Ue.prototype.alignBottom=function(){var Ot=this.diagram;Ot.startTransaction("aligning bottom");var It=-1/0;Ot.selection.each(function(_t){if(!(_t instanceof go.Link)){var tn=_t.actualBounds.y+_t.actualBounds.height;It=Math.max(tn,It)}}),Ot.selection.each(function(_t){_t instanceof go.Link||_t.move(new go.Point(_t.actualBounds.x,It-_t.actualBounds.height))}),Ot.commitTransaction("aligning bottom")},Ue.prototype.alignCenterX=function(){var Ot=this.diagram,It=Ot.selection.first();if(It){Ot.startTransaction("aligning Center X");var _t=It.actualBounds.x+It.actualBounds.width/2;Ot.selection.each(function(tn){tn instanceof go.Link||tn.move(new go.Point(_t-tn.actualBounds.width/2,tn.actualBounds.y))}),Ot.commitTransaction("aligning Center X")}},Ue.prototype.alignCenterY=function(){var Ot=this.diagram,It=Ot.selection.first();if(It){Ot.startTransaction("aligning Center Y");var _t=It.actualBounds.y+It.actualBounds.height/2;Ot.selection.each(function(tn){tn instanceof go.Link||tn.move(new go.Point(tn.actualBounds.x,_t-tn.actualBounds.height/2))}),Ot.commitTransaction("aligning Center Y")}},Ue.prototype.alignColumn=function(Ot){var It=this.diagram;It.startTransaction("align Column"),Ot===void 0&&(Ot=0),Ot=parseFloat(Ot);var _t=new Array;It.selection.each(function(or){or instanceof go.Link||_t.push(or)});for(var tn=0;tn<_t.length-1;tn++){var Fn=_t[tn],Cn=Fn.actualBounds.y+Fn.actualBounds.height+Ot,Br=_t[tn+1];Br.move(new go.Point(Fn.actualBounds.x,Cn))}It.commitTransaction("align Column")},Ue.prototype.alignRow=function(Ot){Ot===void 0&&(Ot=0),Ot=parseFloat(Ot);var It=this.diagram;It.startTransaction("align Row");var _t=new Array;It.selection.each(function(or){or instanceof go.Link||_t.push(or)});for(var tn=0;tn<_t.length-1;tn++){var Fn=_t[tn],Cn=Fn.actualBounds.x+Fn.actualBounds.width+Ot,Br=_t[tn+1];Br.move(new go.Point(Cn,Fn.actualBounds.y))}It.commitTransaction("align Row")},Ue.prototype.canRotate=function(Ot){var It=this.diagram;return!(It===null||It.isReadOnly||It.isModelReadOnly||It.selection.count<1)},Ue.prototype.rotate=function(Ot){Ot===void 0&&(Ot=90);var It=this.diagram;It.startTransaction("rotate "+Ot.toString());var It=this.diagram;It.selection.each(function(_t){_t instanceof go.Link||_t instanceof go.Group||(_t.angle+=Ot)}),It.commitTransaction("rotate "+Ot.toString())},Ue.prototype.pullToFront=function(){var Ot=this.diagram;Ot.startTransaction("pullToFront");var It=new go.Map;Ot.selection.each(function(_t){It.set(_t.layer,0)}),It.iteratorKeys.each(function(_t){var tn=0;_t.parts.each(function(Fn){if(!Fn.isSelected){var Cn=Fn.zOrder;isNaN(Cn)?Fn.zOrder=0:tn=Math.max(tn,Cn)}}),It.set(_t,tn)}),Ot.selection.each(function(_t){Ue._assignZOrder(_t,It.get(_t.layer)+1)}),Ot.commitTransaction("pullToFront")},Ue.prototype.pushToBack=function(){var Ot=this.diagram;Ot.startTransaction("pushToBack");var It=new go.Map;Ot.selection.each(function(_t){It.set(_t.layer,0)}),It.iteratorKeys.each(function(_t){var tn=0;_t.parts.each(function(Fn){if(!Fn.isSelected){var Cn=Fn.zOrder;isNaN(Cn)?Fn.zOrder=0:tn=Math.min(tn,Cn)}}),It.set(_t,tn)}),Ot.selection.each(function(_t){Ue._assignZOrder(_t,It.get(_t.layer)-1-Ue._findGroupDepth(_t))}),Ot.commitTransaction("pushToBack")},Ue._assignZOrder=function(Ot,It,_t){_t===void 0&&(_t=Ot),Ot.layer===_t.layer&&(Ot.zOrder=It),Ot instanceof go.Group&&Ot.memberParts.each(function(tn){Ue._assignZOrder(tn,It+1,_t)})},Ue._findGroupDepth=function(Ot){if(Ot instanceof go.Group){var It=0;return Ot.memberParts.each(function(_t){It=Math.max(It,Ue._findGroupDepth(_t))}),It+1}else return 0},Ue.prototype.doKeyDown=function(){var Ot=this.diagram;if(Ot!==null){var It=Ot.lastInput;if(It.key==="Up"||It.key==="Down"||It.key==="Left"||It.key==="Right"){var _t=this.arrowKeyBehavior;if(_t==="none")return;if(_t==="select"){this._arrowKeySelect();return}else if(_t==="move"){this._arrowKeyMove();return}else if(_t==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Ue.prototype._getAllParts=function(){var Ot=new Array;return this.diagram.nodes.each(function(It){Ot.push(It)}),this.diagram.parts.each(function(It){Ot.push(It)}),Ot},Ue.prototype._arrowKeyMove=function(){var Ot=this.diagram,It=Ot.lastInput,_t=0,tn=0;if(It.control||It.meta)_t=1,tn=1;else if(Ot.grid!==null){var Fn=Ot.grid.gridCellSize;tn=Fn.width,_t=Fn.height}Ot.startTransaction("arrowKeyMove"),Ot.selection.each(function(Cn){It.key==="Up"?Cn.move(new go.Point(Cn.actualBounds.x,Cn.actualBounds.y-_t)):It.key==="Down"?Cn.move(new go.Point(Cn.actualBounds.x,Cn.actualBounds.y+_t)):It.key==="Left"?Cn.move(new go.Point(Cn.actualBounds.x-tn,Cn.actualBounds.y)):It.key==="Right"&&Cn.move(new go.Point(Cn.actualBounds.x+tn,Cn.actualBounds.y))}),Ot.commitTransaction("arrowKeyMove")},Ue.prototype._arrowKeySelect=function(){var Ot=this.diagram,It=Ot.lastInput,_t=null;It.key==="Up"?_t=this._findNearestPartTowards(270):It.key==="Down"?_t=this._findNearestPartTowards(90):It.key==="Left"?_t=this._findNearestPartTowards(180):It.key==="Right"&&(_t=this._findNearestPartTowards(0)),_t!==null&&(It.shift?_t.isSelected=!0:It.control||It.meta?_t.isSelected=!_t.isSelected:Ot.select(_t))},Ue.prototype._findNearestPartTowards=function(Ot){var It=this.diagram.selection.first();if(It===null)return null;for(var _t=It.actualBounds.center,tn=this._getAllParts(),Fn=1/0,Cn=It,Br=0;Br<tn.length;Br++){var or=tn[Br];if(or!==It&&or.canSelect()){var Ht=or.actualBounds.center,Lt=_t.directionPoint(Ht),rn=this._angleCloseness(Lt,Ot);if(rn<=45){var jt=_t.distanceSquaredPoint(Ht);jt*=1+Math.sin(rn*Math.PI/180),jt<Fn&&(Fn=jt,Cn=or)}}}return Cn},Ue.prototype._angleCloseness=function(Ot,It){return Math.min(Math.abs(It-Ot),Math.min(Math.abs(It+360-Ot),Math.abs(It-360-Ot)))},Ue.prototype._arrowKeyTree=function(){var Ot=this.diagram,It=Ot.selection.first();if(It instanceof go.Node){var _t=Ot.lastInput;if(_t.key==="Right"){if(!It.isTreeLeaf)if(!It.isTreeExpanded)Ot.commandHandler.canExpandTree(It)&&Ot.commandHandler.expandTree(It);else{var tn=this._sortTreeChildrenByY(It).first();tn!==null&&Ot.select(tn)}}else if(_t.key==="Left")if(!It.isTreeLeaf&&It.isTreeExpanded)Ot.commandHandler.canCollapseTree(It)&&Ot.commandHandler.collapseTree(It);else{var Fn=It.findTreeParentNode();Fn!==null&&Ot.select(Fn)}else if(_t.key==="Up"){var Fn=It.findTreeParentNode();if(Fn!==null){var Cn=this._sortTreeChildrenByY(Fn),Br=Cn.indexOf(It);if(Br>0){for(var or=Cn.elt(Br-1);or!==null&&or.isTreeExpanded&&!or.isTreeLeaf;){var Ht=this._sortTreeChildrenByY(or);or=Ht.last()}or!==null&&Ot.select(or)}else Ot.select(Fn)}}else if(_t.key==="Down")if(It.isTreeExpanded&&!It.isTreeLeaf){var tn=this._sortTreeChildrenByY(It).first();tn!==null&&Ot.select(tn)}else for(;It!==null;){var Fn=It.findTreeParentNode();if(Fn===null)break;var Cn=this._sortTreeChildrenByY(Fn),Br=Cn.indexOf(It);if(Br<Cn.length-1){Ot.select(Cn.elt(Br+1));break}else It=Fn}var Lt=Ot.selection.first();Lt!==null&&Ot.scrollToRect(Lt.actualBounds)}},Ue.prototype._sortTreeChildrenByY=function(Ot){var It=new go.List().addAll(Ot.findTreeChildrenNodes());return It.sort(function(_t,tn){var Fn=_t.location,Cn=tn.location;return Fn.y<Cn.y?-1:Fn.y>Cn.y?1:Fn.x<Cn.x?-1:Fn.x>Cn.x?1:0}),It},Ue.prototype.copyToClipboard=function(Ot){go.CommandHandler.prototype.copyToClipboard.call(this,Ot),this._lastPasteOffset.set(this.pasteOffset)},Ue.prototype.pasteFromClipboard=function(){var Ot=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Ot,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Ot},Object.defineProperty(Ue.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Ot){if(Ot!=="move"&&Ot!=="select"&&Ot!=="scroll"&&Ot!=="tree"&&Ot!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Ot);this._arrowKeyBehavior=Ot}}),Object.defineProperty(Ue.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Ot){if(!(Ot instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Ot);this._pasteOffset.set(Ot)}});var Re=Ue,$e=ve(25863),Le=ve(43604),Ne=ve(38147),qe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},We=ve(59301),Me=(Ot,It,_t)=>new Promise((tn,Fn)=>{var Cn=Ht=>{try{or(_t.next(Ht))}catch(Lt){Fn(Lt)}},Br=Ht=>{try{or(_t.throw(Ht))}catch(Lt){Fn(Lt)}},or=Ht=>Ht.done?tn(Ht.value):Promise.resolve(Ht.value).then(Cn,Br);or((_t=_t.apply(Ot,It)).next())});function Te({onCancel:Ot,callback:It}){let _t=(0,be.useRef)(),tn=(0,be.useRef)(),Fn=(0,be.useRef)(),Cn=(0,be.useRef)(!1);const Br=(0,be.useRef)(!1),[or,Ht]=(0,be.useState)(0);function Lt(){const jt=Qe.bx.make,un={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"};_t.current=new Qe.S0(tn.current,{padding:20,grid:jt(Qe.s_,"Grid",jt(Qe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),jt(Qe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:gn=>{var vn=gn.diagram.commandHandler.addTopLevelParts(gn.diagram.selection,!0);vn||gn.diagram.currentTool.doCancel()},commandHandler:jt(Re),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:gn=>{var vn=gn.subject;vn.location=vn.location.copy().snapToGridPoint(gn.diagram.grid.gridOrigin,gn.diagram.grid.gridCellSize),setTimeout(()=>{gn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:gn=>{var vn=gn.subject;setTimeout(()=>{gn.diagram.commandHandler.editTextBlock()})},LinkRelinked:gn=>{var vn=gn.parameter.part;vn.invalidateConnectedLinks();var Zn=gn.subject;gn.diagram.toolManager.linkingTool.isForwards?Zn.toNode.invalidateConnectedLinks():Zn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),_t.current.nodeTemplate=jt(Qe.NB,"Auto",{locationSpot:Qe.z6.Center,locationObjectName:"SHAPE",desiredSize:new Qe.$u(120,60),minSize:new Qe.$u(40,40),resizable:!0,resizeCellSize:new Qe.$u(10,10),rotatable:!0},new Qe.KX("location","loc",Qe.E9.parse).makeTwoWay(Qe.E9.stringify),new Qe.KX("desiredSize","size",Qe.$u.parse).makeTwoWay(Qe.$u.stringify),jt(Qe.bn,{name:"SHAPE",fill:un.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Qe.z6.AllSides,toSpot:Qe.z6.AllSides},new Qe.KX("figure"),new Qe.KX("fill"),new Qe.KX("stroke","borderColor"),new Qe.KX("strokeWidth","thickness"),new Qe.KX("strokeDashArray","dash")),jt(Qe.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),jt(Qe.al,{margin:1,textAlign:"center",overflow:Qe.al.OverflowEllipsis,editable:!0},new Qe.KX("text").makeTwoWay(),new Qe.KX("stroke","color"))),_t.current.nodeTemplate.toolTip=jt("ToolTip",jt(Qe.s_,"Vertical",{maxSize:new Qe.$u(200,NaN)},jt(Qe.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Qe.KX("text")),jt(Qe.al,{font:"10pt sans-serif",textAlign:"center"},new Qe.KX("text","details"))));function En(gn,vn){var Zn=(Pn,Sr)=>{Pn.handled=!0,Pn.diagram.model.commit(dr=>{var Yn=Sr.part.adornedPart,kr=new Qe.E9().setRectSpot(Yn.actualBounds,gn);kr.subtract(Yn.location),kr.scale(2,2),kr.x+=Math.sign(kr.x)*130,kr.y+=Math.sign(kr.y)*130,kr.add(Yn.location),kr.snapToGridPoint(Pn.diagram.grid.gridOrigin,Pn.diagram.grid.gridCellSize);var Cr=dr.copyNodeData(Yn.data);dr.setGroupKeyForNodeData(Cr,dr.getGroupKeyForNodeData(Yn.data)),dr.addNodeData(Cr);var Po={from:Yn.key,to:dr.getKeyForNodeData(Cr)};dr.addLinkData(Po);var po=Pn.diagram.findNodeForData(Cr);po.location=kr,Pn.diagram.select(po),setTimeout(()=>{Pn.diagram.commandHandler.editTextBlock()},20)})};return jt(Qe.bn,{figure:vn,alignment:gn,alignmentFocus:gn.opposite(),width:gn.equals(Qe.z6.Top)||gn.equals(Qe.z6.Bottom)?25:18,height:gn.equals(Qe.z6.Top)||gn.equals(Qe.z6.Bottom)?18:25,fill:"orange",stroke:un.white,strokeWidth:4,mouseEnter:(Pn,Sr)=>Sr.fill="dodgerblue",mouseLeave:(Pn,Sr)=>Sr.fill="orange",isActionable:!0,click:Zn,contextClick:Zn})}function jn(gn){return jt(Qe.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:(vn,Zn)=>Zn.fill="dodgerblue",mouseLeave:(vn,Zn)=>Zn.fill="orange",click:(vn,Zn)=>{vn.diagram.commandHandler.showContextMenu(Zn.part.adornedPart)}},gn||{})}_t.current.nodeTemplate.selectionAdornmentTemplate=jt(Qe.uz,"Spot",jt(Qe.Vm,{padding:10}),En(Qe.z6.Top,"TriangleUp"),En(Qe.z6.Left,"TriangleLeft"),En(Qe.z6.Right,"TriangleRight"),En(Qe.z6.Bottom,"TriangleDown"),jn({alignment:new Qe.z6(.75,0)}));function Sn(gn,vn){return(Zn,Pn)=>{Zn.handled=!0,Zn.diagram.model.commit(Sr=>{Sr.set(Pn.part.adornedPart.data,gn,vn)})}}function St(gn,vn){return vn||(vn="color"),jt(Qe.bn,{width:16,height:16,stroke:"lightgray",fill:gn,margin:1,background:"transparent",mouseEnter:(Zn,Pn)=>Pn.stroke="dodgerblue",mouseLeave:(Zn,Pn)=>Pn.stroke="lightgray",click:Sn(vn,gn),contextClick:Sn(vn,gn)})}function Bt(){return[jt("ContextMenuButton",jt(Qe.s_,"Horizontal",St(un.white,"fill"),St(un.beige,"fill"),St(un.extralightblue,"fill"),St(un.extralightred,"fill"))),jt("ContextMenuButton",jt(Qe.s_,"Horizontal",St(un.lightgray,"fill"),St(un.lightgreen,"fill"),St(un.lightblue,"fill"),St(un.lightred,"fill")))]}function Nt(){return[jt("ContextMenuButton",jt(Qe.s_,"Horizontal",St(un.black),St(un.green),St(un.blue),St(un.red))),jt("ContextMenuButton",jt(Qe.s_,"Horizontal",St(un.white),St(un.magenta),St(un.purple),St(un.orange)))]}function Ct(gn,vn){return vn||(vn="thickness"),jt(Qe.bn,"LineH",{width:16,height:16,strokeWidth:gn,margin:1,background:"transparent",mouseEnter:(Zn,Pn)=>Pn.background="dodgerblue",mouseLeave:(Zn,Pn)=>Pn.background="transparent",click:Sn(vn,gn),contextClick:Sn(vn,gn)})}function Xt(gn,vn){return vn||(vn="dash"),jt(Qe.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:gn,margin:1,background:"transparent",mouseEnter:(Zn,Pn)=>Pn.background="dodgerblue",mouseLeave:(Zn,Pn)=>Pn.background="transparent",click:Sn(vn,gn),contextClick:Sn(vn,gn)})}function Vt(){return[jt("ContextMenuButton",jt(Qe.s_,"Horizontal",Ct(1),Ct(2),Ct(3),Ct(4))),jt("ContextMenuButton",jt(Qe.s_,"Horizontal",Xt(null),Xt([2,4]),Xt([4,4])))]}function Wt(gn,vn){return vn||(vn="figure"),jt(Qe.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:gn,margin:1,background:"transparent",mouseEnter:(Zn,Pn)=>Pn.fill="dodgerblue",mouseLeave:(Zn,Pn)=>Pn.fill="lightgray",click:Sn(vn,gn),contextClick:Sn(vn,gn)})}_t.current.nodeTemplate.contextMenu=jt("ContextMenu",jt("ContextMenuButton",jt(Qe.s_,"Horizontal",Wt("Rectangle"),Wt("RoundedRectangle"),Wt("Ellipse"),Wt("Diamond"))),jt("ContextMenuButton",jt(Qe.s_,"Horizontal",Wt("Parallelogram2"),Wt("ManualOperation"),Wt("Procedure"),Wt("Cylinder1"))),jt("ContextMenuButton",jt(Qe.s_,"Horizontal",Wt("Terminator"),Wt("CreateRequest"),Wt("Document"),Wt("TriangleDown"))),Bt(),Nt(),Vt()),_t.current.groupTemplate=jt(Qe.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Qe.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(gn,vn)=>{var Zn=vn.addMembers(vn.diagram.selection,!0);Zn||vn.diagram.currentTool.doCancel()},avoidable:!1},new Qe.KX("location","loc",Qe.E9.parse).makeTwoWay(Qe.E9.stringify),jt(Qe.s_,"Auto",{name:"BODY"},jt(Qe.bn,{parameter1:10,fill:un.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Qe.z6.AllSides,toSpot:Qe.z6.AllSides},new Qe.KX("fill"),new Qe.KX("stroke","color"),new Qe.KX("strokeWidth","thickness"),new Qe.KX("strokeDashArray","dash")),jt(Qe.Vm,{background:"transparent",margin:20})),jt(Qe.al,{alignment:Qe.z6.Top,alignmentFocus:Qe.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Qe.KX("text"),new Qe.KX("stroke","color"))),_t.current.groupTemplate.selectionAdornmentTemplate=jt(Qe.uz,"Spot",jt(Qe.s_,"Auto",jt(Qe.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),jt(Qe.Vm,{margin:1.5})),jn({alignment:Qe.z6.TopRight,alignmentFocus:Qe.z6.BottomRight})),_t.current.groupTemplate.contextMenu=jt("ContextMenu",Bt(),Nt(),Vt()),_t.current.linkTemplate=jt(Qe.rU,{layerName:"Foreground",routing:Qe.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Qe.KX("fromSpot","fromSpot",Qe.z6.parse),new Qe.KX("toSpot","toSpot",Qe.z6.parse),new Qe.KX("fromShortLength","dir",gn=>gn>=1?10:0),new Qe.KX("toShortLength","dir",gn=>gn>=1?10:0),new Qe.KX("points").makeTwoWay(),jt(Qe.bn,{strokeWidth:2},new Qe.KX("stroke","color"),new Qe.KX("strokeWidth","thickness"),new Qe.KX("strokeDashArray","dash")),jt(Qe.bn,{segmentIndex:0,segmentOffset:new Qe.E9(15,0),segmentOrientation:Qe.rU.OrientAlong,alignmentFocus:Qe.z6.Right,figure:"circle",width:10,strokeWidth:0},new Qe.KX("fill","color"),new Qe.KX("visible","dir",gn=>gn===1)),jt(Qe.bn,{segmentIndex:-1,segmentOffset:new Qe.E9(-10,6),segmentOrientation:Qe.rU.OrientPlus90,alignmentFocus:Qe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Qe.KX("fill","color"),new Qe.KX("visible","dir",gn=>gn>=1),new Qe.KX("width","thickness",gn=>7+3*gn),new Qe.KX("height","thickness",gn=>7+3*gn),new Qe.KX("segmentOffset","thickness",gn=>new Qe.E9(-15,4+1.5*gn))),jt(Qe.bn,{segmentIndex:0,segmentOffset:new Qe.E9(15,-6),segmentOrientation:Qe.rU.OrientMinus90,alignmentFocus:Qe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Qe.KX("fill","color"),new Qe.KX("visible","dir",gn=>gn===2),new Qe.KX("width","thickness",gn=>7+3*gn),new Qe.KX("height","thickness",gn=>7+3*gn),new Qe.KX("segmentOffset","thickness",gn=>new Qe.E9(-15,4+1.5*gn))),jt(Qe.al,{alignmentFocus:new Qe.z6(0,1,-4,0),editable:!0},new Qe.KX("text").makeTwoWay(),new Qe.KX("stroke","color"))),_t.current.linkTemplate.selectionAdornmentTemplate=jt(Qe.uz,jt(Qe.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Kt(2)},new Qe.KX("pathPattern","thickness",Kt)),jn({alignmentFocus:new Qe.z6(0,0,-6,-4)}));function Kt(gn){return jt(Qe.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(gn+4).toString()+" H3"})}function In(gn){var vn="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return gn===0?vn="M0 0 M16 16 M0 8 L16 8":gn===2&&(vn="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),jt(Qe.bn,{geometryString:vn,margin:2,background:"transparent",mouseEnter:(Zn,Pn)=>Pn.background="dodgerblue",mouseLeave:(Zn,Pn)=>Pn.background="transparent",click:Sn("dir",gn),contextClick:Sn("dir",gn)})}function Rn(gn){var vn=(Zn,Pn)=>{Zn.handled=!0,Zn.diagram.model.commit(Sr=>{var dr=Pn.part.adornedPart;Sr.set(dr.data,gn?"toSpot":"fromSpot",Qe.z6.stringify(Qe.z6.AllSides)),(gn?dr.toNode:dr.fromNode).invalidateConnectedLinks()})};return jt(Qe.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Zn,Pn)=>Pn.background="dodgerblue",mouseLeave:(Zn,Pn)=>Pn.background="transparent",click:vn,contextClick:vn})}function kt(gn,vn){var Zn=0,Pn=Qe.z6.RightSide;gn.equals(Qe.z6.Top)?(Zn=270,Pn=Qe.z6.TopSide):gn.equals(Qe.z6.Left)?(Zn=180,Pn=Qe.z6.LeftSide):gn.equals(Qe.z6.Bottom)&&(Zn=90,Pn=Qe.z6.BottomSide),vn||(Zn-=180);var Sr=(dr,Yn)=>{dr.handled=!0,dr.diagram.model.commit(kr=>{var Cr=Yn.part.adornedPart;kr.set(Cr.data,vn?"toSpot":"fromSpot",Qe.z6.stringify(Pn)),(vn?Cr.toNode:Cr.fromNode).invalidateConnectedLinks()})};return jt(Qe.bn,{alignment:gn,alignmentFocus:gn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Zn,background:"transparent",mouseEnter:(dr,Yn)=>Yn.background="dodgerblue",mouseLeave:(dr,Yn)=>Yn.background="transparent",click:Sr,contextClick:Sr})}_t.current.linkTemplate.contextMenu=jt("ContextMenu",Nt(),Vt(),jt("ContextMenuButton",jt(Qe.s_,"Horizontal",In(0),In(1),In(2))),jt("ContextMenuButton",jt(Qe.s_,"Horizontal",jt(Qe.s_,"Spot",Rn(!1),kt(Qe.z6.Top,!1),kt(Qe.z6.Left,!1),kt(Qe.z6.Right,!1),kt(Qe.z6.Bottom,!1)),jt(Qe.s_,"Spot",{margin:new Qe.Zt(0,0,0,2)},Rn(!0),kt(Qe.z6.Top,!0),kt(Qe.z6.Left,!0),kt(Qe.z6.Right,!0),kt(Qe.z6.Bottom,!0)))));const yr=`{ "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 nr=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function rr(gn){return console.log("shapeName:",gn),nr.indexOf(gn)>=0}var Kr=new Qe.YI(Fn.current,{maxSelectionCount:1,linkTemplate:jt(Qe.rU,{locationSpot:Qe.z6.Center,selectionAdornmentTemplate:jt(Qe.uz,"Link",{locationSpot:Qe.z6.Center},jt(Qe.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),jt(Qe.bn,{toArrow:"Standard",stroke:null}))},{routing:Qe.rU.AvoidsNodes,curve:Qe.rU.JumpOver,corner:5,toShortLength:4},new Qe.KX("points"),jt(Qe.bn,{isPanelMain:!0,strokeWidth:2}),jt(Qe.bn,{toArrow:"Standard",stroke:null})),model:new Qe.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Qe.bn.getFigureGenerators().toArray().map(gn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:gn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return _t.current.addDiagramListener("TextEdited",function(gn){var vn;const Zn=gn.subject.part;var Pn=(vn=document.activeElement)==null?void 0:vn.value;typeof Pn=="string"&&Pn.trim()===""&&_t.current.model.commit(function(Sr){Sr.set(Zn.data,"text","\u672A\u547D\u540D"),_t.current.commandHandler.stopCommand()},"increment")}),Kr.nodeTemplate=jt(Qe.NB,"Auto",{locationSpot:Qe.z6.Center},new Qe.KX("location","location",Qe.E9.parse).makeTwoWay(Qe.E9.stringify),jt(Qe.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 Qe.KX("stroke").makeTwoWay(),new Qe.KX("fill").makeTwoWay(),new Qe.KX("figure")),jt(Qe.al,{margin:new Qe.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Qe.$u(16,16),maxSize:new Qe.$u(10,NaN),textAlign:"center",editable:!0},new Qe.KX("key").makeTwoWay())),setTimeout(()=>{_t.current.grid=jt(Qe.s_,"Grid",jt(Qe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),jt(Qe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),_t.current.grid.visible=!0,_t.current.grid.gridCellStroke="darkgray",_t.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=_t.current,_t.current}const rn=()=>Me(this,null,function*(){var jt=_t.current.makeImage();const un=yield(0,Ne.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:jt.src}});It({src:un.url})});return(0,be.useEffect)(()=>(setTimeout(()=>{Lt()},500),Ht(or+1),()=>{_t.current=null}),[]),We.createElement("div",{ref:Br,className:Cn.current?`${qe.maxH60} body-overflow-initial`:"body-overflow-initial"},We.createElement(ke.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!or,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:We.createElement(ze.Z,null,We.createElement(Le.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),We.createElement(Le.Z,{onClick:()=>{var jt,un,En=_t.current.selection.first();if(Cn.current=!Cn.current,document.activeElement&&En){let jn=(un=(jt=document.activeElement)==null?void 0:jt.value)==null?void 0:un.trim();typeof jn=="string"&&_t.current.model.commit(function(Sn){Sn.set(En.data,"text",jn||"\u672A\u547D\u540D"),_t.current.commandHandler.stopCommand()},"increment")}Ht(or+1)}},We.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Ot},We.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:qe.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:qe.myPaletteDiv,ref:Fn})),We.createElement("div",{style:{flex:1,position:"relative"}},We.createElement("div",{ref:tn,style:{height:"80vh"}}))),We.createElement("div",{className:"tr"},We.createElement(we.ZP,{size:"large",onClick:rn,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Oe=Te,Ee=ve(5112),Ie=ve(5871);const Ke=Ee.ZP.Group,at={margin:"0 8px"};var He=({callback:Ot,onCancel:It})=>{function _t(tn){Ot(tn)}return be.createElement(ye.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:_t},be.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},be.createElement("span",{style:at},"\u5355\u5143\u683C\u6570\uFF1A"),be.createElement("span",{style:at},"\u884C\u6570"),be.createElement(ye.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},be.createElement(Ie.Z,null)),be.createElement("span",{style:at},"\u5217\u6570"),be.createElement(ye.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},be.createElement(Ie.Z,null))),be.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},be.createElement("span",{style:at},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),be.createElement(ye.default.Item,{name:"align"},be.createElement(Ke,null,be.createElement(Ee.ZP,{value:"default"},be.createElement("i",{className:"fa fa-align-justify"})),be.createElement(Ee.ZP,{value:"left"},be.createElement("i",{className:"fa fa-align-left"})),be.createElement(Ee.ZP,{value:"center"},be.createElement("i",{className:"fa fa-align-center"})),be.createElement(Ee.ZP,{value:"right"},be.createElement("i",{className:"fa fa-align-right"}))))),be.createElement("div",{className:"flex-container flex-end"},be.createElement(we.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),be.createElement(we.ZP,{type:"ghost",onClick:It},"\u53D6\u6D88")))},nt=ve(78673),ft=ve(93510),lt=ve.n(ft),ct=(0,be.forwardRef)(({use3d:Ot,width:It,height:_t,callback:tn,showSaveButton:Fn},Cn)=>{const Br=(0,be.useRef)(),or=(0,be.useRef)(),[Ht,Lt]=(0,be.useState)(!1),rn=(0,be.useRef)({id:Br,appName:"graphing",width:It||1e3,height:_t||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)(()=>{or.current=new(lt())(rn.current,!0),window.onload=function(){or.current.inject("applet_container")}},[]);const jt=()=>{var un=window.ggbApplet.getPNGBase64(1,!0,72);return tn&&tn(un),un};return(0,be.useEffect)(()=>{rn.current.appName=Ht?"3D":"graphing",or.current.inject("applet_container")},[Ht]),(0,be.useEffect)(()=>{Lt(Ot)},[Ot]),(0,be.useImperativeHandle)(Cn,()=>({getImgData:jt})),be.createElement(be.Fragment,null,be.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Br}),be.createElement(ze.Z,{align:"middle"},be.createElement(Le.Z,{flex:1},be.createElement(nt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Ht,onChange:un=>Lt(un)})),be.createElement(Le.Z,null,be.createElement(we.ZP,{size:"large",onClick:jt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),vt=ve(99298),ot=ve(1012),st=ve(8591);const ht="link",mt="upload-image",bt="add-flowchart",xt="draw-image",Ft="add-flowchart",Dt="code-block",$t="add-table",dn="------------",en={default:dn,left:`:${dn}`,center:`:${dn}:`,right:`${dn}:`};var Jt=ve(31103),wn=(Ot,It,_t)=>new Promise((tn,Fn)=>{var Cn=Ht=>{try{or(_t.next(Ht))}catch(Lt){Fn(Lt)}},Br=Ht=>{try{or(_t.throw(Ht))}catch(Lt){Fn(Lt)}},or=Ht=>Ht.done?tn(Ht.value):Promise.resolve(Ht.value).then(Cn,Br);or((_t=_t.apply(Ot,It)).next())});function Tn(){}let fn=0;const zn=1e4,Un="\u2581",Nn="@\u2581\u2581@",On="@\u2581@",Mn=`
|
|
|
**\u6A21\u677F\u6807\u9898**
|
|
|
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,Wn=["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 qn(Ot){return/^\d+$/.test(Ot)?`${Ot}px`:Ot}const er=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",jr={[er+"-B"]:"bold",[er+"-I"]:"italic"},sr={[ht]:"\u6DFB\u52A0\u94FE\u63A5",[Dt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[mt]:"\u6DFB\u52A0\u56FE\u7247",[xt]:"\u6DFB\u52A0\u753B\u56FE",[bt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[$t]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var hr=({defaultValue:Ot="",onChange:It,width:_t="100%",height:tn=400,miniToolbar:Fn=!1,isFocus:Cn=!1,watch:Br,insertTemp:or,mode:Ht="markdown",id:Lt="markdown-editor-id",showResizeBar:rn=!1,noStorage:jt=!1,showNullButton:un=!1,showNullProgramButton:En=!1,hidetoolBar:jn=!1,fullScreen:Sn=!1,onBlur:St,onCMBeforeChange:Bt,onFullScreen:Nt,className:Ct="",disablePaste:Xt=!1,disabled:Vt=!1,disabledFill:Wt=!1,placeholder:Kt="",values:In="",extraUse:Rn})=>{const[kt,yr]=(0,be.useState)(null),[nr,rr]=(0,be.useState)(Ot),[Kr,gn]=(0,be.useState)(Br),[vn,Zn]=(0,be.useState)(Sn),[Pn,Sr]=(0,be.useState)(""),[dr,Yn]=(0,be.useState)(0),[kr,Cr]=(0,be.useState)(tn),[Po,po]=(0,be.useState)(!1),io=(0,be.useRef)((0,ot.Z)()),ko=(0,be.useRef)(!1),Io=(0,be.useRef)(),[pn,Ro]=(0,be.useState)(0),[mo,zr]=(0,be.useState)(0),bo=(0,be.useRef)(),to=(0,be.useRef)(),lo=(0,be.useRef)(),vo=(0,be.useRef)(),fr=()=>wn(void 0,null,function*(){var ln;const Qt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:io.current}});(ln=Qt==null?void 0:Qt.attachments)!=null&&ln.length&&(console.log("cm:",kt,bo),Qt.attachments.map(Yt=>{Yt.content_type.indexOf("image")>-1?kt.replaceSelection(``):Yt.content_type.indexOf("video")>-1?kt.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):Yt.content_type.indexOf("pdf")>-1?kt.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${Yt.id}?type=${Yt.content_type}&disposition=inline" target="_blank">${Yt.name}</a>`):kt.replaceSelection(`[${Yt.name}](${ENV.API_SERVER}/api/attachments/${Yt.id}?type=${Yt.content_type})`)}))});(0,be.useEffect)(()=>{const ln=window.scrollY||window.pageYOffset;rr(In),kt==null||kt.setValue(In),window.scrollTo(0,ln)},[In]),(0,be.useEffect)(()=>{Nt==null||Nt(vn)},[vn]),(0,be.useEffect)(()=>{if(bo.current){let ln=function(Yt,qt){var an;if(Xt){qt.preventDefault();return}const hn=qt.clipboardData;if(hn){const Ln=hn.types.toString(),mn=hn.items;if(Ln==="Files"||hn.types.indexOf("Files")>-1){if(qt.preventDefault(),Ht=="stex")return;try{let _r=mn[1];((an=mn[0])==null?void 0:an.kind)==="file"&&(_r=mn[0]);const Kn=_r.getAsFile(),Jr=Kn.name.split(".").pop();(0,Ze.I)(Kn,lr=>{var kn,pr,br;lr.id?((kn=Kn==null?void 0:Kn.type)==null?void 0:kn.indexOf("image"))>-1?Qt.replaceSelection(`<img width="100%" src="/api/attachments/${lr.id}?type=${lr.content_type})" alt="" />`):((pr=Kn==null?void 0:Kn.type)==null?void 0:pr.indexOf("video"))>-1?Qt.replaceSelection(`<video width="100%" controls src="/api/attachments/${lr.id}"></video>`):((br=Kn==null?void 0:Kn.type)==null?void 0:br.indexOf("pdf"))>-1?Qt.replaceSelection(`<a href="/api/attachments/${lr.id}?type=${Kn.type}&disposition=inline" target="_blank">${Kn.name}</a>`):Wn.includes(Jr)?Qt.replaceSelection(`<a href="/api/attachments/${lr.id}?type=office&disposition=inline" target="_blank">${Kn.name}</a>`):Qt.replaceSelection(`[${Kn.name}](/api/attachments/${lr.id}?type=${lr.content_type})`):(lr==null?void 0:lr.status)===401&&(st.ZP.warning((lr==null?void 0:lr.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(_r){st.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Qt=E().fromTextArea(bo.current,{mode:Ht,lineNumbers:!Fn,lineWrapping:!0,value:Ot,autoCloseTags:!En,autoCloseBrackets:!0});return Qt.on("keyup",function(Yt,qt){qt.keyCode===8&&(Yt.getValue()==""?Qt.setOption("placeholder",Kt):Qt.setOption("placeholder",null))}),Qt.on("keydown",function(Yt,qt){if(qt.keyCode===8){var an=Er(Yt);an&&qt.preventDefault()}}),Cn&&Qt.focus(),Qt.on("paste",ln),Qt.on("dragleave",function(Yt,qt){to.current.classList.remove("mouse-hover-md")}),Vt&&Qt.on("beforeChange",function(Yt,qt){(qt.origin==="paste"||qt.origin==="+input")&&qt.cancel()}),yr(Qt),()=>{Qt.off("paste",ln)}}},[]);const wr=(0,be.useCallback)(()=>{if(to.current)try{}catch(ln){console.log(ln,"---- to set md editor body height")}},[kr,to,vn]);(0,be.useEffect)(()=>{function ln(){let Qt=new pe.Z(Yt=>{for(let qt of Yt)(qt.target.offsetHeight>0||qt.target.offsetWidth>0)&&(wr(),kt.setSize("100%","100%"),kt.refresh())});return Qt.observe(bo.current.parentElement),Qt}if(kt){const Qt=ln();return()=>{var Yt,qt;(Yt=bo.current)!=null&&Yt.parentElement&&Qt.unobserve((qt=bo.current)==null?void 0:qt.parentElement)}}},[kt,wr]),(0,be.useEffect)(()=>{if(kt){let ln=[];for(const[Qt,Yt]of Object.entries(jr)){let qt={[Qt]:()=>{xr(Yt)}};ln.push(qt),kt.addKeyMap(qt)}return Io.current=setInterval(()=>{ko.current&&fr()},4e3),()=>{clearInterval(Io.current);for(let Qt of ln)kt.removeKeyMap(Qt)}}},[kt]),(0,be.useEffect)(()=>{Sn!==vn&&Zn(Sn)},[Sn]),(0,Jt.Z)(()=>{if(!jt&&dr>0){let ln=new Date().getTime(),Qt=window.sessionStorage.getItem(Lt);ln>=dr+zn&&(!Qt||Qt!==nr)&&(window.sessionStorage.setItem(Lt,nr),po(!0))}},zn),(0,be.useEffect)(()=>{gn(Br)},[kt,Br]),(0,be.useEffect)(()=>{kt&&Cn&&kt.focus()},[kt,Cn]),(0,be.useEffect)(()=>{if(Kr&&kt){let ln=function(Yt){let qt=Yt.target;if(vo.current){let an=qt.scrollTop/qt.scrollHeight;vo.current.scrollTop=vo.current.scrollHeight*an}};const Qt=kt.getScrollerElement();return Qt.addEventListener("scroll",ln),()=>{Qt.removeEventListener("scroll",ln)}}},[kt,Kr]),(0,be.useEffect)(()=>{if(kt&&Bt){let ln=function(Qt,Yt){Bt(Qt,Yt)};return kt.on("beforeChange",ln),()=>{kt.off("beforeChange",ln)}}},[kt,Bt]),(0,be.useEffect)(()=>{if(kt&&St){let ln=function(){St(kt.getValue())};return kt.on("blur",ln),()=>{kt.off("blur",ln)}}},[kt,St]);function Er(ln,Qt){var Yt=ln.getDoc(),qt=Yt.getCursor(),an=Yt.getLine(qt.line),hn=an.charAt(qt.ch-1),Ln=an.lastIndexOf("@\u2581@",qt.ch),mn=an.lastIndexOf("@\u2581\u2581@",qt.ch),_r=Ln>mn?Ln:mn,Kn=Ln>mn?3:4;if(Nn.indexOf(hn)===-1)return null;if(console.log("change1:",Qt,ln,an,qt,_r,Ln,mn,hn),_r>=0&&qt.ch-_r<5){var Jr=_r+Kn;return Yt.replaceRange("",{line:qt.line,ch:_r},{line:qt.line,ch:Jr}),{line:qt.line,ch:Jr}}return null}(0,be.useEffect)(()=>{if(kt){let ln=function(Qt,Yt){const qt=Qt.getValue();rr(qt),Yn(new Date().getTime()),Qt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),It&&(En?It(qt,no(qt)):It(qt))};return kt.on("change",ln),()=>{kt.off("change",ln)}}},[kt,It]),(0,be.useEffect)(()=>{if(kt)if(Ot==null)kt.setValue(""),rr("");else{const ln=window.scrollY||window.pageYOffset;Ot!==kt.getValue()&&(kt.setValue(Ot),rr(Ot),kt.setCursor(Vt?1:kt.lineCount(),0),window.scrollTo(0,ln))}},[kt,Ot]);const xr=(0,be.useCallback)(ln=>{const Qt=kt.getCursor(),Yt=kt.getSelection();let qt=Yt.split(`
|
|
|
`);switch(ln){case"bold":return kt.replaceSelection("**"+Yt+"**"),Yt===""&&kt.setCursor(Qt.line,Qt.ch+2),kt.focus();case"italic":return kt.replaceSelection("*"+Yt+"*"),Yt===""&&kt.setCursor(Qt.line,Qt.ch+1),kt.focus();case"code":return kt.replaceSelection("`"+Yt+"`"),Yt===""&&kt.setCursor(Qt.line,Qt.ch+1),kt.focus();case"inline-latex":return Sr("inline-latex"),kt.focus();case"latex":return kt.replaceSelection("```latex\n"+Yt+"\n```"),kt.setCursor(Qt.line+1,Yt.length+1),kt.focus();case"line-break":return kt.replaceSelection(`<br/>
|
|
|
`),kt.focus();case"list-ul":return Yt===""?kt.replaceSelection("- "+Yt):kt.replaceSelection(qt.map(an=>an===""?"":`- ${an}`).join(`
|
|
|
`)),kt.focus();case"list-ol":return Yt===""?kt.replaceSelection("1. "+Yt):kt.replaceSelection(qt.map((an,hn)=>an===""?"":`${hn+1}. ${an}`).join(`
|
|
|
`)),kt.focus();case"add-null-ch":return Yt===""&&kt.setCursor(Qt.line,Qt.ch),kt.replaceSelection(Un),kt.focus();case"add-signal":return Yt===""&&kt.setCursor(Qt.line,Qt.ch),kt.replaceSelection(On),kt.focus();case"add-multiple":return Yt===""&&kt.setCursor(Qt.line,Qt.ch),kt.replaceSelection(Nn),kt.focus();case"inster-template-1":return Yt===""&&kt.setCursor(Qt.line,Qt.ch),kt.replaceSelection(Mn),kt.focus();case"eraser":return kt.setValue(""),kt.focus();case"trigger-watch":return gn(!Kr),kt.focus();case"trigger-full-screen":return Zn(!vn),kt.focus();case ht:Sr(ht);return;case Dt:Sr(Dt);return;case mt:Sr(mt);return;case xt:Sr(xt);return;case"maths-latex":Sr("maths-latex");return;case bt:Sr(bt);return;case $t:Sr($t);return;default:throw new Error}},[kt,Kr,vn]),ao=(0,be.useCallback)((ln,Qt)=>{var Yt,qt,an,hn,Ln,mn;switch(Sr(""),Pn){case ht:const{title:kn,link:pr}=ln;return kt.replaceSelection(`[${kn}](${pr})`),kt.focus();case Dt:const{language:br,content:An}=ln;return kt.replaceSelection(["```"+br,An,"```"].join(`
|
|
|
`)),kt.focus();case"maths-latex":for(var _r=atob(ln),Kn=new Uint8Array(_r.length),Jr=0;Jr<_r.length;Jr++)Kn[Jr]=_r.charCodeAt(Jr);var lr=new Blob([Kn],{type:"image/png"});(0,Ze.I)(lr,yo=>{yo.id?kt.replaceSelection(``):(yo==null?void 0:yo.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":kt.replaceSelection("`$$"+ln+"$$`");break;case mt:case xt:case Ft:const{src:Or,alt:Gr}=ln,Tr=Qt,mr=(an=(qt=(Yt=Tr==null?void 0:Tr.name)==null?void 0:Yt.split("."))==null?void 0:qt.pop)==null?void 0:an.call(qt);return((hn=Tr==null?void 0:Tr.type)==null?void 0:hn.indexOf("image"))>-1||!(Tr!=null&&Tr.type)?Tr.align||Tr.width?kt.replaceSelection(`<p style="text-align:${Tr.align||"initial"}"><img width="${Tr.width?Tr.width+"%":"initial"}" src="${Or}" alt="${Gr||""}" /></p>`):kt.replaceSelection(`<img width="100%" src="${Or}" alt="${Gr||""}" />`):((Ln=Tr==null?void 0:Tr.type)==null?void 0:Ln.indexOf("video"))>-1?kt.replaceSelection(`<video width="100%" controls src="${Or}"></video>`):((mn=Tr==null?void 0:Tr.type)==null?void 0:mn.indexOf("pdf"))>-1?kt.replaceSelection(`<a href="${Or}?type=${Tr.type}&disposition=inline" target="_blank">${Tr.name}</a>`):Wn.includes(mr)?kt.replaceSelection(`<a href="${Or}?type=office&disposition=inline" target="_blank">${Tr.name}</a>`):kt.replaceSelection(`[${Tr.name}](${Or})`),kt.focus();case $t:const{row:Fr,col:co,align:ho}=ln;let Uo=`
|
|
|
`;for(let yo=0;yo<Fr;yo++){let Ho=[],sa=[];for(let xo=0;xo<co;xo++)yo===1&&sa.push(en[ho]),Ho.push(" ");yo===1&&(Uo+=`| ${sa.join(" | ")} |
|
|
|
`),Uo+=`| ${Ho.join(co===1?"":" | ")} |
|
|
|
`}return kt.replaceSelection(Uo+`
|
|
|
`),kt.focus();default:throw new Error}},[kt,Pn]),To=(0,be.useMemo)(()=>{switch(Pn){case ht:return be.createElement(Ve,{callback:ao,onCancel:wo});case Dt:return be.createElement(Xe.Z,{callback:ao,onCancel:wo});case mt:return be.createElement(Ze.Z,{callback:ao,onCancel:wo});case bt:return be.createElement(Oe,{callback:ao,onCancel:wo});case $t:return be.createElement(He,{callback:ao,onCancel:wo});case"maths-latex":return be.createElement(ct,{showSaveButton:!0,callback:ao});case"inline-latex":return be.createElement(vt.Z,{showSaveButton:!0,callback:ao});default:return null}},[Pn]);function wo(){Sr("")}(0,be.useEffect)(()=>{if(lo.current){let ln=function(Ln){an=!0,hn=Ln.pageY},Qt=function(){an=!1},Yt=function(Ln){if(an){let mn=Ln.pageY-hn;mn<0&&(mn=0),mn>300&&(mn=300);let _r=tn+mn+"px";Cr(_r)}},qt=lo.current,an=!1,hn=0;return qt.addEventListener("mousedown",ln),document.addEventListener("mousemove",Yt),document.addEventListener("mouseup",Qt),()=>{qt.removeEventListener("mousedown",ln),document.removeEventListener("mousemove",Yt),document.removeEventListener("mouseup",Qt)}}},[kt,lo]),(0,be.useEffect)(()=>{Cr(tn)},[tn]);const Lo=qn(_t),Yo=qn(kr),Mo={width:Lo,height:Yo},$r=(0,be.useMemo)(()=>{if(dr){let ln=new Date(dr),Qt=ln.getHours(),Yt=ln.getMinutes(),qt=ln.getSeconds();return Qt=Qt<10?"0"+Qt:Qt,Yt=Yt<10?"0"+Yt:Yt,qt=qt<10?"0"+qt:qt,`${Qt}:${Yt}:${qt}`}return 0},[dr]),no=ln=>{const Qt=[];if(En){let Yt=-1;ln=ln.replace(/(@▁▁@|@▁@)/g,function(qt,an,hn){Qt.push({multiLine:qt!==On})})}return Qt};function zo(){window.sessionStorage.removeItem(Lt),po(!1),Yn(0)}function Tt(){po(!1),Yn(0),kt.setValue(window.sessionStorage.getItem(Lt))}(0,be.useEffect)(()=>{sr[Pn]&&Pn!==xt&&Pn!==bt&&setTimeout(()=>{const ln=document.getElementsByClassName("markdown-popup-form")[0],Qt=window.innerWidth/2-ln.offsetWidth/2,Yt=window.innerHeight/2-ln.offsetHeight/2;Ro(Qt),zr(Yt)},0)},[Pn]);const Gt=ln=>{ln.preventDefault();const Qt=ln.clientX-pn,Yt=ln.clientY-mo;document.body.onmousemove=qt=>{let an=qt.clientX-Qt,hn=qt.clientY-Yt;const Ln=document.getElementsByClassName("markdown-popup-form")[0],mn=window.innerWidth-Ln.offsetWidth,_r=window.innerHeight-Ln.offsetHeight;an=Math.max(0,Math.min(an,mn)),hn=Math.max(0,Math.min(hn,_r)),on(qt.clientX,qt.clientY,Qt,Yt)&&(Ro(an),zr(hn))},document.body.onmouseup=function(){document.body.onmousemove=null}},on=(ln,Qt,Yt,qt)=>{const an=document.body.clientHeight,hn=document.body.clientWidth;return ln<20&&Yt>ln||ln>hn-20&&Yt<ln||Qt<20&&qt>Qt||Qt>an-20&&qt<Qt?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return be.createElement(be.Fragment,null,be.createElement("div",{className:"markdown-editor-wrapper",ref:to},be.createElement("div",{className:`markdown-editor-container ${Ct} ${Kr?"on-preview":""} ${Fn?"mini":""} ${vn?"full-screen":""}`,style:Mo},be.createElement(he,{insertTemp:or,watch:Kr,fullScreen:vn,showNullButton:un,showNullProgramButton:En,onActionCallback:xr,hidetoolBar:jn,extraUse:Rn}),be.createElement("div",{className:"markdown-editor-body"},be.createElement("div",{className:"codemirror-container"},be.createElement("textarea",{ref:bo,placeholder:Kt})),Kr?be.createElement("div",{ref:vo,className:"preview-container"},Ht==="stex"&&be.createElement(oe,{value:nr}),Ht!=="stex"&&be.createElement(ae.Z,{disabledFill:Wt,showProgramFill:En,value:nr})):null))),rn?be.createElement("a",{ref:lo,className:"editor-resize"}):null,Pn===xt&&be.createElement(ut,{callback:ao,onCancel:wo}),Pn===bt&&be.createElement(Oe,{callback:ao,onCancel:wo}),be.createElement(Se.Z,null,sr[Pn]&&Pn!==xt&&Pn!==bt?be.createElement(ke.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:pn,top:mo},title:be.createElement("div",{style:{cursor:"move"},onMouseDown:Gt},sr[Pn]),open:!0,onCancel:wo,footer:null,destroyOnClose:!0,width:Pn===bt?"1200px":null,height:Pn===bt?"80vh":null,className:"markdown-popup-form"},To):null))}},45053:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return me},I:function(){return Se}});var be=ve(78241),_e=ve(8591),E=ve(92832),pe=ve(81327),de=ve(5871),se=ve(5112),ne=ve(3113),ie=ve(28735),ce=ve(59301),ue=ve(41867),ae=ve(59301),oe=Object.defineProperty,re=Object.defineProperties,z=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(ye,Pe,we)=>Pe in ye?oe(ye,Pe,{enumerable:!0,configurable:!0,writable:!0,value:we}):ye[Pe]=we,ee=(ye,Pe)=>{for(var we in Pe||(Pe={}))y.call(Pe,we)&&b(ye,we,Pe[we]);if(a)for(var we of a(Pe))x.call(Pe,we)&&b(ye,we,Pe[we]);return ye},te=(ye,Pe)=>re(ye,z(Pe));const{useForm:le}=be.default,fe={width:280,marginRight:10},ge={labelCol:{span:5},wrapperCol:{span:19}};var me=({callback:ye,onCancel:Pe})=>{const[we]=le();let De=(0,ce.useRef)();function xe(je){De.current.width=we.getFieldValue("width"),De.current.align=we.getFieldValue("align"),ye(je,De.current)}function Ae(je,Fe){if(je.status===-1){_e.ZP.error(je.message);return}we.setFieldsValue({src:`/api/attachments/${je.id}`,type:Fe.type})}function Ce(je){let Fe=je.target.files[0];De.current=Fe,Se(Fe,Ae)}return ae.createElement(be.default,te(ee({form:we},ge),{className:"upload-image-panel",onFinish:xe,style:{width:470,overflow:"hidden"}}),ae.createElement(be.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ae.createElement("div",{className:"flex-container"},ae.createElement(be.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ae.createElement(E.default,{style:fe})),ae.createElement(he,{onFileChange:Ce}))),ae.createElement(be.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ae.createElement(E.default,{style:{width:264}})),ae.createElement(be.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ae.createElement(pe.Z,null,ae.createElement(be.default.Item,{name:"width",style:{margin:0}},ae.createElement(de.Z,{style:{width:264}})),ae.createElement("span",{className:"ml8"},"%"))),ae.createElement(be.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ae.createElement(se.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),ae.createElement("aside",null,ae.createElement(be.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ae.createElement(ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(ne.ZP,{type:"default",onClick:Pe},"\u53D6\u6D88"))))};function he({onFileChange:ye}){return ae.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ae.createElement("input",{type:"file",onChange:ye}))}function Se(ye,Pe){if(!ye)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ue.bg)())throw _e.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let we=new FormData;we.append("editormd-image-file",ye),we.append("file_param_name","editormd-image-file"),we.append("byxhr","true");var De=new window.XMLHttpRequest;De.withCredentials=!0,De.addEventListener("load",function(xe){Pe(JSON.parse(xe.target.responseText),ye)},!1),De.addEventListener("error",function(xe){console.error(xe)},!1),De.open("POST",`${ie.KI}/api/attachments.json`),De.send(we)}},57261:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return E}});var be=ve(59301),_e=ve(4676);class E extends be.Component{constructor(de){super(de);const se=window.document;this.node=se.createElement("div"),se.body.appendChild(this.node)}render(){const{children:de}=this.props;return(0,_e.createPortal)(de,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},77825:function(Et,dt,ve){"use strict";var be=ve(829),_e=ve(57809),E=ve(78673),pe=ve(59301);const de=_e.default.Option;dt.Z=({isTheoretical:se,onFontSizeChange:ne,cmFontSize:ie,cmCodeMode:ce,autoFormat:ue,onCodeModeChange:ae,onTabToSpace:oe,onAutoFormat:re,formatDocument:z,className:a="",tabToSpace:y,children:x,code_editor:b,challenge:ee,shixun_environment_id:te,shixun_environments:le})=>{var fe;const ge={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"},me=(fe=le==null?void 0:le.find(he=>he.shixun_environment_id===te))==null?void 0:fe.program_language;return pe.createElement("div",{className:`tpi-code-setting ${a}`},pe.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),pe.createElement("section",null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),pe.createElement(_e.default,{bordered:!1,size:"small",value:ce,onChange:ae},pe.createElement(de,{value:"vs"},"\u767D\u8272\u80CC\u666F"),pe.createElement(de,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!se&&pe.createElement(pe.Fragment,null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),pe.createElement(_e.default,{bordered:!1,size:"small",value:ie,onChange:ne},pe.createElement(de,{value:12},"12px"),pe.createElement(de,{value:14},"14px"),pe.createElement(de,{value:16},"16px"),pe.createElement(de,{value:18},"18px"),pe.createElement(de,{value:20},"20px"),pe.createElement(de,{value:22},"22px"))),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"Tab\u8F6C\u6362"),pe.createElement(E.Z,{checked:y,onChange:oe})),pe.createElement("div",{className:"file-item",onClick:z},pe.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!se&&pe.createElement(pe.Fragment,null,pe.createElement("h3",null,"\u5FEB\u6377\u952E"),pe.createElement("section",null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),pe.createElement("span",null,"Ctrl + S")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),pe.createElement("span",null,"F1 / Alt + F1")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),pe.createElement("span",null,"Ctrl + ]/[")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),pe.createElement("span",null,"Ctrl + Shift + \\")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),pe.createElement("span",null,"Home")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),pe.createElement("span",null,"End"))),x),!se&&pe.createElement(pe.Fragment,null,pe.createElement("h3",null,"\u5FEB\u6377\u952E"),pe.createElement("section",null,me&&pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u7F16\u7A0B\u8BED\u8A00"),pe.createElement("span",null,me)),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),pe.createElement("span",null,ge[ee==null?void 0:ee.difficulty])),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),pe.createElement("span",null,b==null?void 0:b.name)),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),pe.createElement("span",null,b!=null&&b.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},31103:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return _e}});var be=ve(59301);function _e(E,pe){const de=(0,be.useRef)();(0,be.useEffect)(()=>{de.current=E}),(0,be.useEffect)(()=>{function se(){de.current()}if(pe!==null){let ne=setInterval(se,pe);return()=>clearInterval(ne)}},[pe])}},21390:function(Et,dt,ve){"use strict";var be=ve(59301),_e=ve(31797),E=ve(5871),pe=ve(78241),de=ve(43418),se=ve(71418),ne=ve(1710),ie=ve(92832),ce=ve(95237),ue=ve(43604),ae=ve(3113),oe=ve(87513),re=ve(56656),z=ve.n(re),a=ve(65582),y=ve(65862),x=ve(27158),b=ve(41867),ee=ve(61527),te=ve(59301),le=(he,Se,ye)=>new Promise((Pe,we)=>{var De=Ce=>{try{Ae(ye.next(Ce))}catch(je){we(je)}},xe=Ce=>{try{Ae(ye.throw(Ce))}catch(je){we(je)}},Ae=Ce=>Ce.done?Pe(Ce.value):Promise.resolve(Ce.value).then(De,xe);Ae((ye=ye.apply(he,Se)).next())});const{Countdown:fe}=_e.default,ge=({value:he,onChange:Se,MaxMinutes:ye})=>te.createElement(te.Fragment,null,te.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",te.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u3002",te.createElement("br",null)),te.createElement(E.Z,{value:he,onChange:Se,min:0,precision:0,max:ye,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${ye}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),me=({exercise:he,successCb:Se,dispatch:ye})=>{var Pe,we,De,xe;const Ae=(0,a.useIntl)(),Ce=(0,a.useParams)(),[je]=pe.default.useForm(),Fe=pe.default.useWatch("time",je),[Ge,Be]=(0,be.useState)(!1),tt=(0,be.useRef)(),{actionTabs:Ye}=he,[Ve,Xe]=(0,be.useState)(),[,Ze,ke,ze]=(0,ee.U)(oe.n7,{id:Ce.categoryId}),[,et,Je]=(0,ee.U)(oe.Cd,{});(0,be.useEffect)(()=>{he.actionTabs.key==="student-unlock"&&(Be(!1),je.resetFields())},[he.actionTabs.key]);const ut=()=>new Promise(Me=>le(void 0,null,function*(){var Te,Oe;return tt.current=yield(0,x.y)({ip_limit:(Te=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Te.ip_limit,ip_bind:(Oe=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Oe.ip_bind_type}),Me()})),Qe=()=>le(void 0,null,function*(){var Me,Te,Oe,Ee,Ie;yield je.validateFields();const Ke=je.getFieldsValue();if(Be(!0),(((Me=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Me.ip_limit)!=="no"||(Te=Ye==null?void 0:Ye.exerciseParams)!=null&&Te.ip_bind_type)&&(yield ut()),(yield(0,oe.ZD)((Oe=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Oe.id,{exercise_user_id:(Ee=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Ee.exercise_user_id,unlock_key:Ke.unlock_key,time:Ke.time,ip:tt.current})).status===0){if(Se){ye({type:"exercise/setActionTabs",payload:{}}),Se();return}const He=Ye==null?void 0:Ye.exerciseParams;(0,y.nr)({inner_ip:He.inner_ip,public_ip:He.public_ip,open_camera:He.open_camera,ip_limit:He.ip_limit,ip_bind:He.ip_bind,ip_bind_type:He.ip_bind_type,exercise_tips:He.exercise_tips,exerciseId:He.id,screen_open:He.screen_open,screen_num:He.screen_num,screen_sec:He.screen_sec,coursesId:Ce.coursesId,login:(Ie=(0,b.eY)())==null?void 0:Ie.login,history,identity_verify:He.identity_verify,open_phone_video_recording:He.open_phone_video_recording,current_status:He.current_status}),ye({type:"exercise/setActionTabs",payload:{}})}Be(!1)}),Ue=[{title:Ae.formatMessage({id:"classrooms.ipAddress",defaultMessage:"IP\u5730\u5740"}),dataIndex:"ip",key:"ip",render:Me=>te.createElement("span",{className:Me.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},Me)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:Me=>te.createElement("span",{className:Me.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},Me)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],Re=((Pe=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Pe.errorMessage)&&typeof((we=Ye==null?void 0:Ye.exerciseParams)==null?void 0:we.errorMessage)=="object";(0,be.useEffect)(()=>{he.actionTabs.key==="student-unlock"&&le(void 0,null,function*(){const Me=yield Je(Ce);yield ke({}),Me.status||Xe(Me)})},[he.actionTabs.key]);const{time:$e,end_time:Le}=(Ve==null?void 0:Ve.exercise)||{},Ne=ze!=null&&ze.user_end_time?z()(ze==null?void 0:ze.user_end_time).add(1,"minutes"):z()(),qe=z()(ze==null?void 0:ze.user_total_end_time)>Ne?Math.round(z().duration(z()(ze==null?void 0:ze.user_total_end_time).diff(Ne.startOf("minute"))).asMinutes()):0,We=((ze==null?void 0:ze.student_left_minutes)||0)+(Fe||0);return te.createElement(te.Fragment,null,te.createElement(de.default,{width:514,centered:!0,closable:!!((De=Ye==null?void 0:Ye.exerciseParams)!=null&&De.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:Ae.formatMessage({id:"classrooms.prompt",defaultMessage:"\u63D0\u793A"}),open:he.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{ye({type:"exercise/setActionTabs",payload:{}})}},te.createElement(se.Z,{spinning:Ze||et},Re&&te.createElement("div",{style:{marginBottom:16}},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002 "),!Re&&te.createElement("div",{style:{marginBottom:16}},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u5728\u8003\u8BD5\u65F6\u4E2D\u9014\u9000\u51FA\uFF0C\u73B0\u5DF2\u5C06\u8003\u8BD5\u9501\u5B9A\u3002\u5982\u9700\u7EE7\u7EED\u8FDB\u884C\u8003\u8BD5\uFF0C \u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8BFE\u5802\u8001\u5E08\u8FDB\u884C\u89E3\u9501\uFF01"),Re&&te.createElement(ne.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((xe=Ye==null?void 0:Ye.exerciseParams)==null?void 0:xe.errorMessage)||{}],columns:Ue}),te.createElement("div",{className:""},te.createElement(pe.default,{form:je,layout:"vertical",autoComplete:"off"},te.createElement(pe.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},te.createElement(ie.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),$e!==-1?te.createElement(te.Fragment,null,te.createElement(pe.default.Item,{name:"time",label:te.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",te.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",z()(ze==null?void 0:ze.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},te.createElement(ge,{MaxMinutes:qe})),te.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",te.createElement("span",{className:"ml5"},Ze||et?"--":We),"\u5206\u949F",We!==0&&(ze==null?void 0:ze.user_end_time)&&te.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",te.createElement("span",{className:"ml5"},z()(ze==null?void 0:ze.user_end_time).add(Fe||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):te.createElement("span",{style:{color:"#F6A53B"}}," \u5F53\u524D\u8003\u8BD5\u672A\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F\uFF0C\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u4E3A ",z()(Le).format("YYYY-MM-DD HH:mm")))),te.createElement(ce.Z,{justify:"space-between",align:"middle"},te.createElement(ue.Z,null),te.createElement(ue.Z,null,te.createElement(ae.ZP,{loading:Ge,onClick:Qe},"\u8FDB\u5165\u8003\u8BD5"))))))};dt.Z=(0,a.connect)(({exercise:he})=>({exercise:he}))(me)},17933:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return a}});var be=ve(59301),_e=ve(65582),E=ve(43418),pe=ve(3113),de=ve(71418),se=ve(67172),ne=ve(80443),ie=ve(50258),ce=ve(24334),ue=ve(56656),ae=ve.n(ue),oe=ve(17124),re=ve(59301),z=(y,x,b)=>new Promise((ee,te)=>{var le=me=>{try{ge(b.next(me))}catch(he){te(he)}},fe=me=>{try{ge(b.throw(me))}catch(he){te(he)}},ge=me=>me.done?ee(me.value):Promise.resolve(me.value).then(le,fe);ge((b=b.apply(y,x)).next())}),a=({open:y,onClose:x})=>{const[b,ee]=(0,be.useState)(void 0);console.log((0,_e.useLocation)(),33);const te=(0,_e.useLocation)();(0,be.useEffect)(()=>{y&&function(){return z(this,null,function*(){const Ve=yield(0,se.X6)(y);ee(Ve.data)})}()},[y]);const{status:le,created_at:fe,code:ge,name:me,language:he,pass_sets_count:Se,set_count:ye,error_msg:Pe,output:we,input:De,expected_output:xe,execute_memory:Ae,user:Ce,execute_time:je,input_file_url:Fe,output_file_url:Ge,is_file:Be,expected_output_file_url:tt}=b||{};return re.createElement(E.default,{open:y,width:1e3,onCancel:()=>x(!1),footer:re.createElement(pe.ZP,{type:"primary",onClick:()=>x(!1)},"\u5173\u95ED"),centered:!0},re.createElement(de.Z,{spinning:!b,delay:500},re.createElement("div",{className:"record-detail-info"},b?re.createElement(re.Fragment,null,re.createElement("div",{className:"record-detail-body"},re.createElement("h2",null," \u63D0\u4EA4\u8BB0\u5F55 "),re.createElement("ul",{className:"record-info"},re.createElement("li",null," \u8BC4\u6D4B\u7ED3\u679C\uFF1A",re.createElement("span",{className:le===0?"c-green":"c-red"},ne.Im[le])," "),re.createElement("li",null," \u63D0\u4EA4\u65F6\u95F4\uFF1A",re.createElement("span",null,ae()(fe).format("YYYY-MM-DD HH:mm:ss"))," "),re.createElement("li",null," \u8BED\u8A00\uFF1A",re.createElement("span",null,he)," "),re.createElement("li",null," \u6267\u884C\u7528\u65F6\uFF1A",re.createElement("span",null,je*1e3,"ms")," "),re.createElement("li",null," ",`${le===oe.h.HIDE_COMPILE_STATUS?"--":Se} / ${ye} \u4E2A\u901A\u8FC7\u7684\u6D4B\u8BD5\u7528\u4F8B`," ")),(0,ne.gZ)({status:le,error_msg:Pe,execute_time:je,output:we,input:De,expected_output:xe,input_file_url:Fe,output_file_url:Ge,is_file:Be,expected_output_file_url:tt}),re.createElement("h2",null," \u63D0\u4EA4\u7684\u5185\u5BB9 "),re.createElement(ie.ZP,{height:"200px",width:"100%",language:he==null?void 0:he.toLocaleLowerCase(),value:ce.Base64.decode(ge),options:{readOnly:!0}}))):null)))}},88125:function(Et,dt,ve){"use strict";ve.d(dt,{Im:function(){return ye},Y4:function(){return we}});var be=ve(59301),_e=ve(92832),E=ve(8591),pe=ve(3113),de=ve(10129),se=ve(24334),ne=ve.n(se),ie=ve(25492),ce=ve(42678),ue=ve(6339),ae=ve(65862),oe=ve(34376),re=ve.n(oe),z=ve(38147),a=ve(65582),y=ve(17933),x=ve(77254),b=ve(67172),ee=ve(56918),te=ve(21185),le=ve(92310),fe=ve.n(le),ge=ve(84056),me=ve(59301),he=(Ae,Ce,je)=>new Promise((Fe,Ge)=>{var Be=Ve=>{try{Ye(je.next(Ve))}catch(Xe){Ge(Xe)}},tt=Ve=>{try{Ye(je.throw(Ve))}catch(Xe){Ge(Xe)}},Ye=Ve=>Ve.done?Fe(Ve.value):Promise.resolve(Ve.value).then(Be,tt);Ye((je=je.apply(Ae,Ce)).next())});const{TextArea:Se}=_e.default,ye={[de.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[de.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[de.h.OK]:"\u8C03\u8BD5\u901A\u8FC7",2:"\u8C03\u8BD5\u8D85\u65F6",3:"\u8C03\u8BD5pod\u5931\u8D25",4:"\u7F16\u8BD1\u5931\u8D25",5:"\u6267\u884C\u5931\u8D25"};var Pe=(Ae=>(Ae[Ae.SET_VISIBLE=0]="SET_VISIBLE",Ae[Ae.SET_TABINDEX=1]="SET_TABINDEX",Ae))(Pe||{});function we(Ae){const{status:Ce,error_msg:je,output:Fe,input:Ge,expected_output:Be,is_file:tt,input_file_url:Ye,output_file_url:Ve,expected_output_file_url:Xe,setMonacoValue:Ze,setData:ke}=Ae,ze=(0,be.useRef)(),et=(0,be.useRef)(),Je=(0,be.useRef)();let ut=null;const Qe={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch((0,be.useEffect)(()=>{if(Fe&&!tt&&ze.current){const Ue=new oe.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(ze.current);const Re=(0,ae.pp)(se.Base64.decode(Fe));Ue.write(Re),Ue.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{Ue.scrollToTop()}catch($e){}},100)}if(Ge&&!tt&&et.current){const Ue=new oe.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(et.current),Ue.write((0,ae.pp)(Ge)),Ue.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{Ue.scrollToTop()}catch(Re){}},100)}if(Be&&!tt&&Je.current){const Ue=new oe.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(Je.current),Ue.write((0,ae.pp)(se.Base64.decode(Be))),Ue.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{Ue.scrollToTop()}catch(Re){}},100)}},[Fe]),Ce){case de.h.NOMATCH:ut=me.createElement(me.Fragment,null,me.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!tt&&me.createElement("div",{ref:ze}),tt&&me.createElement("div",{style:Qe},me.createElement("a",{style:{fontSize:"16px"},onClick:()=>he(this,null,function*(){const Ue=yield(0,z.ZP)(Ve,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});Ze(Ue),setTimeout(()=>{ke(Ve)},200)})},Fe)),me.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!tt&&me.createElement("div",{ref:Je}),tt&&me.createElement("div",{style:Qe},me.createElement("a",{style:{fontSize:"16px"},onClick:()=>he(this,null,function*(){const Ue=yield fetch(Xe,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});Ze(yield Ue.text()),setTimeout(()=>{ke(Xe)},200)})},Be)));break;case de.h.EXECUTEFAILURE:ut=me.createElement(me.Fragment,null,me.createElement("div",{style:{border:"1px #F6F7F9 solid"}},me.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!tt&&me.createElement(ue.Z,{value:Ge,style:Qe}),tt&&me.createElement("div",{style:Qe},me.createElement("a",{onClick:()=>(0,ae.LR)(Ye,Ge)},Ge))),me.createElement("div",{style:{border:"1px #F6F7F9 solid",marginTop:"10px"}},me.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),me.createElement("pre",{className:ie.Z.error,style:{color:"#E30000",padding:"0 10px"}},se.Base64.decode(je),"111")));break;case de.h.COMPILEFAILURE:ut=me.createElement(me.Fragment,null,me.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),me.createElement("pre",{className:ie.Z.error},se.Base64.decode(je)));break;case de.h.PODFAILURE:ut=me.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case de.h.TIMEOUT:ut=me.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return me.createElement(me.Fragment,null," ",ut," ")}function De(Ae){const{status:Ce,error_msg:je,execute_time:Fe,output:Ge,input:Be,expected_output:tt,is_file:Ye,input_file_url:Ve,output_file_url:Xe,expected_output_file_url:Ze}=Ae;let ke=null;switch(Ce){case de.h.OK:case de.h.NOMATCH:case de.h.EXECUTEFAILURE:case de.h.COMPILEFAILURE:ke=me.createElement("div",{id:"outputResultRef",className:"h100"});break;case de.h.PODFAILURE:ke=me.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case de.h.TIMEOUT:ke=me.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return me.createElement(me.Fragment,null," ",ke," ")}function xe({value:Ae,className:Ce}){return me.createElement("span",{className:Ce},Ae)}dt.ZP=({input:Ae,is_file:Ce,debuging:je,submitting:Fe,executingMessage:Ge,debugResult:Be,onChangeInput:tt,onDebugCode:Ye,onSubmitCode:Ve,hack:Xe,user:Ze,submitResult:ke,isWhiteTheme:ze,topDispatch:et})=>{const[Je]=(0,a.useSearchParams)(),ut=(0,a.useParams)(),[Qe,Ue]=(0,be.useState)(!1),[Re,$e]=(0,be.useState)(!1),[Le,Ne]=(0,be.useState)(1),[qe,We]=(0,be.useState)(!1),[Me,Te]=(0,be.useState)(0),[Oe,Ee]=(0,be.useState)(!1),[Ie,Ke]=(0,be.useState)(""),[at,He]=(0,be.useState)(""),nt=(0,be.useRef)(),ft=(0,be.useRef)(),lt=(0,be.useRef)(null),pt=(0,be.useRef)(null),ct=(0,be.useRef)(null);console.log(ke,"submitResult",ut);const{status:vt,id:ot,input:st,output:ht,expected_output:mt,is_file:bt,input_file_url:xt,output_file_url:Ft,expected_output_file_url:Dt,error_msg:$t,hack_sets:dn}=ke||{};(0,be.useEffect)(()=>{vt===0&&(Ne(1),Te(0))},[vt,ot]),(0,be.useEffect)(()=>{he(void 0,null,function*(){var Mn;const Wn=yield(0,b.rX)(ut==null?void 0:ut.id,"submit");(Wn==null?void 0:Wn.status)===0&&(Wn!=null&&Wn.data&&((Mn=Wn==null?void 0:Wn.data)==null?void 0:Mn.status)!==0?(et({type:ee.Types.SET_SUBMIT_RESULT,payload:{submitResult:Wn==null?void 0:Wn.data}}),Ne(2),Te(320)):(Ne(1),Te(0)))})},[ut==null?void 0:ut.id]),(0,be.useEffect)(()=>{if(nt.current){let On=function(hr){Nr=qn.offsetHeight,er=!0,jr=hr.pageY,ct.current.style.display="block"},Mn=function(){er=!1,ct.current.style.display="none"},Wn=function(hr){if(er){en();let Ot=jr-hr.pageY,It=Nr+Ot;if(It<0&&(It=0),It>window.innerHeight-150&&(It=window.innerHeight-150),Le===1){It<=34?Te(0):Te(It);return}console.log(It,"resizeH"),Te(It)}};const qn=lt.current;let Nr=0,er=!1,jr=0;const sr=document.getElementById("case-y-bar");return sr==null||sr.addEventListener("mousedown",On),document.addEventListener("mousemove",Wn),document.addEventListener("mouseup",Mn),()=>{const hr=document.getElementById("case-y-bar");hr==null||hr.removeEventListener("mousedown",On),document.removeEventListener("mousemove",Wn),document.removeEventListener("mouseup",Mn)}}},[nt,Le]),(0,be.useEffect)(()=>{const On=x.Z.subscribe("resize-move-bar",en);if(Je.get("type")!=="exercises")return document.addEventListener((0,ge.gH)(),Tn),()=>{document.removeEventListener((0,ge.gH)(),Tn),On()}},[]),(0,be.useEffect)(()=>{});function en(){var On,Mn,Wn,qn;const Nr=document.getElementById("outputResultRef");if(Nr){let er=Nr.dataset.text;ft.current.reset(),ft.current.writeln(er);const jr=document.getElementById("outputResultRef").offsetWidth-20,sr=((qn=(Wn=(Mn=(On=ft.current)==null?void 0:On._core)==null?void 0:Mn._renderService)==null?void 0:Wn.dimensions)==null?void 0:qn.actualCellWidth)||10,hr=Math.ceil(jr/sr);ft.current.resize(hr,Math.ceil(Nr.clientHeight/16))}}function Jt(){Ue(!Qe),setTimeout(()=>{en()},300),Te(Qe?320:window.innerHeight-150)}function wn(){Re?($e(!1),(0,ge.BU)()):($e(!0),(0,ge.Dj)(pt.current))}const Tn=On=>{(0,ge.vp)()||$e(!1)},fn=(0,be.useMemo)(()=>{if(Be){const{status:On,output:Mn,error_msg:Wn}=Be;return setTimeout(()=>{let qn="",Nr=document.getElementById("outputResultRef");Mn?qn=se.Base64.decode(Mn):Wn&&(qn=se.Base64.decode(Wn)),ft.current=new oe.Terminal({fontSize:14,theme:{background:"#181e2e",cursor:"transparent"},rendererType:"dom"}),ft.current.open(Nr),ft.current.onKey(function(er){var jr;if(er.domEvent.key.toLocaleUpperCase()==="C"&&er.domEvent.ctrlKey){er.domEvent.preventDefault();let sr=(jr=ft.current)==null?void 0:jr.getSelection();navigator.clipboard.writeText(sr).then(()=>{})}}),Nr.dataset.text=qn,ft.current.setOption("convertEol",!0),en()},300),me.createElement(me.Fragment,null,De(Be))}return null},[Be]);function zn(){var On,Mn;if(!(Xe!=null&&Xe.code)||((On=Xe==null?void 0:Xe.code)==null?void 0:On.trim().length)===0){(Mn=E.ZP)==null||Mn.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}Ne(1),Te(320),Ye()}const Un=On=>he(void 0,null,function*(){let Mn=yield(0,z.ZP)(`/api/problems/${On}/start.json`,{method:"get",params:{hack_user_id:Ze==null?void 0:Ze.user_id}});Mn&&(window.location.href=`/myproblems/${Mn==null?void 0:Mn.identifier}${window.location.search}`)});function Nn(){bt?navigator.clipboard.writeText(se.Base64.decode($t)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")}):navigator.clipboard.writeText(se.Base64.decode(ht)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")})}return me.createElement(be.Fragment,null,me.createElement("div",{className:fe()(ie.Z.case,ze&&ie.Z.whiteCase),style:{height:Me},ref:lt},me.createElement("div",{className:ie.Z.fullMask,ref:ct}),me.createElement("div",{className:ie.Z["resize-y-bar"],id:"case-y-bar",ref:nt,draggable:!1},Le===2&&me.createElement("i",{className:"iconfont icon-guangbiao",draggable:!1})),Le===1&&(Me<=34?me.createElement("div",{onClick:()=>{Te(320)},className:ie.Z.unfoldBtn},"\u63A7\u5236\u53F0",me.createElement("i",{className:"iconfont icon-zhankai9 ml10 font12"})):me.createElement("div",{onClick:()=>{Te(0)},className:ie.Z.unfoldBtn,style:{borderRadius:"0px 0px 8px 8px",top:0}},"\u63A7\u5236\u53F0",me.createElement("i",{className:"iconfont icon-shouqi8 ml10 font12"}))),me.createElement("div",null,me.createElement("div",{className:ie.Z.caseHead},me.createElement("div",{className:ie.Z.dot}),me.createElement("div",{className:ie.Z.text},Le===1?"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C":"\u8BC4\u6D4B\u7ED3\u679C"),Le===2&&!Fe&&typeof vt=="number"&&me.createElement(me.Fragment,null,vt===de.h.OK?me.createElement("div",{className:ie.Z.pass},me.createElement("i",{className:"iconfont icon-tongguo font14 mr5"}),"\u8BC4\u6D4B\u901A\u8FC7"):me.createElement("div",{className:ie.Z.noPass},me.createElement("i",{className:"iconfont icon-jinggao-3 font14 mr5"}),ye[vt])),me.createElement("div",{className:ie.Z.btns},Le===2&&!Fe&&me.createElement(me.Fragment,null,vt!==de.h.OK&&me.createElement("div",{onClick:Nn},me.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236\u9519\u8BEF\u4FE1\u606F"),me.createElement("div",{onClick:()=>{Ee(ot)}},me.createElement("i",{className:"iconfont icon-danceng-xinjianwenjian"}),"\u663E\u793A\u8BE6\u60C5")),Je.get("type")!=="exercises"&&me.createElement("div",{title:"\u5C55\u5F00/\u6536\u7F29",onClick:()=>Jt()},me.createElement("i",{className:`iconfont icon-${Qe?"suoxiao1":"fangda"}`})))),me.createElement("div",{style:{display:Le===1?"block":"none"}},je?me.createElement(ce.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):me.createElement("div",{style:{height:Me-34}},me.createElement("div",{className:ie.Z.result},me.createElement("div",{className:ie.Z.left},me.createElement("div",{className:ie.Z.title},me.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),me.createElement("span",null,"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B")),me.createElement("div",{className:ie.Z.leftNode},me.createElement(Se,{placeholder:"\u8BF7\u8F93\u5165\u81EA\u6D4B\u7528\u4F8B\uFF08\u5982\u679C\u672A\u586B\u5199\uFF0C\u9996\u6B21\u81EA\u6D4B\u8FD0\u884C\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u586B\u5145\u7B2C\u4E00\u4E2A\u975E\u9690\u85CF\u7684\u6587\u672C\u7C7B\u578B\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF09",value:Ce?"":Ae,onChange:tt}))),me.createElement("div",{className:ie.Z.right},me.createElement("div",{className:ie.Z.title},me.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),me.createElement("span",null,"\u4EE3\u7801\u6267\u884C\u7ED3\u679C")),me.createElement("div",{className:ie.Z.node},Be?fn:me.createElement("p",{style:{color:"#8F96B1"}},"\u8BF7\u5728\u5DE6\u4FA7\u8F93\u5165\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B\u7684\u8F93\u5165\u503C\uFF0C\u70B9\u51FB\u201C\u8C03\u8BD5\u4EE3\u7801\u201D\uFF0C\u5373\u53EF\u751F\u6210\u4EE3\u7801\u6267\u884C\u7ED3\u679C")))))),me.createElement("div",{style:{display:Le===2?"block":"none"}},Fe?me.createElement(ce.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):me.createElement("div",{style:{height:Me-34,display:"flex",flexDirection:"column",overflow:"hidden"}},me.createElement("div",{ref:pt,className:ie.Z.elseNode},me.createElement("div",{className:ie.Z.nameWrap},me.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),me.createElement("span",null,"\u5B9E\u9645\u8F93\u5165")),me.createElement("div",{className:ie.Z.scroll},me.createElement("pre",{className:ie.Z.scrollBox,style:qe?{height:Re?"calc(100vh - 20px)":200}:{height:24,overflow:"hidden"}},!bt&&me.createElement(xe,{value:st}),bt&&me.createElement("a",{style:{fontSize:"16px"},onClick:()=>he(void 0,null,function*(){const On=yield fetch(xt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});He(yield On.text()),setTimeout(()=>{Ke(xt)},200)})},st)),st&&me.createElement("div",{className:ie.Z.action},me.createElement("span",{onClick:()=>We(!qe)},qe?"\u6536\u8D77":"\u5C55\u5F00"),Je.get("type")!=="exercises"&&me.createElement("i",{title:"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",onClick:()=>wn(),className:`iconfont icon-${Re?"suoxiao1":"fangda"}`})))),me.createElement("div",{className:ie.Z.result,style:{flex:1,overflow:"hidden"}},me.createElement("div",{className:ie.Z.left},me.createElement("div",{className:ie.Z.title},me.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),me.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),me.createElement("div",{className:ie.Z.node,style:{background:"#1B2333",color:"#2ABD8C"}},me.createElement("pre",null,!bt&&me.createElement(xe,{className:"mb10",value:mt&&se.Base64.decode(mt)||""}),bt&&me.createElement("a",{style:{fontSize:"16px"},onClick:()=>he(void 0,null,function*(){const On=yield fetch(Dt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});He(yield On.text()),setTimeout(()=>{Ke(Dt)},200)})},mt)))),me.createElement("div",{className:ie.Z.right},me.createElement("div",{className:ie.Z.title},me.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),me.createElement("span",null,"\u5B9E\u9645\u8F93\u51FA")),me.createElement("div",{className:ie.Z.node,style:{color:vt===de.h.OK?"#2ABD8C":"#FF2C29"}},me.createElement("pre",null,(vt===4||vt===5)&&me.createElement(xe,{className:"mb10",value:$t&&se.Base64.decode($t)||""}),vt!=4&&vt!=5&&(bt?me.createElement("a",{style:{fontSize:"16px"},onClick:()=>he(void 0,null,function*(){const On=yield(0,z.ZP)(Ft,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});try{He(On)}catch(Mn){He("")}setTimeout(()=>{Ke(Ft)},200)})},ht):me.createElement(xe,{className:"mb10",value:ht&&se.Base64.decode(ht)||""})))))))))),me.createElement("div",{className:fe()(ie.Z.footer,ze&&ie.Z.whiteFooter),style:{zIndex:100}},(Xe==null?void 0:Xe.is_program)&&(Xe==null?void 0:Xe.above_question)&&me.createElement(pe.ZP,{className:"mr10",type:"primary",onClick:()=>Un(Xe==null?void 0:Xe.above_question),id:"oj-prev",ghost:!0},"\u4E0A\u4E00\u9898"),(Xe==null?void 0:Xe.is_program)&&(Xe==null?void 0:Xe.under_question)&&me.createElement(pe.ZP,{className:"mr10",type:"primary",onClick:()=>Un(Xe==null?void 0:Xe.under_question),id:"oj-next",ghost:!0},"\u4E0B\u4E00\u9898"),me.createElement(pe.ZP,{style:{border:"1px solid #2ABD8C",color:"#2ABD8C"},ghost:!0,disabled:je||Fe,loading:je,color:"#2ABD8C",className:"mr10",onClick:zn},"\u8C03\u8BD5\u4EE3\u7801"),Je.get("qtype")!=="8"&&me.createElement(pe.ZP,{className:ie.Z.disabled,type:"primary",icon:me.createElement("i",{className:"iconfont icon-bofang1"}),loading:Fe,disabled:je||Fe,onClick:()=>{var On,Mn;if(!(Xe!=null&&Xe.code)||((On=Xe==null?void 0:Xe.code)==null?void 0:On.trim().length)===0){(Mn=E.ZP)==null||Mn.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}Ne(2),Te(320),Ve()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4")),me.createElement(y.Z,{onClose:Ee,open:Oe}),me.createElement(te.Z,{close:!0,data:Ie,type:Ie.length?"txt":"",onClose:()=>Ke(""),monacoEditor:{value:at,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}}))}},56918:function(Et,dt,ve){"use strict";ve.r(dt),ve.d(dt,{Types:function(){return wo},default:function(){return $r}});var be=ve(59301),_e=ve(65582),E=ve(31797),pe=ve(43418),de=ve(71418),se=ve(3113),ne=ve(6848),ie=ve(95237),ce=ve(67172),ue=ve(87513),ae=ve(84056),oe=ve(29584),re=ve(74128),z=ve(87169),a=ve(43428),y=ve(50258),x=ve(57261),b=ve(42926),ee=ve(77825),te=ve(8591),le={list:"list___IRN6i",copy:"copy___qCn9B"},fe=ve(56102),ge=ve(38147),me=(Tt,Gt,on)=>new Promise((ln,Qt)=>{var Yt=hn=>{try{an(on.next(hn))}catch(Ln){Qt(Ln)}},qt=hn=>{try{an(on.throw(hn))}catch(Ln){Qt(Ln)}},an=hn=>hn.done?ln(hn.value):Promise.resolve(hn.value).then(Yt,qt);an((on=on.apply(Tt,Gt)).next())}),Se=({showResourceCentre:Tt,identifier:Gt})=>{const on=(0,_e.useParams)(),[ln,Qt]=(0,be.useState)(null);(0,be.useEffect)(()=>{Tt&&Yt()},[Tt]);const Yt=()=>me(void 0,null,function*(){const qt=yield(0,ge.ZP)(`/api/problems/${Gt}/attachment_list.json`,{method:"get"});(qt==null?void 0:qt.status)==0&&Qt(qt.data||[])});return be.createElement("div",{className:"tpi-code-setting"},be.createElement("h3",null,"\u8D44\u6E90\u4E2D\u5FC3"),!(ln!=null&&ln.length)&&be.createElement("div",{className:"tc mt50 c-grey-999"},"\u6682\u65E0\u8D44\u6E90\u6570\u636E"),ln==null?void 0:ln.map((qt,an)=>be.createElement("dl",{className:le.list,key:an},be.createElement(ne.Z,{title:qt.title},be.createElement("dt",null,be.createElement("i",{className:"icon-wenjian4 mr5"}),qt.title)),be.createElement("dd",null,be.createElement(fe.CopyToClipboard,{text:qt.saved_file_path,onCopy:()=>te.ZP.success("\u590D\u5236\u6210\u529F")},be.createElement("span",{className:`${le.copy} current`},"\u70B9\u51FB\u590D\u5236"))))))},ye=ve(59301),Pe=Object.defineProperty,we=Object.defineProperties,De=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,je=(Tt,Gt,on)=>Gt in Tt?Pe(Tt,Gt,{enumerable:!0,configurable:!0,writable:!0,value:on}):Tt[Gt]=on,Fe=(Tt,Gt)=>{for(var on in Gt||(Gt={}))Ae.call(Gt,on)&&je(Tt,on,Gt[on]);if(xe)for(var on of xe(Gt))Ce.call(Gt,on)&&je(Tt,on,Gt[on]);return Tt},Ge=(Tt,Gt)=>we(Tt,De(Gt));const Be={theme:(0,b.G)("ProgrammingCodeMode","vs-dark"),fontSize:(0,b.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,b.G)("cmTabToSpace",!0),showResourceCentre:!1};var tt=(Tt=>(Tt[Tt.set_font_size=0]="set_font_size",Tt[Tt.set_theme=1]="set_theme",Tt[Tt.on_tab_to_space=2]="on_tab_to_space",Tt[Tt.set_show_editor_setting=3]="set_show_editor_setting",Tt[Tt.set_show_respurce_center=4]="set_show_respurce_center",Tt))(tt||{});function Ye(Tt,Gt){switch(Gt.type){case 3:return Ge(Fe({},Tt),{showEditorSetting:Gt.payload});case 1:return Ge(Fe({},Tt),{theme:Gt.payload});case 0:return Ge(Fe({},Tt),{fontSize:Gt.payload});case 2:return Ge(Fe({},Tt),{tabToSpace:Gt.payload});case 4:return Ge(Fe({},Tt),{showResourceCentre:Gt.payload});default:throw new Error}}var Ve=({isLoading:Tt,value:Gt,onChange:on,language:ln,onUpdateCode:Qt,ActionBarRender:Yt,setIsWhiteTheme:qt,identifier:an})=>{const[hn,Ln]=(0,be.useReducer)(Ye,Be),{theme:mn,fontSize:_r,showEditorSetting:Kn,tabToSpace:Jr,showResourceCentre:lr}=hn,kn=(0,be.useRef)(),pr=(0,be.useRef)();(0,be.useEffect)(()=>{qt(mn==="vs")},[mn]);const br={onFontSizeChange:Fr=>{Ln({type:0,payload:Fr}),(0,b.t)("cmFontSize",Fr)},tabToSpace:Jr,cmFontSize:_r,className:"oj",cmCodeMode:mn,onTabToSpace:Fr=>{Ln({type:2,payload:Fr}),(0,b.t)("cmTabToSpace",Fr)},onCodeModeChange:Fr=>{Ln({type:1,payload:Fr}),(0,b.t)("ProgrammingCodeMode",Fr)}};function An(){Ln({type:3,payload:!1})}function Or(){Ln({type:3,payload:!0})}function Gr(){Ln({type:4,payload:!1})}function Tr(){Ln({type:4,payload:!0})}const mr={value:Gt,language:ln,theme:mn,options:{fontSize:_r,insertSpaces:Jr},onChange:Fr=>{on(Fr),pr.current=Fr,clearTimeout(kn.current),kn.current=setTimeout(()=>{Qt(pr.current)},1e4)},onEditBlur:Fr=>{pr.current&&Qt(pr.current)}};return ye.createElement(be.Fragment,null,Yt(Or,Tr),ye.createElement("div",{style:{flex:1,overflow:"hidden"}},!Tt&&ye.createElement(y.ZP,Fe({},mr))),ye.createElement(x.Z,null,ye.createElement(a.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:Kn,onClose:An},ye.createElement(ee.Z,Fe({},br)))),ye.createElement(x.Z,null,ye.createElement(a.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:lr,onClose:Gr},ye.createElement(Se,{showResourceCentre:lr,identifier:an}))))},Xe=ve(60141),Ze=ve(24334),ke=ve(88125),ze={flex_box_center:"flex_box_center___rM3g8",flex_space_between:"flex_space_between___Oc7SE",flex_box_vertical_center:"flex_box_vertical_center___MnmYE",flex_box_center_end:"flex_box_center_end___QQh83",flex_box_column:"flex_box_column___ZRFbL","left-panel":"left-panel___SKGyd","tab-panel-body":"tab-panel-body___gABdv",b1:"b1___QpbmK","oj-width-input":"oj-width-input___eJQWT","oj-mr":"oj-mr___AxILO","s-navs":"s-navs___FXwOi","bg-white":"bg-white___kbZ6r",active:"active___QGOnZ",list:"list___PXTsq",btns:"btns___F8yZK",drawer:"drawer___xdGaT",tour:"tour___oMkVh"},et={pagination:"pagination___yDAjZ",info:"info___ATmsa",wrap:"wrap____KX19"},Je=ve(1710),ut=ve(58421),Qe=ve(58617),Ue=ve(17933),Re=ve(56656),$e=ve.n(Re),Le=ve(59301);const{Column:Ne}=Je.default;var qe=({submitResult:Tt,submitting:Gt,submitRecords:on,page:ln,onPageChange:Qt,topicId:Yt})=>{const[qt]=(0,_e.useSearchParams)(),{records:an,records_count:hn}=on||{},[Ln,mn]=(0,be.useState)(!1),_r=qt.get("type")==="1";return Le.createElement(de.Z,{spinning:Gt,tip:"\u8BC4\u6D4B\u4E2D...",indicator:Le.createElement(Qe.Z,{style:{fontSize:24},spin:!0})},(an==null?void 0:an.length)>0?Le.createElement(Je.default,{dataSource:an,rowKey:"id",pagination:!1},Le.createElement(Ne,{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(Kn,Jr)=>Le.createElement("span",null," ",$e()(Kn).format("YYYY-MM-DD HH:mm:ss"))}),Le.createElement(Ne,{title:"\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"status",key:"status",render:(Kn,Jr)=>{var lr;return Le.createElement("span",{className:`${Kn===0?"c-green":"c-red"} current`,onClick:()=>{mn(Jr.id)}},(lr=ke.Im[Kn])==null?void 0:lr.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))}}),Le.createElement(Ne,{title:`\u6267\u884C\u7528\u65F6 (${_r?"MS":"S"})`,dataIndex:"execute_time",key:"execute_time",render:Kn=>Kn?_r?Kn:Kn/1e3:""}),Le.createElement(Ne,{title:`\u5185\u5B58\u6D88\u8017\uFF08${_r?"KB":"MB"}\uFF09`,dataIndex:"execute_memory",key:"execute_memory",render:Kn=>Kn?_r?Kn:parseFloat((Kn/1024).toFixed(2)):""}),Le.createElement(Ne,{title:"\u8BED\u8A00",dataIndex:"language",key:"language"}),Le.createElement(Ne,{title:"\u64CD\u4F5C",dataIndex:"status",key:"status",render:(Kn,Jr)=>Le.createElement("span",{className:"c-light-primary current",onClick:()=>{mn(Jr.id)}},"\u67E5\u770B")})):Le.createElement("div",{style:{height:300,width:"100%"}}),Le.createElement(Ue.Z,{onClose:mn,open:Ln}),hn>15?Le.createElement(ut.Z,{className:et.pagination,current:ln,pageSize:15,total:hn,onChange:Qt}):null)},We=ve(2524),Me=ve(12563),Te={desc:"desc___iOAgd",info:"info___GPALq",info_tag:"info_tag___CFEn8"},Oe=ve(6339),Ee=ve(59301);const Ie={1:{name:"\u7B80\u5355",color:"#52c41a"},2:{name:"\u4E2D\u7B49",color:"#faad14"},3:{name:"\u56F0\u96BE",color:"#f5222d"}};var Ke=({hack:Tt})=>{const{language:Gt,difficult:on,time_limit:ln,description:Qt}=Tt,[Yt]=(0,_e.useSearchParams)(),qt=Ie[on];return Ee.createElement(Ee.Fragment,null,Ee.createElement("ul",{className:Te.info},Ee.createElement("li",null,"\u7F16\u7A0B\u8BED\u8A00\xA0\xA0",Ee.createElement("b",{className:Te.info_tag},Gt)),Ee.createElement("li",null,Ee.createElement("span",{className:"ml20"},"\u96BE\u5EA6"),"\xA0\xA0",Ee.createElement(Me.default,{color:qt==null?void 0:qt.color},qt==null?void 0:qt.name)),Ee.createElement("li",null,Ee.createElement("span",{className:"ml20"},"\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"),"\xA0\xA0",Ee.createElement("span",{style:{color:"#333333"}},ln,"\u79D2"))),Yt.get("qtype")==="8"?Ee.createElement(Oe.Z,{value:Qt,showProgramFill:!0,className:Te.desc}):Ee.createElement(Oe.Z,{value:Qt,className:Te.desc}))},at={},He=ve(59301),nt=({hack:Tt,current_user:Gt})=>He.createElement("div",{className:at.answer},Tt!=null&&Tt.answer_text?He.createElement(Oe.Z,{style:{padding:"13px 0"},value:(Tt==null?void 0:Tt.answer_text)||""}):He.createElement(We.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u53C2\u8003\u7B54\u6848~"})),ft=ve(77254);function lt(Tt,Gt){return(0,ge.U2)(`/problems/${Tt}/comments.json`,{page:Gt,limit:10})}function pt(Tt){return(0,ge.v_)(`/discusses/${Tt}/plus.json`,{container_type:"Discuss",type:1})}function ct(Tt,Gt,on){return(0,ge.v_)(`/problems/${Tt}/comments/reply.json`,{comments:{content:on,parent_id:Gt}})}function vt(Tt,Gt){return(0,ge.v_)(`/problems/${Tt}/comments.json`,{comments:{content:Gt}})}function ot(Tt,Gt,on){return(0,ge.v_)(`/problems/${Tt}/comments/${Gt}/hidden.json`,on)}function st(Tt,Gt){return(0,ge.IV)(`/problems/${Tt}/comments/${Gt}`)}var ht=ve(83554);function mt({author:Tt}){return be.createElement("a",{href:`/users/${Tt.login}`,target:"_blank"},be.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",style:{borderRadius:"50%"},src:`${re.Z.IMG_SERVER}/images/${Tt.image_url}`,width:"50"}))}function bt({data:Tt,index:Gt,parentDiscussIndex:on,user:ln,onSetActionType:Qt}){const{author:Yt,can_delete:qt,content:an,id:hn,time:Ln}=Tt;function mn(){Qt({id:hn,index:Gt,type:"delete-discuss",parentDiscussIndex:on,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}const _r=ln.admin||qt||Yt.user_id===ln.user_id;return be.createElement("div",{className:"discuss-item-container second-discuss "},be.createElement(mt,{author:Yt}),be.createElement("section",null,be.createElement("div",{className:"discuss-info"},be.createElement("a",{href:`/users/${Yt.login}`,target:"_blank"},Yt.name),be.createElement("span",{className:"grey"},Ln),be.createElement("div",{className:"btn-group",style:{marginBottom:0}},_r?be.createElement("a",{onClick:mn,title:"\u5220\u9664"},be.createElement("i",{className:"iconfont icon-shanchu"})):null)),be.createElement(Oe.Z,{className:"discuss-content",value:an})))}var xt=({user:Tt,data:Gt,index:on,onPlusDiscuss:ln,onSetActionType:Qt,activeDiscussIndex:Yt,onReplyDiscuss:qt,onSetActiveDiscussIndex:an})=>{const{content:hn,children:Ln,hidden:mn,id:_r,praise_count:Kn,time:Jr,user_praise:lr,can_delete:kn,author:pr}=Gt;function br(){an(_r)}function An(){ln(_r,!lr,on)}function Or(){Qt({id:_r,index:on,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function Gr(){Qt({id:_r,index:on,params:{hidden:mn?"0":"1"},type:"hidden-discuss",message:mn?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const Tr=Tt.admin||Tt.user_id===pr.user_id;return be.createElement("div",{className:"discuss-item-container",key:_r},be.createElement(mt,{author:pr}),be.createElement("section",null,be.createElement("div",{className:"discuss-info"},be.createElement("a",{href:`/users/${pr.login}`,target:"_blank"}," ",pr.name," "),be.createElement("span",{className:"grey"},Jr)),be.createElement(Oe.Z,{className:"discuss-content",value:hn}),Ln&&Ln.length>0?be.createElement("div",{className:"reply-discuss-container"},Ln.map((mr,Fr)=>be.createElement(bt,{key:mr.id,data:mr,index:Fr,user:Tt,onSetActionType:Qt,parentDiscussIndex:on}))):null,be.createElement("div",{className:"btn-group"},Tr?be.createElement("a",{onClick:Gr,title:mn?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},be.createElement("i",{className:mn?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,kn&&(!Ln||Ln.length==0)?be.createElement("a",{onClick:Or,title:"\u5220\u9664"},be.createElement("i",{className:"iconfont icon-shanchu"})):null,be.createElement("a",{onClick:br,title:"\u56DE\u590D"}," ",be.createElement("i",{className:"iconfont icon-huifu1"})," "),be.createElement("a",{onClick:An,className:lr?"c-orange":""},be.createElement("i",{className:lr?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),be.createElement("span",null,Kn||""))),be.createElement(ht.Z,{id:_r,activeDiscussIndex:Yt,onReplyDiscuss:qt})))},Ft=ve(30214),Dt={"dis-input-editor-container":"dis-input-editor-container___nKGxx",active:"active___tmt7T","input-mask":"input-mask___epEle","text-area":"text-area___Vry8W","tip-container":"tip-container___plpA3",hide:"hide___kPfyC","md-container":"md-container___u85aq","btn-send":"btn-send___deQ5v"},$t=ve(96565),dn=(Tt,Gt,on)=>new Promise((ln,Qt)=>{var Yt=hn=>{try{an(on.next(hn))}catch(Ln){Qt(Ln)}},qt=hn=>{try{an(on.throw(hn))}catch(Ln){Qt(Ln)}},an=hn=>hn.done?ln(hn.value):Promise.resolve(hn.value).then(Yt,qt);an((on=on.apply(Tt,Gt)).next())}),en=({user_praise:Tt,praise_count:Gt,praisePlus:on,onCreateDiscuss:ln,discuss_count:Qt})=>{const[Yt,qt]=(0,be.useState)(!1),[an,hn]=(0,be.useState)("");function Ln(Jr){hn(Jr)}function mn(){qt(!0)}function _r(){qt(!1)}function Kn(){return dn(this,null,function*(){ln(an),hn(""),qt(!1)})}return be.createElement("div",{className:`${Dt["dis-input-editor-container"]} ${Yt?Dt.active:""} `},be.createElement("div",{className:Yt?`hide ${Dt["text-area"]}`:Dt["text-area"]},be.createElement("input",{placeholder:"\u8BF4\u70B9\u4EC0\u4E48",onClick:mn}),be.createElement("a",null," ",be.createElement("i",{className:"iconfont icon-huifu1"})," \xA0 \xA0",Qt," "),be.createElement("a",{className:"c-light-black",onClick:on,title:Tt?"\u53D6\u6D88\u70B9\u8D5E":"\u70B9\u8D5E"},be.createElement("i",{className:`mr3 ${Tt?"iconfont icon-dianzan c-orange":"iconfont icon-dianzan-xian"} `}),Gt?be.createElement("span",null,Gt):"")),Yt?be.createElement("div",{className:Dt["input-mask"],onClick:_r}):null,be.createElement("div",{className:Yt?Dt["md-container"]:`${Dt["md-container"]} hide`},be.createElement($t.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:an,height:240,onChange:Ln}),be.createElement("div",{className:Dt["tip-container"],onClick:_r},be.createElement("a",{className:Dt["btn-send"],onClick:Kn}," \u53D1\u9001 "))))},Jt=ve(59301),wn=Object.defineProperty,Tn=Object.defineProperties,fn=Object.getOwnPropertyDescriptors,zn=Object.getOwnPropertySymbols,Un=Object.prototype.hasOwnProperty,Nn=Object.prototype.propertyIsEnumerable,On=(Tt,Gt,on)=>Gt in Tt?wn(Tt,Gt,{enumerable:!0,configurable:!0,writable:!0,value:on}):Tt[Gt]=on,Mn=(Tt,Gt)=>{for(var on in Gt||(Gt={}))Un.call(Gt,on)&&On(Tt,on,Gt[on]);if(zn)for(var on of zn(Gt))Nn.call(Gt,on)&&On(Tt,on,Gt[on]);return Tt},Wn=(Tt,Gt)=>Tn(Tt,fn(Gt)),qn=(Tt,Gt,on)=>new Promise((ln,Qt)=>{var Yt=hn=>{try{an(on.next(hn))}catch(Ln){Qt(Ln)}},qt=hn=>{try{an(on.throw(hn))}catch(Ln){Qt(Ln)}},an=hn=>hn.done?ln(hn.value):Promise.resolve(hn.value).then(Yt,qt);an((on=on.apply(Tt,Gt)).next())});const Nr={loading:!1,page:1,data:[],count:0,actionType:null,activeDiscussIndex:null};var er=(Tt=>(Tt[Tt.GET_DISCUSSES=0]="GET_DISCUSSES",Tt[Tt.TOP_OR_DOWN_DISCUSS=1]="TOP_OR_DOWN_DISCUSS",Tt[Tt.ACTIVE_DISCUSS_INDEX=2]="ACTIVE_DISCUSS_INDEX",Tt[Tt.PLUS_DISCUSS=3]="PLUS_DISCUSS",Tt[Tt.SET_ACTION_TYPE=4]="SET_ACTION_TYPE",Tt[Tt.SET_PAGE=5]="SET_PAGE",Tt[Tt.SHOW_DISCUSSES_LOADING=6]="SHOW_DISCUSSES_LOADING",Tt))(er||{});function jr(Tt,Gt){switch(Gt.type){case 6:return Wn(Mn({},Tt),{loading:!0});case 0:return Mn(Mn({},Tt),Gt.payload);case 1:return Mn(Mn({},Tt),Gt.payload);case 4:return Mn(Mn({},Tt),Gt.payload);case 3:return Mn(Mn({},Tt),Gt.payload);case 5:return Wn(Mn({},Tt),{page:Gt.payload});case 2:return Mn(Mn({},Tt),Gt.payload);default:throw new Error}}var sr=({user:Tt,identifier:Gt,hack:on,onTriggerPraise:ln,activeIndex:Qt})=>{const[Yt,qt]=(0,be.useReducer)(jr,Nr),{loading:an,page:hn,data:Ln,count:mn,actionType:_r,activeDiscussIndex:Kn}=Yt,Jr=(0,be.useCallback)(()=>qn(void 0,null,function*(){qt({type:6});const mr=yield lt(Gt,hn),{comments:Fr,disscuss_count:co}=mr;qt({type:0,payload:{data:Fr,count:co,loading:!1}})}),[hn,Gt]);(0,be.useEffect)(()=>{Qt==="2"&&Jr()},[Gt,hn,Qt]);function lr(mr){qt({type:5,payload:mr})}function kn(mr){qt({type:4,payload:{actionType:mr}})}function pr(mr){qt(Kn===mr?{type:2,payload:{activeDiscussIndex:null}}:{type:2,payload:{activeDiscussIndex:mr}})}function br(mr,Fr,co){return qn(this,null,function*(){try{const ho=yield pt(mr);Ln[co].user_praise=Fr,Ln[co].praise_count=ho.praise_count,qt({type:3,payload:{data:[...Ln]}})}catch(ho){console.log(ho)}})}function An(){return qn(this,null,function*(){const{id:mr,params:Fr,type:co,index:ho,parentDiscussIndex:Uo}=_r;if(co==="hidden-discuss"&&(yield ot(Gt,mr,Fr),Uo?Ln[Uo].children[ho].hidden=Fr.hidden==1:Ln[ho].hidden=Fr.hidden==1,qt({type:4,payload:{actionType:null,data:[...Ln]}})),co==="delete-discuss"){if(yield st(Gt,mr),Uo||Uo===0){let yo=Ln[Uo].children;for(let Ho=yo.length-1;Ho>=0;Ho--)if(yo[Ho].id===mr){yo.splice(Ho,1);break}Ln[Uo].children=yo}else for(let yo=Ln.length-1;yo>=0;yo--)if(Ln[yo].id===mr){Ln.splice(yo,1);break}qt({type:4,payload:{actionType:null,data:[...Ln]}})}})}function Or(){qt({type:4,payload:{actionType:null}})}function Gr(mr,Fr){return qn(this,null,function*(){try{yield ct(Gt,mr,Fr),Jr()}catch(co){console.log(co)}})}function Tr(mr){return qn(this,null,function*(){qt({type:6}),yield vt(Gt,mr),Jr()})}return Jt.createElement(Jt.Fragment,null,Jt.createElement("div",{className:"discuss-panel"},Ln.length===0?Jt.createElement(We.Z,null):Ln.map((mr,Fr)=>Jt.createElement(xt,{onReplyDiscuss:Gr,onPlusDiscuss:br,onSetActiveDiscussIndex:pr,onSetActionType:kn,data:mr,index:Fr,user:Tt,activeDiscussIndex:Kn})),mn>10?Jt.createElement("div",{className:"pagination-container"},Jt.createElement(ut.Z,{showQuickJumper:!0,onChange:lr,current:hn,total:mn})):null),Jt.createElement(en,{user_praise:on.user_praise,praise_count:on.praises_count,praisePlus:ln,discuss_count:on.comments_count,onCreateDiscuss:Tr}),Jt.createElement(x.Z,null,Jt.createElement(pe.default,{centered:!0,title:"\u63D0\u793A",open:!!_r,onOk:An,onCancel:Or},Jt.createElement("p",null,_r?_r.message:"")),Jt.createElement(Ft.Z,null)))},hr=ve(57809),Ot=ve(92832),It=ve(65615),_t={},tn=ve(59301),Fn=({hack:Tt,current_user:Gt})=>tn.createElement("div",{className:_t.answer},Tt!=null&&Tt.analysis?tn.createElement(Oe.Z,{style:{padding:"13px 0"},value:(Tt==null?void 0:Tt.analysis)||""}):tn.createElement(We.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u9898\u76EE\u89E3\u6790~"})),Cn={hackSets:"hackSets___tw75g",collapseWrapper:"collapseWrapper___TteKi",panelHeader:"panelHeader___Y_Xjq",rateInput:"rateInput___y1qUi",open:"open___xrixP",close:"close___jb6D2",uploadTableWrapper:"uploadTableWrapper___U9Tz_"},Br=ve(36381),or=ve(43604),Ht=ve(78241),Lt=ve(5871),rn=ve(12088),jt=ve(59301);const{TextArea:un}=Ot.default,{Panel:En}=Br.default;var jn=({data:Tt,hack:Gt})=>(console.log(Tt,Gt,"data"),Gt!=null&&Gt.is_file?jt.createElement(rn.Y2,{disabled:!0,className:Cn.uploadTableWrapper,showScore:!Gt.test_set_score,data:Tt,isProgramHomework:!0}):jt.createElement("div",{className:Cn.hackSets},Tt==null?void 0:Tt.map((on,ln)=>jt.createElement(Br.default,{accordion:!0,bordered:!1,key:ln,defaultActiveKey:ln===0&&on.id,className:Cn.collapseWrapper,expandIcon:({isActive:Qt})=>jt.createElement("i",{className:`iconfont icon-weizhankai ${Qt?Cn.open:Cn.close}`,style:{fontSize:14,transition:"all .2s"}})},jt.createElement(En,{key:on.id,header:jt.createElement(ie.Z,{align:"middle",justify:"space-between",wrap:!1},jt.createElement(or.Z,{className:Cn.panelHeader},jt.createElement("span",null,"\u6D4B\u8BD5\u7528\u4F8B",ln+1)),jt.createElement(or.Z,{flex:1},jt.createElement(ie.Z,{align:"middle",justify:"end",wrap:!1},!(Gt!=null&&Gt.test_set_score)&&jt.createElement(or.Z,{className:Cn.rateInput},jt.createElement("span",{className:"mr20"},"\u8BC4\u5206\u5360\u6BD4"),jt.createElement("div",null,jt.createElement(Ht.default.Item,{noStyle:!0},jt.createElement(Lt.Z,{value:on==null?void 0:on.score,className:Cn.baseFormItem,min:0,max:100,disabled:!0}))),jt.createElement("span",{className:"ml10"},"%")))))},jt.createElement(Ht.default.Item,{label:"\u8F93\u5165",labelCol:{span:24}},jt.createElement(un,{readOnly:!0,value:on==null?void 0:on.input,rows:4})),jt.createElement(Ht.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24}},jt.createElement(un,{readOnly:!0,value:on==null?void 0:on.output,rows:4}))))))),Sn={tabs:"tabs___p2jIb",tabWarp:"tabWarp___mt05L",tab:"tab___IYGdQ",active:"active___fQMlP",content:"content___GWVJY"},St=ve(59301),Nt=(0,be.forwardRef)(({data:Tt=[]},Gt)=>{var on;const[ln,Qt]=(0,be.useState)(),Yt=Tt.filter(an=>an.show);(0,be.useEffect)(()=>{Yt.length&&Qt(Yt[0].id)},[Tt==null?void 0:Tt.length]);const qt=((on=Yt.find(an=>an.id===ln))==null?void 0:on.element)||null;return(0,be.useImperativeHandle)(Gt,()=>({setActiveTab:an=>Qt(an)})),St.createElement("div",{className:Sn.tabs},St.createElement("div",{className:Sn.tabWarp},Yt.map(an=>St.createElement("div",{onClick:()=>Qt(an.id),className:`${Sn.tab} ${an.id===ln?Sn.active:""}`,key:an.id},an.name))),St.createElement("div",{className:Sn.content},qt))}),Ct=ve(59301),Xt=Object.defineProperty,Vt=Object.defineProperties,Wt=Object.getOwnPropertyDescriptors,Kt=Object.getOwnPropertySymbols,In=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,kt=(Tt,Gt,on)=>Gt in Tt?Xt(Tt,Gt,{enumerable:!0,configurable:!0,writable:!0,value:on}):Tt[Gt]=on,yr=(Tt,Gt)=>{for(var on in Gt||(Gt={}))In.call(Gt,on)&&kt(Tt,on,Gt[on]);if(Kt)for(var on of Kt(Gt))Rn.call(Gt,on)&&kt(Tt,on,Gt[on]);return Tt},nr=(Tt,Gt)=>Vt(Tt,Wt(Gt)),rr=(Tt,Gt,on)=>new Promise((ln,Qt)=>{var Yt=hn=>{try{an(on.next(hn))}catch(Ln){Qt(Ln)}},qt=hn=>{try{an(on.throw(hn))}catch(Ln){Qt(Ln)}},an=hn=>hn.done?ln(hn.value):Promise.resolve(hn.value).then(Yt,qt);an((on=on.apply(Tt,Gt)).next())});const Kr={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},gn={1:"#2fa34f",2:"#0152d9",3:"#fa6400"};var vn=({hack:Tt,onTriggerPraise:Gt,topicId:on,page:ln,onPageChange:Qt,user:Yt,current_user:qt,submitRecords:an,submitting:hn,submitResult:Ln,setActiveIndex:mn,hack_sets:_r})=>{var Kn,Jr;const[lr]=(0,_e.useSearchParams)(),[kn,pr]=(0,be.useState)("0"),br=(0,_e.useLocation)(),[An,Or]=(0,be.useState)(!1),[Gr,Tr]=(0,be.useState)(null),[mr,Fr]=(0,be.useState)([]),[co,ho]=(0,be.useState)([]),[Uo,yo]=(0,be.useState)({page:1,limit:10}),Ho=(0,be.useRef)(null),sa=(0,be.useRef)(null);console.log(Yt,"user");let[xo,ja]=(0,be.useState)(nr(yr({},(0,_e.useParams)()),{page:1,per_page:20,name:""}));(0,be.useEffect)(()=>{sa.current&&(Tt==null?void 0:Tt.is_close_tips)===!1&&Gr===null&&Tr(!0)},[sa.current,Tt==null?void 0:Tt.is_close_tips,Gr]);function Ba(){return rr(this,null,function*(){yield(0,ge.ZP)("/api/users/close_tips.json",{method:"post"})})}(0,be.useEffect)(()=>{mn(kn)},[kn]);function wa(Wr){return rr(this,null,function*(){let Jo=Wr.target.id;if(Jo==="1"){let oa=yield(0,ge.ZP)(`/api/myproblems/${xo.id}/redo_logs.json`,{method:"get",params:yr({},Uo)});(oa==null?void 0:oa.status)===0&&ho(oa==null?void 0:oa.data)}pr(Jo)})}(0,be.useEffect)(()=>ft.Z.subscribe("to-commit-info",()=>{pr("1"),Ho.current&&Ho.current.setActiveTab("1")}),[]),(0,be.useEffect)(()=>ft.Z.subscribe("to-reset-info",()=>{wa({target:{id:"1"}}),Ho.current&&Ho.current.setActiveTab("2")}),[]);function Na(){pr("2")}function No(){return rr(this,null,function*(){let Wr=yield(0,ge.ZP)("/api/problems/my_hack_list.json",{method:"get",params:yr({identifier:xo==null?void 0:xo.id},xo)});Fr(Wr)})}const Ar=[{title:null,description:Ct.createElement("div",null,Ct.createElement("b",{onClick:()=>{Tr(!1),Ba(),Or(!0),No()},className:"c-light-primary font16 current"},"\u67E5\u770B\u9898\u76EE\u5217\u8868\u5165\u53E3"),Ct.createElement("div",{className:"c-grey-333 mt10 mb20"},"\u672C\u6B21\u4F5C\u4E1A\u6240\u9700\u5B8C\u6210\u7684\u8BD5\u9898\u90FD\u53EF\u4EE5\u5728\u8FD9\u91CC\u627E\u5230\uFF0C\u5E76\u652F\u6301\u70B9\u51FB\u8BD5\u9898\u8C03\u6574\u5230\u505A\u9898\u9875"),Ct.createElement(se.ZP,{onClick:()=>{Tr(!1),Ba()},style:{padding:"2px 29px",height:30,float:"right"},type:"primary"},"\u77E5\u9053\u4E86")),target:()=>sa.current}];return Ct.createElement("div",{className:ze["left-panel"]},Ct.createElement("ul",{className:`${ze["s-navs"]} ${ze["bg-white"]} ${ze.b1}`},(Tt==null?void 0:Tt.is_program)&&!lr.get("pageId")&&Ct.createElement(ne.Z,{title:"\u9898\u76EE\u5217\u8868"},Ct.createElement("div",{onClick:()=>{No(),Or(!0)},className:ze.btns,ref:sa,style:Gr?{pointerEvents:"none"}:{}},Ct.createElement("i",{className:"iconfont icon-yidongdaomulu1 font14 c-white"}))),Ct.createElement("li",{style:{marginLeft:20}},Ct.createElement("a",{className:kn==="0"?ze.active:"",id:"0",onClick:wa},"\u9898\u76EE\u63CF\u8FF0")),Ct.createElement("li",null,Ct.createElement("a",{className:kn==="1"?ze.active:"",id:"1",onClick:wa},"\u64CD\u4F5C\u8BB0\u5F55")),(lr.get("type")!=="exercises"&&(Tt==null?void 0:Tt.answer_text_show)||lr.get("type")!=="exercises"&&(Tt==null?void 0:Tt.analysis_show))&&Ct.createElement("li",null,Ct.createElement("a",{className:kn==="4"?ze.active:"",id:"4",onClick:wa},"\u89E3\u7B54\u53C2\u8003")),lr.get("type")!=="exercises"&&Ct.createElement("li",null,Ct.createElement("a",{className:kn==="2"?ze.active:"",id:"2",onClick:wa},"\u8BC4\u8BBA")),!!(_r!=null&&_r.length)&&lr.get("type")!=="exercises"&&lr.get("type")!=="1"&&Ct.createElement("li",null,Ct.createElement("a",{className:kn==="5"?ze.active:"",id:"5",onClick:wa},"\u6D4B\u8BD5\u7528\u4F8B"))),Ct.createElement("div",{className:`${ze["tab-panel-body"]} ${kn==="0"?"":"hide"}`,style:{borderRight:"1px #dddddd solid",padding:0}},Ct.createElement(Ke,{hack:Tt,onTriggerPraise:Gt,toDiscuss:Na})),Ct.createElement("div",{style:{padding:"12px"},className:`${ze["tab-panel-body"]} ${kn==="1"?"":"hide"}`},Ct.createElement(Nt,{ref:Ho,data:[{id:"1",show:lr.get("qtype")!=="8",name:"\u63D0\u4EA4\u8BB0\u5F55",element:Ct.createElement(Ct.Fragment,null,an!=null&&an.records_count||hn?Ct.createElement(qe,{page:ln,onPageChange:Qt,topicId:on,submitting:hn,key:(Ln==null?void 0:Ln.id)||1,submitRecords:an,submitResult:Ln}):Ct.createElement(We.Z,null))},{id:"2",show:lr.get("type")==="exercises"||(Tt==null?void 0:Tt.homework_common_id),name:"\u91CD\u7F6E\u8BB0\u5F55",element:Ct.createElement(Ct.Fragment,null,Ct.createElement(Je.default,{pagination:!1,dataSource:co==null?void 0:co.list,columns:[{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(Wr,Jo,oa)=>$e()(Wr).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(Wr,Jo,oa)=>{var ka;return(ka=[{id:1,name:"\u6253\u56DE\u91CD\u505A"},{id:2,name:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},{id:3,name:"\u91CD\u7F6E\u4EE3\u7801\u4ED3\u5E93"}].find(za=>za.id===Wr))==null?void 0:ka.name}}]}),Ct.createElement(ut.Z,{style:{marginTop:10},current:Uo.page,total:co==null?void 0:co.count,hideOnSinglePage:!0,onChange:Wr=>rr(void 0,null,function*(){Uo.page=Wr,yo(Uo);let Jo=yield(0,ge.ZP)(`/api/myproblems/${xo.id}/redo_logs.json`,{method:"get",params:nr(yr({},Uo),{courseId:xo.courseId})});(Jo==null?void 0:Jo.status)===0&&ho(Jo==null?void 0:Jo.data)})}))}]})),Ct.createElement("div",{style:{padding:"12px"},className:`${ze["tab-panel-body"]} ${kn==="4"?"":"hide"}`},Ct.createElement(Nt,{data:[{id:"1",show:lr.get("type")!=="exercises"&&(Tt==null?void 0:Tt.answer_text_show),name:"\u7B54\u6848",element:Ct.createElement(Ct.Fragment,null,Ct.createElement(nt,{hack:Tt,current_user:qt}))},{id:"2",show:lr.get("type")!=="exercises"&&(Tt==null?void 0:Tt.analysis_show),name:"\u89E3\u6790",element:Ct.createElement(Ct.Fragment,null,Ct.createElement(Fn,{hack:Tt,current_user:qt}))}]})),Ct.createElement("div",{className:`${ze["tab-panel-body"]} ${kn==="2"?"":"hide"}`,style:{padding:0}},Ct.createElement(sr,{user:Yt,activeIndex:kn,identifier:Tt.identifier,hack:Tt,onTriggerPraise:Gt})),Ct.createElement("div",{className:`${ze["tab-panel-body"]} ${kn==="5"?"":"hide"}`,style:{padding:12}},Ct.createElement(jn,{data:_r||[],hack:Tt})),Ct.createElement(a.Z,{rootClassName:ze.drawer,closable:!1,title:null,bodyStyle:{background:"#1B2333",padding:25,display:"flex",flexDirection:"column"},footer:null,width:500,placement:"left",onClose:()=>Or(!1),open:An},Ct.createElement(ie.Z,null,Ct.createElement("b",{style:{color:"#008CFF",fontWeight:500,lineHeight:"19px"},className:"font16"},"\u9898\u76EE\u5217\u8868"),Ct.createElement("span",{style:{color:"#FA8D30",fontWeight:500},className:"font12 ml10"},"\u5171",mr==null?void 0:mr.total_count,"\u9898\xA0[\xA0",mr==null?void 0:mr.total_score,"\u5206\xA0]\xA0"),!(Yt!=null&&Yt.hack_manager)&&Ct.createElement("span",{style:{color:"#FA8D30",fontWeight:500,marginLeft:"auto"},className:"font12"},"\u6211\u7684\u5F97\u5206\xA0:\xA0",mr==null?void 0:mr.work_score,"\u5206")),Ct.createElement("div",{style:{height:1,background:"#1C313F",marginTop:12}}),Ct.createElement(ie.Z,{align:"middle",className:"mt10 mb10"},!(Yt!=null&&Yt.hack_manager)&&Ct.createElement(hr.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u901A\u8FC7\u60C5\u51B5",onChange:Wr=>{xo.page=1,xo.finish_status=Wr,ja(yr({},xo)),No()}},Ct.createElement(hr.default.Option,{value:""},"\u5168\u90E8"),Ct.createElement(hr.default.Option,{value:0},"\u672A\u5F00\u59CB"),Ct.createElement(hr.default.Option,{value:1},"\u8FDB\u884C\u4E2D"),Ct.createElement(hr.default.Option,{value:2},"\u5DF2\u5B8C\u6210")),Ct.createElement(hr.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u9898\u76EE\u96BE\u5EA6",onChange:Wr=>{xo.page=1,xo.difficult=Wr||null,ja(yr({},xo)),No()}},Ct.createElement(hr.default.Option,{value:0},"\u5168\u90E8"),Ct.createElement(hr.default.Option,{value:1},"\u7B80\u5355"),Ct.createElement(hr.default.Option,{value:2},"\u9002\u4E2D"),Ct.createElement(hr.default.Option,{value:3},"\u56F0\u96BE")),Ct.createElement(Ot.default.Search,{size:"large",onSearch:Wr=>{xo.name=Wr,xo.page=1,ja(yr({},xo)),No()},style:{flex:1},placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0\u8FDB\u884C\u641C\u7D22"})),Ct.createElement("div",{className:ze.list,style:{height:36,background:"#3D445C"}},!(Yt!=null&&Yt.hack_manager)&&Ct.createElement("span",null,"\u72B6\u6001"),Ct.createElement("span",null,"\u5E8F\u53F7"),Ct.createElement("span",{style:{flex:1}},"\u9898\u76EE\u540D\u79F0"),Ct.createElement("span",{style:{flexBasis:48,paddingRight:0}},"\u96BE\u5EA6")),Ct.createElement("div",{style:{overflow:"auto",flex:1}},(Kn=mr==null?void 0:mr.data)!=null&&Kn.length?(Jr=mr==null?void 0:mr.data)==null?void 0:Jr.map((Wr,Jo)=>Ct.createElement("div",{onClick:()=>rr(void 0,null,function*(){let oa=yield(0,ge.ZP)(`/api/problems/${Wr==null?void 0:Wr.identifier}/start.json`,{method:"get",params:{hack_user_id:Yt==null?void 0:Yt.user_id}});oa&&(window.location.href=`/myproblems/${oa==null?void 0:oa.identifier}${window.location.search}`)}),className:`${ze.list} ${Wr!=null&&Wr.checked?ze.active:""}`},!(Yt!=null&&Yt.hack_manager)&&Ct.createElement(Ct.Fragment,null,!(Wr!=null&&Wr.opened)&&Ct.createElement("span",{style:{color:"#E02020"}},"\u672A\u5F00\u59CB"),(Wr==null?void 0:Wr.opened)&&!(Wr!=null&&Wr.passed)&&Ct.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),(Wr==null?void 0:Wr.opened)&&(Wr==null?void 0:Wr.passed)&&Ct.createElement("span",{style:{color:"#24C074"}},"\u5DF2\u5B8C\u6210")),Ct.createElement("span",null,(xo.page-1)*20+(Jo+1)),Ct.createElement("span",{style:{flex:1},title:Wr.name},`[${Wr==null?void 0:Wr.score}\u5206]`,"\xA0",Wr.name),Ct.createElement("span",{style:{flexBasis:48,paddingRight:0}},Kr[Wr.difficult]))):Ct.createElement(We.Z,null)),Ct.createElement(ut.Z,{current:xo.page,className:"mt20",hideOnSinglePage:!0,total:mr==null?void 0:mr.count,pageSize:xo.per_page,onChange:(Wr,Jo)=>{xo.page=Wr,xo.per_page=Jo,No()}})),Ct.createElement(It.Z,{rootClassName:ze.tour,closeIcon:!1,open:!!Gr,steps:Ar,gap:{offset:3,radius:2}}))},Zn=ve(62522),Pn=ve(27158),Sr=ve(22744),dr=ve(21390),Yn=ve(72530),kr=ve(35195),Cr=ve(25492),Po=ve(92310),po=ve.n(Po),io=ve(42217),ko=ve(81747),Io=ve(51976),pn=ve(59301),Ro=Object.defineProperty,mo=Object.defineProperties,zr=Object.getOwnPropertyDescriptors,bo=Object.getOwnPropertySymbols,to=Object.prototype.hasOwnProperty,lo=Object.prototype.propertyIsEnumerable,vo=(Tt,Gt,on)=>Gt in Tt?Ro(Tt,Gt,{enumerable:!0,configurable:!0,writable:!0,value:on}):Tt[Gt]=on,fr=(Tt,Gt)=>{for(var on in Gt||(Gt={}))to.call(Gt,on)&&vo(Tt,on,Gt[on]);if(bo)for(var on of bo(Gt))lo.call(Gt,on)&&vo(Tt,on,Gt[on]);return Tt},wr=(Tt,Gt)=>mo(Tt,zr(Gt)),Er=(Tt,Gt)=>{var on={};for(var ln in Tt)to.call(Tt,ln)&&Gt.indexOf(ln)<0&&(on[ln]=Tt[ln]);if(Tt!=null&&bo)for(var ln of bo(Tt))Gt.indexOf(ln)<0&&lo.call(Tt,ln)&&(on[ln]=Tt[ln]);return on},xr=(Tt,Gt,on)=>new Promise((ln,Qt)=>{var Yt=hn=>{try{an(on.next(hn))}catch(Ln){Qt(Ln)}},qt=hn=>{try{an(on.throw(hn))}catch(Ln){Qt(Ln)}},an=hn=>hn.done?ln(hn.value):Promise.resolve(hn.value).then(Yt,qt);an((on=on.apply(Tt,Gt)).next())});const{Countdown:ao}=E.default,To={Java:"java",C:"c",Python:"py","C++":"c"};var wo=(Tt=>(Tt[Tt.SET_LOADING=0]="SET_LOADING",Tt[Tt.GET_DATA=1]="GET_DATA",Tt[Tt.GET_SUBMIT_RECORDS=2]="GET_SUBMIT_RECORDS",Tt[Tt.SET_DATA=3]="SET_DATA",Tt[Tt.SET_DEBUGING=4]="SET_DEBUGING",Tt[Tt.SET_SUBMITING=5]="SET_SUBMITING",Tt[Tt.SET_EXECUTE_MESSAGE=6]="SET_EXECUTE_MESSAGE",Tt[Tt.SET_EXECUTE_RESULT=7]="SET_EXECUTE_RESULT",Tt[Tt.SET_SUBMIT_RESULT=8]="SET_SUBMIT_RESULT",Tt[Tt.SET_SHOW_NOTE=9]="SET_SHOW_NOTE",Tt[Tt.SET_PAGE=10]="SET_PAGE",Tt))(wo||{});function Lo(){return new Date().getTime()}const Yo={loading:!0,data:void 0,showNote:!1,debugResult:void 0,submitResult:void 0,debuging:!1,submitting:!1,submitRecords:void 0,submitRecordPage:1,executingMessage:""};function Mo(Tt,Gt){switch(Gt.type){case 1:return fr(fr({},Tt),Gt.payload);case 3:return wr(fr({},Tt),{data:Gt.payload});case 0:return wr(fr({},Tt),{loading:Gt.payload});case 9:return wr(fr({},Tt),{showNote:Gt.payload});case 4:return wr(fr({},Tt),{debuging:Gt.payload});case 5:return wr(fr({},Tt),{submitting:Gt.payload});case 2:return wr(fr({},Tt),{submitRecords:Gt.payload});case 10:return wr(fr({},Tt),{submitRecordPage:Gt.payload});case 6:return wr(fr({},Tt),{executingMessage:Gt.payload});case 7:return fr(fr({},Tt),Gt.payload);case 8:return fr(fr({},Tt),Gt.payload);default:throw new Error}}var $r=({children:Tt})=>{var Gt,on,ln,Qt,Yt;const[qt,an]=(0,be.useReducer)(Mo,Yo),{id:hn}=(0,_e.useParams)(),Ln=(0,_e.useLocation)(),[mn]=(0,_e.useSearchParams)(),{loading:_r,data:Kn,debugResult:Jr,submitResult:lr,submitRecords:kn,submitRecordPage:pr,showNote:br,debuging:An,submitting:Or,executingMessage:Gr}=qt,[Tr,mr]=(0,be.useState)("#37AD83"),[Fr,co]=(0,be.useState)(null),[ho,Uo]=(0,be.useState)({}),[yo,Ho]=(0,be.useState)(!0),[sa,xo]=(0,be.useState)(!1),[ja,Ba]=(0,be.useState)(!1),wa=(0,be.useRef)(null),Na=(0,be.useRef)(0),No=Kn==null?void 0:Kn.user,Ar=Kn==null?void 0:Kn.hack,[Wr,Jo]=(0,be.useState)(!1),oa=(0,be.useRef)(1),ka=(0,be.useRef)(!1);(0,io.y)(mn.get("type")==="exercises");const{setOpenDisableCopyAndPaste:za}=(0,io.X)(),[Ka,ti]=(0,be.useState)(""),ni=(0,Yn._)(ho);(0,be.useEffect)(()=>{function ir(){return xr(this,null,function*(){var Zr,ea,ga,Ia,Ta;Ho(!0);const ha=yield(0,ce.fu)(hn,{exercise_id:mn.get("exercisesId")});if(setTimeout(()=>{Ho(!1)},800),ha.status!==401){try{ha.hack.code=Ze.Base64.decode(ha.hack.code)}catch(Go){console.log(Go)}ha.hack=wr(fr({},ha.hack),{is_program:mn.get("type")==="1"}),an({type:1,payload:{loading:!1,data:ha}})}if(mn.get("type")==="exercises"){if(window.self===window.top){window.top.location.href="/";return}let Go;mn.get("coursesId")=="coursesId"?Go=yield(0,ue._F)({categoryId:mn.get("exercisesId"),login:mn.get("login")}):Go=yield(0,ue._B)({categoryId:mn.get("exercisesId"),login:mn.get("login")}),Uo(fr({},Go)),za((Zr=Go==null?void 0:Go.exercise)==null?void 0:Zr.forbid_copy),typeof((ea=Go==null?void 0:Go.exercise)==null?void 0:ea.left_time)=="number"&&(co(Date.now()+((ga=Go==null?void 0:Go.exercise)==null?void 0:ga.left_time)*1e3),setTimeout(()=>{mr("red")},(((Ia=Go==null?void 0:Go.exercise)==null?void 0:Ia.left_time)-300>0?((Ta=Go==null?void 0:Go.exercise)==null?void 0:Ta.left_time)-300:0)*1e3))}})}hn&&ir()},[hn]),(0,be.useEffect)(()=>{var ir;return mn.get("type")==="exercises"&&((ir=ho==null?void 0:ho.exercise)!=null&&ir.screen_open)&&(window.removeEventListener("blur",Ua,!1),kr.U.forEach((Zr,ea)=>{window.addEventListener(Zr,Ua,!1)}),window.addEventListener("blur",Ua,!1),window.focus()),()=>{document.removeEventListener((0,ae.gH)(),Ua)}},[ho]),(0,be.useEffect)(()=>{Ka==="1"&&hn&&Ar!=null&&Ar.language&&fi()},[hn,pr,Ar==null?void 0:Ar.language,Ka]),(0,be.useEffect)(()=>(Ar!=null&&Ar.is_program&&(Na.current=0,wa.current=setInterval(()=>{ri()},15e3)),()=>{clearInterval(wa.current)}),[Ar==null?void 0:Ar.is_program]);const ri=()=>xr(void 0,null,function*(){let ir=yield(0,ge.ZP)(`/api/myproblems/${hn}/save_long_time.json`,{method:"get",params:{answer_long_time:Na.current}})}),Ua=()=>{ka.current||(0,ae.BU)(),window.parent.postMessage("backExercise","*")};function fi(){return xr(this,null,function*(){try{const ir=yield(0,ce.zO)(hn,{limit:15,page:pr,language:Ar==null?void 0:Ar.language});an({type:2,payload:ir})}catch(ir){console.log(ir)}})}function gi(ir){an({type:10,payload:ir})}function Ha(ir){return xr(this,null,function*(){var Zr;let ea;(mn.get("ip_limit")==="inner"||mn.get("ip_bind_type")==="true")&&(ea=yield(0,Pn.y)({ip_limit:mn.get("ip_limit"),ip_bind:mn.get("ip_bind_type")==="true"}));const ga=yield(0,ce.n4)(hn,{code:Ze.Base64.encode(ir||Ar.code),language:Ar==null?void 0:Ar.language,exercise_id:mn.get("exercisesId"),question_id:mn.get("questionId"),ip:ea});return ga.status===-5&&(0,_e.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:wr(fr({errorMessage:ga==null?void 0:ga.message},(ho==null?void 0:ho.exercise)||{}),{exercise_user_id:(Zr=ho==null?void 0:ho.exercise)==null?void 0:Zr.exercise_user_id,id:mn.get("exercisesId")})}}),ga})}function oi(){return xr(this,null,function*(){if(oa.current=2,!Or){an({type:5,payload:!0});try{ft.Z.publish("to-commit-info");const ir=yield Ha();if(console.log(ir,1),ir.status===0){let ha=function(){return xr(this,null,function*(){const{status:Go,data:ma}=yield(0,ce.rX)(hn,"submit"),Ea=Lo()-Ta>(ga*Ia+30)*1e3;if(Go!==0&&!Ea&&setTimeout(ha,1e3),Ea&&Go!==0){pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),an({type:5,payload:!1});return}if(Go===0){ma.status===2&&pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),(ma==null?void 0:ma.status)===0&&mn.get("type")==="1"&&Ba(!0);const ii=yield(0,ce.zO)(hn,{limit:15,page:pr,language:Ar==null?void 0:Ar.language});an({type:8,payload:wr(fr({},qt),{submitResult:ma,submitting:!1,submitRecords:ii})})}})},Zr={};mn.get("type")==="exercises"&&(Zr.extras={exercise_id:mn.get("exercisesId"),question_id:mn.get("questionId")},(mn.get("ip_limit")==="inner"||mn.get("ip_bind_type")==="true")&&(Zr.extras.ip=yield(0,Pn.y)({ip_limit:mn.get("ip_limit"),ip_bind:mn.get("ip_bind_type")==="true"})));const ea=yield(0,ce.bM)(hn,Zr);if(ea.status===-1&&mn.get("exercisesId")){window.parent.location.href=`/classrooms/${mn.get("coursesId")}/exercise/${mn.get("exercisesId")}/detail`;return}const{time_limit:ga,test_case_size:Ia}=Ar,Ta=Lo();ea.status>-1?ha():an({type:5,payload:!1})}else an({type:5,payload:!1})}catch(ir){console.log(ir),an({type:5,payload:!1})}Jo(!1)}})}function $a(){return xr(this,null,function*(){oa.current=1,qt.debuging=!0,an({type:4,payload:!0});try{if((yield Ha()).status===0){let Ta=function(){return xr(this,null,function*(){const{status:ha,message:Go,data:ma}=yield(0,ce.rX)(hn,"debug"),Ea=Lo()-Ia>(Zr+30)*1e3;if(ha!==0&&!Ea&&(an({type:6,payload:Go}),setTimeout(Ta,1e3)),Ea){pe.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),an({type:4,payload:!1}),an({type:7,payload:wr(fr({},qt),{debugResult:{status:2},debuging:!1})});return}ha===0&&(ma.status===2&&pe.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),an({type:4,payload:!1}),an({type:7,payload:wr(fr({},qt),{debugResult:ma,debuging:!1})}))})};const{time_limit:Zr}=Ar;let ea={input:encodeURIComponent(Kn.test_case.input)};mn.get("type")==="exercises"&&(ea.exercise_id=mn.get("exercisesId"));const ga=yield(0,ce.MU)(hn,ea);if(ga.status===-1&&mn.get("exercisesId")){window.parent.location.href=`/classrooms/${mn.get("coursesId")}/exercise/${mn.get("exercisesId")}/detail`;return}const Ia=Lo();(ga==null?void 0:ga.status)>-1?Ta():an({type:4,payload:!1})}else an({type:4,payload:!1})}catch(ir){console.log(ir)}finally{}})}function Va(ir,Zr){const ea=Zr?{modify_code:!1}:{};an({type:3,payload:wr(fr({},Kn),{hack:fr(wr(fr({},Ar),{code:ir}),ea)})}),Jo(!0)}const hi=ir=>xr(void 0,null,function*(){let Zr=yield(0,ge.ZP)(`/api/problems/${Ar==null?void 0:Ar.identifier}/start.json`,{method:"get",params:{language:ir==="C++"||ir==="c++"?encodeURIComponent(ir):ir,hack_user_id:No==null?void 0:No.user_id}});Zr.status!==-1&&_e.history.replace(`/myproblems/${Zr==null?void 0:Zr.identifier}${window.location.search}`)});function pi(ir){let Zr=ir.target.value;an({type:3,payload:wr(fr({},Kn),{test_case:{input:Zr}})})}function mi(){return xr(this,null,function*(){try{let ir={};mn.get("type")==="exercises"?ir.exercise_id=mn.get("exercisesId"):Ar!=null&&Ar.homework_common_id&&(ir.homework_common_id=Ar==null?void 0:Ar.homework_common_id);const Zr=yield(0,ce.H7)(hn,fr({},ir));Zr.status===401||(Va(Ze.Base64.decode(Zr.code)),(mn.get("type")==="exercises"||Ar!=null&&Ar.homework_common_id)&&ft.Z.publish("to-reset-info"))}catch(ir){console.log(ir)}})}function ai(){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:pn.createElement("p",null,"\u521D\u59CB\u4EE3\u7801\u6709\u4FEE\u6539\uFF0C\u66F4\u65B0\u540E\u5C06\u8986\u76D6\u73B0\u6709\u4EE3\u7801\u54E6~ ",pn.createElement("br",null),"\u8BF7\u5C06\u60A8\u7F16\u8F91\u7684\u4EE3\u7801\u4FDD\u5B58\u81F3\u672C\u5730\uFF0C\u4EE5\u9632\u4E22\u5931"),onOk(){return xr(this,null,function*(){const ir=yield(0,ce.fi)(hn);ir.status===401||Va(Ze.Base64.decode(ir.code),!0)})}})}function Xa(){an({type:9,payload:!0})}function vi(){an({type:9,payload:!1})}function yi(ir){return xr(this,null,function*(){yield(0,ce.MK)(hn,ir),an({type:1,payload:{showNote:!1,data:wr(fr({},Kn),{hack:wr(fr({},Ar),{notes:ir.notes})})}})})}const Ca={hack:Ar,isLoading:yo,input:(Gt=Kn==null?void 0:Kn.test_case)==null?void 0:Gt.input,is_file:(on=Kn==null?void 0:Kn.test_case)==null?void 0:on.is_file,identifier:Ar==null?void 0:Ar.identifier,attachments_count:Kn==null?void 0:Kn.attachments_count,language:Ar==null?void 0:Ar.language,code:Ar==null?void 0:Ar.code,title:"main."+To[Ar==null?void 0:Ar.language],modify_code:Ar==null?void 0:Ar.modify_code,notes:Ar==null?void 0:Ar.notes,debugResult:Jr,debuging:An,submitting:Or,submitResult:lr,executingMessage:Gr,onCancelNote:vi,onAddNote:yi,showNote:br,user:No,onShowNote:Xa,onSubmitCode:oi,onChangeCode:Va,onChangeInput:pi,onDebugCode:$a,onResetCode:mi,onSyncCode:ai,onUpdateCode:Ha,onChangeLanguage:hi,isWhiteTheme:sa,setIsWhiteTheme:xo,topDispatch:an};function Ya(){return xr(this,null,function*(){const{praise_count:ir}=yield(0,ce.vl)(Ar.id,{container_type:"Hack",type:1});let Zr=wr(fr({},Kn),{hack:wr(fr({},Ar),{praises_count:ir,user_praise:!Ar.user_praise})});an({type:3,payload:Zr})})}const Ja={topicId:hn,submitResult:lr,submitRecords:kn,submitting:Or,page:pr,onPageChange:gi,hack:Ar,user:Kn==null?void 0:Kn.user,hack_sets:Kn==null?void 0:Kn.hack_sets,current_user:Kn==null?void 0:Kn.current_user,onTriggerPraise:Ya,setActiveIndex:ti};return console.log(ho),pn.createElement(pn.Fragment,null,pn.createElement(de.Z,{spinning:_r,delay:500},Kn?pn.createElement(pn.Fragment,null,pn.createElement("header",{className:po()(Cr.Z.header,sa&&Cr.Z.whiteHeader)},mn.get("type")!=="exercises"&&pn.createElement("div",null,pn.createElement("img",{src:`${re.Z.IMG_SERVER}/images/${No==null?void 0:No.image_url}`,alt:"user",width:36}),pn.createElement("span",{style:{color:sa?"#333":"#B2BACB",fontSize:16}},No==null?void 0:No.name)),mn.get("type")==="exercises"&&pn.createElement("div",null,pn.createElement("div",{className:"exercise_user_info"},"\u59D3\u540D",pn.createElement("span",{className:"ml10"},(ln=ho==null?void 0:ho.exercise)==null?void 0:ln.user_name)),pn.createElement("div",{className:"exercise_user_info ml30"},"\u5B66\u53F7",pn.createElement("span",{className:"ml10"},(Qt=ho==null?void 0:ho.exercise)==null?void 0:Qt.student_id))),pn.createElement("h2",{className:"flex-wrp flex_box_column flex_box_center"},pn.createElement("div",null,Ar.name)),(Ar==null?void 0:Ar.is_program)&&pn.createElement(Sr.Z,{defaultValue:Ar==null?void 0:Ar.answer_long_time,onChange:ir=>{Na.current=ir},className:Cr.Z.timepiece}),No!=null&&No.hack_manager?pn.createElement(_e.Link,{className:Cr.Z.btn_edit,to:mn.get("type")==="1"?mn.get("pageId")?`/problems/newedit/${Ar.identifier}?type=1&pageId=${mn.get("pageId")}&backUrl=${mn.get("backUrl")}`:`/problems/newedit/${Ar.identifier}?type=1`:`/problems/newedit/${Ar.identifier}`}," ",pn.createElement("i",{className:"iconfont icon-bianji13 font14 mr5"})," \u7F16\u8F91"):null,!!((Yt=ho==null?void 0:ho.exercise)!=null&&Yt.left_time)&&pn.createElement(pn.Fragment,null,pn.createElement("span",{style:{color:Tr,marginRight:6},className:`iconfont icon-daojishi ${Cr.Z.djs}`}),pn.createElement("span",{className:"c-white mr20"},pn.createElement(ao,{valueStyle:{color:Tr,fontSize:20,fontWeight:500},title:pn.createElement("span",{style:{color:Tr,fontSize:14,marginRight:10},className:"time"},"\u5269\u4F59\u7B54\u9898\u65F6\u957F"),value:Fr,onFinish:()=>xr(void 0,null,function*(){const ir=yield(0,ue.VL)({categoryId:mn.get("exercisesId"),commit_method:2});if((ir==null?void 0:ir.status)===0&&(Ha(),pe.default.info({width:530,title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",content:pn.createElement("div",{className:"tc font16"},"\u7B54\u9898\u7ED3\u675F\u4E86\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u63D0\u4EA4\u8BD5\u5377",pn.createElement("br",null),"\u4E0D\u80FD\u518D\u4FEE\u6539\u7B54\u9898"),onOk:()=>xr(void 0,null,function*(){window.parent.location.href=`/classrooms/${mn.get("coursesId")}/exercise/${mn.get("exercisesId")}/detail`})})),(ir==null?void 0:ir.status)===-3){const Zr=parseInt(ir==null?void 0:ir.message);co(Date.now()+Zr*1e3)}})}))),mn.get("type")==="exercises"?pn.createElement(se.ZP,{type:"primary",onClick:()=>{const ir=()=>xr(void 0,null,function*(){yield Ha(),Jo(!1),ni(),ka.current=!0,Ua()});if(!(kn!=null&&kn.records_count)||Wr){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u63D0\u793A",content:pn.createElement("div",{style:{color:"#FF0000"}},"\u8BF7\u786E\u8BA4\u4F60\u7684\u7B54\u9898\u5185\u5BB9\u662F\u5426\u8FDB\u884C\u8BC4\u6D4B\u5E76\u63D0\u4EA4\uFF0C\u672A\u8BC4\u6D4B\u5219\u4F1A\u5BFC\u81F4\u8BE5\u9898\u65E0\u6CD5\u83B7\u5F97\u5206\u6570"),onOk:ir});return}ir()}},pn.createElement("span",{className:"iconfont icon-yiguanbi mr5 font14"})," \u8FD4\u56DE\u8BD5\u5377"):pn.createElement("span",{onClick:()=>{var ir;if(mn.get("backUrl"))_e.history.push(mn.get("backUrl"));else if(mn.get("type")==="1"){let Zr=(ir=localStorage.getItem("program_homework"))==null?void 0:ir.split(",");_e.history.push(`/classrooms/${Zr==null?void 0:Zr[0]}/program_homework/${Zr==null?void 0:Zr[1]}/detail`)}else _e.history.push("/problemset")}},pn.createElement(ne.Z,{title:"\u5173\u95ED"},pn.createElement("i",{style:{color:sa?"#8D929F":"#fff"},className:"iconfont icon-fanhuishijuan font16 "})))),pn.createElement(de.Z,{size:"large",spinning:yo},pn.createElement(oe.Z,{className:po()(Cr.Z.myProblems,sa&&Cr.Z.whiteMyProblems),leftChild:pn.createElement(vn,fr({},Ja)),rightChild:pn.createElement(zo,fr({},Ca))}))):null,pn.createElement(pe.default,{centered:!0,closable:!1,width:680,footer:null,open:ja,className:"oj-modal"},pn.createElement("section",{className:"oj-modal-content"},pn.createElement("div",{className:"oj-modal-head"},pn.createElement("img",{src:Zn,alt:""}),pn.createElement("i",{onClick:()=>Ba(!1),className:"iconfont icon-guanbi1"})),pn.createElement("aside",null,pn.createElement("img",{className:"mr30",src:Io.Z}),"\u8FD0\u884C\u65F6\u95F4:\xA0",pn.createElement("span",{style:{color:"#75d6ba",marginRight:100}},lr==null?void 0:lr.execute_time,"ms"),"\u4F18\u4E8E",pn.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(lr==null?void 0:lr.time_better_than)||100,"%"),"\u7684\u7528\u6237"),pn.createElement("aside",{className:"mb50"},pn.createElement("img",{src:ko.Z,className:"mr30"}),pn.createElement("span",{className:"oj-modal-tt"},pn.createElement("span",null,pn.createElement("span",null,"\u5360\u7528\u5185\u5B58:\xA0"),pn.createElement("span",{className:"c-light-primary"},lr==null?void 0:lr.execute_memory,"kb")),pn.createElement("span",null,pn.createElement("span",null))),"\u4F18\u4E8E",pn.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(lr==null?void 0:lr.memory_better_than)||100,"%"),"\u7684\u7528\u6237"),pn.createElement("div",{id:"oj-modal-next",onClick:()=>xr(void 0,null,function*(){var ir;if(lr!=null&&lr.next_identifier){let Zr=yield(0,ge.ZP)(`/api/problems/${lr==null?void 0:lr.next_identifier}/start.json`,{method:"get",params:{hack_user_id:No==null?void 0:No.user_id}});Zr&&(window.location.href=`/myproblems/${Zr==null?void 0:Zr.identifier}${window.location.search}`)}else{let Zr=(ir=localStorage.getItem("program_homework"))==null?void 0:ir.split(",");_e.history.push(`/classrooms/${Zr==null?void 0:Zr[0]}/program_homework/${Zr==null?void 0:Zr[1]}/detail`)}}),className:"oj-modal-btn"},lr!=null&&lr.next_identifier?"\u8FDB\u5165\u4E0B\u4E00\u9898":"\u56DE\u5230\u4F5C\u4E1A\u8BE6\u60C5\u9875")))),pn.createElement(dr.Z,{successCb:()=>{oa.current===1?$a():oi()}}))};function no({title:Tt,modify_code:Gt,onSyncCode:on,onShowCodeSetting:ln,onResetCode:Qt,hack:Yt,onChangeLanguage:qt,isWhiteTheme:an,onShowResourceCentre:hn,attachments_count:Ln}){var mn;const _r=()=>{pe.default.confirm({title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801",icon:pn.createElement(z.Z,null),content:"\u4F60\u5728\u672C\u6587\u4EF6\u4E2D\u4FEE\u6539\u7684\u5185\u5BB9\u5C06\u4E22\u5931\uFF0C\u662F\u5426\u786E\u5B9A\u91CD\u65B0\u52A0\u8F7D\u521D\u59CB\u4EE3\u7801\uFF1F",centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:Qt})},[Kn]=(0,_e.useSearchParams)(),Jr=Kn.get("language"),lr=kn=>kn==="1"?"c++":kn==="2"?"C++":kn;return(0,be.useEffect)(()=>{Jr&&qt(lr(Jr))},[]),(0,be.useEffect)(()=>{Yt!=null&&Yt.tpm_code_modified&&pe.default.confirm({title:"\u66F4\u65B0\u521D\u59CB\u4EE3\u7801",icon:pn.createElement(z.Z,null),content:pn.createElement("div",null,pn.createElement("div",null,"\u7F16\u7A0B\u9898\u7684\u521D\u59CB\u4EE3\u7801\u5185\u5BB9\u6709\u66F4\u65B0,"),pn.createElement("div",null,"\u66F4\u65B0\u64CD\u4F5C\u5C06\u4FDD\u7559\u5DF2\u5B8C\u6210\u7684\u8BC4\u6D4B\u8BB0\u5F55\u548C\u6210\u7EE9,"),pn.createElement("div",null,"\u8FD8\u672A\u5B8C\u6210\u8BC4\u6D4B\u7684\u4EFB\u52A1\u4EFB\u52A1\u4EE3\u7801\uFF0C\u8BF7\u81EA\u884C\u4FDD\u5B58\uFF01")),centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Qt()})},[Yt==null?void 0:Yt.language]),console.log(Yt,an,"hack"),pn.createElement("div",{className:`${Cr.Z.codeHead} ${an?Cr.Z.whiteCodeHead:""}`},pn.createElement("div",{className:Cr.Z.navWrap},(mn=Yt==null?void 0:Yt.all_language)==null?void 0:mn.map(kn=>pn.createElement("div",{className:`${Cr.Z.nav} ${kn===(Yt==null?void 0:Yt.language)?Cr.Z.active:""}`,key:kn,onClick:()=>qt(kn)},pn.createElement(ne.Z,{title:"\u7F16\u7A0B\u8BED\u8A00"},pn.createElement("i",{className:"iconfont icon-bianchengyuyan1"})),pn.createElement("span",null,kn)))),pn.createElement(ie.Z,{align:"middle",style:{marginLeft:"auto"}},Gt?pn.createElement("a",{title:"\u66F4\u65B0\u901A\u77E5",onClick:on},pn.createElement("img",{src:Xe,alt:"notice",style:{height:13,transform:"translateY(-2px)"}})):null,Ln>0&&pn.createElement("a",{onClick:hn},pn.createElement(ne.Z,{title:"\u8D44\u6E90\u4E2D\u5FC3"},pn.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-ziyuanzhongxin mr15"}))),pn.createElement("a",{onClick:_r},pn.createElement(ne.Z,{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},pn.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-huifuchushihuashezhi mr15"}))),pn.createElement("a",{onClick:ln},pn.createElement(ne.Z,{title:"\u8BBE\u7F6E"},pn.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-shezhi8 font14 mr15"})))))}function zo(Tt){var Gt=Tt,{input:on,is_file:ln,identifier:Qt,showNote:Yt,onShowNote:qt,notes:an,onCancelNote:hn,onAddNote:Ln,debugResult:mn,language:_r,debuging:Kn,submitting:Jr,executingMessage:lr,code:kn,onSubmitCode:pr,onDebugCode:br,onChangeCode:An,onChangeInput:Or,onUpdateCode:Gr,user:Tr,isLoading:mr,submitResult:Fr}=Gt,co=Er(Gt,["input","is_file","identifier","showNote","onShowNote","notes","onCancelNote","onAddNote","debugResult","language","debuging","submitting","executingMessage","code","onSubmitCode","onDebugCode","onChangeCode","onChangeInput","onUpdateCode","user","isLoading","submitResult"]);function ho(yo,Ho){return pn.createElement(no,wr(fr({},co),{onShowCodeSetting:yo,onShowResourceCentre:Ho}))}const Uo=fr({input:on,is_file:ln,debugResult:mn,debuging:Kn,submitting:Jr,executingMessage:lr,onDebugCode:br,onChangeCode:An,onSubmitCode:pr,onChangeInput:Or,user:Tr,submitResult:Fr},co);return pn.createElement("div",{style:{display:"flex",flexDirection:"column",height:"100%",background:"#1B2333"}},pn.createElement(Ve,{setIsWhiteTheme:co==null?void 0:co.setIsWhiteTheme,isLoading:mr,language:_r,value:kn,identifier:Qt,onChange:An,onUpdateCode:Gr,ActionBarRender:ho}),pn.createElement(ke.ZP,fr({},Uo)))}},10129:function(Et,dt,ve){"use strict";ve.d(dt,{h:function(){return be}});var be=(_e=>(_e[_e.NOMATCH=-1]="NOMATCH",_e[_e.OK=0]="OK",_e[_e.TIMEOUT=2]="TIMEOUT",_e[_e.PODFAILURE=3]="PODFAILURE",_e[_e.COMPILEFAILURE=4]="COMPILEFAILURE",_e[_e.EXECUTEFAILURE=5]="EXECUTEFAILURE",_e[_e.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",_e))(be||{})},67172:function(Et,dt,ve){"use strict";ve.d(dt,{H7:function(){return a},MK:function(){return z},MU:function(){return ue},X6:function(){return oe},bM:function(){return ce},fi:function(){return y},fu:function(){return ie},n4:function(){return x},rX:function(){return re},vl:function(){return b},zO:function(){return ae}});var be=ve(38147),_e=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,se=(ee,te,le)=>te in ee?_e(ee,te,{enumerable:!0,configurable:!0,writable:!0,value:le}):ee[te]=le,ne=(ee,te)=>{for(var le in te||(te={}))pe.call(te,le)&&se(ee,le,te[le]);if(E)for(var le of E(te))de.call(te,le)&&se(ee,le,te[le]);return ee};function ie(ee,te){return(0,be.U2)(`myproblems/${ee}.json`,ne({hidePopLogin:!0},te||{}))}function ce(ee,te){return(0,be.v_)(`myproblems/${ee}/code_submit.json`,te)}function ue(ee,te){return(0,be.v_)(`myproblems/${ee}/code_debug.json`,te)}function ae(ee,te){return te.language&&(te.language=encodeURIComponent(te.language)),(0,be.U2)(`myproblems/${ee}/submit_records.json`,te)}function oe(ee){return(0,be.U2)("myproblems/record_detail.json",{id:ee})}function re(ee,te){return(0,be.U2)(`myproblems/${ee}/result.json`,{mode:te})}function z(ee,te){return(0,be.v_)(`myproblems/${ee}/add_notes.json`,te)}function a(ee,te){return(0,be.v_)(`myproblems/${ee}/restore_initial_code.json`,te)}function y(ee){return(0,be.v_)(`myproblems/${ee}/sync_code.json`)}function x(ee,te){return(0,be.v_)(`myproblems/${ee}/update_code.json`,te)}function b(ee,te){return(0,be.v_)(`discusses/${ee}/plus.json`,te)}},80443:function(Et,dt,ve){"use strict";ve.d(dt,{Im:function(){return ye},ZP:function(){return Ce},gZ:function(){return xe}});var be=ve(59301),_e=ve(92832),E=ve(3113),pe=ve(84105),de=ve(87395),se=ve(17124),ne=ve(24334),ie=ve(42678),ce=ve(6339),ue=ve(65862),ae=ve(51908),oe=ve(34376),re=ve(92310),z=ve.n(re),a=ve(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,fe=(je,Fe,Ge)=>Fe in je?y(je,Fe,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):je[Fe]=Ge,ge=(je,Fe)=>{for(var Ge in Fe||(Fe={}))te.call(Fe,Ge)&&fe(je,Ge,Fe[Ge]);if(ee)for(var Ge of ee(Fe))le.call(Fe,Ge)&&fe(je,Ge,Fe[Ge]);return je},me=(je,Fe)=>x(je,b(Fe));const{TextArea:he}=_e.default,Se={visible:!1,tabIndex:"0"},ye={[se.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[se.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[se.h.OK]:"\u8C03\u8BD5\u901A\u8FC7",2:"\u8C03\u8BD5\u8D85\u65F6",3:"\u8C03\u8BD5pod\u5931\u8D25",4:"\u7F16\u8BD1\u5931\u8D25",5:"\u6267\u884C\u5931\u8D25"};var Pe=(je=>(je[je.SET_VISIBLE=0]="SET_VISIBLE",je[je.SET_TABINDEX=1]="SET_TABINDEX",je))(Pe||{});function we(je,Fe){switch(Fe.type){case 0:return me(ge({},je),{visible:Fe.payload});case 1:return me(ge({},je),{tabIndex:Fe.payload});default:throw new Error}}function De({value:je,className:Fe}){const[Ge,Be]=(0,be.useState)(!1),tt=(0,be.useRef)(),Ye=(0,be.useRef)();return(0,be.useEffect)(()=>{Ge&&(Ye.current.reset(),Ye.current.write((0,ue.pp)(je||"")))},[je,Ge]),(0,be.useEffect)(()=>{var Ve,Xe,Ze,ke;if(tt.current){Ye.current=new oe.Terminal({fontSize:14,disableStdin:!0}),Ye.current.open(tt.current);const ze=tt.current.offsetWidth-14,et=((ke=(Ze=(Xe=(Ve=Ye.current)==null?void 0:Ve._core)==null?void 0:Xe._renderService)==null?void 0:Ze.dimensions)==null?void 0:ke.actualCellWidth)||9.5,Je=Math.ceil(ze/et);Ye.current.resize(Je,8),Be(!0)}},[]),a.createElement("div",{ref:tt,className:z()("XtermText-valueRef",Fe)})}function xe(je){const{status:Fe,error_msg:Ge,output:Be,input:tt,expected_output:Ye,is_file:Ve,input_file_url:Xe,output_file_url:Ze,expected_output_file_url:ke}=je;let ze=null;const et={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch(Fe){case se.h.NOMATCH:ze=a.createElement(a.Fragment,null,a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u5165\uFF1A"),!Ve&&a.createElement(De,{className:"mb10",value:tt}),Ve&&a.createElement("div",{style:et},a.createElement("a",{onClick:()=>(0,ue.LR)(Xe,tt)},tt)),a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Ve&&a.createElement(De,{className:"mb10",value:Be&&ne.Base64.decode(Be)||""}),Ve&&a.createElement("div",{style:et},a.createElement("a",{onClick:()=>(0,ue.LR)(Ze,Be)},Be)),a.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Ve&&a.createElement(De,{className:"mb10",value:Ye&&ne.Base64.decode(Ye)||""}),Ve&&a.createElement("div",{style:et},a.createElement("a",{onClick:()=>(0,ue.LR)(ke,Ye)},Ye)));break;case se.h.EXECUTEFAILURE:ze=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Ve&&a.createElement(ce.Z,{value:tt,style:et}),Ve&&a.createElement("div",{style:et},a.createElement("a",{onClick:()=>(0,ue.LR)(Xe,tt)},tt)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ne.Base64.decode(Ge)));break;case se.h.COMPILEFAILURE:ze=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Ve&&a.createElement(ce.Z,{value:tt,style:et}),Ve&&a.createElement("div",{style:et},a.createElement("a",{onClick:()=>(0,ue.LR)(Xe,tt)},tt)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ne.Base64.decode(Ge)));break;case se.h.PODFAILURE:ze=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case se.h.TIMEOUT:ze=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",ze," ")}function Ae(je){const{status:Fe,error_msg:Ge,execute_time:Be,output:tt,input:Ye,expected_output:Ve,is_file:Xe,input_file_url:Ze,output_file_url:ke,expected_output_file_url:ze}=je;let et=null;switch(Fe){case se.h.OK:et=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Be,"\u79D2"),a.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A"),a.createElement("pre",null,ne.Base64.decode(tt)));break;case se.h.NOMATCH:et=a.createElement(a.Fragment,null,a.createElement("p",null,"\u8F93\u5165\uFF1A",a.createElement("pre",null,Ye)),a.createElement("p",null,"\u8F93\u51FA\uFF1A",tt&&ne.Base64.decode(tt)),a.createElement("p",null,"\u9884\u671F\u8F93\u51FA\uFF1A",Ve&&ne.Base64.decode(Ve)));break;case se.h.EXECUTEFAILURE:et=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,Ye)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ne.Base64.decode(Ge)));break;case se.h.COMPILEFAILURE:et=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,Ye)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ne.Base64.decode(Ge)));break;case se.h.PODFAILURE:et=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case se.h.TIMEOUT:et=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",et," ")}var Ce=({id:je,is_file:Fe,input:Ge,debuging:Be,submitting:tt,executingMessage:Ye,debugResult:Ve,onChangeInput:Xe,onDebugCode:Ze,onSubmitCode:ke})=>{const[ze,et]=(0,be.useReducer)(we,Se),{visible:Je,tabIndex:ut}=ze;(0,be.useEffect)(()=>{et({type:0,payload:!1})},[je]);function Qe(Le){let Ne=Le.target.id;et({type:1,payload:Ne})}function Ue(){et({type:0,payload:!Je})}const Re=(0,be.useMemo)(()=>{if(Ve){const{status:Le}=Ve;return a.createElement(a.Fragment,null,Ae(Ve))}return null},[Ve]);function $e(){et({type:0,payload:!0}),et({type:1,payload:"1"}),Ze()}return a.createElement("div",{className:"test-case-panel"},a.createElement("div",{className:`test-case-panel-body ${Je?"active":""}`},a.createElement("ul",{className:"s-navs"},a.createElement("li",null,a.createElement("a",{className:"active"},"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C"))),a.createElement(ae.Z,{leftTitle:"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B",rightTitle:"\u4EE3\u7801\u6267\u884C\u7ED3\u679C",style:{height:240},leftNode:a.createElement(he,{placeholder:"\u8BF7\u8F93\u5165\u81EA\u6D4B\u7528\u4F8B\uFF08\u5982\u679C\u672A\u586B\u5199\uFF0C\u9996\u6B21\u81EA\u6D4B\u8FD0\u884C\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u586B\u5145\u7B2C\u4E00\u4E2A\u975E\u9690\u85CF\u7684\u6587\u672C\u7C7B\u578B\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF09",value:Fe?"":Ge,onChange:Xe}),rightNode:Be?a.createElement(ie.Z,{message:"\u4EE3\u7801\u6267\u884C\u4E2D..."}):Ve?Re:a.createElement("p",{style:{color:"#536879"}},"\u8BF7\u586B\u5199\u6D4B\u8BD5\u7528\u4F8B\u7684\u8F93\u5165\u503C\uFF0C\u70B9\u51FB\u201C\u8C03\u8BD5\u4EE3\u7801\u201D")})),a.createElement("a",{className:`btn-collapse ${Je?"up":""}`,onClick:Ue},Je?a.createElement(pe.Z,null):a.createElement(de.Z,null)),a.createElement("footer",{className:"footer"},a.createElement("span",{style:{visibility:"hidden"}},"\u63A7\u5236\u53F0"),a.createElement("div",{className:"flex-container"},a.createElement(E.ZP,{id:"oj-prev",className:"btn-blue",type:"ghost"},"\u4E0A\u4E00\u9898"),a.createElement(E.ZP,{id:"oj-next",className:"btn-blue",type:"ghost"},"\u4E0B\u4E00\u9898"),a.createElement(E.ZP,{className:"btn-green",type:"ghost",loading:Be,onClick:$e},"\u8C03\u8BD5\u4EE3\u7801"),a.createElement(E.ZP,{type:"primary",className:"custom-ant-disabled",loading:tt,disabled:tt,onClick:()=>{et({type:0,payload:!1}),ke()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4"))))}},17124:function(Et,dt,ve){"use strict";ve.d(dt,{h:function(){return be}});var be=(_e=>(_e[_e.NOMATCH=-1]="NOMATCH",_e[_e.OK=0]="OK",_e[_e.TIMEOUT=2]="TIMEOUT",_e[_e.PODFAILURE=3]="PODFAILURE",_e[_e.COMPILEFAILURE=4]="COMPILEFAILURE",_e[_e.EXECUTEFAILURE=5]="EXECUTEFAILURE",_e[_e.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",_e))(be||{})},12088:function(Et,dt,ve){"use strict";ve.d(dt,{Y2:function(){return je},ZP:function(){return Fe}});var be=ve(59301),_e=ve(54580),E=ve(8591),pe=ve(43418),de=ve(95237),se=ve(5112),ne=ve(3113),ie=ve(24905),ce=ve(6848),ue=ve(92832),ae={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,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",re=ve(47257),z=ve.n(re),a=ve(38147),y=ve(1012),x=ve(65862),b=ve(21185),ee=ve(65582),te=ve(59301),le=Object.defineProperty,fe=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,me=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,ye=(Ge,Be,tt)=>Be in Ge?le(Ge,Be,{enumerable:!0,configurable:!0,writable:!0,value:tt}):Ge[Be]=tt,Pe=(Ge,Be)=>{for(var tt in Be||(Be={}))he.call(Be,tt)&&ye(Ge,tt,Be[tt]);if(me)for(var tt of me(Be))Se.call(Be,tt)&&ye(Ge,tt,Be[tt]);return Ge},we=(Ge,Be)=>fe(Ge,ge(Be)),De=(Ge,Be,tt)=>new Promise((Ye,Ve)=>{var Xe=ze=>{try{ke(tt.next(ze))}catch(et){Ve(et)}},Ze=ze=>{try{ke(tt.throw(ze))}catch(et){Ve(et)}},ke=ze=>ze.done?Ye(ze.value):Promise.resolve(ze.value).then(Xe,Ze);ke((tt=tt.apply(Ge,Be)).next())});const{Dragger:xe}=_e.default,Ae=Ge=>{const Be=et=>et&&et.substring(0,et.lastIndexOf("."));for(var tt=[...Ge],Ye=0,Ve=[],Xe=0;Xe<tt.length;Xe++){for(var Ze="",ke=0;ke<Ve.length;ke++)if(Be(Ve[ke][0].name)==Be(tt[Xe].name)){Ye=1,Ze=ke;break}if(Ye==1)Ve[Ze].push(tt[Xe]),Ye=0;else if(Ye==0){let et=new Array;et.push(tt[Xe]),Ve.push(et)}}return Ve.map(et=>{if(et.forEach(Je=>{let ut=Je.name.split(/\.(?=[^\.]+$)/);Je.name=`${ut[0]}.${ut[1].toLowerCase()}`}),et[0].name.includes(".in"))return et.length===2?et:[et[0],{}];if(et[0].name.includes(".out"))return et.length===2?et.reverse():[{},et[0]]})},Ce=({onClose:Ge,onOK:Be,visible:tt,wrapClassName:Ye,rootIdentifier:Ve,multiple:Xe=!1,defaultMultipleValue:Ze=!0})=>{const ke=(0,ee.useIntl)(),[ze,et]=(0,be.useState)([]),[Je,ut]=(0,be.useState)({}),[Qe,Ue]=(0,be.useState)(!1),[Re,$e]=(0,be.useState)(!0),[Le,Ne]=(0,be.useState)(null),qe=(0,be.useRef)([]),We=(0,be.useRef)(0),Me=()=>{Ge()};(0,be.useEffect)(()=>{Te()},[]),(0,be.useEffect)(()=>{tt&&(qe.current=[],We.current=0,et([]),$e(Ze))},[tt]);const Te=()=>De(void 0,null,function*(){try{Ne(!0)}catch(ft){}}),Oe=ft=>ft&&ft.substring(0,ft.lastIndexOf(".")),Ee=ft=>{var lt,pt;const ct=Oe((lt=ft[0])==null?void 0:lt.name)||Oe((pt=ft[1])==null?void 0:pt.name),vt=ze.filter(ot=>Oe(ot.name)!==ct);qe.current=[...vt],et([...vt])},Ie=ft=>{if(!Re){const st=new FormData;st.append("file",ft.file),(0,a.ZP)("/api/attachments/get_file_content.json",{method:"post",body:st},!0).then(mt=>{if(mt.status===0){We.current=We.current+1;const bt=qe.current.map(xt=>{var Ft;if(xt.name===ft.name){const Dt=Pe({},xt);return(Ft=ft==null?void 0:ft.name)!=null&&Ft.includes(".in")?Dt.input=mt==null?void 0:mt.content:Dt.output=mt==null?void 0:mt.content,Dt}return xt});if(qe.current=[...bt],et([...bt]),We.current>0&&We.current===ze.length){Ue(!1);let xt=Ae(bt);xt=xt.filter(Ft=>{var Dt,$t;return!!((Dt=Ft[0])!=null&&Dt.name&&(($t=Ft[1])!=null&&$t.name))}),xt=xt.map(Ft=>we(Pe(Pe({},Ft[0]),Ft[1]),{is_file:!1})),Be(xt),Ge()}}else Ue(!1),Ge()});return}if(Le){const st=new FormData;st.append("file",ft.file),Ve===null?st.append("identifier","testsets"):st.append("identifier",Ve),(0,a.ZP)("/api/attachments.json",{method:"post",body:st},!0).then(mt=>{if(mt.filename){We.current=We.current+1;const bt=qe.current.map(xt=>{var Ft;if(xt.name===(mt==null?void 0:mt.filename)){const Dt=we(Pe({},xt),{is_oss:!Le});return(Ft=mt==null?void 0:mt.filename)!=null&&Ft.includes(".in")?(Dt.in_object_key=mt==null?void 0:mt.object,Dt.in_object_size=mt==null?void 0:mt.size,Dt.input=mt==null?void 0:mt.filename,Dt.in_file=ft):(Dt.out_object_key=mt==null?void 0:mt.object,Dt.out_object_size=mt==null?void 0:mt.size,Dt.output=mt==null?void 0:mt.filename,Dt.out_file=ft),Dt}return xt});if(qe.current=[...bt],et([...bt]),We.current>0&&We.current===ze.length){Ue(!1);let xt=Ae(bt);xt=xt.filter(Ft=>{var Dt,$t;return!!((Dt=Ft[0])!=null&&Dt.name&&(($t=Ft[1])!=null&&$t.name))}),xt=xt.map(Ft=>we(Pe(Pe({},Ft[0]),Ft[1]),{is_file:!0})),Be(xt),Ge()}}else Ue(!1),Ge()});return}const lt=new(z())({endpoint:Je.end_point,region:Je.region,accessKeyId:Je.access_key_id,accessKeySecret:Je.access_key_secret,bucket:Je.bucket,stsToken:Je.security_token}),pt=ft.name,ct={container_type:"TestSet",file_name:pt},vt=(0,y.Z)();let ot=`testsets/${Ve}/${vt}${pt.indexOf(".")>-1?"."+pt.split(".").pop():""}`;Ve===null&&(ot=`testsets/${vt}${pt.indexOf(".")>-1?"."+pt.split(".").pop():""}`),lt.multipartUpload(ot,new Blob([ft.file],{type:ft.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:pt+""},url:Je==null?void 0:Je.callback_url,host:Je==null?void 0:Je.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,a.rz)(ct)}}).then(function(st){if(st.data.status===0){We.current=We.current+1;const ht=qe.current.map(mt=>{var bt,xt,Ft,Dt,$t,dn,en,Jt,wn,Tn,fn,zn,Un,Nn,On,Mn,Wn;if(mt.name===((xt=(bt=st.data)==null?void 0:bt.data)==null?void 0:xt.file_name)){const qn=we(Pe({},mt),{is_oss:!Le});return($t=(Dt=(Ft=st.data)==null?void 0:Ft.data)==null?void 0:Dt.file_name)!=null&&$t.includes(".in")?(qn.in_object_key=(en=(dn=st.data)==null?void 0:dn.data)==null?void 0:en.object,qn.in_object_size=(wn=(Jt=st.data)==null?void 0:Jt.data)==null?void 0:wn.size,qn.input=(fn=(Tn=st.data)==null?void 0:Tn.data)==null?void 0:fn.file_name,qn.in_file=ft):(qn.out_object_key=(Un=(zn=st.data)==null?void 0:zn.data)==null?void 0:Un.object,qn.out_object_size=(On=(Nn=st.data)==null?void 0:Nn.data)==null?void 0:On.size,qn.output=(Wn=(Mn=st.data)==null?void 0:Mn.data)==null?void 0:Wn.file_name,qn.out_file=ft),qn}return mt});if(qe.current=[...ht],et([...ht]),We.current>0&&We.current===ze.length){Ue(!1);let mt=Ae(ht);mt=mt.filter(bt=>{var xt,Ft;return!!((xt=bt[0])!=null&&xt.name&&((Ft=bt[1])!=null&&Ft.name))}),mt=mt.map(bt=>we(Pe(Pe({},bt[0]),bt[1]),{is_file:!0})),Be(mt),Ge()}}})},Ke=ft=>new Promise((lt,pt)=>{let ct=0,vt=[];for(let ot=0;ot<ft.length;ot++)ft[ot].file.slice(0,1).arrayBuffer().then(()=>{ct++,ct===ft.length&&(vt.length?(E.ZP.warning(`${vt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),pt()):lt(ft))}).catch(st=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",st),ct++,vt.push(ft[ot].name),ct===ft.length&&(vt.length?(E.ZP.warning(`${vt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),pt()):lt(ft))})}),at=()=>De(void 0,null,function*(){if(ze.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield Ke(ze),Ue(!0),Ae(ze).some(lt=>{var pt,ct;return!((pt=lt[0])!=null&&pt.name&&((ct=lt[1])!=null&&ct.name))})){pe.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:()=>De(void 0,null,function*(){ze.map(lt=>De(void 0,null,function*(){Ie(lt)}))}),onCancel:()=>{Ue(!1)}});return}ze.map(lt=>De(void 0,null,function*(){Ie(lt)}))}),He={name:"file",fileList:ze,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:ft=>{if(ze!=null&&ze.some(pt=>pt.name===ft.name))return E.ZP.info(`${ft.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(ft.size/1024/1024>100)return E.ZP.info("\u6587\u4EF6\u8D85\u8FC7100M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!/\.(in|out|IN|OUT)$/.test(ft.name))return E.ZP.warning("\u8F93\u5165\u6587\u4EF6\u53EA\u80FD\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6"),!1;const lt={name:ft.name,uid:ft.uid,file:ft,percent:0};return ze.push(lt),qe.current=[...ze],et([...ze]),!1}},nt=Ae(ze);return console.log(ze,nt,"fileList"),te.createElement(pe.default,{open:tt,wrapClassName:Ye,onOk:at,centered:!0,okText:"\u786E\u8BA4",cancelText:ke.formatMessage({id:"shixuns.cancel",defaultMessage:"\u53D6\u6D88"}),okButtonProps:{loading:Qe},onCancel:Me,width:730,title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},te.createElement("div",{className:ae.wrap},ze.length?te.createElement("div",null,te.createElement(de.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},te.createElement("div",{style:{visibility:Xe?"visible":"hidden"}},te.createElement("span",{className:ae.greyText},ke.formatMessage({id:"shixuns.testCaseType",defaultMessage:"\u7528\u4F8B\u7C7B\u578B"})),te.createElement(se.ZP.Group,{className:`ml20 ${ae.testCaseRadio}`,optionType:"button",value:Re,onChange:ft=>$e(ft.target.value)},te.createElement(se.ZP,{value:!1},ke.formatMessage({id:"shixuns.text",defaultMessage:"\u6587\u672C"})),te.createElement(se.ZP,{value:!0},ke.formatMessage({id:"shixuns.file",defaultMessage:"\u6587\u4EF6"})))),te.createElement(_e.default,Pe({},He),te.createElement(ne.ZP,{type:"primary",className:ae.btnS},te.createElement("i",{className:"iconfont icon-shangchuan2"}),ke.formatMessage({id:"shixuns.uploadFile",defaultMessage:"\u4E0A\u4F20\u6587\u4EF6"})))),te.createElement(je,{data:nt,onRemove:Ee})):te.createElement("div",{className:`${ae.noData} mb30`},te.createElement(_e.default.Dragger,we(Pe({},He),{className:ae.dragger}),te.createElement("img",{src:oe,alt:"",className:"mb20"}),te.createElement("div",null,te.createElement("span",null,"\u62D6\u62FD\u6587\u4EF6\u6216"),te.createElement("span",{className:ae.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),te.createElement("div",{className:ae.text},te.createElement("span",{style:{color:"#FA6400"}},ke.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"})),te.createElement("br",null),"1\u3001\u6587\u4EF6\u5FC5\u987B\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6\u3002",te.createElement("br",null),"2\u3001\u4E0A\u4F20\u7684\u6587\u4EF6\u7F16\u7801\u4EC5\u652F\u6301UTF-8\uFF0C\u5426\u5219\u53EF\u80FD\u4F1A\u51FA\u73B0\u6587\u672C\u4E71\u7801\u3002",te.createElement("br",null),"3\u3001\u8F93\u5165\u8F93\u51FA\u6587\u4EF6\u9700\u6587\u4EF6\u540D\u79F0\u4E00\u4E00\u5BF9\u5E94\uFF0C\u672A\u5BF9\u5E94\u65F6\uFF0C\u5C06\u65E0\u6CD5\u4E0A\u4F20\u3002",te.createElement("br",null),"4\u3001\u5355\u4E2A\u4E0A\u4F20\u6587\u4EF6\u4E0D\u80FD\u8D85\u8FC7100MB\uFF0C\u8D85\u8FC7\u65F6\u53EF\u4EE5\u5206\u6279\u6B21\u4E0A\u4F20\u3002",te.createElement("br",null))))},je=({data:Ge=[],onRemove:Be,width:tt="auto",showScore:Ye=!1,disabled:Ve=!1,inputChange:Xe,onEvaluatingChange:Ze,onSelectAll:ke,checkAll1:ze,checkAll2:et,checkAll3:Je,checkAll4:ut,checkAll5:Qe,showEvaluatingSetting:Ue=!1,className:Re="",isProgramHomework:$e=!1})=>{const Le={value:"",filename:"",dataUrl:""},[Ne,qe]=(0,be.useState)(Pe({},Le)),We=Oe=>{let Ee=document.createElement("a");document.body.appendChild(Ee);let Ie=URL.createObjectURL(Oe.file);Ee.href=Ie,Ee.download=Oe.name,Ee.click(),URL.revokeObjectURL(Ie),document.body.removeChild(Ee)},Me=(Oe,Ee)=>{(0,x.LR)(Oe,Ee)},Te=(Oe,Ee)=>{pe.default.confirm({centered:!0,okText:intl.formatMessage({id:"shixuns.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:intl.formatMessage({id:"shixuns.cancel",defaultMessage:"\u53D6\u6D88"}),title:intl.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),content:te.createElement("div",{className:"tc font16"},"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664\u8BE5\u6D4B\u8BD5\u7528\u4F8B?"),onOk:()=>{Be(Oe,Ee)},onCancel:()=>{}})};return Ge.length?te.createElement("div",{className:Re,style:{width:tt}},te.createElement("div",{className:`${$e?ae.headProgram:ae.head}`},Ue&&te.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},te.createElement(ie.default,{checked:ze,onChange:Oe=>{ke(Oe.target.checked,"hidden")}}),te.createElement(ce.Z,{title:'\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'},te.createElement("span",{style:{marginLeft:"8px"}},"\u9690\u85CF"),te.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),te.createElement("div",{style:{width:$e?"25%":"15%"}},"\u7528\u4F8B"),te.createElement("div",{style:{width:Ye?$e?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),te.createElement("div",{style:{width:Ye?$e?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u51FA"),Ye&&te.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),Ue&&te.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},te.createElement(ie.default,{checked:ut,onChange:Oe=>{ke(Oe.target.checked,"input_visible")}}),te.createElement(ce.Z,{title:"\u52FE\u9009\u540E\uFF0C\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},te.createElement("span",{style:{marginLeft:"8px"}},"\u8F93\u5165"),te.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ue&&te.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},te.createElement(ie.default,{checked:et,onChange:Oe=>{ke(Oe.target.checked,"is_invisible")}}),te.createElement(ce.Z,{title:"\u52FE\u9009\u540E\uFF0C\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},te.createElement("span",{style:{marginLeft:"8px"}},"\u9884\u671F\u8F93\u51FA"),te.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ue&&te.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},te.createElement(ie.default,{checked:Qe,onChange:Oe=>{ke(Oe.target.checked,"actual_output_visible")}}),te.createElement(ce.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},te.createElement("span",{style:{marginLeft:"8px"}},"\u5B9E\u9645\u8F93\u51FA"),te.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ue&&te.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},te.createElement(ie.default,{checked:Je,onChange:Oe=>{ke(Oe.target.checked,"last_match_rule")}}),te.createElement(ce.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173"},te.createElement("span",{style:{marginLeft:"8px"}},intl.formatMessage({id:"shixuns.specialCriteria",defaultMessage:"\u7279\u6B8A\u5224\u5B9A"})),te.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),te.createElement("div",{className:ae.operation,style:$e?{flex:1,textAlign:"right"}:{width:"10%"}},intl.formatMessage({id:"shixuns.operation",defaultMessage:"\u64CD\u4F5C"}))),te.createElement("div",{className:ae.listWrapper,style:{boxShadow:$e?"0px 2px 4px 0px #EAEEF4":"unset"}},Ge.map((Oe,Ee)=>{var Ie,Ke,at,He;return te.createElement("div",{key:Ee,className:ae.list,style:$e?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},Ue&&te.createElement("div",{style:{width:"15%"}},te.createElement(ie.default,{checked:!!Oe.hidden,onChange:nt=>{Ze(nt.target.checked,Ee,"hidden")}})),te.createElement("div",{style:{width:$e?"25%":"15%",paddingLeft:$e?"5px":"0px",paddingRight:$e?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",Ee+1),te.createElement("div",{className:ae.info,style:{width:Ye?$e?"20%":"15%":"25%"}},te.createElement("span",{title:Oe.input||((Ie=Oe[0])==null?void 0:Ie.name),onClick:()=>De(void 0,null,function*(){let nt;Oe.input?Oe.input_file_url?nt=Oe.input_file_url:nt=Oe.in_file:nt=Oe[0];let ft;typeof nt=="string"?(ft=yield fetch(nt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),qe({value:yield ft.text(),filename:"",dataUrl:nt})):(ft=yield(0,x.db)(nt.file),qe({value:ft.text,filename:nt.name,dataUrl:ft.link}))})},Oe.input||((Ke=Oe[0])==null?void 0:Ke.name))),te.createElement("div",{className:ae.info,style:{width:Ye?$e?"20%":"15%":"25%"}},te.createElement("span",{title:Oe.output||((at=Oe[1])==null?void 0:at.name),onClick:()=>De(void 0,null,function*(){let nt;Oe.input?Oe.output_file_url?nt=Oe.output_file_url:nt=Oe.out_file:nt=Oe[1];let ft;typeof nt=="string"?(ft=yield fetch(nt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),qe({value:yield ft.text(),filename:"",dataUrl:nt})):(ft=yield(0,x.db)(nt.file),qe({value:ft.text,filename:nt.name,dataUrl:ft.link}))})},Oe.output||((He=Oe[1])==null?void 0:He.name))),Ye&&te.createElement("div",{style:{width:"20%"}},te.createElement(ue.default,{size:"large",addonAfter:$e?"%":null,disabled:Ve,style:{width:"80%"},onChange:nt=>Xe(nt,Ee),value:Oe.score}),!$e&&te.createElement("span",null,"\xA0%")),Ue&&te.createElement("div",{style:{width:"20%"}},te.createElement(ie.default,{checked:Oe.input_visible||!1,onChange:nt=>{Ze(nt.target.checked,Ee,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&te.createElement("div",{style:{width:"20%"}},te.createElement(ie.default,{checked:Oe.is_invisible||!1,onChange:nt=>{Ze(nt.target.checked,Ee,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&te.createElement("div",{style:{width:"20%"}},te.createElement(ie.default,{checked:Oe.actual_output_visible||!1,onChange:nt=>{Ze(nt.target.checked,Ee,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&te.createElement("div",{style:{width:"20%"}},te.createElement(ie.default,{checked:Oe.last_match_rule||!1,onChange:nt=>{Ze(nt.target.checked,Ee,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),te.createElement("div",{onClick:()=>Te(Oe,Ee),style:$e?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},te.createElement("span",{className:ae.del},intl.formatMessage({id:"shixuns.delete",defaultMessage:"\u5220\u9664"}))))})),te.createElement(b.Z,{close:!0,data:Ne.dataUrl,filename:Ne.filename,type:Ne.dataUrl.length?"txt":"",onClose:()=>qe(Pe({},Le)),monacoEditor:{value:Ne.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):te.createElement(te.Fragment,null)};var Fe=Ce},83554:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return re}});var be=ve(59301),_e=ve(8591),E=ve(6848),pe=ve(71418),de=ve(95237),se=ve(43604),ne=ve(58421),ie=ve(3113),ce=ve(96565),ue=ve(38147),ae=ve(6339),oe=(a,y,x)=>new Promise((b,ee)=>{var te=ge=>{try{fe(x.next(ge))}catch(me){ee(me)}},le=ge=>{try{fe(x.throw(ge))}catch(me){ee(me)}},fe=ge=>ge.done?b(ge.value):Promise.resolve(ge.value).then(te,le);fe((x=x.apply(a,y)).next())}),re=({id:a,activeDiscussIndex:y,onReplyDiscuss:x,adminOrOperator:b})=>{const[ee,te]=(0,be.useState)(""),[le,fe]=(0,be.useState)(!1);function ge(he){te(he)}function me(){if(!ee){_e.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}x(a,ee),te("")}return(0,be.useEffect)(()=>{y!=a&&fe(!1)},[y]),be.createElement("div",{key:a,className:"discuss-item-editor",style:{display:y===a?"block":"none",width:"100%"}},be.createElement(ce.Z,{miniToolbar:!0,startInit:y===a,defaultValue:ee,id:a,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:ge,extraUse:b&&be.createElement(E.Z,{color:"#fff",open:le,destroyTooltipOnHide:!0,title:z({id:a,isOpen:le,activeDiscussIndex:y,onChange:ge,setIsOpen:fe}),overlayStyle:{maxWidth:600}},be.createElement("a",{title:le?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>fe(!le)},be.createElement("i",{className:"iconfont icon-dianzan11"})))}),be.createElement("a",{onClick:me,className:"btn-send"},"\u53D1\u9001"))};const z=a=>{const[y,x]=(0,be.useState)(!1),[b,ee]=(0,be.useState)([]),[te,le]=(0,be.useState)(1);(0,be.useEffect)(()=>{a!=null&&a.isOpen?fe():(le(1),ee([]))},[a==null?void 0:a.isOpen]);const fe=()=>oe(void 0,null,function*(){x(!0);const ge=yield(0,ue.ZP)(`/api/discusses/${a==null?void 0:a.id}/recommend_answer.json`,{method:"get"});(ge==null?void 0:ge.status)==0&&ee(ge==null?void 0:ge.answer),x(!1)});return be.createElement(pe.Z,{spinning:y},be.createElement("div",{style:{color:"#000"}},be.createElement(ae.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(b==null?void 0:b[te-1])||""}),be.createElement(de.Z,{justify:"end",align:"middle"},be.createElement(se.Z,null,be.createElement(ne.Z,{simple:!0,current:te,pageSize:1,total:(b==null?void 0:b.length)||0,onChange:ge=>{le(ge)}})),be.createElement(se.Z,null,be.createElement(ie.ZP,{onClick:()=>oe(void 0,null,function*(){a==null||a.onChange(b==null?void 0:b[te-1]),a==null||a.setIsOpen(!1)})},"\u586B\u5165\u6587\u672C\u6846")))))}},65808:function(Et,dt,ve){"use strict";ve.d(dt,{CP:function(){return E},_V:function(){return se}});var be=ve(28209),_e=ve.n(be);const E={secret:be.enc.Utf8.parse("0a18e199b87f1a8d"),iv:be.enc.Utf8.parse("6e7b11a2d8475a3c"),recordScreen1:"8Cl7udD6KTt8HPYOZOopZQ==",recordScreen2:"2OizCBkuJOsBhw8rNenXhYCv3XTIsgM5YB4rOmXz7tSksBaXYYyAirzxs7TSR1vRsyWPVAt4owje5yiTfFsxAA==",recordScreen3:"neJjLaAaeW/dFCOx/cRGopZHNvjZTB0x8p9/TcYCsAGn0mWINwybT7VQlqzmJ55DjVgOrmi/iclg/G6uBGjm/Q==",recordScreen4:"SGYXWA9MzSO+02aOU0lf0g==",recordScreen5:"oCICX8dGCYMnb+4d1CTCTQ==",recordScreen6:"5MlFeP+Uwb/T5ADmGmB6NpaUgOJy3MlJ4WpA38wds8U=",recordScreen7:"TEQF1ezPIxvVVMQNJ08HIiHpj1mXdcVt5qmr6+ALw8Y=",recordScreen8:"9a9QOkgLXlgDq14d3ZEWzA==",recordScreen9:"O0prHhH+rDoUVnpw8acqwRQvRL7fh32v1bLyv4qv71U=",recordScreen10:"nfkbhFR34HkBQLpjlbNkk3FgEdBomIsnFLVgHA1RZVBeN/H3vWJpt0re6w4cjtaKmIkNgpJhxaFgyEkcJ7Z99GCAgC0CgxaaXNQNiDmz2MygiesZVZ9laQvHFQhZehEEaFKUozvNVQMkRw0MV0eoPg==",recordScreen11:"jarJWElZmu7HFZnjOTPwNx44FImKQVf8Bx2Jrm74G44=",recordScreen12:"e7Q/zr1KcI3oVpnQ3JeDgA==",recordScreen13:"pm38jjAC3l2p/JR8E3kDWg==",recordScreen14:"/mTQurqh9htD7+PNrTooMJgdPOE914grpIKomFnikk8=",recordScreen15:"bEPsKA+wwGyQEDShAMuQmQ==",recordScreen16:"uitMDSXWhi/tOOfbtHNmyNh8e9PCLJ0naA02kzBCOD/mdg+1g9ScswIEDpdHuE1l",recordScreen17:"4+bY5u3lx+VxRA/PjP/r3Tl9C0SmKM8CRtCpmkAJq+M=",recordScreen18:"L3Tz5XdvbIAqzHw/XxJnmrx8R+v3cPrYaho0/yDug6M=",recordScreen19:"bo+SiWR7f4uhJXP1wk3oQxBEFmQdbpZPV1in12O3jaj14CuNU2kP2g2MKMTFmRqE12Di4jS3RKzRI14yWpi6Zw==",recordScreen20:"9zp6SENXwO+8GNr4+g+xIzt6s/Gf38ukabRJjhQhQoY=",recordScreen21:"9zp6SENXwO+8GNr4+g+xIy36f4lSwnfFtW0weuO6Gj8=",recordScreen22:"JrbzlyV7pBS7Yw/W1geouw==",recordScreen23:"HBRPVLqnAH9kbzQ7clr8JsTgjT3nCOaP6D+q1lrMX0T6z7vU1Nh5XljgB+Qw/Hs8",recordScreen24:"bq3vruZCtCaGLs7egAWDrgXjmyW8iQX5L+nEwqCeguM=",recordScreen25:"CjveXk9FHEWiBbhwyVRzPQ==",recordScreen26:"FxZnr4aTDDJTcRMUEb3SfA==",answer1:"YXOzThjf+mcj1OALSFqA8A==",answer2:"iyOS4uLz85NAsAWdMjWs6A==",answer3:"cnZErv6FfE02OBkLzlWAeDAW3+ysEYfgoPhcC707e9kJN3PHMP7E05NC7nRf5ESWhemykQ0Y+JYQAd1PGsIJVIZFsA7OlceUwyOfid7oTeg=",answer4:"xXjNeCMbPG5xznAfVbSmjvHn/2xVBArzvsRXJZVk7yY=",answer5:"8Cl7udD6KTt8HPYOZOopZQ==",answer6:"r4qWdIzOZoUDAHIC6Rkiz3KJVZoKCNj9MmeR76VANv90Zyj57hrKtRcOipt3SZUPfZlt17GKyBf504lj5ROxVg==",answer7:"t1d0b8j3bdsJoH9adhzqOQ==",answer8:"0TBptfONacS/9JDvt/q9BO9S0+Jv0m1glMCiAQweO4E=",answer9:"2DA7p8Fws9TWo+O5djurjrORgQjZjMrKtuIbjfCoAI8ZpLy4+sq9PFZuua40lLxjTVb7vhKqm6exT5/R19YdjnUTh6Kyt+6Px8xr6JnEHVw=",answer10:"xcjM1HNI8s6ckETto63Gq83vw68ATty2i534hkfjKAa+izWStVVH5fvCEpQxd8rYYki3IW9Qy0NU8cLJsHQXWOsYtYD70yB44qG5j3fnlDahQUcsDWEBXzx2NlAp6x5R",answer11:"0/t7yKZD1CFg6kerAPJksqJATDsJMtkB06datFVfwac=",answer12:"SJ4yd9DEs9YHnGhybPplEg=="},pe={exam:E};function de(ne="",ie="exam"){const{secret:ce,iv:ue}=pe[ie];return AES.encrypt(ne,ce,{iv:ue,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function se(ne="",ie="exam"){const{secret:ce,iv:ue}=pe[ie];return be.AES.decrypt(ne,ce,{iv:ue,mode:_e().mode.CBC,padding:_e().pad.Pkcs7}).toString(be.enc.Utf8)}},84056:function(Et,dt,ve){"use strict";ve.d(dt,{BU:function(){return _e},Dj:function(){return be},gH:function(){return E},vp:function(){return pe}});function be(de){try{de.mozRequestFullScreen?de.mozRequestFullScreen():de.webkitRequestFullScreen&&de.webkitRequestFullScreen()}catch(se){console.log(se,":e")}}function _e(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const E=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function pe(){var de=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,se=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",de),window.isFullScreen?window.isFullScreen:de!=null}},61527:function(Et,dt,ve){"use strict";ve.d(dt,{U:function(){return ce}});var be=ve(59301),_e=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,se=(ue,ae,oe)=>ae in ue?_e(ue,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ue[ae]=oe,ne=(ue,ae)=>{for(var oe in ae||(ae={}))pe.call(ae,oe)&&se(ue,oe,ae[oe]);if(E)for(var oe of E(ae))de.call(ae,oe)&&se(ue,oe,ae[oe]);return ue},ie=(ue,ae,oe)=>new Promise((re,z)=>{var a=b=>{try{x(oe.next(b))}catch(ee){z(ee)}},y=b=>{try{x(oe.throw(b))}catch(ee){z(ee)}},x=b=>b.done?re(b.value):Promise.resolve(b.value).then(a,y);x((oe=oe.apply(ue,ae)).next())});function ce(ue,ae){const[oe,re]=(0,be.useState)(ae),[z,a]=(0,be.useState)(!1),[y,x]=(0,be.useState)();return[oe,z,(ee,te=!1)=>ie(this,null,function*(){const le=te?ae:ne(ne({},oe),ee);a(!0),re(le);const fe=yield ue(le);return a(!1),x(fe),fe}),y]}},72530:function(Et,dt,ve){"use strict";ve.d(dt,{_:function(){return E}});var be=ve(59301),_e=ve(43418);const E=pe=>{var de,se;const ne=(0,be.useRef)([]),ie=()=>{for(const ce of ne.current)clearTimeout(ce);ne.current=[]};return(0,be.useEffect)(()=>{var ce,ue,ae,oe,re,z;if(ie(),(ce=pe==null?void 0:pe.exercise)!=null&&ce.left_time&&((ae=(ue=pe==null?void 0:pe.exercise)==null?void 0:ue.exercise_events)==null?void 0:ae.length)>0){for(const a of(oe=pe==null?void 0:pe.exercise)==null?void 0:oe.exercise_events)if(((re=pe==null?void 0:pe.exercise)==null?void 0:re.left_time)>(a==null?void 0:a.reminder_time)*60){let y=(((z=pe==null?void 0:pe.exercise)==null?void 0:z.left_time)-(a==null?void 0:a.reminder_time)*60)*1e3;y=y>2147483647?2147483647:y;const x=setTimeout(()=>{_e.default.info({content:`${a==null?void 0:a.reminder_content}`,icon:null,title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u4E86"})},y);ne.current.push(x)}}},[(de=pe==null?void 0:pe.exercise)==null?void 0:de.left_time,(se=pe==null?void 0:pe.exercise)==null?void 0:se.exercise_events]),ie}},42926:function(Et,dt,ve){"use strict";ve.d(dt,{G:function(){return de},t:function(){return pe}});var be=ve(7062),_e=ve.n(be);const E=null;function pe(se,ne){let ie=_e().get("__ec");ie||(ie={}),ie[se]=ne,_e().set("__ec",ie)}function de(se,ne){let ie=_e().get("__ec");return ie?ie[se]===void 0?ne:ie[se]:ne}},47257:function(Et){(function(dt){(function(ve){if(1)Et.exports=ve();else var be})(function(){var ve,be,_e;return function(){function E(pe,de,se){function ne(ue,ae){if(!de[ue]){if(!pe[ue]){var oe=void 0;if(!ae&&oe)return require(ue,!0);if(ie)return ie(ue,!0);var re=new Error("Cannot find module '"+ue+"'");throw re.code="MODULE_NOT_FOUND",re}var z=de[ue]={exports:{}};pe[ue][0].call(z.exports,function(a){var y=pe[ue][1][a];return ne(y||a)},z,z.exports,E,pe,de,se)}return de[ue].exports}for(var ie=void 0,ce=0;ce<se.length;ce++)ne(se[ce]);return ne}return E}()({1:[function(E,pe,de){"use strict";var se=E("./browser/client");se.Buffer=E("buffer").Buffer,se.urllib=E("../shims/xhr"),se.version=E("./browser/version").version,pe.exports=se},{"../shims/xhr":475,"./browser/client":3,"./browser/version":6,buffer:90}],2:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.slice.js");var ce=E("assert"),ue=E("../common/utils/checkBucketName"),ae=ue.checkBucketName,oe=de;function re(a){return Array.isArray?Array.isArray(a):Object.prototype.toString.call(a)==="[object Array]"}function z(a){return a?re(a)?a:[a]:[]}oe.useBucket=function(y){return ae(y),this.options.bucket=y,this},oe.setBucket=function(y){return ae(y),this.options.bucket=y,this},oe.getBucket=function(){return this.options.bucket},oe.deleteBucket=function(){var a=(0,ie.default)(ne.default.mark(function x(b,ee){var te,le;return ne.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return te=this._bucketRequestParams("DELETE",b,"",ee),ge.next=3,this.request(te);case 3:if(le=ge.sent,!(le.status===200||le.status===204)){ge.next=6;break}return ge.abrupt("return",{res:le.res});case 6:return ge.next=8,this.requestError(le);case 8:throw ge.sent;case 9:case"end":return ge.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.putBucketACL=function(){var a=(0,ie.default)(ne.default.mark(function x(b,ee,te){var le,fe;return ne.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return le=this._bucketRequestParams("PUT",b,"acl",te),le.headers={"x-oss-acl":ee},le.successStatuses=[200],me.next=5,this.request(le);case 5:return fe=me.sent,me.abrupt("return",{bucket:fe.headers.location&&fe.headers.location.substring(1)||null,res:fe.res});case 7:case"end":return me.stop()}},x,this)}));function y(x,b,ee){return a.apply(this,arguments)}return y}(),oe.getBucketACL=function(){var a=(0,ie.default)(ne.default.mark(function x(b,ee){var te,le;return ne.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return te=this._bucketRequestParams("GET",b,"acl",ee),te.successStatuses=[200],te.xmlResponse=!0,ge.next=5,this.request(te);case 5:return le=ge.sent,ge.abrupt("return",{acl:le.data.AccessControlList.Grant,owner:{id:le.data.Owner.ID,displayName:le.data.Owner.DisplayName},res:le.res});case 7:case"end":return ge.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.putBucketLogging=function(){var a=(0,ie.default)(ne.default.mark(function x(b,ee,te){var le,fe,ge;return ne.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return le=this._bucketRequestParams("PUT",b,"logging",te),fe=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<BucketLoggingStatus>
|
|
|
<LoggingEnabled>
|
|
|
<TargetBucket>`.concat(b,`</TargetBucket>
|
|
|
`),ee&&(fe+="<TargetPrefix>".concat(ee,`</TargetPrefix>
|
|
|
`)),fe+=`</LoggingEnabled>
|
|
|
</BucketLoggingStatus>`,le.content=fe,le.mime="xml",le.successStatuses=[200],he.next=9,this.request(le);case 9:return ge=he.sent,he.abrupt("return",{res:ge.res});case 11:case"end":return he.stop()}},x,this)}));function y(x,b,ee){return a.apply(this,arguments)}return y}(),oe.getBucketLogging=function(){var a=(0,ie.default)(ne.default.mark(function x(b,ee){var te,le,fe;return ne.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return te=this._bucketRequestParams("GET",b,"logging",ee),te.successStatuses=[200],te.xmlResponse=!0,me.next=5,this.request(te);case 5:return le=me.sent,fe=le.data.LoggingEnabled,me.abrupt("return",{enable:!!fe,prefix:fe&&fe.TargetPrefix||null,res:le.res});case 8:case"end":return me.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketLogging=function(){var a=(0,ie.default)(ne.default.mark(function x(b,ee){var te,le;return ne.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return te=this._bucketRequestParams("DELETE",b,"logging",ee),te.successStatuses=[204,200],ge.next=4,this.request(te);case 4:return le=ge.sent,ge.abrupt("return",{res:le.res});case 6:case"end":return ge.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.putBucketCORS=function(){var a=(0,ie.default)(ne.default.mark(function x(b,ee,te){var le,fe,ge,me,he,Se,ye,Pe,we,De;return ne.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:for(ee=ee||[],ce(ee.length,"rules is required"),ee.forEach(function(Ce){ce(Ce.allowedOrigin,"allowedOrigin is required"),ce(Ce.allowedMethod,"allowedMethod is required")}),le=this._bucketRequestParams("PUT",b,"cors",te),fe=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<CORSConfiguration>`,ge=function(je){fe+="<AllowedOrigin>".concat(je,"</AllowedOrigin>")},me=function(je){fe+="<AllowedMethod>".concat(je,"</AllowedMethod>")},he=function(je){fe+="<AllowedHeader>".concat(je,"</AllowedHeader>")},Se=function(je){fe+="<ExposeHeader>".concat(je,"</ExposeHeader>")},ye=0,Pe=ee.length;ye<Pe;ye++)we=ee[ye],fe+="<CORSRule>",z(we.allowedOrigin).forEach(ge),z(we.allowedMethod).forEach(me),z(we.allowedHeader).forEach(he),z(we.exposeHeader).forEach(Se),we.maxAgeSeconds&&(fe+="<MaxAgeSeconds>".concat(we.maxAgeSeconds,"</MaxAgeSeconds>")),fe+="</CORSRule>";return fe+="</CORSConfiguration>",le.content=fe,le.mime="xml",le.successStatuses=[200],Ae.next=16,this.request(le);case 16:return De=Ae.sent,Ae.abrupt("return",{res:De.res});case 18:case"end":return Ae.stop()}},x,this)}));function y(x,b,ee){return a.apply(this,arguments)}return y}(),oe.getBucketCORS=function(){var a=(0,ie.default)(ne.default.mark(function x(b,ee){var te,le,fe,ge;return ne.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return te=this._bucketRequestParams("GET",b,"cors",ee),te.successStatuses=[200],te.xmlResponse=!0,he.next=5,this.request(te);case 5:return le=he.sent,fe=[],le.data&&le.data.CORSRule&&(ge=le.data.CORSRule,re(ge)||(ge=[ge]),ge.forEach(function(Se){var ye={};Object.keys(Se).forEach(function(Pe){ye[Pe.slice(0,1).toLowerCase()+Pe.slice(1,Pe.length)]=Se[Pe]}),fe.push(ye)})),he.abrupt("return",{rules:fe,res:le.res});case 9:case"end":return he.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketCORS=function(){var a=(0,ie.default)(ne.default.mark(function x(b,ee){var te,le;return ne.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return te=this._bucketRequestParams("DELETE",b,"cors",ee),te.successStatuses=[204],ge.next=4,this.request(te);case 4:return le=ge.sent,ge.abrupt("return",{res:le.res});case 6:case"end":return ge.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.putBucketReferer=function(){var a=(0,ie.default)(ne.default.mark(function x(b,ee,te,le){var fe,ge,me,he;return ne.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:if(fe=this._bucketRequestParams("PUT",b,"referer",le),ge=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<RefererConfiguration>
|
|
|
`,ge+=" <AllowEmptyReferer>".concat(ee?"true":"false",`</AllowEmptyReferer>
|
|
|
`),te&&te.length>0){for(ge+=` <RefererList>
|
|
|
`,me=0;me<te.length;me++)ge+=" <Referer>".concat(te[me],`</Referer>
|
|
|
`);ge+=` </RefererList>
|
|
|
`}else ge+=` <RefererList />
|
|
|
`;return ge+="</RefererConfiguration>",fe.content=ge,fe.mime="xml",fe.successStatuses=[200],ye.next=10,this.request(fe);case 10:return he=ye.sent,ye.abrupt("return",{res:he.res});case 12:case"end":return ye.stop()}},x,this)}));function y(x,b,ee,te){return a.apply(this,arguments)}return y}(),oe.getBucketReferer=function(){var a=(0,ie.default)(ne.default.mark(function x(b,ee){var te,le,fe;return ne.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return te=this._bucketRequestParams("GET",b,"referer",ee),te.successStatuses=[200],te.xmlResponse=!0,me.next=5,this.request(te);case 5:return le=me.sent,fe=le.data.RefererList.Referer||null,fe&&(re(fe)||(fe=[fe])),me.abrupt("return",{allowEmpty:le.data.AllowEmptyReferer==="true",referers:fe,res:le.res});case 9:case"end":return me.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketReferer=function(){var a=(0,ie.default)(ne.default.mark(function x(b,ee){return ne.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.next=2,this.putBucketReferer(b,!0,null,ee);case 2:return le.abrupt("return",le.sent);case 3:case"end":return le.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe._bucketRequestParams=function(y,x,b,ee){return{method:y,bucket:x,subres:b,timeout:ee&&ee.timeout,ctx:ee&&ee.ctx}}},{"../common/utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,assert:82,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],3:[function(E,pe,de){(function(se,ne){(function(){"use strict";var ie=E("@babel/runtime/helpers/interopRequireDefault"),ce=ie(E("@babel/runtime/regenerator")),ue=ie(E("@babel/runtime/helpers/asyncToGenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.to-string.js");var ae=E("debug")("ali-oss"),oe=E("xml2js"),re=E("agentkeepalive"),z=E("merge-descriptors"),a=E("platform"),y=E("utility"),x=E("urllib"),b=E("./version"),ee=E("bowser"),te=E("../common/signUtils"),le=E("../common/client/initOptions"),fe=E("../common/utils/createRequest"),ge=fe.createRequest,me=E("../common/utils/encoder"),he=me.encoder,Se=E("../common/client/getReqUrl"),ye=Se.getReqUrl,Pe=E("../common/utils/setSTSToken"),we=Pe.setSTSToken,De=E("../common/utils/retry"),xe=De.retry,Ae=E("../common/utils/isFunction"),Ce=Ae.isFunction,je=new re;function Fe(){var Xe=a.name,Ze=a.version;Xe&&Xe.toLowerCase&&Xe.toLowerCase()==="ie"&&Ze.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function Ge(){return location&&location.protocol==="https:"}function Be(Xe,Ze){if(Fe(),!(this instanceof Be))return new Be(Xe,Ze);Xe&&Xe.inited?this.options=Xe:this.options=Be.initOptions(Xe),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=x,this.agent=this.options.agent||je),this.ctx=Ze,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}pe.exports=Be,Be.initOptions=function(Ze){Ze.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var ke=Object.assign({secure:Ge(),useFetch:!1},Ze);return le(ke)};var tt=Be.prototype;tt.debug=ae,z(tt,E("./object")),z(tt,E("./bucket")),z(tt,E("../common/bucket/getBucketWebsite")),z(tt,E("../common/bucket/putBucketWebsite")),z(tt,E("../common/bucket/deleteBucketWebsite")),z(tt,E("../common/bucket/getBucketLifecycle")),z(tt,E("../common/bucket/putBucketLifecycle")),z(tt,E("../common/bucket/deleteBucketLifecycle")),z(tt,E("../common/bucket/putBucketVersioning")),z(tt,E("../common/bucket/getBucketVersioning")),z(tt,E("../common/bucket/getBucketInventory")),z(tt,E("../common/bucket/deleteBucketInventory")),z(tt,E("../common/bucket/listBucketInventory")),z(tt,E("../common/bucket/putBucketInventory")),z(tt,E("../common/bucket/abortBucketWorm")),z(tt,E("../common/bucket/completeBucketWorm")),z(tt,E("../common/bucket/extendBucketWorm")),z(tt,E("../common/bucket/getBucketWorm")),z(tt,E("../common/bucket/initiateBucketWorm")),z(tt,E("./managed-upload")),z(tt,E("../common/multipart-copy")),z(tt,E("../common/multipart")),z(tt,E("../common/parallel")),tt.signature=function(Ze){return this.debug("authorization stringToSign: %s",Ze,"info"),te.computeSignature(this.options.accessKeySecret,Ze,this.options.headerEncoding)},tt._getReqUrl=ye,tt.authorization=function(Ze,ke,ze,et){var Je=te.buildCanonicalString(Ze.toUpperCase(),ke,{headers:et,parameters:ze});return te.authorization(this.options.accessKeyId,this.options.accessKeySecret,Je,this.options.headerEncoding)},tt.request=function(){var Xe=(0,ue.default)(ce.default.mark(function Ze(ke){var ze=this;return ce.default.wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:if(!this.options.retryMax){Je.next=6;break}return Je.next=3,xe(Ye.bind(this),this.options.retryMax,{errorHandler:function(Qe){var Ue=function($e){if(ke.stream)return!1;var Le=[-1,-2].includes($e.status),Ne=ze.options.requestErrorRetryHandle||function(){return!0};return Le&&Ne($e)};return!!Ue(Qe)}})(ke);case 3:return Je.abrupt("return",Je.sent);case 6:return Je.abrupt("return",Ye.call(this,ke));case 7:case"end":return Je.stop()}},Ze,this)}));return function(Ze){return Xe.apply(this,arguments)}}();function Ye(Xe){return Ve.apply(this,arguments)}function Ve(){return Ve=(0,ue.default)(ce.default.mark(function Xe(Ze){var ke,ze,et,Je,ut,Qe;return ce.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:if(!(this.options.stsToken&&Ce(this.options.refreshSTSToken))){Re.next=3;break}return Re.next=3,we.call(this);case 3:return ke=ge.call(this,Ze),this.options.useFetch||(ke.params.mode="disable-fetch"),Je=!!Ze.stream,Re.prev=6,Re.next=9,this.urllib.request(ke.url,ke.params);case 9:ze=Re.sent,this.debug("response %s %s, got %s, headers: %j",Ze.method,ke.url,ze.status,ze.headers,"info"),Re.next=16;break;case 13:Re.prev=13,Re.t0=Re.catch(6),et=Re.t0;case 16:if(!(ze&&Ze.successStatuses&&Ze.successStatuses.indexOf(ze.status)===-1)){Re.next=28;break}return Re.next=19,this.requestError(ze);case 19:if(ut=Re.sent,!(ut.code==="RequestTimeTooSkewed"&&!Je)){Re.next=25;break}return this.options.amendTimeSkewed=+new Date(ut.serverTime)-new Date,Re.next=24,this.request(Ze);case 24:return Re.abrupt("return",Re.sent);case 25:ut.params=Ze,Re.next=32;break;case 28:if(!et){Re.next=32;break}return Re.next=31,this.requestError(et);case 31:ut=Re.sent;case 32:if(!ut){Re.next=34;break}throw ut;case 34:if(!Ze.xmlResponse){Re.next=39;break}return Re.next=37,this.parseXML(ze.data);case 37:Qe=Re.sent,ze.data=Qe;case 39:return Re.abrupt("return",ze);case 40:case"end":return Re.stop()}},Xe,this,[[6,13]])})),Ve.apply(this,arguments)}tt._getResource=function(Ze){var ke="/";return Ze.bucket&&(ke+="".concat(Ze.bucket,"/")),Ze.object&&(ke+=he(Ze.object,this.options.headerEncoding)),ke},tt._escape=function(Ze){return y.encodeURIComponent(Ze).replace(/%2F/g,"/")},tt._getUserAgent=function(){var Ze=ne&&ne.browser?"js":"nodejs",ke="aliyun-sdk-".concat(Ze,"/").concat(b.version),ze=a.description;return!ze&&ne&&(ze="Node.js ".concat(ne.version.slice(1)," on ").concat(ne.platform," ").concat(ne.arch)),this._checkUserAgent("".concat(ke," ").concat(ze))},tt._checkUserAgent=function(Ze){var ke=Ze.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return ke},tt.checkBrowserAndVersion=function(Ze,ke){return ee.name===Ze&&ee.version.split(".")[0]===ke},tt.parseXML=function(Ze){return new Promise(function(ke,ze){se.isBuffer(Ze)&&(Ze=Ze.toString()),oe.parseString(Ze,{explicitRoot:!1,explicitArray:!1},function(et,Je){et?ze(et):ke(Je)})})},tt.requestError=function(){var Xe=(0,ue.default)(ce.default.mark(function ke(ze){var et,Je,ut,Qe;return ce.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:if(et=null,!(!ze.data||!ze.data.length)){Re.next=5;break}ze.status===-1||ze.status===-2?(et=new Error(ze.message),et.name=ze.name,et.status=ze.status,et.code=ze.name):(ze.status===404?(et=new Error("Object not exists"),et.name="NoSuchKeyError",et.status=404,et.code="NoSuchKey"):ze.status===412?(et=new Error("Pre condition failed"),et.name="PreconditionFailedError",et.status=412,et.code="PreconditionFailed"):(et=new Error("Unknow error, status: ".concat(ze.status)),et.name="UnknownError",et.status=ze.status),et.requestId=ze.headers["x-oss-request-id"],et.host=""),Re.next=32;break;case 5:return Je=String(ze.data),this.debug("request response error data: %s",Je,"error"),Re.prev=7,Re.next=10,this.parseXML(Je);case 10:if(Re.t0=Re.sent,Re.t0){Re.next=13;break}Re.t0={};case 13:ut=Re.t0,Re.next=23;break;case 16:return Re.prev=16,Re.t1=Re.catch(7),this.debug(Je,"error"),Re.t1.message+=`
|
|
|
raw xml: `.concat(Je),Re.t1.status=ze.status,Re.t1.requestId=ze.headers["x-oss-request-id"],Re.abrupt("return",Re.t1);case 23:Qe=ut.Message||"unknow request error, status: ".concat(ze.status),ut.Condition&&(Qe+=" (condition: ".concat(ut.Condition,")")),et=new Error(Qe),et.name=ut.Code?"".concat(ut.Code,"Error"):"UnknownError",et.status=ze.status,et.code=ut.Code,et.requestId=ut.RequestId,et.hostId=ut.HostId,et.serverTime=ut.ServerTime;case 32:return this.debug("generate error %j",et,"error"),Re.abrupt("return",et);case 34:case"end":return Re.stop()}},ke,this,[[7,16]])}));function Ze(ke){return Xe.apply(this,arguments)}return Ze}()}).call(this)}).call(this,{isBuffer:E("../../node_modules/is-buffer/index.js")},E("_process"))},{"../../node_modules/is-buffer/index.js":366,"../common/bucket/abortBucketWorm":7,"../common/bucket/completeBucketWorm":8,"../common/bucket/deleteBucketInventory":9,"../common/bucket/deleteBucketLifecycle":10,"../common/bucket/deleteBucketWebsite":11,"../common/bucket/extendBucketWorm":12,"../common/bucket/getBucketInventory":13,"../common/bucket/getBucketLifecycle":14,"../common/bucket/getBucketVersioning":15,"../common/bucket/getBucketWebsite":16,"../common/bucket/getBucketWorm":17,"../common/bucket/initiateBucketWorm":18,"../common/bucket/listBucketInventory":19,"../common/bucket/putBucketInventory":20,"../common/bucket/putBucketLifecycle":21,"../common/bucket/putBucketVersioning":22,"../common/bucket/putBucketWebsite":23,"../common/client/getReqUrl":25,"../common/client/initOptions":26,"../common/multipart":30,"../common/multipart-copy":29,"../common/parallel":49,"../common/signUtils":50,"../common/utils/createRequest":56,"../common/utils/encoder":59,"../common/utils/isFunction":68,"../common/utils/retry":74,"../common/utils/setSTSToken":76,"./bucket":2,"./managed-upload":4,"./object":5,"./version":6,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,agentkeepalive:81,bowser:88,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.split.js":307,"core-js/modules/es.symbol.description.js":310,"core-js/modules/es.symbol.js":313,debug:465,"merge-descriptors":372,platform:379,urllib:475,utility:474,xml2js:426}],4:[function(E,pe,de){(function(se){(function(){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ie=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.typed-array.uint8-array.js"),E("core-js/modules/es.typed-array.copy-within.js"),E("core-js/modules/es.typed-array.every.js"),E("core-js/modules/es.typed-array.fill.js"),E("core-js/modules/es.typed-array.filter.js"),E("core-js/modules/es.typed-array.find.js"),E("core-js/modules/es.typed-array.find-index.js"),E("core-js/modules/es.typed-array.for-each.js"),E("core-js/modules/es.typed-array.includes.js"),E("core-js/modules/es.typed-array.index-of.js"),E("core-js/modules/es.typed-array.iterator.js"),E("core-js/modules/es.typed-array.join.js"),E("core-js/modules/es.typed-array.last-index-of.js"),E("core-js/modules/es.typed-array.map.js"),E("core-js/modules/es.typed-array.reduce.js"),E("core-js/modules/es.typed-array.reduce-right.js"),E("core-js/modules/es.typed-array.reverse.js"),E("core-js/modules/es.typed-array.set.js"),E("core-js/modules/es.typed-array.slice.js"),E("core-js/modules/es.typed-array.some.js"),E("core-js/modules/es.typed-array.sort.js"),E("core-js/modules/es.typed-array.subarray.js"),E("core-js/modules/es.typed-array.to-locale-string.js"),E("core-js/modules/es.typed-array.to-string.js");var ce=ne(E("@babel/runtime/helpers/asyncToGenerator")),ue=E("util"),ae=E("path"),oe=E("mime"),re=E("copy-to"),z=E("../common/utils/isBlob"),a=z.isBlob,y=E("../common/utils/isFile"),x=y.isFile,b=E("../common/utils/isBuffer"),ee=b.isBuffer,te=de;te.multipartUpload=function(){var he=(0,ce.default)(ie.default.mark(function ye(Pe,we){var De,xe,Ae,Ce,je,Fe,Ge,Be,tt,Ye=arguments;return ie.default.wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:if(De=Ye.length>2&&Ye[2]!==void 0?Ye[2]:{},this.resetCancelFlag(),De.disabledMD5=De.disabledMD5===void 0?!0:!!De.disabledMD5,!(De.checkpoint&&De.checkpoint.uploadId)){Xe.next=8;break}return we&&x(we)&&(De.checkpoint.file=we),Xe.next=7,this._resumeMultipart(De.checkpoint,De);case 7:return Xe.abrupt("return",Xe.sent);case 8:return xe=102400,De.mime||(x(we)?De.mime=oe.getType(ae.extname(we.name)):a(we)?De.mime=we.type:ee(we)?De.mime="":De.mime=oe.getType(ae.extname(we))),De.headers=De.headers||{},this._convertMetaToHeaders(De.meta,De.headers),Xe.next=14,this._getFileSize(we);case 14:if(Ae=Xe.sent,!(Ae<xe)){Xe.next=26;break}return De.contentLength=Ae,Xe.next=19,this.put(Pe,we,De);case 19:if(Ce=Xe.sent,!(De&&De.progress)){Xe.next=23;break}return Xe.next=23,De.progress(1);case 23:return je={res:Ce.res,bucket:this.options.bucket,name:Pe,etag:Ce.res.headers.etag},(De.headers&&De.headers["x-oss-callback"]||De.callback)&&(je.data=Ce.data),Xe.abrupt("return",je);case 26:if(!(De.partSize&&parseInt(De.partSize,10)!==De.partSize)){Xe.next=28;break}throw new Error("partSize must be int number");case 28:if(!(De.partSize&&De.partSize<xe)){Xe.next=30;break}throw new Error("partSize must not be smaller than ".concat(xe));case 30:return Xe.next=32,this.initMultipartUpload(Pe,De);case 32:if(Fe=Xe.sent,Ge=Fe.uploadId,Be=this._getPartSize(Ae,De.partSize),tt={file:we,name:Pe,fileSize:Ae,partSize:Be,uploadId:Ge,doneParts:[]},!(De&&De.progress)){Xe.next=39;break}return Xe.next=39,De.progress(0,tt,Fe.res);case 39:return Xe.next=41,this._resumeMultipart(tt,De);case 41:return Xe.abrupt("return",Xe.sent);case 42:case"end":return Xe.stop()}},ye,this)}));function Se(ye,Pe){return he.apply(this,arguments)}return Se}(),te._resumeMultipart=function(){var he=(0,ce.default)(ie.default.mark(function ye(Pe,we){var De,xe,Ae,Ce,je,Fe,Ge,Be,tt,Ye,Ve,Xe,Ze,ke,ze,et,Je,ut,Qe;return ie.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:if(De=this,!this.isCancel()){Re.next=3;break}throw this._makeCancelEvent();case 3:return xe=Pe.file,Ae=Pe.fileSize,Ce=Pe.partSize,je=Pe.uploadId,Fe=Pe.doneParts,Ge=Pe.name,Be=[],Fe.length>0&&re(Fe).to(Be),tt=this._divideParts(Ae,Ce),Ye=tt.length,Ve=!1,Xe=function(Le,Ne){return new Promise(function(){var qe=(0,ce.default)(ie.default.mark(function We(Me,Te){var Oe,Ee,Ie,Ke,at;return ie.default.wrap(function(nt){for(;;)switch(nt.prev=nt.next){case 0:if(nt.prev=0,Le.isCancel()){nt.next=29;break}return Oe=tt[Ne-1],nt.next=5,Le._createBuffer(xe,Oe.start,Oe.end);case 5:return Ee=nt.sent,Ie={content:Ee,size:Oe.end-Oe.start},nt.prev=7,nt.next=10,Le._uploadPart(Ge,je,Ne,Ie,we);case 10:Ke=nt.sent,nt.next=18;break;case 13:if(nt.prev=13,nt.t0=nt.catch(7),nt.t0.status!==404){nt.next=17;break}throw Le._makeAbortEvent();case 17:throw nt.t0;case 18:if(!(!Le.isCancel()&&!Ve)){nt.next=26;break}if(Pe.doneParts.push({number:Ne,etag:Ke.res.headers.etag}),!we.progress){nt.next=23;break}return nt.next=23,we.progress(Fe.length/(Ye+1),Pe,Ke.res);case 23:Me({number:Ne,etag:Ke.res.headers.etag}),nt.next=27;break;case 26:Me();case 27:nt.next=30;break;case 29:Me();case 30:nt.next=41;break;case 32:nt.prev=32,nt.t1=nt.catch(0),at=new Error,at.name=nt.t1.name,at.message=nt.t1.message,at.stack=nt.t1.stack,at.partNum=Ne,re(nt.t1).to(at),Te(at);case 41:case"end":return nt.stop()}},We,null,[[0,32],[7,13]])}));return function(We,Me){return qe.apply(this,arguments)}}())},Ze=Array.from(new Array(Ye),function($e,Le){return Le+1}),ke=Be.map(function($e){return $e.number}),ze=Ze.filter(function($e){return ke.indexOf($e)<0}),et=5,Je=we.parallel||et,Re.next=17,this._parallel(ze,Je,function($e){return new Promise(function(Le,Ne){Xe(De,$e).then(function(qe){qe&&Be.push(qe),Le()}).catch(function(qe){Ne(qe)})})});case 17:if(ut=Re.sent,Ve=!0,Qe=ut.find(function($e){return $e.name==="abort"}),!Qe){Re.next=22;break}throw Qe;case 22:if(!this.isCancel()){Re.next=25;break}throw Xe=null,this._makeCancelEvent();case 25:if(!(ut&&ut.length>0)){Re.next=28;break}throw ut[0].message="Failed to upload some parts with error: ".concat(ut[0].toString()," part_num: ").concat(ut[0].partNum),ut[0];case 28:return Re.next=30,this.completeMultipartUpload(Ge,je,Be,we);case 30:return Re.abrupt("return",Re.sent);case 31:case"end":return Re.stop()}},ye,this)}));function Se(ye,Pe){return he.apply(this,arguments)}return Se}(),te._getFileSize=function(){var he=(0,ce.default)(ie.default.mark(function ye(Pe){return ie.default.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:if(!ee(Pe)){De.next=4;break}return De.abrupt("return",Pe.length);case 4:if(!(a(Pe)||x(Pe))){De.next=6;break}return De.abrupt("return",Pe.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return De.stop()}},ye)}));function Se(ye){return he.apply(this,arguments)}return Se}();var le=E("stream"),fe=le.Readable;function ge(he,Se){if(!(this instanceof ge))return new ge(he,Se);fe.call(this,Se),this.file=he,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}ue.inherits(ge,fe),ge.prototype.readFileAndPush=function(Se){if(this.fileBuffer)for(var ye=!0;ye&&this.fileBuffer&&this.start<this.fileBuffer.length;){var Pe=this.start,we=Pe+Se;we=we>this.fileBuffer.length?this.fileBuffer.length:we,this.start=we,ye=this.push(this.fileBuffer.slice(Pe,we))}},ge.prototype._read=function(Se){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||this.start===0&&!this.file){this.finish||(this.fileBuffer=null,this.finish=!0),this.push(null);return}var ye=16*1024;Se=Se||ye;var Pe=this;this.reader.onload=function(De){Pe.fileBuffer=se.from(new Uint8Array(De.target.result)),Pe.file=null,Pe.readFileAndPush(Se)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(Se)};function me(he){return he.arrayBuffer?he.arrayBuffer():new Promise(function(Se,ye){var Pe=new FileReader;Pe.onload=function(we){Se(we.target.result)},Pe.onerror=function(we){ye(we)},Pe.readAsArrayBuffer(he)})}te._createBuffer=function(){var he=(0,ce.default)(ie.default.mark(function ye(Pe,we,De){var xe,Ae;return ie.default.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:if(!(a(Pe)||x(Pe))){je.next=8;break}return xe=Pe.slice(we,De),je.next=4,me(xe);case 4:return Ae=je.sent,je.abrupt("return",se.from(Ae));case 8:if(!ee(Pe)){je.next=12;break}return je.abrupt("return",Pe.subarray(we,De));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return je.stop()}},ye)}));function Se(ye,Pe,we){return he.apply(this,arguments)}return Se}(),te._getPartSize=function(Se,ye){var Pe=1e4,we=1*1024*1024;ye||(ye=we);var De=Math.ceil(Se/Pe);return ye<De&&(ye=De,console.warn("partSize has been set to ".concat(ye,", because the partSize you provided causes partNumber to be greater than 10,000"))),ye},te._divideParts=function(Se,ye){for(var Pe=Math.ceil(Se/ye),we=[],De=0;De<Pe;De++){var xe=ye*De,Ae=Math.min(xe+ye,Se);we.push({start:xe,end:Ae})}return we}}).call(this)}).call(this,E("buffer").Buffer)},{"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,buffer:90,"copy-to":94,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.iterator.js":303,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,mime:374,path:378,stream:398,util:419}],5:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.number.constructor.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.promise.js");var ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("fs"),ue=E("copy-to"),ae=E("path"),oe=E("mime"),re=E("../common/callback"),z=E("merge-descriptors"),a=E("../common/utils/isBlob"),y=a.isBlob,x=E("../common/utils/isFile"),b=x.isFile,ee=E("../common/utils/isBuffer"),te=ee.isBuffer,le=E("../common/utils/obj2xml"),fe=le.obj2xml,ge=de;ge.append=function(){var me=(0,ie.default)(ne.default.mark(function Se(ye,Pe,we){var De;return ne.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return we=we||{},we.position===void 0&&(we.position="0"),we.subres={append:"",position:we.position},we.method="POST",Ae.next=6,this.put(ye,Pe,we);case 6:return De=Ae.sent,De.nextAppendPosition=De.res.headers["x-oss-next-append-position"],Ae.abrupt("return",De);case 9:case"end":return Ae.stop()}},Se,this)}));function he(Se,ye,Pe){return me.apply(this,arguments)}return he}(),ge.put=function(){var me=(0,ie.default)(ne.default.mark(function Se(ye,Pe,we){var De,xe,Ae,Ce,je;return ne.default.wrap(function(Ge){for(;;)switch(Ge.prev=Ge.next){case 0:if(we=we||{},we.disabledMD5=we.disabledMD5===void 0?!0:!!we.disabledMD5,we.headers=we.headers||{},ye=this._objectName(ye),!te(Pe)){Ge.next=8;break}De=Pe,Ge.next=19;break;case 8:if(!(y(Pe)||b(Pe))){Ge.next=18;break}return we.mime||(b(Pe)?we.mime=oe.getType(ae.extname(Pe.name)):we.mime=Pe.type),Ge.next=12,this._createBuffer(Pe,0,Pe.size);case 12:return De=Ge.sent,Ge.next=15,this._getFileSize(Pe);case 15:we.contentLength=Ge.sent,Ge.next=19;break;case 18:throw new TypeError("Must provide Buffer/Blob/File for put.");case 19:return this._convertMetaToHeaders(we.meta,we.headers),xe=we.method||"PUT",Ae=this._objectRequestParams(xe,ye,we),re.encodeCallback(Ae,we),Ae.mime=we.mime,Ae.disabledMD5=we.disabledMD5,Ae.content=De,Ae.successStatuses=[200],Ge.next=29,this.request(Ae);case 29:return Ce=Ge.sent,je={name:ye,url:this._objectUrl(ye),res:Ce.res},Ae.headers&&Ae.headers["x-oss-callback"]&&(je.data=JSON.parse(Ce.data.toString())),Ge.abrupt("return",je);case 33:case"end":return Ge.stop()}},Se,this)}));function he(Se,ye,Pe){return me.apply(this,arguments)}return he}(),ge.putStream=function(){var me=(0,ie.default)(ne.default.mark(function Se(ye,Pe,we){var De,xe,Ae,Ce;return ne.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:return we=we||{},we.headers=we.headers||{},ye=this._objectName(ye),we.contentLength?we.headers["Content-Length"]=we.contentLength:we.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(we.meta,we.headers),De=we.method||"PUT",xe=this._objectRequestParams(De,ye,we),re.encodeCallback(xe,we),xe.mime=we.mime,xe.stream=Pe,xe.successStatuses=[200],Fe.next=13,this.request(xe);case 13:return Ae=Fe.sent,Ce={name:ye,url:this._objectUrl(ye),res:Ae.res},xe.headers&&xe.headers["x-oss-callback"]&&(Ce.data=JSON.parse(Ae.data.toString())),Fe.abrupt("return",Ce);case 17:case"end":return Fe.stop()}},Se,this)}));function he(Se,ye,Pe){return me.apply(this,arguments)}return he}(),z(ge,E("../common/object/copyObject")),z(ge,E("../common/object/getObjectTagging")),z(ge,E("../common/object/putObjectTagging")),z(ge,E("../common/object/deleteObjectTagging")),z(ge,E("../common/image")),z(ge,E("../common/object/getBucketVersions")),z(ge,E("../common/object/getACL")),z(ge,E("../common/object/putACL")),z(ge,E("../common/object/head")),z(ge,E("../common/object/delete")),z(ge,E("../common/object/get")),z(ge,E("../common/object/putSymlink")),z(ge,E("../common/object/getSymlink")),z(ge,E("../common/object/deleteMulti")),z(ge,E("../common/object/getObjectMeta")),z(ge,E("../common/object/getObjectUrl")),z(ge,E("../common/object/generateObjectUrl")),z(ge,E("../common/object/signatureUrl")),z(ge,E("../common/object/asyncSignatureUrl")),ge.putMeta=function(){var me=(0,ie.default)(ne.default.mark(function Se(ye,Pe,we){var De;return ne.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Ae.next=2,this.copy(ye,ye,{meta:Pe||{},timeout:we&&we.timeout,ctx:we&&we.ctx});case 2:return De=Ae.sent,Ae.abrupt("return",De);case 4:case"end":return Ae.stop()}},Se,this)}));function he(Se,ye,Pe){return me.apply(this,arguments)}return he}(),ge.list=function(){var me=(0,ie.default)(ne.default.mark(function Se(ye,Pe){var we,De,xe,Ae,Ce;return ne.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:return we=this._objectRequestParams("GET","",Pe),we.query=ye,we.xmlResponse=!0,we.successStatuses=[200],Fe.next=6,this.request(we);case 6:return De=Fe.sent,xe=De.data.Contents||[],Ae=this,xe&&(Array.isArray(xe)||(xe=[xe]),xe=xe.map(function(Ge){return{name:Ge.Key,url:Ae._objectUrl(Ge.Key),lastModified:Ge.LastModified,etag:Ge.ETag,type:Ge.Type,size:Number(Ge.Size),storageClass:Ge.StorageClass,owner:{id:Ge.Owner.ID,displayName:Ge.Owner.DisplayName}}})),Ce=De.data.CommonPrefixes||null,Ce&&(Array.isArray(Ce)||(Ce=[Ce]),Ce=Ce.map(function(Ge){return Ge.Prefix})),Fe.abrupt("return",{res:De.res,objects:xe,prefixes:Ce,nextMarker:De.data.NextMarker||null,isTruncated:De.data.IsTruncated==="true"});case 13:case"end":return Fe.stop()}},Se,this)}));function he(Se,ye){return me.apply(this,arguments)}return he}(),ge.listV2=function(){var me=(0,ie.default)(ne.default.mark(function Se(ye){var Pe,we,De,xe,Ae,Ce,je,Fe=arguments;return ne.default.wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:return Pe=Fe.length>1&&Fe[1]!==void 0?Fe[1]:{},we=ye["continuation-token"]||ye.continuationToken,we&&(Pe.subres=Object.assign({"continuation-token":we},Pe.subres)),De=this._objectRequestParams("GET","",Pe),De.query=Object.assign({"list-type":2},ye),delete De.query["continuation-token"],delete De.query.continuationToken,De.xmlResponse=!0,De.successStatuses=[200],Be.next=11,this.request(De);case 11:return xe=Be.sent,Ae=xe.data.Contents||[],Ce=this,Ae&&(Array.isArray(Ae)||(Ae=[Ae]),Ae=Ae.map(function(tt){var Ye=null;return tt.Owner&&(Ye={id:tt.Owner.ID,displayName:tt.Owner.DisplayName}),{name:tt.Key,url:Ce._objectUrl(tt.Key),lastModified:tt.LastModified,etag:tt.ETag,type:tt.Type,size:Number(tt.Size),storageClass:tt.StorageClass,owner:Ye}})),je=xe.data.CommonPrefixes||null,je&&(Array.isArray(je)||(je=[je]),je=je.map(function(tt){return tt.Prefix})),Be.abrupt("return",{res:xe.res,objects:Ae,prefixes:je,isTruncated:xe.data.IsTruncated==="true",keyCount:+xe.data.KeyCount,continuationToken:xe.data.ContinuationToken||null,nextContinuationToken:xe.data.NextContinuationToken||null});case 18:case"end":return Be.stop()}},Se,this)}));function he(Se){return me.apply(this,arguments)}return he}(),ge.restore=function(){var me=(0,ie.default)(ne.default.mark(function Se(ye){var Pe,we,De,xe,Ae=arguments;return ne.default.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:return Pe=Ae.length>1&&Ae[1]!==void 0?Ae[1]:{type:"Archive"},Pe=Pe||{},Pe.subres=Object.assign({restore:""},Pe.subres),Pe.versionId&&(Pe.subres.versionId=Pe.versionId),we=this._objectRequestParams("POST",ye,Pe),Pe.type==="ColdArchive"&&(De={RestoreRequest:{Days:Pe.Days?Pe.Days:2,JobParameters:{Tier:Pe.JobParameters?Pe.JobParameters:"Standard"}}},we.content=fe(De,{headers:!0}),we.mime="xml"),we.successStatuses=[202],je.next=9,this.request(we);case 9:return xe=je.sent,je.abrupt("return",{res:xe.res});case 11:case"end":return je.stop()}},Se,this)}));function he(Se){return me.apply(this,arguments)}return he}(),ge._objectUrl=function(he){return this._getReqUrl({bucket:this.options.bucket,object:he})},ge._objectRequestParams=function(he,Se,ye){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");ye=ye||{},Se=this._objectName(Se);var Pe={object:Se,bucket:this.options.bucket,method:he,subres:ye&&ye.subres,timeout:ye&&ye.timeout,ctx:ye&&ye.ctx};return ye.headers&&(Pe.headers={},ue(ye.headers).to(Pe.headers)),Pe},ge._objectName=function(he){return he.replace(/^\/+/,"")},ge._convertMetaToHeaders=function(he,Se){he&&Object.keys(he).forEach(function(ye){Se["x-oss-meta-".concat(ye)]=he[ye]})},ge._deleteFileSafe=function(he){var Se=this;return new Promise(function(ye){ce.exists(he,function(Pe){Pe?ce.unlink(he,function(we){we&&Se.debug("unlink %j error: %s",he,we,"error"),ye()}):ye()})})}},{"../common/callback":24,"../common/image":27,"../common/object/asyncSignatureUrl":31,"../common/object/copyObject":32,"../common/object/delete":33,"../common/object/deleteMulti":34,"../common/object/deleteObjectTagging":35,"../common/object/generateObjectUrl":36,"../common/object/get":37,"../common/object/getACL":38,"../common/object/getBucketVersions":39,"../common/object/getObjectMeta":40,"../common/object/getObjectTagging":41,"../common/object/getObjectUrl":42,"../common/object/getSymlink":43,"../common/object/head":44,"../common/object/putACL":45,"../common/object/putObjectTagging":46,"../common/object/putSymlink":47,"../common/object/signatureUrl":48,"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"../common/utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,fs:89,"merge-descriptors":372,mime:374,path:378}],6:[function(E,pe,de){"use strict";de.version="6.18.1"},{}],7:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.abortBucketWorm=void 0;var ce=E("../utils/checkBucketName");function ue(oe,re){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.default)(ne.default.mark(function oe(re,z){var a,y;return ne.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return ce.checkBucketName(re),a=this._bucketRequestParams("DELETE",re,"worm",z),b.next=4,this.request(a);case 4:return y=b.sent,b.abrupt("return",{res:y.res,status:y.status});case 6:case"end":return b.stop()}},oe,this)})),ae.apply(this,arguments)}de.abortBucketWorm=ue},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.completeBucketWorm=void 0;var ce=E("../utils/checkBucketName");function ue(oe,re,z){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.default)(ne.default.mark(function oe(re,z,a){var y,x;return ne.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ce.checkBucketName(re),y=this._bucketRequestParams("POST",re,{wormId:z},a),ee.next=4,this.request(y);case 4:return x=ee.sent,ee.abrupt("return",{res:x.res,status:x.status});case 6:case"end":return ee.stop()}},oe,this)})),ae.apply(this,arguments)}de.completeBucketWorm=ue},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.deleteBucketInventory=void 0;var ce=E("../utils/checkBucketName");function ue(oe,re){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.default)(ne.default.mark(function oe(re,z){var a,y,x,b,ee=arguments;return ne.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return a=ee.length>2&&ee[2]!==void 0?ee[2]:{},y=Object.assign({inventory:"",inventoryId:z},a.subres),ce.checkBucketName(re),x=this._bucketRequestParams("DELETE",re,y,a),x.successStatuses=[204],le.next=7,this.request(x);case 7:return b=le.sent,le.abrupt("return",{status:b.status,res:b.res});case 9:case"end":return le.stop()}},oe,this)})),ae.apply(this,arguments)}de.deleteBucketInventory=ue},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],10:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),ue=ce.checkBucketName,ae=de;ae.deleteBucketLifecycle=function(){var oe=(0,ie.default)(ne.default.mark(function z(a,y){var x,b;return ne.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return ue(a),x=this._bucketRequestParams("DELETE",a,"lifecycle",y),x.successStatuses=[204],te.next=5,this.request(x);case 5:return b=te.sent,te.abrupt("return",{res:b.res});case 7:case"end":return te.stop()}},z,this)}));function re(z,a){return oe.apply(this,arguments)}return re}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),ue=ce.checkBucketName,ae=de;ae.deleteBucketWebsite=function(){var oe=(0,ie.default)(ne.default.mark(function z(a,y){var x,b;return ne.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return ue(a),x=this._bucketRequestParams("DELETE",a,"website",y),x.successStatuses=[204],te.next=5,this.request(x);case 5:return b=te.sent,te.abrupt("return",{res:b.res});case 7:case"end":return te.stop()}},z,this)}));function re(z,a){return oe.apply(this,arguments)}return re}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.extendBucketWorm=void 0;var ce=E("../utils/checkBucketName"),ue=E("../utils/obj2xml");function ae(re,z,a,y){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(ne.default.mark(function re(z,a,y,x){var b,ee,te;return ne.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return ce.checkBucketName(z),b=this._bucketRequestParams("POST",z,{wormExtend:"",wormId:a},x),ee={ExtendWormConfiguration:{RetentionPeriodInDays:y}},b.mime="xml",b.content=ue.obj2xml(ee,{headers:!0}),b.successStatuses=[200],fe.next=8,this.request(b);case 8:return te=fe.sent,fe.abrupt("return",{res:te.res,status:te.status});case 10:case"end":return fe.stop()}},re,this)})),oe.apply(this,arguments)}de.extendBucketWorm=ae},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.getBucketInventory=void 0;var ce=E("../utils/checkBucketName"),ue=E("../utils/formatInventoryConfig");function ae(re,z){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(ne.default.mark(function re(z,a){var y,x,b,ee,te=arguments;return ne.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return y=te.length>2&&te[2]!==void 0?te[2]:{},x=Object.assign({inventory:"",inventoryId:a},y.subres),ce.checkBucketName(z),b=this._bucketRequestParams("GET",z,x,y),b.successStatuses=[200],b.xmlResponse=!0,fe.next=8,this.request(b);case 8:return ee=fe.sent,fe.abrupt("return",{status:ee.status,res:ee.res,inventory:ue.formatInventoryConfig(ee.data)});case 10:case"end":return fe.stop()}},re,this)})),oe.apply(this,arguments)}de.getBucketInventory=ae},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],14:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.map.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),ue=ce.checkBucketName,ae=E("../utils/isArray"),oe=ae.isArray,re=E("../utils/formatObjKey"),z=re.formatObjKey,a=de;a.getBucketLifecycle=function(){var y=(0,ie.default)(ne.default.mark(function b(ee,te){var le,fe,ge;return ne.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return ue(ee),le=this._bucketRequestParams("GET",ee,"lifecycle",te),le.successStatuses=[200],le.xmlResponse=!0,he.next=6,this.request(le);case 6:return fe=he.sent,ge=fe.data.Rule||null,ge&&(oe(ge)||(ge=[ge]),ge=ge.map(function(Se){return Se.ID&&(Se.id=Se.ID,delete Se.ID),Se.Tag&&!oe(Se.Tag)&&(Se.Tag=[Se.Tag]),z(Se,"firstLowerCase")})),he.abrupt("return",{rules:ge,res:fe.res});case 10:case"end":return he.stop()}},b,this)}));function x(b,ee){return y.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/formatObjKey":61,"../utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280}],15:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),ue=ce.checkBucketName,ae=de;ae.getBucketVersioning=function(){var oe=(0,ie.default)(ne.default.mark(function z(a,y){var x,b,ee;return ne.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return ue(a),x=this._bucketRequestParams("GET",a,"versioning",y),x.xmlResponse=!0,x.successStatuses=[200],le.next=6,this.request(x);case 6:return b=le.sent,ee=b.data.Status,le.abrupt("return",{status:b.status,versionStatus:ee,res:b.res});case 9:case"end":return le.stop()}},z,this)}));function re(z,a){return oe.apply(this,arguments)}return re}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),ue=ce.checkBucketName,ae=E("../utils/isObject"),oe=ae.isObject,re=de;re.getBucketWebsite=function(){var z=(0,ie.default)(ne.default.mark(function y(x,b){var ee,te,le;return ne.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return ue(x),ee=this._bucketRequestParams("GET",x,"website",b),ee.successStatuses=[200],ee.xmlResponse=!0,ge.next=6,this.request(ee);case 6:return te=ge.sent,le=[],te.data.RoutingRules&&te.data.RoutingRules.RoutingRule&&(oe(te.data.RoutingRules.RoutingRule)?le=[te.data.RoutingRules.RoutingRule]:le=te.data.RoutingRules.RoutingRule),ge.abrupt("return",{index:te.data.IndexDocument&&te.data.IndexDocument.Suffix||"",supportSubDir:te.data.IndexDocument&&te.data.IndexDocument.SupportSubDir||"false",type:te.data.IndexDocument&&te.data.IndexDocument.Type,routingRules:le,error:te.data.ErrorDocument&&te.data.ErrorDocument.Key||null,res:te.res});case 10:case"end":return ge.stop()}},y,this)}));function a(y,x){return z.apply(this,arguments)}return a}()},{"../utils/checkBucketName":51,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],17:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.getBucketWorm=void 0;var ce=E("../utils/checkBucketName"),ue=E("../utils/dataFix");function ae(re,z){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(ne.default.mark(function re(z,a){var y,x;return ne.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return ce.checkBucketName(z),y=this._bucketRequestParams("GET",z,"worm",a),y.successStatuses=[200],y.xmlResponse=!0,ee.next=6,this.request(y);case 6:return x=ee.sent,ue.dataFix(x.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),ee.abrupt("return",Object.assign(Object.assign({},x.data),{res:x.res,status:x.status}));case 9:case"end":return ee.stop()}},re,this)})),oe.apply(this,arguments)}de.getBucketWorm=ae},{"../utils/checkBucketName":51,"../utils/dataFix":57,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],18:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.initiateBucketWorm=void 0;var ce=E("../utils/obj2xml"),ue=E("../utils/checkBucketName");function ae(re,z,a){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(ne.default.mark(function re(z,a,y){var x,b,ee;return ne.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return ue.checkBucketName(z),x=this._bucketRequestParams("POST",z,"worm",y),b={InitiateWormConfiguration:{RetentionPeriodInDays:a}},x.mime="xml",x.content=ce.obj2xml(b,{headers:!0}),x.successStatuses=[200],le.next=8,this.request(x);case 8:return ee=le.sent,le.abrupt("return",{res:ee.res,wormId:ee.res.headers["x-oss-worm-id"],status:ee.status});case 10:case"end":return le.stop()}},re,this)})),oe.apply(this,arguments)}de.initiateBucketWorm=ae},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.listBucketInventory=void 0;var ce=E("../utils/checkBucketName"),ue=E("../utils/formatInventoryConfig");function ae(re){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(ne.default.mark(function re(z){var a,y,x,b,ee,te,le,fe,ge=arguments;return ne.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return a=ge.length>1&&ge[1]!==void 0?ge[1]:{},y=a.continuationToken,x=Object.assign({inventory:""},y&&{"continuation-token":y},a.subres),ce.checkBucketName(z),b=this._bucketRequestParams("GET",z,x,a),b.successStatuses=[200],b.xmlResponse=!0,he.next=9,this.request(b);case 9:return ee=he.sent,te=ee.data,le=ee.res,fe=ee.status,he.abrupt("return",{isTruncated:te.IsTruncated==="true",nextContinuationToken:te.NextContinuationToken,inventoryList:ue.formatInventoryConfig(te.InventoryConfiguration,!0),status:fe,res:le});case 12:case"end":return he.stop()}},re,this)})),oe.apply(this,arguments)}de.listBucketInventory=ae},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],20:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.putBucketInventory=void 0;var ce=E("../utils/checkBucketName"),ue=E("../utils/obj2xml");function ae(re,z){return oe.apply(this,arguments)}function oe(){return oe=(0,ie.default)(ne.default.mark(function re(z,a){var y,x,b,ee,te,le,fe,ge,me,he,Se,ye=arguments;return ne.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return y=ye.length>2&&ye[2]!==void 0?ye[2]:{},x=Object.assign({inventory:"",inventoryId:a.id},y.subres),ce.checkBucketName(z),b=a.OSSBucketDestination,ee=a.optionalFields,te=a.includedObjectVersions,le="acs:oss:::",fe="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(fe).concat(b.rolename),Bucket:"".concat(le).concat(b.bucket),Prefix:b.prefix||"",Encryption:b.encryption||""}},Schedule:{Frequency:a.frequency},IncludedObjectVersions:te,OptionalFields:{Field:(ee==null?void 0:ee.field)||[]}}},me=ue.obj2xml(ge,{headers:!0,firstUpperCase:!0}),he=this._bucketRequestParams("PUT",z,x,y),he.successStatuses=[200],he.mime="xml",he.content=me,we.next=14,this.request(he);case 14:return Se=we.sent,we.abrupt("return",{status:Se.status,res:Se.res});case 16:case"end":return we.stop()}},re,this)})),oe.apply(this,arguments)}de.putBucketInventory=ae},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287}],21:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.array.includes.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),ue=ce.checkBucketName,ae=E("../utils/isArray"),oe=ae.isArray,re=E("../utils/deepCopy"),z=re.deepCopy,a=E("../utils/isObject"),y=a.isObject,x=E("../utils/obj2xml"),b=x.obj2xml,ee=E("../utils/checkObjectTag"),te=ee.checkObjectTag,le=E("../utils/getStrBytesCount"),fe=le.getStrBytesCount,ge=de;ge.putBucketLifecycle=function(){var Pe=(0,ie.default)(ne.default.mark(function De(xe,Ae,Ce){var je,Fe,Ge,Be,tt;return ne.default.wrap(function(Ve){for(;;)switch(Ve.prev=Ve.next){case 0:if(ue(xe),oe(Ae)){Ve.next=3;break}throw new Error("rules must be Array");case 3:return je=this._bucketRequestParams("PUT",xe,"lifecycle",Ce),Fe=[],Ge={LifecycleConfiguration:{Rule:Fe}},Ae.forEach(function(Xe){me(Xe),ye(Xe),Xe.id&&(Xe.ID=Xe.id,delete Xe.id),Fe.push(Xe)}),Be=b(Ge,{headers:!0,firstUpperCase:!0}),je.content=Be,je.mime="xml",je.successStatuses=[200],Ve.next=13,this.request(je);case 13:return tt=Ve.sent,Ve.abrupt("return",{res:tt.res});case 15:case"end":return Ve.stop()}},De,this)}));function we(De,xe,Ae){return Pe.apply(this,arguments)}return we}();function me(Pe){Pe.days&&(Pe.expiration={days:Pe.days}),Pe.date&&(Pe.expiration={createdBeforeDate:Pe.date})}function he(Pe,we){var De=Pe.days,xe=Pe.createdBeforeDate;if(!De&&!xe)throw new Error("".concat(we," must includes days or createdBeforeDate"));if(De&&!/^[1-9][0-9]*$/.test(De))throw new Error("days must be a positive integer");if(xe&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(xe))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function Se(Pe){if(!oe(Pe)&&!y(Pe))throw new Error("tag must be Object or Array");Pe=y(Pe)?[Pe]:Pe;var we={},De=z(Pe);De.forEach(function(xe){we[xe.key]=xe.value}),te(we)}function ye(Pe){if(Pe.id&&fe(Pe.id)>255)throw new Error("ID is composed of 255 bytes at most");if(Pe.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(Pe.status))throw new Error("Status must be Enabled or Disabled");if(Pe.transition){if(!["IA","Archive"].includes(Pe.transition.storageClass))throw new Error("StorageClass must be IA or Archive");he(Pe.transition,"Transition")}if(Pe.expiration){if(!Pe.expiration.expiredObjectDeleteMarker)he(Pe.expiration,"Expiration");else if(Pe.expiration.days||Pe.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(Pe.abortMultipartUpload&&he(Pe.abortMultipartUpload,"AbortMultipartUpload"),!Pe.expiration&&!Pe.abortMultipartUpload&&!Pe.transition&&!Pe.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(Pe.tag){if(Pe.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");Se(Pe.tag)}}},{"../utils/checkBucketName":51,"../utils/checkObjectTag":54,"../utils/deepCopy":58,"../utils/getStrBytesCount":62,"../utils/isArray":63,"../utils/isObject":70,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],22:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.includes.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),ue=ce.checkBucketName,ae=E("../utils/obj2xml"),oe=ae.obj2xml,re=de;re.putBucketVersioning=function(){var z=(0,ie.default)(ne.default.mark(function y(x,b){var ee,te,le,fe,ge=arguments;return ne.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:if(ee=ge.length>2&&ge[2]!==void 0?ge[2]:{},ue(x),["Enabled","Suspended"].includes(b)){he.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return te=this._bucketRequestParams("PUT",x,"versioning",ee),le={VersioningConfiguration:{Status:b}},te.mime="xml",te.content=oe(le,{headers:!0}),he.next=10,this.request(te);case 10:return fe=he.sent,he.abrupt("return",{res:fe.res,status:fe.status});case 12:case"end":return he.stop()}},y,this)}));function a(y,x){return z.apply(this,arguments)}return a}()},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.includes.js":277}],23:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),ue=ce.checkBucketName,ae=E("../utils/obj2xml"),oe=ae.obj2xml,re=E("../utils/isArray"),z=re.isArray,a=de;a.putBucketWebsite=function(){var y=(0,ie.default)(ne.default.mark(function b(ee){var te,le,fe,ge,me,he,Se,ye=arguments;return ne.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(te=ye.length>1&&ye[1]!==void 0?ye[1]:{},le=ye.length>2?ye[2]:void 0,ue(ee),fe=this._bucketRequestParams("PUT",ee,"website",le),ge={Suffix:te.index||"index.html"},me={IndexDocument:ge},he={WebsiteConfiguration:me},te.supportSubDir&&(ge.SupportSubDir=te.supportSubDir),te.type&&(ge.Type=te.type),te.error&&(me.ErrorDocument={Key:te.error}),te.routingRules===void 0){we.next=14;break}if(z(te.routingRules)){we.next=13;break}throw new Error("RoutingRules must be Array");case 13:me.RoutingRules={RoutingRule:te.routingRules};case 14:return he=oe(he),fe.content=he,fe.mime="xml",fe.successStatuses=[200],we.next=20,this.request(fe);case 20:return Se=we.sent,we.abrupt("return",{res:Se.res});case 22:case"end":return we.stop()}},b,this)}));function x(b){return y.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/isArray":63,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],24:[function(E,pe,de){(function(se){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),de.encodeCallback=function(ie,ce){if(ie.headers=ie.headers||{},!Object.prototype.hasOwnProperty.call(ie.headers,"x-oss-callback")&&ce.callback){var ue={callbackUrl:encodeURI(ce.callback.url),callbackBody:ce.callback.body};ce.callback.host&&(ue.callbackHost=ce.callback.host),ce.callback.contentType&&(ue.callbackBodyType=ce.callback.contentType);var ae=se.from(JSON.stringify(ue)).toString("base64");if(ie.headers["x-oss-callback"]=ae,ce.callback.customValue){var oe={};Object.keys(ce.callback.customValue).forEach(function(re){oe["x:".concat(re)]=ce.callback.customValue[re].toString()}),ie.headers["x-oss-callback-var"]=se.from(JSON.stringify(oe)).toString("base64")}}}}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/web.dom-collections.for-each.js":339}],25:[function(E,pe,de){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js");var se=function(z){return z&&z.__esModule?z:{default:z}};Object.defineProperty(de,"__esModule",{value:!0}),de.getReqUrl=void 0;var ne=se(E("copy-to")),ie=se(E("url")),ce=se(E("merge-descriptors")),ue=se(E("is-type-of")),ae=E("../utils/isIP"),oe=E("../utils/checkConfigValid");function re(z){var a={},y=this.options.cname;oe.checkConfigValid(this.options.endpoint,"endpoint"),ne.default(this.options.endpoint,!1).to(a),z.bucket&&!y&&!ae.isIP(a.hostname)&&!this.options.sldEnable&&(a.host="".concat(z.bucket,".").concat(a.host));var x="/";z.bucket&&this.options.sldEnable&&(x+="".concat(z.bucket,"/")),z.object&&(x+=this._escape(z.object).replace(/\+/g,"%2B")),a.pathname=x;var b={};if(z.query&&ce.default(b,z.query),z.subres){var ee={};ue.default.string(z.subres)?ee[z.subres]="":ue.default.array(z.subres)?z.subres.forEach(function(te){ee[te]=""}):ee=z.subres,ce.default(b,ee)}return a.query=b,ie.default.format(a)}de.getReqUrl=re},{"../utils/checkConfigValid":52,"../utils/isIP":69,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466,"merge-descriptors":372,url:472}],26:[function(E,pe,de){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.string.trim.js");var se=E("humanize-ms"),ne=E("url"),ie=E("../utils/checkBucketName"),ce=ie.checkBucketName,ue=E("../utils/setRegion"),ae=ue.setRegion,oe=E("../utils/checkConfigValid"),re=oe.checkConfigValid;function z(a,y){re(a,"endpoint");var x=ne.parse(a);if(x.protocol||(x=ne.parse("http".concat(y?"s":"","://").concat(a))),x.protocol!=="http:"&&x.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return x}pe.exports=function(a){if(!a||!a.accessKeyId||!a.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");a.stsToken&&!a.refreshSTSToken&&!a.refreshSTSTokenInterval&&console.warn("It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh stsToken\u3001accessKeyId\u3001accessKeySecret automatically when sts token has expired"),a.bucket&&ce(a.bucket);var y=Object.assign({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1,headerEncoding:"utf-8",refreshSTSToken:null,refreshSTSTokenInterval:6e4*5,retryMax:0},a);if(y.accessKeyId=y.accessKeyId.trim(),y.accessKeySecret=y.accessKeySecret.trim(),y.timeout&&(y.timeout=se(y.timeout)),y.endpoint)y.endpoint=z(y.endpoint,y.secure);else if(y.region)y.endpoint=ae(y.region,y.internal,y.secure);else throw new Error("require options.endpoint or options.region");return y.inited=!0,y}},{"../utils/checkBucketName":51,"../utils/checkConfigValid":52,"../utils/setRegion":75,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.trim.js":308,"humanize-ms":356,url:472}],27:[function(E,pe,de){"use strict";var se=E("merge-descriptors"),ne=de;se(ne,E("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkBucketName"),ue=ce.checkBucketName,ae=E("querystring"),oe=E("js-base64"),re=oe.Base64.encode,z=de;z.processObjectSave=function(){var y=(0,ie.default)(ne.default.mark(function b(ee,te,le,fe){var ge,me,he,Se;return ne.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return a(ee,"sourceObject"),a(te,"targetObject"),a(le,"process"),te=this._objectName(te),fe&&ue(fe),ge=this._objectRequestParams("POST",ee,{subres:"x-oss-process"}),me=fe?",b_".concat(re(fe)):"",te=re(te),he={"x-oss-process":"".concat(le,"|sys/saveas,o_").concat(te).concat(me)},ge.content=ae.stringify(he),Pe.next=12,this.request(ge);case 12:return Se=Pe.sent,Pe.abrupt("return",{res:Se.res,status:Se.res.status});case 14:case"end":return Pe.stop()}},b,this)}));function x(b,ee,te,le){return y.apply(this,arguments)}return x}();function a(y,x){if(!y)throw new Error("".concat(x," is required"));if(typeof y!="string")throw new Error("".concat(x," must be String"))}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"js-base64":371,querystring:385}],29:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.regexp.to-string.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("debug")("ali-oss:multipart-copy"),ue=E("copy-to"),ae=de;ae.uploadPartCopy=function(){var oe=(0,ie.default)(ne.default.mark(function z(a,y,x,b,ee){var te,le,fe,ge,me,he=arguments;return ne.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return te=he.length>5&&he[5]!==void 0?he[5]:{},te.headers=te.headers||{},le=te.versionId||te.subres&&te.subres.versionId||null,le?fe="/".concat(ee.sourceBucketName,"/").concat(encodeURIComponent(ee.sourceKey),"?versionId=").concat(le):fe="/".concat(ee.sourceBucketName,"/").concat(encodeURIComponent(ee.sourceKey)),te.headers["x-oss-copy-source"]=fe,b&&(te.headers["x-oss-copy-source-range"]="bytes=".concat(b)),te.subres={partNumber:x,uploadId:y},ge=this._objectRequestParams("PUT",a,te),ge.mime=te.mime,ge.successStatuses=[200],ye.next=12,this.request(ge);case 12:return me=ye.sent,ye.abrupt("return",{name:a,etag:me.res.headers.etag,res:me.res});case 14:case"end":return ye.stop()}},z,this)}));function re(z,a,y,x,b){return oe.apply(this,arguments)}return re}(),ae.multipartUploadCopy=function(){var oe=(0,ie.default)(ne.default.mark(function z(a,y){var x,b,ee,te,le,fe,ge,me,he,Se,ye,Pe,we=arguments;return ne.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:return x=we.length>2&&we[2]!==void 0?we[2]:{},this.resetCancelFlag(),b=x.versionId,ee=b===void 0?null:b,te={versionId:ee},xe.next=6,this._getObjectMeta(y.sourceBucketName,y.sourceKey,te);case 6:if(le=xe.sent,fe=le.res.headers["content-length"],y.startOffset=y.startOffset||0,y.endOffset=y.endOffset||fe,!(x.checkpoint&&x.checkpoint.uploadId)){xe.next=14;break}return xe.next=13,this._resumeMultipartCopy(x.checkpoint,y,x);case 13:return xe.abrupt("return",xe.sent);case 14:if(ge=102400,me=y.endOffset-y.startOffset,!(me<ge)){xe.next=18;break}throw new Error("copySize must not be smaller than ".concat(ge));case 18:if(!(x.partSize&&x.partSize<ge)){xe.next=20;break}throw new Error("partSize must not be smaller than ".concat(ge));case 20:return xe.next=22,this.initMultipartUpload(a,x);case 22:if(he=xe.sent,Se=he.uploadId,ye=this._getPartSize(me,x.partSize),Pe={name:a,copySize:me,partSize:ye,uploadId:Se,doneParts:[]},!(x&&x.progress)){xe.next=29;break}return xe.next=29,x.progress(0,Pe,he.res);case 29:return xe.next=31,this._resumeMultipartCopy(Pe,y,x);case 31:return xe.abrupt("return",xe.sent);case 32:case"end":return xe.stop()}},z,this)}));function re(z,a){return oe.apply(this,arguments)}return re}(),ae._resumeMultipartCopy=function(){var oe=(0,ie.default)(ne.default.mark(function z(a,y,x){var b,ee,te,le,fe,ge,me,he,Se,ye,Pe,we,De,xe,Ae,Ce,je,Fe,Ge,Be,tt;return ne.default.wrap(function(Ve){for(;;)switch(Ve.prev=Ve.next){case 0:if(!this.isCancel()){Ve.next=2;break}throw this._makeCancelEvent();case 2:if(b=x.versionId,ee=b===void 0?null:b,te={versionId:ee},le=a.copySize,fe=a.partSize,ge=a.uploadId,me=a.doneParts,he=a.name,Se=this._divideMultipartCopyParts(le,fe,y.startOffset),ye=Se.length,Pe={headers:{}},x.copyheaders&&ue(x.copyheaders).to(Pe.headers),ee&&ue(te).to(Pe),we=function(Ze,ke,ze){return new Promise(function(){var et=(0,ie.default)(ne.default.mark(function Je(ut,Qe){var Ue,Re,$e;return ne.default.wrap(function(Ne){for(;;)switch(Ne.prev=Ne.next){case 0:if(Ne.prev=0,Ze.isCancel()){Ne.next=22;break}return Ue=Se[ke-1],Re="".concat(Ue.start,"-").concat(Ue.end-1),Ne.prev=4,Ne.next=7,Ze.uploadPartCopy(he,ge,ke,Re,ze,Pe);case 7:$e=Ne.sent,Ne.next=15;break;case 10:if(Ne.prev=10,Ne.t0=Ne.catch(4),Ne.t0.status!==404){Ne.next=14;break}throw Ze._makeAbortEvent();case 14:throw Ne.t0;case 15:if(Ze.isCancel()){Ne.next=22;break}if(ce("content-range ".concat($e.res.headers["content-range"])),me.push({number:ke,etag:$e.res.headers.etag}),a.doneParts=me,!(x&&x.progress)){Ne.next=22;break}return Ne.next=22,x.progress(me.length/ye,a,$e.res);case 22:ut(),Ne.next=29;break;case 25:Ne.prev=25,Ne.t1=Ne.catch(0),Ne.t1.partNum=ke,Qe(Ne.t1);case 29:case"end":return Ne.stop()}},Je,null,[[0,25],[4,10]])}));return function(Je,ut){return et.apply(this,arguments)}}())},De=Array.from(new Array(ye),function(Xe,Ze){return Ze+1}),xe=me.map(function(Xe){return Xe.number}),Ae=De.filter(function(Xe){return xe.indexOf(Xe)<0}),Ce=5,je=x.parallel||Ce,!(this.checkBrowserAndVersion("Internet Explorer","10")||je===1)){Ve.next=28;break}Fe=0;case 18:if(!(Fe<Ae.length)){Ve.next=26;break}if(!this.isCancel()){Ve.next=21;break}throw this._makeCancelEvent();case 21:return Ve.next=23,we(this,Ae[Fe],y);case 23:Fe++,Ve.next=18;break;case 26:Ve.next=40;break;case 28:return Ve.next=30,this._parallelNode(Ae,je,we,y);case 30:if(Ge=Ve.sent,Be=Ge.find(function(Xe){return Xe.name==="abort"}),!Be){Ve.next=34;break}throw Be;case 34:if(!this.isCancel()){Ve.next=36;break}throw this._makeCancelEvent();case 36:if(!(Ge&&Ge.length>0)){Ve.next=40;break}throw tt=Ge[0],tt.message="Failed to copy some parts with error: ".concat(tt.toString()," part_num: ").concat(tt.partNum),tt;case 40:return Ve.next=42,this.completeMultipartUpload(he,ge,me,x);case 42:return Ve.abrupt("return",Ve.sent);case 43:case"end":return Ve.stop()}},z,this)}));function re(z,a,y){return oe.apply(this,arguments)}return re}(),ae._divideMultipartCopyParts=function(re,z,a){for(var y=Math.ceil(re/z),x=[],b=0;b<y;b++){var ee=z*b+a,te=Math.min(ee+z,re+a);x.push({start:ee,end:te})}return x},ae._getObjectMeta=function(){var oe=(0,ie.default)(ne.default.mark(function z(a,y,x){var b,ee;return ne.default.wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return b=this.getBucket(),this.setBucket(a),le.next=4,this.head(y,x);case 4:return ee=le.sent,this.setBucket(b),le.abrupt("return",ee);case 7:case"end":return le.stop()}},z,this)}));function re(z,a,y){return oe.apply(this,arguments)}return re}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.iterator.js":303,debug:465}],30:[function(E,pe,de){(function(se){(function(){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ie=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.array.sort.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js");var ce=ne(E("@babel/runtime/helpers/asyncToGenerator")),ue=E("copy-to"),ae=E("./callback"),oe=E("./utils/deepCopy"),re=oe.deepCopyWith,z=E("./utils/isBuffer"),a=z.isBuffer,y=E("./utils/omit"),x=y.omit,b=de;b.listUploads=function(){var ee=(0,ce.default)(ie.default.mark(function le(fe,ge){var me,he,Se,ye;return ie.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return ge=ge||{},me={},ue(ge).to(me),me.subres="uploads",he=this._objectRequestParams("GET","",me),he.query=fe,he.xmlResponse=!0,he.successStatuses=[200],we.next=10,this.request(he);case 10:return Se=we.sent,ye=Se.data.Upload||[],Array.isArray(ye)||(ye=[ye]),ye=ye.map(function(De){return{name:De.Key,uploadId:De.UploadId,initiated:De.Initiated}}),we.abrupt("return",{res:Se.res,uploads:ye,bucket:Se.data.Bucket,nextKeyMarker:Se.data.NextKeyMarker,nextUploadIdMarker:Se.data.NextUploadIdMarker,isTruncated:Se.data.IsTruncated==="true"});case 15:case"end":return we.stop()}},le,this)}));function te(le,fe){return ee.apply(this,arguments)}return te}(),b.listParts=function(){var ee=(0,ce.default)(ie.default.mark(function le(fe,ge,me,he){var Se,ye,Pe;return ie.default.wrap(function(De){for(;;)switch(De.prev=De.next){case 0:return he=he||{},Se={},ue(he).to(Se),Se.subres={uploadId:ge},ye=this._objectRequestParams("GET",fe,Se),ye.query=me,ye.xmlResponse=!0,ye.successStatuses=[200],De.next=10,this.request(ye);case 10:return Pe=De.sent,De.abrupt("return",{res:Pe.res,uploadId:Pe.data.UploadId,bucket:Pe.data.Bucket,name:Pe.data.Key,partNumberMarker:Pe.data.PartNumberMarker,nextPartNumberMarker:Pe.data.NextPartNumberMarker,maxParts:Pe.data.MaxParts,isTruncated:Pe.data.IsTruncated,parts:Pe.data.Part||[]});case 12:case"end":return De.stop()}},le,this)}));function te(le,fe,ge,me){return ee.apply(this,arguments)}return te}(),b.abortMultipartUpload=function(){var ee=(0,ce.default)(ie.default.mark(function le(fe,ge,me){var he,Se,ye;return ie.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return this._stop(),me=me||{},he={},ue(me).to(he),he.subres={uploadId:ge},Se=this._objectRequestParams("DELETE",fe,he),Se.successStatuses=[204],we.next=9,this.request(Se);case 9:return ye=we.sent,we.abrupt("return",{res:ye.res});case 11:case"end":return we.stop()}},le,this)}));function te(le,fe,ge){return ee.apply(this,arguments)}return te}(),b.initMultipartUpload=function(){var ee=(0,ce.default)(ie.default.mark(function le(fe,ge){var me,he,Se;return ie.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return ge=ge||{},me={},ue(ge).to(me),me.headers=me.headers||{},this._convertMetaToHeaders(ge.meta,me.headers),me.subres="uploads",he=this._objectRequestParams("POST",fe,me),he.mime=ge.mime,he.xmlResponse=!0,he.successStatuses=[200],Pe.next=12,this.request(he);case 12:return Se=Pe.sent,Pe.abrupt("return",{res:Se.res,bucket:Se.data.Bucket,name:Se.data.Key,uploadId:Se.data.UploadId});case 14:case"end":return Pe.stop()}},le,this)}));function te(le,fe){return ee.apply(this,arguments)}return te}(),b.uploadPart=function(){var ee=(0,ce.default)(ie.default.mark(function le(fe,ge,me,he,Se,ye,Pe){var we,De;return ie.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:if(we={size:ye-Se},De=se&&se.browser,!De){Ae.next=8;break}return Ae.next=5,this._createBuffer(he,Se,ye);case 5:we.content=Ae.sent,Ae.next=11;break;case 8:return Ae.next=10,this._createStream(he,Se,ye);case 10:we.stream=Ae.sent;case 11:return Ae.next=13,this._uploadPart(fe,ge,me,we,Pe);case 13:return Ae.abrupt("return",Ae.sent);case 14:case"end":return Ae.stop()}},le,this)}));function te(le,fe,ge,me,he,Se,ye){return ee.apply(this,arguments)}return te}(),b.completeMultipartUpload=function(){var ee=(0,ce.default)(ie.default.mark(function le(fe,ge,me,he){var Se,ye,Pe,we,De,xe,Ae,Ce;return ie.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:for(Se=me.concat().sort(function(Ge,Be){return Ge.number-Be.number}).filter(function(Ge,Be,tt){return!Be||Ge.number!==tt[Be-1].number}),ye=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<CompleteMultipartUpload>
|
|
|
`,Pe=0;Pe<Se.length;Pe++)we=Se[Pe],ye+=`<Part>
|
|
|
`,ye+="<PartNumber>".concat(we.number,`</PartNumber>
|
|
|
`),ye+="<ETag>".concat(we.etag,`</ETag>
|
|
|
`),ye+=`</Part>
|
|
|
`;return ye+="</CompleteMultipartUpload>",he=he||{},De={},De=re(he,function(Ge){if(a(Ge))return null}),De.subres={uploadId:ge},De.headers=x(De.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),xe=this._objectRequestParams("POST",fe,De),ae.encodeCallback(xe,De),xe.mime="xml",xe.content=ye,xe.headers&&xe.headers["x-oss-callback"]||(xe.xmlResponse=!0),xe.successStatuses=[200],Fe.next=17,this.request(xe);case 17:if(Ae=Fe.sent,!he.progress){Fe.next=21;break}return Fe.next=21,he.progress(1,null,Ae.res);case 21:return Ce={res:Ae.res,bucket:xe.bucket,name:fe,etag:Ae.res.headers.etag},xe.headers&&xe.headers["x-oss-callback"]&&(Ce.data=JSON.parse(Ae.data.toString())),Fe.abrupt("return",Ce);case 24:case"end":return Fe.stop()}},le,this)}));function te(le,fe,ge,me){return ee.apply(this,arguments)}return te}(),b._uploadPart=function(){var ee=(0,ce.default)(ie.default.mark(function le(fe,ge,me,he,Se){var ye,Pe,we,De;return ie.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return Se=Se||{},ye={},ue(Se).to(ye),ye.headers=ye.headers||{},ye.headers["Content-Length"]=he.size,ye.headers=x(ye.headers,["x-oss-server-side-encryption"]),ye.subres={partNumber:me,uploadId:ge},Pe=this._objectRequestParams("PUT",fe,ye),Pe.mime=ye.mime,we=se&&se.browser,we?Pe.content=he.content:Pe.stream=he.stream,Pe.successStatuses=[200],Pe.disabledMD5=Se.disabledMD5,Ae.next=15,this.request(Pe);case 15:if(De=Ae.sent,De.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 he.stream&&(he.stream=null,Pe.stream=null),Ae.abrupt("return",{name:fe,etag:De.res.headers.etag,res:De.res});case 20:case"end":return Ae.stop()}},le,this)}));function te(le,fe,ge,me,he){return ee.apply(this,arguments)}return te}()}).call(this)}).call(this,E("_process"))},{"./callback":24,"./utils/deepCopy":58,"./utils/isBuffer":65,"./utils/omit":73,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.filter.js":274,"core-js/modules/es.array.map.js":280,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],31:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator")),ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("url"),ue=E("utility"),ae=E("copy-to"),oe=E("../../common/signUtils"),re=E("../utils/isIP"),z=re.isIP,a=E("../utils/setSTSToken"),y=a.setSTSToken,x=E("../utils/isFunction"),b=x.isFunction,ee=de;ee.asyncSignatureUrl=function(){var te=(0,ie.default)(ne.default.mark(function fe(ge,me){var he,Se,ye,Pe,we;return ne.default.wrap(function(xe){for(;;)switch(xe.prev=xe.next){case 0:if(!z(this.options.endpoint.hostname)){xe.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(me=me||{},ge=this._objectName(ge),me.method=me.method||"GET",he=ue.timestamp()+(me.expires||1800),Se={bucket:this.options.bucket,object:ge},ye=this._getResource(Se),!(this.options.stsToken&&b(this.options.refreshSTSToken))){xe.next=11;break}return xe.next=11,y.call(this);case 11:return this.options.stsToken&&(me["security-token"]=this.options.stsToken),Pe=oe._signatureForURL(this.options.accessKeySecret,me,ye,he),we=ce.parse(this._getReqUrl(Se)),we.query={OSSAccessKeyId:this.options.accessKeyId,Expires:he,Signature:Pe.Signature},ae(Pe.subResource).to(we.query),xe.abrupt("return",we.format());case 17:case"end":return xe.stop()}},fe,this)}));function le(fe,ge){return te.apply(this,arguments)}return le}()},{"../../common/signUtils":50,"../utils/isFunction":68,"../utils/isIP":69,"../utils/setSTSToken":76,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,url:472,utility:474}],32:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js");var ie=se(E("@babel/runtime/helpers/typeof")),ce=se(E("@babel/runtime/helpers/asyncToGenerator")),ue=E("../utils/checkBucketName"),ae=ue.checkBucketName,oe=de,re=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];oe.copy=function(){var z=(0,ce.default)(ne.default.mark(function y(x,b,ee,te){var le,fe,ge;return ne.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return(0,ie.default)(ee)==="object"&&(te=ee),te=te||{},te.headers=te.headers||{},Object.keys(te.headers).forEach(function(Se){te.headers["x-oss-copy-source-".concat(Se.toLowerCase())]=te.headers[Se]}),(te.meta||Object.keys(te.headers).find(function(Se){return re.includes(Se.toLowerCase())}))&&(te.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(te.meta,te.headers),b=this._getSourceName(b,ee),te.versionId&&(b="".concat(b,"?versionId=").concat(te.versionId)),te.headers["x-oss-copy-source"]=b,le=this._objectRequestParams("PUT",x,te),le.xmlResponse=!0,le.successStatuses=[200,304],he.next=14,this.request(le);case 14:return fe=he.sent,ge=fe.data,ge&&(ge={etag:ge.ETag,lastModified:ge.LastModified}),he.abrupt("return",{data:ge,res:fe.res});case 18:case"end":return he.stop()}},y,this)}));function a(y,x,b,ee){return z.apply(this,arguments)}return a}(),oe._getSourceName=function(a,y){return typeof y=="string"?a=this._objectName(a):a[0]!=="/"?y=this.options.bucket:(y=a.replace(/\/(.+?)(\/.*)/,"$1"),a=a.replace(/(\/.+?\/)(.*)/,"$2")),ae(y),a=encodeURIComponent(a),a="/".concat(y,"/").concat(a),a}},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.find.js":275,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],33:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=de;ce.delete=function(){var ue=(0,ie.default)(ne.default.mark(function oe(re){var z,a,y,x=arguments;return ne.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return z=x.length>1&&x[1]!==void 0?x[1]:{},z.subres=Object.assign({},z.subres),z.versionId&&(z.subres.versionId=z.versionId),a=this._objectRequestParams("DELETE",re,z),a.successStatuses=[204],ee.next=7,this.request(a);case 7:return y=ee.sent,ee.abrupt("return",{res:y.res});case 9:case"end":return ee.stop()}},oe,this)}));function ae(oe){return ue.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],34:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("utility"),ue=E("../utils/obj2xml"),ae=ue.obj2xml,oe=de;oe.deleteMulti=function(){var re=(0,ie.default)(ne.default.mark(function a(y){var x,b,ee,te,le,fe,ge,me,he,Se,ye,Pe,we,De=arguments;return ne.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:if(x=De.length>1&&De[1]!==void 0?De[1]:{},b=[],!(!y||!y.length)){Ae.next=4;break}throw new Error("names is required");case 4:for(ee=0;ee<y.length;ee++)te={},typeof y[ee]=="string"?te.Key=ce.escape(this._objectName(y[ee])):(le=y[ee],fe=le.key,ge=le.versionId,te.Key=ce.escape(this._objectName(fe)),te.VersionId=ge),b.push(te);return me={Delete:{Quiet:!!x.quiet,Object:b}},he=ae(me,{headers:!0}),x.subres=Object.assign({delete:""},x.subres),x.versionId&&(x.subres.versionId=x.versionId),Se=this._objectRequestParams("POST","",x),Se.mime="xml",Se.content=he,Se.xmlResponse=!0,Se.successStatuses=[200],Ae.next=16,this.request(Se);case 16:return ye=Ae.sent,Pe=ye.data,we=Pe&&Pe.Deleted||null,we&&(Array.isArray(we)||(we=[we])),Ae.abrupt("return",{res:ye.res,deleted:we||[]});case 21:case"end":return Ae.stop()}},a,this)}));function z(a){return re.apply(this,arguments)}return z}()},{"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,utility:474}],35:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=de;ce.deleteObjectTagging=function(){var ue=(0,ie.default)(ne.default.mark(function oe(re){var z,a,y,x=arguments;return ne.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return z=x.length>1&&x[1]!==void 0?x[1]:{},z.subres=Object.assign({tagging:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),re=this._objectName(re),a=this._objectRequestParams("DELETE",re,z),a.successStatuses=[204],ee.next=8,this.request(a);case 8:return y=ee.sent,ee.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return ee.stop()}},oe,this)}));function ae(oe){return ue.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],36:[function(E,pe,de){"use strict";E("core-js/modules/es.array.concat.js");var se=E("url"),ne=E("../utils/isIP"),ie=ne.isIP,ce=de;ce.generateObjectUrl=function(ae,oe){if(ie(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(oe)oe[oe.length-1]!=="/"&&(oe+="/");else{oe=this.options.endpoint.format();var re=se.parse(oe),z=this.options.bucket;re.hostname="".concat(z,".").concat(re.hostname),re.host="".concat(z,".").concat(re.host),oe=re.format()}return oe+this._escape(this._objectName(ae))}},{"../utils/isIP":69,"core-js/modules/es.array.concat.js":272,url:472}],37:[function(E,pe,de){(function(se){(function(){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ie=ne(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ce=ne(E("@babel/runtime/helpers/asyncToGenerator")),ue=E("fs"),ae=E("is-type-of"),oe=de;oe.get=function(){var re=(0,ce.default)(ie.default.mark(function a(y,x){var b,ee,te,le,fe,ge,me,he,Se=arguments;return ie.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return b=Se.length>2&&Se[2]!==void 0?Se[2]:{},ee=null,te=!1,ae.writableStream(x)?ee=x:ae.string(x)?(ee=ue.createWriteStream(x),te=!0):b=x,b=b||{},le=se&&se.browser,fe=b.responseCacheControl===null?"":"no-cache",ge=le&&fe?{"response-cache-control":fe}:{},b.subres=Object.assign(ge,b.subres),b.versionId&&(b.subres.versionId=b.versionId),b.process&&(b.subres["x-oss-process"]=b.process),Pe.prev=11,he=this._objectRequestParams("GET",y,b),he.writeStream=ee,he.successStatuses=[200,206,304],Pe.next=17,this.request(he);case 17:me=Pe.sent,te&&ee.destroy(),Pe.next=28;break;case 21:if(Pe.prev=21,Pe.t0=Pe.catch(11),!te){Pe.next=27;break}return ee.destroy(),Pe.next=27,this._deleteFileSafe(x);case 27:throw Pe.t0;case 28:return Pe.abrupt("return",{res:me.res,content:me.data});case 29:case"end":return Pe.stop()}},a,this,[[11,21]])}));function z(a,y){return re.apply(this,arguments)}return z}()}).call(this)}).call(this,E("_process"))},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,_process:467,"core-js/modules/es.object.assign.js":287,fs:89,"is-type-of":466}],38:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=de;ce.getACL=function(){var ue=(0,ie.default)(ne.default.mark(function oe(re){var z,a,y,x=arguments;return ne.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return z=x.length>1&&x[1]!==void 0?x[1]:{},z.subres=Object.assign({acl:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),re=this._objectName(re),a=this._objectRequestParams("GET",re,z),a.successStatuses=[200],a.xmlResponse=!0,ee.next=9,this.request(a);case 9:return y=ee.sent,ee.abrupt("return",{acl:y.data.AccessControlList.Grant,owner:{id:y.data.Owner.ID,displayName:y.data.Owner.DisplayName},res:y.res});case 11:case"end":return ee.stop()}},oe,this)}));function ae(oe){return ue.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],39:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.number.constructor.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=de,ue=E("../utils/isObject"),ae=ue.isObject,oe=E("../utils/isArray"),re=oe.isArray;ce.getBucketVersions=z,ce.listObjectVersions=z;function z(){return a.apply(this,arguments)}function a(){return a=(0,ie.default)(ne.default.mark(function b(){var ee,te,le,fe,ge,me,he,Se,ye=arguments;return ne.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(ee=ye.length>0&&ye[0]!==void 0?ye[0]:{},te=ye.length>1&&ye[1]!==void 0?ye[1]:{},!(ee.versionIdMarker&&ee.keyMarker===void 0)){we.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return te.subres=Object.assign({versions:""},te.subres),te.versionId&&(te.subres.versionId=te.versionId),le=this._objectRequestParams("GET","",te),le.xmlResponse=!0,le.successStatuses=[200],le.query=x(ee),we.next=12,this.request(le);case 12:return fe=we.sent,ge=fe.data.Version||[],me=fe.data.DeleteMarker||[],he=this,ge&&(Array.isArray(ge)||(ge=[ge]),ge=ge.map(function(De){return{name:De.Key,url:he._objectUrl(De.Key),lastModified:De.LastModified,isLatest:De.IsLatest==="true",versionId:De.VersionId,etag:De.ETag,type:De.Type,size:Number(De.Size),storageClass:De.StorageClass,owner:{id:De.Owner.ID,displayName:De.Owner.DisplayName}}})),me&&(re(me)||(me=[me]),me=me.map(function(De){return{name:De.Key,lastModified:De.LastModified,versionId:De.VersionId,owner:{id:De.Owner.ID,displayName:De.Owner.DisplayName}}})),Se=fe.data.CommonPrefixes||null,Se&&(re(Se)||(Se=[Se]),Se=Se.map(function(De){return De.Prefix})),we.abrupt("return",{res:fe.res,objects:ge,deleteMarker:me,prefixes:Se,nextMarker:fe.data.NextKeyMarker||null,NextVersionIdMarker:fe.data.NextVersionIdMarker||null,nextKeyMarker:fe.data.NextKeyMarker||null,nextVersionIdMarker:fe.data.NextVersionIdMarker||null,isTruncated:fe.data.IsTruncated==="true"});case 21:case"end":return we.stop()}},b,this)})),a.apply(this,arguments)}function y(b){return b.replace(/([A-Z])/g,"-$1").toLowerCase()}function x(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ee={};return ae(b)&&Object.keys(b).forEach(function(te){ee[y(te)]=b[te]}),ee}},{"../utils/isArray":63,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],40:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=de;ce.getObjectMeta=function(){var ue=(0,ie.default)(ne.default.mark(function oe(re,z){var a,y;return ne.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return z=z||{},re=this._objectName(re),z.subres=Object.assign({objectMeta:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),a=this._objectRequestParams("HEAD",re,z),a.successStatuses=[200],b.next=8,this.request(a);case 8:return y=b.sent,b.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return b.stop()}},oe,this)}));function ae(oe,re){return ue.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],41:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=de,ue=E("../utils/isObject"),ae=ue.isObject;ce.getObjectTagging=function(){var oe=(0,ie.default)(ne.default.mark(function z(a){var y,x,b,ee,te,le,fe=arguments;return ne.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return y=fe.length>1&&fe[1]!==void 0?fe[1]:{},y.subres=Object.assign({tagging:""},y.subres),y.versionId&&(y.subres.versionId=y.versionId),a=this._objectName(a),x=this._objectRequestParams("GET",a,y),x.successStatuses=[200],me.next=8,this.request(x);case 8:return b=me.sent,me.next=11,this.parseXML(b.data);case 11:return ee=me.sent,te=ee.TagSet.Tag,te=te&&ae(te)?[te]:te||[],le={},te.forEach(function(he){le[he.Key]=he.Value}),me.abrupt("return",{status:b.status,res:b.res,tag:le});case 17:case"end":return me.stop()}},z,this)}));function re(z){return oe.apply(this,arguments)}return re}()},{"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],42:[function(E,pe,de){"use strict";var se=E("../utils/isIP"),ne=se.isIP,ie=de;ie.getObjectUrl=function(ue,ae){if(ne(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return ae?ae[ae.length-1]!=="/"&&(ae+="/"):ae=this.options.endpoint.format(),ae+this._escape(this._objectName(ue))}},{"../utils/isIP":69}],43:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=de;ce.getSymlink=function(){var ue=(0,ie.default)(ne.default.mark(function oe(re){var z,a,y,x,b=arguments;return ne.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return z=b.length>1&&b[1]!==void 0?b[1]:{},z.subres=Object.assign({symlink:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),re=this._objectName(re),a=this._objectRequestParams("GET",re,z),a.successStatuses=[200],te.next=8,this.request(a);case 8:return y=te.sent,x=y.res.headers["x-oss-symlink-target"],te.abrupt("return",{targetName:decodeURIComponent(x),res:y.res});case 11:case"end":return te.stop()}},oe,this)}));function ae(oe){return ue.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],44:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/checkEnv"),ue=ce.checkEnv,ae=de;ae.head=function(){var oe=(0,ie.default)(ne.default.mark(function z(a){var y,x,b,ee,te=arguments;return ne.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return y=te.length>1&&te[1]!==void 0?te[1]:{},ue("Because HeadObject has gzip enabled, head cannot get the file size correctly. If you need to get the file size, please use getObjectMeta"),y.subres=Object.assign({},y.subres),y.versionId&&(y.subres.versionId=y.versionId),x=this._objectRequestParams("HEAD",a,y),x.successStatuses=[200,304],fe.next=8,this.request(x);case 8:return b=fe.sent,ee={meta:null,res:b.res,status:b.status},b.status===200&&Object.keys(b.headers).forEach(function(ge){ge.indexOf("x-oss-meta-")===0&&(ee.meta||(ee.meta={}),ee.meta[ge.substring(11)]=b.headers[ge])}),fe.abrupt("return",ee);case 12:case"end":return fe.stop()}},z,this)}));function re(z){return oe.apply(this,arguments)}return re}()},{"../utils/checkEnv":53,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],45:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=de;ce.putACL=function(){var ue=(0,ie.default)(ne.default.mark(function oe(re,z,a){var y,x;return ne.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return a=a||{},a.subres=Object.assign({acl:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.headers=a.headers||{},a.headers["x-oss-object-acl"]=z,re=this._objectName(re),y=this._objectRequestParams("PUT",re,a),y.successStatuses=[200],ee.next=10,this.request(y);case 10:return x=ee.sent,ee.abrupt("return",{res:x.res});case 12:case"end":return ee.stop()}},oe,this)}));function ae(oe,re,z){return ue.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],46:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.object.keys.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("../utils/obj2xml"),ue=ce.obj2xml,ae=E("../utils/checkObjectTag"),oe=ae.checkObjectTag,re=de;re.putObjectTagging=function(){var z=(0,ie.default)(ne.default.mark(function y(x,b){var ee,te,le,fe,ge=arguments;return ne.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return ee=ge.length>2&&ge[2]!==void 0?ge[2]:{},oe(b),ee.subres=Object.assign({tagging:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),x=this._objectName(x),te=this._objectRequestParams("PUT",x,ee),te.successStatuses=[200],b=Object.keys(b).map(function(Se){return{Key:Se,Value:b[Se]}}),le={Tagging:{TagSet:{Tag:b}}},te.mime="xml",te.content=ue(le),he.next=13,this.request(te);case 13:return fe=he.sent,he.abrupt("return",{res:fe.res,status:fe.status});case 15:case"end":return he.stop()}},y,this)}));function a(y,x){return z.apply(this,arguments)}return a}()},{"../utils/checkObjectTag":54,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290}],47:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=de;ce.putSymlink=function(){var ue=(0,ie.default)(ne.default.mark(function oe(re,z,a){var y,x;return ne.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return a=a||{},a.headers=a.headers||{},z=this._escape(this._objectName(z)),this._convertMetaToHeaders(a.meta,a.headers),a.headers["x-oss-symlink-target"]=z,a.subres=Object.assign({symlink:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.storageClass&&(a.headers["x-oss-storage-class"]=a.storageClass),re=this._objectName(re),y=this._objectRequestParams("PUT",re,a),y.successStatuses=[200],ee.next=13,this.request(y);case 13:return x=ee.sent,ee.abrupt("return",{res:x.res});case 15:case"end":return ee.stop()}},oe,this)}));function ae(oe,re,z){return ue.apply(this,arguments)}return ae}()},{"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],48:[function(E,pe,de){"use strict";var se=E("url"),ne=E("utility"),ie=E("copy-to"),ce=E("../../common/signUtils"),ue=E("../utils/isIP"),ae=ue.isIP,oe=de;oe.signatureUrl=function(z,a){if(ae(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");a=a||{},z=this._objectName(z),a.method=a.method||"GET";var y=ne.timestamp()+(a.expires||1800),x={bucket:this.options.bucket,object:z},b=this._getResource(x);this.options.stsToken&&(a["security-token"]=this.options.stsToken);var ee=ce._signatureForURL(this.options.accessKeySecret,a,b,y),te=se.parse(this._getReqUrl(x));return te.query={OSSAccessKeyId:this.options.accessKeyId,Expires:y,Signature:ee.Signature},ie(ee.subResource).to(te.query),te.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/web.dom-collections.iterator.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.function.name.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator")),ce=E("./utils/isArray"),ue=ce.isArray,ae=de;ae._parallelNode=function(){var oe=(0,ie.default)(ne.default.mark(function z(a,y,x,b){var ee,te,le,fe,ge,me,he,Se;return ne.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:ee=this,te=[],le=[],fe=a.length/y,ge=a.length%y,me=ge===0?fe:(a.length-ge)/y+1,he=1,Se=0;case 8:if(!(Se<a.length)){Pe.next=26;break}if(!ee.isCancel()){Pe.next=11;break}return Pe.abrupt("break",26);case 11:if(b?le.push(x(ee,a[Se],b)):le.push(x(ee,a[Se])),!(le.length===y||he===me&&Se===a.length-1)){Pe.next=23;break}return Pe.prev=13,he+=1,Pe.next=17,Promise.all(le);case 17:Pe.next=22;break;case 19:Pe.prev=19,Pe.t0=Pe.catch(13),te.push(Pe.t0);case 22:le=[];case 23:Se++,Pe.next=8;break;case 26:return Pe.abrupt("return",te);case 27:case"end":return Pe.stop()}},z,this,[[13,19]])}));function re(z,a,y,x){return oe.apply(this,arguments)}return re}(),ae._parallel=function(re,z,a){var y=this;return new Promise(function(x){var b=[];if(z<=0||!re){x(b);return}function ee(Pe){return function(){if(Pe===null)throw new Error("Callback was already called.");var we=Pe;Pe=null;for(var De=arguments.length,xe=new Array(De),Ae=0;Ae<De;Ae++)xe[Ae]=arguments[Ae];we.apply(this,xe)}}function te(Pe){var we=-1,De=Pe.length;return function(){return++we<De&&!y.isCancel()?{value:Pe[we],key:we}:null}}var le=te(re),fe=!1,ge=0,me=!1;function he(Pe){ge-=1,Pe?(fe=!0,b.push(Pe),x(b)):fe&&ge<=0?(fe=!0,x(b)):me||(y.isCancel()?x(b):ye())}function Se(Pe,we){a(Pe).then(function(De){we(null,De)}).catch(function(De){we(De)})}function ye(){for(me=!0;ge<z&&!fe&&!y.isCancel();){var Pe=le();if(Pe===null||b.length>0){fe=!0,ge<=0&&x(b);return}ge+=1,Se(Pe.value,ee(he))}me=!1}ye()})},ae.cancel=function(re){this.options.cancelFlag=!0,ue(this.multipartUploadStreams)&&this.multipartUploadStreams.forEach(function(z){if(z.destroyed===!1){var a={name:"cancel",message:"cancel"};z.destroy(a)}}),this.multipartUploadStreams=[],re&&this.abortMultipartUpload(re.name,re.uploadId,re.options)},ae.isCancel=function(){return this.options.cancelFlag},ae.resetCancelFlag=function(){this.options.cancelFlag=!1},ae._stop=function(){this.options.cancelFlag=!0},ae._makeCancelEvent=function(){var re={status:0,name:"cancel"};return re},ae._makeAbortEvent=function(){var re={status:0,name:"abort",message:"upload task has been abort"};return re}},{"./utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.string.iterator.js":303,"core-js/modules/web.dom-collections.for-each.js":339,"core-js/modules/web.dom-collections.iterator.js":340}],50:[function(E,pe,de){(function(se){(function(){"use strict";E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.array.sort.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js");var ne=E("./../../shims/crypto/crypto.js"),ie=E("is-type-of"),ce=E("./utils/lowercaseKeyHeader"),ue=ce.lowercaseKeyHeader;de.buildCanonicalizedResource=function(oe,re){var z="".concat(oe),a="?";if(ie.string(re)&&re.trim()!=="")z+=a+re;else if(ie.array(re))re.sort(),z+=a+re.join("&");else if(re){var y=function(ee,te){return ee[0]>te[0]?1:ee[0]<te[0]?-1:0},x=function(ee){z+=a+ee,(re[ee]||re[ee]===0)&&(z+="=".concat(re[ee])),a="&"};Object.keys(re).sort(y).forEach(x)}return z},de.buildCanonicalString=function(oe,re,z,a){z=z||{};var y=ue(z.headers),x="x-oss-",b=[],ee={},te=[oe.toUpperCase(),y["content-md5"]||"",y["content-type"],a||y["x-oss-date"]];return Object.keys(y).forEach(function(le){var fe=le.toLowerCase();fe.indexOf(x)===0&&(ee[fe]=String(y[le]).trim())}),Object.keys(ee).sort().forEach(function(le){b.push("".concat(le,":").concat(ee[le]))}),te=te.concat(b),te.push(this.buildCanonicalizedResource(re,z.parameters)),te.join(`
|
|
|
`)},de.computeSignature=function(oe,re){var z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"utf-8",a=ne.createHmac("sha1",oe);return a.update(se.from(re,z)).digest("base64")},de.authorization=function(oe,re,z,a){return"OSS ".concat(oe,":").concat(this.computeSignature(re,z,a))},de._signatureForURL=function(oe){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},z=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,y=arguments.length>4?arguments[4]:void 0,x={},b=re.subResource,ee=b===void 0?{}:b;if(re.process){var te="x-oss-process";ee[te]=re.process}if(re.trafficLimit){var le="x-oss-traffic-limit";ee[le]=re.trafficLimit}if(re.response&&Object.keys(re.response).forEach(function(he){var Se="response-".concat(he.toLowerCase());ee[Se]=re.response[he]}),Object.keys(re).forEach(function(he){var Se=he.toLowerCase(),ye=re[he];Se.indexOf("x-oss-")===0?x[Se]=ye:(Se.indexOf("content-md5")===0||Se.indexOf("content-type")===0)&&(x[he]=ye)}),Object.prototype.hasOwnProperty.call(re,"security-token")&&(ee["security-token"]=re["security-token"]),Object.prototype.hasOwnProperty.call(re,"callback")){var fe={callbackUrl:encodeURI(re.callback.url),callbackBody:re.callback.body};if(re.callback.host&&(fe.callbackHost=re.callback.host),re.callback.contentType&&(fe.callbackBodyType=re.callback.contentType),ee.callback=se.from(JSON.stringify(fe)).toString("base64"),re.callback.customValue){var ge={};Object.keys(re.callback.customValue).forEach(function(he){ge["x:".concat(he)]=re.callback.customValue[he]}),ee["callback-var"]=se.from(JSON.stringify(ge)).toString("base64")}}var me=this.buildCanonicalString(re.method,z,{headers:x,parameters:ee},a.toString());return{Signature:this.computeSignature(oe,me,y),subResource:ee}}}).call(this)}).call(this,E("buffer").Buffer)},{"./../../shims/crypto/crypto.js":461,"./utils/lowercaseKeyHeader":71,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.trim.js":308,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466}],51:[function(E,pe,de){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.checkBucketName=void 0,de.checkBucketName=function(se){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ie=ne?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!ie.test(se))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(E,pe,de){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.checkConfigValid=void 0;var se={endpoint:ne,region:/^[a-zA-Z0-9\-_]+$/};function ne(ie){return typeof ie=="string"?/^[a-zA-Z0-9._:/-]+$/.test(ie):ie.host?/^[a-zA-Z0-9._:/-]+$/.test(ie.host):!1}de.checkConfigValid=function(ie,ce){if(se[ce]){var ue=!0;if(se[ce]instanceof Function?ue=se[ce](ie):ue=se[ce].test(ie),!ue)throw new Error("The ".concat(ce," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(E,pe,de){(function(se){(function(){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.checkEnv=void 0;function ne(ie){se.browser&&console.warn(ie)}de.checkEnv=ne}).call(this)}).call(this,E("_process"))},{_process:467}],54:[function(E,pe,de){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.checkObjectTag=void 0;var se=E("./checkValid"),ne=se.checkValid,ie=E("./isObject"),ce=ie.isObject,ue=[{validator:function(z){if(typeof z!="string")throw new Error("the key and value of the tag must be String")}},{pattern:/^[a-zA-Z0-9 +-=._:/]+$/,msg:"tag can contain letters, numbers, spaces, and the following symbols: plus sign (+), hyphen (-), equal sign (=), period (.), underscore (_), colon (:), and forward slash (/)"}],ae={key:[].concat(ue,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(ue,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function oe(re){if(!ce(re))throw new Error("tag must be Object");var z=Object.entries(re);if(z.length>10)throw new Error("maximum of 10 tags for a object");var a=["key","value"];z.forEach(function(y){y.forEach(function(x,b){ne(x,ae[a[b]])})})}de.checkObjectTag=oe},{"./checkValid":55,"./isObject":70,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],55:[function(E,pe,de){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.checkValid=void 0;function se(ne,ie){ie.forEach(function(ce){if(ce.validator)ce.validator(ne);else if(ce.pattern&&!ce.pattern.test(ne))throw new Error(ce.msg)})}de.checkValid=se},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/web.dom-collections.for-each.js":339}],56:[function(E,pe,de){(function(se){(function(){"use strict";E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.createRequest=void 0;var ne=E("./../../../shims/crypto/crypto.js"),ie=E("debug")("ali-oss"),ce=E("mime"),ue=E("dateformat"),ae=E("copy-to"),oe=E("path"),re=E("./encoder"),z=re.encoder,a=E("./isIP"),y=a.isIP,x=E("./setRegion"),b=x.setRegion,ee=E("../client/getReqUrl"),te=ee.getReqUrl,le=E("./isDingTalk"),fe=le.isDingTalk;function ge(Se,ye){return Se[ye]||Se[ye.toLowerCase()]}function me(Se,ye){delete Se[ye],delete Se[ye.toLowerCase()]}function he(Se){var ye=new Date;this.options.amendTimeSkewed&&(ye=+new Date+this.options.amendTimeSkewed);var Pe={"x-oss-date":ue(ye,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(Pe["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(Pe["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(Pe,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(Pe["x-oss-security-token"]=this.options.stsToken),ae(Se.headers).to(Pe),ge(Pe,"Content-Type")||(Se.mime&&Se.mime.indexOf("/")>0?Pe["Content-Type"]=Se.mime:fe()?Pe["Content-Type"]="application/octet-stream":Pe["Content-Type"]=ce.getType(Se.mime||oe.extname(Se.object||""))),ge(Pe,"Content-Type")||me(Pe,"Content-Type"),Se.content&&(Se.disabledMD5||(!Se.headers||!Se.headers["Content-MD5"]?Pe["Content-MD5"]=ne.createHash("md5").update(se.from(Se.content,"utf8")).digest("base64"):Pe["Content-MD5"]=Se.headers["Content-MD5"]),Pe["Content-Length"]||(Pe["Content-Length"]=Se.content.length));var we=Object.prototype.hasOwnProperty;for(var De in Pe)Pe[De]&&we.call(Pe,De)&&(Pe[De]=z(String(Pe[De]),this.options.headerEncoding));var xe=this._getResource(Se);if(Pe.authorization=this.authorization(Se.method,xe,Se.subres,Pe,this.options.headerEncoding),y(this.options.endpoint.hostname)){var Ae=this.options,Ce=Ae.region,je=Ae.internal,Fe=Ae.secure,Ge=b(Ce,je,Fe);Pe.host="".concat(Se.bucket,".").concat(Ge.host)}var Be=te.bind(this)(Se);ie("request %s %s, with headers %j, !!stream: %s",Se.method,Be,Pe,!!Se.stream);var tt=Se.timeout||this.options.timeout,Ye={method:Se.method,content:Se.content,stream:Se.stream,headers:Pe,timeout:tt,writeStream:Se.writeStream,customResponse:Se.customResponse,ctx:Se.ctx||this.ctx};return this.agent&&(Ye.agent=this.agent),this.httpsAgent&&(Ye.httpsAgent=this.httpsAgent),Ye.enableProxy=!!this.options.enableProxy,Ye.proxy=this.options.proxy?this.options.proxy:null,{url:Be,params:Ye}}de.createRequest=he}).call(this)}).call(this,E("buffer").Buffer)},{"../client/getReqUrl":25,"./../../../shims/crypto/crypto.js":461,"./encoder":59,"./isDingTalk":66,"./isIP":69,"./setRegion":75,buffer:90,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.includes.js":302,dateformat:342,debug:465,mime:374,path:378}],57:[function(E,pe,de){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.object.keys.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.dataFix=void 0;var se=E("./isObject"),ne=["true","TRUE","1",1],ie=["false","FALSE","0",0];function ce(oe,re,z){if(se.isObject(oe)){var a=re.remove,y=a===void 0?[]:a,x=re.rename,b=x===void 0?{}:x,ee=re.camel,te=ee===void 0?[]:ee,le=re.bool,fe=le===void 0?[]:le,ge=re.lowerFirst,me=ge===void 0?!1:ge;return y.forEach(function(he){return delete oe[he]}),Object.entries(b).forEach(function(he){oe[he[0]]&&(oe[he[1]]||(oe[he[1]]=oe[he[0]],delete oe[he[0]]))}),te.forEach(function(he){if(oe[he]){var Se=he.replace(/^(.)/,function(ye){return ye.toLowerCase()}).replace(/-(\w)/g,function(ye,Pe){return Pe.toUpperCase()});oe[Se]||(oe[Se]=oe[he])}}),fe.forEach(function(he){oe[he]=ue(oe[he])}),typeof z=="function"&&z(oe),ae(oe,me),ce}}de.dataFix=ce;function ue(oe){return oe?ne.includes(oe)?!0:ie.includes(oe)?!1:oe:!1}function ae(oe,re){re&&Object.keys(oe).forEach(function(z){var a=z.replace(/^\w/,function(y){return y.toLowerCase()});typeof oe[a]=="undefined"&&(oe[a]=oe[z],delete oe[z])})}},{"./isObject":70,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],58:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js");var ne=se(E("@babel/runtime/helpers/typeof"));Object.defineProperty(de,"__esModule",{value:!0}),de.deepCopyWith=de.deepCopy=void 0;var ie=E("./isBuffer");de.deepCopy=function(ce){if(ce===null||(0,ne.default)(ce)!=="object")return ce;if(ie.isBuffer(ce))return ce.slice();var ue=Array.isArray(ce)?[]:{};return Object.keys(ce).forEach(function(ae){ue[ae]=de.deepCopy(ce[ae])}),ue},de.deepCopyWith=function(ce,ue){function ae(oe,re,z){var a=ue(oe,re,z);if(a!==void 0)return a;if(oe===null||(0,ne.default)(oe)!=="object")return oe;if(ie.isBuffer(oe))return oe.slice();var y=Array.isArray(oe)?[]:{};return Object.keys(oe).forEach(function(x){y[x]=ae(oe[x],x,oe)}),y}return ue?ae(ce,"",null):de.deepCopy(ce)}},{"./isBuffer":65,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],59:[function(E,pe,de){(function(se){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.encoder=void 0;function ne(ie){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return ce==="utf-8"?ie:se.from(ie).toString("latin1")}de.encoder=ne}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],60:[function(E,pe,de){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.formatInventoryConfig=void 0;var se=E("../utils/dataFix"),ne=E("../utils/isObject"),ie=E("../utils/isArray"),ce=E("../utils/formatObjKey");function ue(oe){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return re&&ne.isObject(oe)&&(oe=[oe]),ie.isArray(oe)?oe=oe.map(ae):oe=ae(oe),oe}de.formatInventoryConfig=ue;function ae(oe){return se.dataFix(oe,{bool:["IsEnabled"]},function(re){var z,a;re.prefix=re.Filter.Prefix,delete re.Filter,re.OSSBucketDestination=re.Destination.OSSBucketDestination,re.OSSBucketDestination.rolename=re.OSSBucketDestination.RoleArn.replace(/.*\//,""),delete re.OSSBucketDestination.RoleArn,re.OSSBucketDestination.bucket=re.OSSBucketDestination.Bucket.replace(/.*:::/,""),delete re.OSSBucketDestination.Bucket,delete re.Destination,re.frequency=re.Schedule.Frequency,delete re.Schedule.Frequency,!((z=re==null?void 0:re.OptionalFields)===null||z===void 0)&&z.Field&&!ie.isArray((a=re.OptionalFields)===null||a===void 0?void 0:a.Field)&&(re.OptionalFields.Field=[re.OptionalFields.Field])}),oe=ce.formatObjKey(oe,"firstLowerCase",{exclude:["OSSBucketDestination","SSE-OSS","SSE-KMS"]}),oe}},{"../utils/dataFix":57,"../utils/formatObjKey":61,"../utils/isArray":63,"../utils/isObject":70,"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305}],61:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js");var ne=se(E("@babel/runtime/helpers/typeof"));Object.defineProperty(de,"__esModule",{value:!0}),de.formatObjKey=void 0;function ie(ue,ae,oe){if(ue===null||(0,ne.default)(ue)!=="object")return ue;var re;if(Array.isArray(ue)){re=[];for(var z=0;z<ue.length;z++)re.push(ie(ue[z],ae,oe))}else re={},Object.keys(ue).forEach(function(a){re[ce(a,ae,oe)]=ie(ue[a],ae,oe)});return re}de.formatObjKey=ie;function ce(ue,ae,oe){return oe&&oe.exclude&&oe.exclude.includes(ue)||(ae==="firstUpperCase"?ue=ue.replace(/^./,function(re){return re.toUpperCase()}):ae==="firstLowerCase"&&(ue=ue.replace(/^./,function(re){return re.toLowerCase()}))),ue}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.includes.js":302,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],62:[function(E,pe,de){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.getStrBytesCount=void 0;function se(ne){for(var ie=0,ce=0;ce<ne.length;ce++){var ue=ne.charAt(ce);/^[\u00-\uff]$/.test(ue)?ie+=1:ie+=2}return ie}de.getStrBytesCount=se},{"core-js/modules/es.regexp.exec.js":300}],63:[function(E,pe,de){"use strict";E("core-js/modules/es.object.to-string.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.isArray=void 0,de.isArray=function(se){return Object.prototype.toString.call(se)==="[object Array]"}},{"core-js/modules/es.object.to-string.js":291}],64:[function(E,pe,de){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.isBlob=void 0;function se(ne){return typeof Blob!="undefined"&&ne instanceof Blob}de.isBlob=se},{}],65:[function(E,pe,de){(function(se){(function(){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.isBuffer=void 0;function ne(ie){return se.isBuffer(ie)}de.isBuffer=ne}).call(this)}).call(this,{isBuffer:E("../../../node_modules/is-buffer/index.js")})},{"../../../node_modules/is-buffer/index.js":366}],66:[function(E,pe,de){(function(se){(function(){"use strict";E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.isDingTalk=void 0;function ne(){return!!(se.browser&&window.navigator.userAgent.toLowerCase().includes("aliapp(dingtalk"))}de.isDingTalk=ne}).call(this)}).call(this,E("_process"))},{_process:467,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.string.includes.js":302}],67:[function(E,pe,de){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.isFile=void 0,de.isFile=function(se){return typeof File!="undefined"&&se instanceof File}},{}],68:[function(E,pe,de){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.isFunction=void 0,de.isFunction=function(se){return typeof se=="function"}},{}],69:[function(E,pe,de){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.isIP=void 0,de.isIP=function(se){var ne=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,ie=/^\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 ne.test(se)||ie.test(se)}},{"core-js/modules/es.regexp.exec.js":300}],70:[function(E,pe,de){"use strict";E("core-js/modules/es.object.to-string.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.isObject=void 0,de.isObject=function(se){return Object.prototype.toString.call(se)==="[object Object]"}},{"core-js/modules/es.object.to-string.js":291}],71:[function(E,pe,de){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.lowercaseKeyHeader=void 0;var se=E("./isObject");function ne(ie){var ce={};return se.isObject(ie)&&Object.keys(ie).forEach(function(ue){ce[ue.toLowerCase()]=ie[ue]}),ce}de.lowercaseKeyHeader=ne},{"./isObject":70,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],72:[function(E,pe,de){"use strict";E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.obj2xml=void 0;var se=E("./formatObjKey");function ne(ce){return Object.prototype.toString.call(ce).replace(/(.*? |])/g,"").toLowerCase()}function ie(ce,ue){var ae="";return ue&&ue.headers&&(ae=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
`),ue&&ue.firstUpperCase&&(ce=se.formatObjKey(ce,"firstUpperCase")),ne(ce)==="object"?Object.keys(ce).forEach(function(oe){ne(ce[oe])!=="undefined"&&ne(ce[oe])!=="null"&&(ne(ce[oe])==="string"||ne(ce[oe])==="number"?ae+="<".concat(oe,">").concat(ce[oe],"</").concat(oe,">"):ne(ce[oe])==="object"?ae+="<".concat(oe,">").concat(ie(ce[oe]),"</").concat(oe,">"):ne(ce[oe])==="array"?ae+=ce[oe].map(function(re){return"<".concat(oe,">").concat(ie(re),"</").concat(oe,">")}).join(""):ae+="<".concat(oe,">").concat(ce[oe].toString(),"</").concat(oe,">"))}):ae+=ce.toString(),ae}de.obj2xml=ie},{"./formatObjKey":61,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.map.js":280,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],73:[function(E,pe,de){"use strict";E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.symbol.iterator.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/web.dom-collections.iterator.js"),E("core-js/modules/es.object.assign.js");function se(ue,ae){var oe=typeof Symbol!="undefined"&&ue[Symbol.iterator]||ue["@@iterator"];if(!oe){if(Array.isArray(ue)||(oe=ne(ue))||ae&&ue&&typeof ue.length=="number"){oe&&(ue=oe);var re=0,z=function(){};return{s:z,n:function(){return re>=ue.length?{done:!0}:{done:!1,value:ue[re++]}},e:function(ee){throw ee},f:z}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,y=!1,x;return{s:function(){oe=oe.call(ue)},n:function(){var ee=oe.next();return a=ee.done,ee},e:function(ee){y=!0,x=ee},f:function(){try{!a&&oe.return!=null&&oe.return()}finally{if(y)throw x}}}}function ne(ue,ae){if(ue){if(typeof ue=="string")return ie(ue,ae);var oe=Object.prototype.toString.call(ue).slice(8,-1);if(oe==="Object"&&ue.constructor&&(oe=ue.constructor.name),oe==="Map"||oe==="Set")return Array.from(ue);if(oe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(oe))return ie(ue,ae)}}function ie(ue,ae){(ae==null||ae>ue.length)&&(ae=ue.length);for(var oe=0,re=new Array(ae);oe<ae;oe++)re[oe]=ue[oe];return re}Object.defineProperty(de,"__esModule",{value:!0}),de.omit=void 0;function ce(ue,ae){var oe=Object.assign({},ue),re=se(ae),z;try{for(re.s();!(z=re.n()).done;){var a=z.value;delete oe[a]}}catch(y){re.e(y)}finally{re.f()}return oe}de.omit=ce},{"core-js/modules/es.array.from.js":276,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.iterator.js":303,"core-js/modules/es.symbol.description.js":310,"core-js/modules/es.symbol.iterator.js":312,"core-js/modules/es.symbol.js":313,"core-js/modules/web.dom-collections.iterator.js":340}],74:[function(E,pe,de){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),Object.defineProperty(de,"__esModule",{value:!0}),de.retry=void 0;function se(ne,ie){var ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ue=0,ae=ce.retryDelay,oe=ae===void 0?500:ae,re=ce.errorHandler,z=re===void 0?function(){return!0}:re,a=function y(){for(var x=arguments.length,b=new Array(x),ee=0;ee<x;ee++)b[ee]=arguments[ee];return new Promise(function(te,le){ne.apply(void 0,b).then(function(fe){ue=0,te(fe)}).catch(function(fe){ue<ie&&z(fe)?(ue++,setTimeout(function(){te(y.apply(void 0,b))},oe)):(ue=0,le(fe))})})};return a}de.retry=se},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],75:[function(E,pe,de){"use strict";var se=function(ue){return ue&&ue.__esModule?ue:{default:ue}};Object.defineProperty(de,"__esModule",{value:!0}),de.setRegion=void 0;var ne=se(E("url")),ie=E("./checkConfigValid");function ce(ue){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ie.checkConfigValid(ue,"region");var re=oe?"https://":"http://",z=ae?"-internal.aliyuncs.com":".aliyuncs.com",a="vpc100-oss-cn-";return ue.substr(0,a.length)===a&&(z=".aliyuncs.com"),ne.default.parse(re+ue+z)}de.setRegion=ce},{"./checkConfigValid":52,url:472}],76:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.object.assign.js");var ie=se(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(de,"__esModule",{value:!0}),de.checkCredentials=de.setSTSToken=void 0;var ce=E("./formatObjKey");function ue(){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.default)(ne.default.mark(function re(){var z,a;return ne.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(this.options||(this.options={}),z=new Date,!this.stsTokenFreshTime){x.next=14;break}if(!(+z-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){x.next=12;break}return this.stsTokenFreshTime=z,x.next=7,this.options.refreshSTSToken();case 7:a=x.sent,a=ce.formatObjKey(a,"firstLowerCase"),a.securityToken&&(a.stsToken=a.securityToken),oe(a),Object.assign(this.options,a);case 12:x.next=15;break;case 14:this.stsTokenFreshTime=z;case 15:return x.abrupt("return",null);case 16:case"end":return x.stop()}},re,this)})),ae.apply(this,arguments)}de.setSTSToken=ue;function oe(re){var z=["accessKeySecret","accessKeyId","stsToken"],a=Object.keys(re);z.forEach(function(y){if(!a.find(function(x){return x===y}))throw Error("refreshSTSToken must return contains ".concat(y))})}de.checkCredentials=oe},{"./formatObjKey":61,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.find.js":275,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291}],77:[function(E,pe,de){function se(ie,ce,ue,ae,oe,re,z){try{var a=ie[re](z),y=a.value}catch(x){ue(x);return}a.done?ce(y):Promise.resolve(y).then(ae,oe)}function ne(ie){return function(){var ce=this,ue=arguments;return new Promise(function(ae,oe){var re=ie.apply(ce,ue);function z(y){se(re,ae,oe,z,a,"next",y)}function a(y){se(re,ae,oe,z,a,"throw",y)}z(void 0)})}}pe.exports=ne,pe.exports.__esModule=!0,pe.exports.default=pe.exports},{}],78:[function(E,pe,de){function se(ne){return ne&&ne.__esModule?ne:{default:ne}}pe.exports=se,pe.exports.__esModule=!0,pe.exports.default=pe.exports},{}],79:[function(E,pe,de){function se(ne){"@babel/helpers - typeof";return pe.exports=se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ie){return typeof ie}:function(ie){return ie&&typeof Symbol=="function"&&ie.constructor===Symbol&&ie!==Symbol.prototype?"symbol":typeof ie},pe.exports.__esModule=!0,pe.exports.default=pe.exports,se(ne)}pe.exports=se,pe.exports.__esModule=!0,pe.exports.default=pe.exports},{}],80:[function(E,pe,de){pe.exports=E("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(E,pe,de){pe.exports=se,pe.exports.HttpsAgent=se;function se(){}},{}],82:[function(E,pe,de){(function(se){(function(){"use strict";var ne=E("object-assign");function ie(Ce,je){if(Ce===je)return 0;for(var Fe=Ce.length,Ge=je.length,Be=0,tt=Math.min(Fe,Ge);Be<tt;++Be)if(Ce[Be]!==je[Be]){Fe=Ce[Be],Ge=je[Be];break}return Fe<Ge?-1:Ge<Fe?1:0}function ce(Ce){return se.Buffer&&typeof se.Buffer.isBuffer=="function"?se.Buffer.isBuffer(Ce):!!(Ce!=null&&Ce._isBuffer)}var ue=E("util/"),ae=Object.prototype.hasOwnProperty,oe=Array.prototype.slice,re=function(){return function(){}.name==="foo"}();function z(Ce){return Object.prototype.toString.call(Ce)}function a(Ce){return ce(Ce)||typeof se.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(Ce):Ce?!!(Ce instanceof DataView||Ce.buffer&&Ce.buffer instanceof ArrayBuffer):!1}var y=pe.exports=ge,x=/\s*function\s+([^\(\s]*)\s*/;function b(Ce){if(ue.isFunction(Ce)){if(re)return Ce.name;var je=Ce.toString(),Fe=je.match(x);return Fe&&Fe[1]}}y.AssertionError=function(je){this.name="AssertionError",this.actual=je.actual,this.expected=je.expected,this.operator=je.operator,je.message?(this.message=je.message,this.generatedMessage=!1):(this.message=le(this),this.generatedMessage=!0);var Fe=je.stackStartFunction||fe;if(Error.captureStackTrace)Error.captureStackTrace(this,Fe);else{var Ge=new Error;if(Ge.stack){var Be=Ge.stack,tt=b(Fe),Ye=Be.indexOf(`
|
|
|
`+tt);if(Ye>=0){var Ve=Be.indexOf(`
|
|
|
`,Ye+1);Be=Be.substring(Ve+1)}this.stack=Be}}},ue.inherits(y.AssertionError,Error);function ee(Ce,je){return typeof Ce=="string"?Ce.length<je?Ce:Ce.slice(0,je):Ce}function te(Ce){if(re||!ue.isFunction(Ce))return ue.inspect(Ce);var je=b(Ce),Fe=je?": "+je:"";return"[Function"+Fe+"]"}function le(Ce){return ee(te(Ce.actual),128)+" "+Ce.operator+" "+ee(te(Ce.expected),128)}function fe(Ce,je,Fe,Ge,Be){throw new y.AssertionError({message:Fe,actual:Ce,expected:je,operator:Ge,stackStartFunction:Be})}y.fail=fe;function ge(Ce,je){Ce||fe(Ce,!0,je,"==",y.ok)}y.ok=ge,y.equal=function(je,Fe,Ge){je!=Fe&&fe(je,Fe,Ge,"==",y.equal)},y.notEqual=function(je,Fe,Ge){je==Fe&&fe(je,Fe,Ge,"!=",y.notEqual)},y.deepEqual=function(je,Fe,Ge){me(je,Fe,!1)||fe(je,Fe,Ge,"deepEqual",y.deepEqual)},y.deepStrictEqual=function(je,Fe,Ge){me(je,Fe,!0)||fe(je,Fe,Ge,"deepStrictEqual",y.deepStrictEqual)};function me(Ce,je,Fe,Ge){if(Ce===je)return!0;if(ce(Ce)&&ce(je))return ie(Ce,je)===0;if(ue.isDate(Ce)&&ue.isDate(je))return Ce.getTime()===je.getTime();if(ue.isRegExp(Ce)&&ue.isRegExp(je))return Ce.source===je.source&&Ce.global===je.global&&Ce.multiline===je.multiline&&Ce.lastIndex===je.lastIndex&&Ce.ignoreCase===je.ignoreCase;if((Ce===null||typeof Ce!="object")&&(je===null||typeof je!="object"))return Fe?Ce===je:Ce==je;if(a(Ce)&&a(je)&&z(Ce)===z(je)&&!(Ce instanceof Float32Array||Ce instanceof Float64Array))return ie(new Uint8Array(Ce.buffer),new Uint8Array(je.buffer))===0;if(ce(Ce)!==ce(je))return!1;Ge=Ge||{actual:[],expected:[]};var Be=Ge.actual.indexOf(Ce);return Be!==-1&&Be===Ge.expected.indexOf(je)?!0:(Ge.actual.push(Ce),Ge.expected.push(je),Se(Ce,je,Fe,Ge))}function he(Ce){return Object.prototype.toString.call(Ce)=="[object Arguments]"}function Se(Ce,je,Fe,Ge){if(Ce==null||je===null||je===void 0)return!1;if(ue.isPrimitive(Ce)||ue.isPrimitive(je))return Ce===je;if(Fe&&Object.getPrototypeOf(Ce)!==Object.getPrototypeOf(je))return!1;var Be=he(Ce),tt=he(je);if(Be&&!tt||!Be&&tt)return!1;if(Be)return Ce=oe.call(Ce),je=oe.call(je),me(Ce,je,Fe);var Ye=Ae(Ce),Ve=Ae(je),Xe,Ze;if(Ye.length!==Ve.length)return!1;for(Ye.sort(),Ve.sort(),Ze=Ye.length-1;Ze>=0;Ze--)if(Ye[Ze]!==Ve[Ze])return!1;for(Ze=Ye.length-1;Ze>=0;Ze--)if(Xe=Ye[Ze],!me(Ce[Xe],je[Xe],Fe,Ge))return!1;return!0}y.notDeepEqual=function(je,Fe,Ge){me(je,Fe,!1)&&fe(je,Fe,Ge,"notDeepEqual",y.notDeepEqual)},y.notDeepStrictEqual=ye;function ye(Ce,je,Fe){me(Ce,je,!0)&&fe(Ce,je,Fe,"notDeepStrictEqual",ye)}y.strictEqual=function(je,Fe,Ge){je!==Fe&&fe(je,Fe,Ge,"===",y.strictEqual)},y.notStrictEqual=function(je,Fe,Ge){je===Fe&&fe(je,Fe,Ge,"!==",y.notStrictEqual)};function Pe(Ce,je){if(!Ce||!je)return!1;if(Object.prototype.toString.call(je)=="[object RegExp]")return je.test(Ce);try{if(Ce instanceof je)return!0}catch(Fe){}return Error.isPrototypeOf(je)?!1:je.call({},Ce)===!0}function we(Ce){var je;try{Ce()}catch(Fe){je=Fe}return je}function De(Ce,je,Fe,Ge){var Be;if(typeof je!="function")throw new TypeError('"block" argument must be a function');typeof Fe=="string"&&(Ge=Fe,Fe=null),Be=we(je),Ge=(Fe&&Fe.name?" ("+Fe.name+").":".")+(Ge?" "+Ge:"."),Ce&&!Be&&fe(Be,Fe,"Missing expected exception"+Ge);var tt=typeof Ge=="string",Ye=!Ce&&ue.isError(Be),Ve=!Ce&&Be&&!Fe;if((Ye&&tt&&Pe(Be,Fe)||Ve)&&fe(Be,Fe,"Got unwanted exception"+Ge),Ce&&Be&&Fe&&!Pe(Be,Fe)||!Ce&&Be)throw Be}y.throws=function(Ce,je,Fe){De(!0,Ce,je,Fe)},y.doesNotThrow=function(Ce,je,Fe){De(!1,Ce,je,Fe)},y.ifError=function(Ce){if(Ce)throw Ce};function xe(Ce,je){Ce||fe(Ce,!0,je,"==",xe)}y.strict=ne(xe,y,{equal:y.strictEqual,deepEqual:y.deepStrictEqual,notEqual:y.notStrictEqual,notDeepEqual:y.notDeepStrictEqual}),y.strict.strict=y.strict;var Ae=Object.keys||function(Ce){var je=[];for(var Fe in Ce)ae.call(Ce,Fe)&&je.push(Fe);return je}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(E,pe,de){typeof Object.create=="function"?pe.exports=function(ne,ie){ne.super_=ie,ne.prototype=Object.create(ie.prototype,{constructor:{value:ne,enumerable:!1,writable:!0,configurable:!0}})}:pe.exports=function(ne,ie){ne.super_=ie;var ce=function(){};ce.prototype=ie.prototype,ne.prototype=new ce,ne.prototype.constructor=ne}},{}],84:[function(E,pe,de){pe.exports=function(ne){return ne&&typeof ne=="object"&&typeof ne.copy=="function"&&typeof ne.fill=="function"&&typeof ne.readUInt8=="function"}},{}],85:[function(E,pe,de){(function(se,ne){(function(){var ie=/%[sdj%]/g;de.format=function(Ve){if(!Se(Ve)){for(var Xe=[],Ze=0;Ze<arguments.length;Ze++)Xe.push(ae(arguments[Ze]));return Xe.join(" ")}for(var Ze=1,ke=arguments,ze=ke.length,et=String(Ve).replace(ie,function(ut){if(ut==="%%")return"%";if(Ze>=ze)return ut;switch(ut){case"%s":return String(ke[Ze++]);case"%d":return Number(ke[Ze++]);case"%j":try{return JSON.stringify(ke[Ze++])}catch(Qe){return"[Circular]"}default:return ut}}),Je=ke[Ze];Ze<ze;Je=ke[++Ze])ge(Je)||!De(Je)?et+=" "+Je:et+=" "+ae(Je);return et},de.deprecate=function(Ve,Xe){if(Pe(ne.process))return function(){return de.deprecate(Ve,Xe).apply(this,arguments)};if(se.noDeprecation===!0)return Ve;var Ze=!1;function ke(){if(!Ze){if(se.throwDeprecation)throw new Error(Xe);se.traceDeprecation?console.trace(Xe):console.error(Xe),Ze=!0}return Ve.apply(this,arguments)}return ke};var ce={},ue;de.debuglog=function(Ve){if(Pe(ue)&&(ue=se.env.NODE_DEBUG||""),Ve=Ve.toUpperCase(),!ce[Ve])if(new RegExp("\\b"+Ve+"\\b","i").test(ue)){var Xe=se.pid;ce[Ve]=function(){var Ze=de.format.apply(de,arguments);console.error("%s %d: %s",Ve,Xe,Ze)}}else ce[Ve]=function(){};return ce[Ve]};function ae(Ve,Xe){var Ze={seen:[],stylize:re};return arguments.length>=3&&(Ze.depth=arguments[2]),arguments.length>=4&&(Ze.colors=arguments[3]),fe(Xe)?Ze.showHidden=Xe:Xe&&de._extend(Ze,Xe),Pe(Ze.showHidden)&&(Ze.showHidden=!1),Pe(Ze.depth)&&(Ze.depth=2),Pe(Ze.colors)&&(Ze.colors=!1),Pe(Ze.customInspect)&&(Ze.customInspect=!0),Ze.colors&&(Ze.stylize=oe),a(Ze,Ve,Ze.depth)}de.inspect=ae,ae.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},ae.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function oe(Ve,Xe){var Ze=ae.styles[Xe];return Ze?"\x1B["+ae.colors[Ze][0]+"m"+Ve+"\x1B["+ae.colors[Ze][1]+"m":Ve}function re(Ve,Xe){return Ve}function z(Ve){var Xe={};return Ve.forEach(function(Ze,ke){Xe[Ze]=!0}),Xe}function a(Ve,Xe,Ze){if(Ve.customInspect&&Xe&&Ce(Xe.inspect)&&Xe.inspect!==de.inspect&&!(Xe.constructor&&Xe.constructor.prototype===Xe)){var ke=Xe.inspect(Ze,Ve);return Se(ke)||(ke=a(Ve,ke,Ze)),ke}var ze=y(Ve,Xe);if(ze)return ze;var et=Object.keys(Xe),Je=z(et);if(Ve.showHidden&&(et=Object.getOwnPropertyNames(Xe)),Ae(Xe)&&(et.indexOf("message")>=0||et.indexOf("description")>=0))return x(Xe);if(et.length===0){if(Ce(Xe)){var ut=Xe.name?": "+Xe.name:"";return Ve.stylize("[Function"+ut+"]","special")}if(we(Xe))return Ve.stylize(RegExp.prototype.toString.call(Xe),"regexp");if(xe(Xe))return Ve.stylize(Date.prototype.toString.call(Xe),"date");if(Ae(Xe))return x(Xe)}var Qe="",Ue=!1,Re=["{","}"];if(le(Xe)&&(Ue=!0,Re=["[","]"]),Ce(Xe)){var $e=Xe.name?": "+Xe.name:"";Qe=" [Function"+$e+"]"}if(we(Xe)&&(Qe=" "+RegExp.prototype.toString.call(Xe)),xe(Xe)&&(Qe=" "+Date.prototype.toUTCString.call(Xe)),Ae(Xe)&&(Qe=" "+x(Xe)),et.length===0&&(!Ue||Xe.length==0))return Re[0]+Qe+Re[1];if(Ze<0)return we(Xe)?Ve.stylize(RegExp.prototype.toString.call(Xe),"regexp"):Ve.stylize("[Object]","special");Ve.seen.push(Xe);var Le;return Ue?Le=b(Ve,Xe,Ze,Je,et):Le=et.map(function(Ne){return ee(Ve,Xe,Ze,Je,Ne,Ue)}),Ve.seen.pop(),te(Le,Qe,Re)}function y(Ve,Xe){if(Pe(Xe))return Ve.stylize("undefined","undefined");if(Se(Xe)){var Ze="'"+JSON.stringify(Xe).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Ve.stylize(Ze,"string")}if(he(Xe))return Ve.stylize(""+Xe,"number");if(fe(Xe))return Ve.stylize(""+Xe,"boolean");if(ge(Xe))return Ve.stylize("null","null")}function x(Ve){return"["+Error.prototype.toString.call(Ve)+"]"}function b(Ve,Xe,Ze,ke,ze){for(var et=[],Je=0,ut=Xe.length;Je<ut;++Je)Ye(Xe,String(Je))?et.push(ee(Ve,Xe,Ze,ke,String(Je),!0)):et.push("");return ze.forEach(function(Qe){Qe.match(/^\d+$/)||et.push(ee(Ve,Xe,Ze,ke,Qe,!0))}),et}function ee(Ve,Xe,Ze,ke,ze,et){var Je,ut,Qe;if(Qe=Object.getOwnPropertyDescriptor(Xe,ze)||{value:Xe[ze]},Qe.get?Qe.set?ut=Ve.stylize("[Getter/Setter]","special"):ut=Ve.stylize("[Getter]","special"):Qe.set&&(ut=Ve.stylize("[Setter]","special")),Ye(ke,ze)||(Je="["+ze+"]"),ut||(Ve.seen.indexOf(Qe.value)<0?(ge(Ze)?ut=a(Ve,Qe.value,null):ut=a(Ve,Qe.value,Ze-1),ut.indexOf(`
|
|
|
`)>-1&&(et?ut=ut.split(`
|
|
|
`).map(function(Ue){return" "+Ue}).join(`
|
|
|
`).substr(2):ut=`
|
|
|
`+ut.split(`
|
|
|
`).map(function(Ue){return" "+Ue}).join(`
|
|
|
`))):ut=Ve.stylize("[Circular]","special")),Pe(Je)){if(et&&ze.match(/^\d+$/))return ut;Je=JSON.stringify(""+ze),Je.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Je=Je.substr(1,Je.length-2),Je=Ve.stylize(Je,"name")):(Je=Je.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Je=Ve.stylize(Je,"string"))}return Je+": "+ut}function te(Ve,Xe,Ze){var ke=0,ze=Ve.reduce(function(et,Je){return ke++,Je.indexOf(`
|
|
|
`)>=0&&ke++,et+Je.replace(/\u001b\[\d\d?m/g,"").length+1},0);return ze>60?Ze[0]+(Xe===""?"":Xe+`
|
|
|
`)+" "+Ve.join(`,
|
|
|
`)+" "+Ze[1]:Ze[0]+Xe+" "+Ve.join(", ")+" "+Ze[1]}function le(Ve){return Array.isArray(Ve)}de.isArray=le;function fe(Ve){return typeof Ve=="boolean"}de.isBoolean=fe;function ge(Ve){return Ve===null}de.isNull=ge;function me(Ve){return Ve==null}de.isNullOrUndefined=me;function he(Ve){return typeof Ve=="number"}de.isNumber=he;function Se(Ve){return typeof Ve=="string"}de.isString=Se;function ye(Ve){return typeof Ve=="symbol"}de.isSymbol=ye;function Pe(Ve){return Ve===void 0}de.isUndefined=Pe;function we(Ve){return De(Ve)&&Fe(Ve)==="[object RegExp]"}de.isRegExp=we;function De(Ve){return typeof Ve=="object"&&Ve!==null}de.isObject=De;function xe(Ve){return De(Ve)&&Fe(Ve)==="[object Date]"}de.isDate=xe;function Ae(Ve){return De(Ve)&&(Fe(Ve)==="[object Error]"||Ve instanceof Error)}de.isError=Ae;function Ce(Ve){return typeof Ve=="function"}de.isFunction=Ce;function je(Ve){return Ve===null||typeof Ve=="boolean"||typeof Ve=="number"||typeof Ve=="string"||typeof Ve=="symbol"||typeof Ve=="undefined"}de.isPrimitive=je,de.isBuffer=E("./support/isBuffer");function Fe(Ve){return Object.prototype.toString.call(Ve)}function Ge(Ve){return Ve<10?"0"+Ve.toString(10):Ve.toString(10)}var Be=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function tt(){var Ve=new Date,Xe=[Ge(Ve.getHours()),Ge(Ve.getMinutes()),Ge(Ve.getSeconds())].join(":");return[Ve.getDate(),Be[Ve.getMonth()],Xe].join(" ")}de.log=function(){console.log("%s - %s",tt(),de.format.apply(de,arguments))},de.inherits=E("inherits"),de._extend=function(Ve,Xe){if(!Xe||!De(Xe))return Ve;for(var Ze=Object.keys(Xe),ke=Ze.length;ke--;)Ve[Ze[ke]]=Xe[Ze[ke]];return Ve};function Ye(Ve,Xe){return Object.prototype.hasOwnProperty.call(Ve,Xe)}}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(E,pe,de){(function(se){(function(){"use strict";var ne=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],ie=typeof globalThis=="undefined"?se:globalThis;pe.exports=function(){for(var ue=[],ae=0;ae<ne.length;ae++)typeof ie[ne[ae]]=="function"&&(ue[ue.length]=ne[ae]);return ue}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],87:[function(E,pe,de){"use strict";de.byteLength=re,de.toByteArray=a,de.fromByteArray=b;for(var se=[],ne=[],ie=typeof Uint8Array!="undefined"?Uint8Array:Array,ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ue=0,ae=ce.length;ue<ae;++ue)se[ue]=ce[ue],ne[ce.charCodeAt(ue)]=ue;ne[45]=62,ne[95]=63;function oe(ee){var te=ee.length;if(te%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var le=ee.indexOf("=");le===-1&&(le=te);var fe=le===te?0:4-le%4;return[le,fe]}function re(ee){var te=oe(ee),le=te[0],fe=te[1];return(le+fe)*3/4-fe}function z(ee,te,le){return(te+le)*3/4-le}function a(ee){var te,le=oe(ee),fe=le[0],ge=le[1],me=new ie(z(ee,fe,ge)),he=0,Se=ge>0?fe-4:fe,ye;for(ye=0;ye<Se;ye+=4)te=ne[ee.charCodeAt(ye)]<<18|ne[ee.charCodeAt(ye+1)]<<12|ne[ee.charCodeAt(ye+2)]<<6|ne[ee.charCodeAt(ye+3)],me[he++]=te>>16&255,me[he++]=te>>8&255,me[he++]=te&255;return ge===2&&(te=ne[ee.charCodeAt(ye)]<<2|ne[ee.charCodeAt(ye+1)]>>4,me[he++]=te&255),ge===1&&(te=ne[ee.charCodeAt(ye)]<<10|ne[ee.charCodeAt(ye+1)]<<4|ne[ee.charCodeAt(ye+2)]>>2,me[he++]=te>>8&255,me[he++]=te&255),me}function y(ee){return se[ee>>18&63]+se[ee>>12&63]+se[ee>>6&63]+se[ee&63]}function x(ee,te,le){for(var fe,ge=[],me=te;me<le;me+=3)fe=(ee[me]<<16&16711680)+(ee[me+1]<<8&65280)+(ee[me+2]&255),ge.push(y(fe));return ge.join("")}function b(ee){for(var te,le=ee.length,fe=le%3,ge=[],me=16383,he=0,Se=le-fe;he<Se;he+=me)ge.push(x(ee,he,he+me>Se?Se:he+me));return fe===1?(te=ee[le-1],ge.push(se[te>>2]+se[te<<4&63]+"==")):fe===2&&(te=(ee[le-2]<<8)+ee[le-1],ge.push(se[te>>10]+se[te>>4&63]+se[te<<2&63]+"=")),ge.join("")}},{}],88:[function(E,pe,de){(function(se,ne,ie){typeof pe!="undefined"&&pe.exports?pe.exports=ie():typeof ve=="function"&&ve.amd?ve(ne,ie):se[ne]=ie()})(this,"bowser",function(){var se=!0;function ne(z){function a(Xe){var Ze=z.match(Xe);return Ze&&Ze.length>1&&Ze[1]||""}function y(Xe){var Ze=z.match(Xe);return Ze&&Ze.length>1&&Ze[2]||""}var x=a(/(ipod|iphone|ipad)/i).toLowerCase(),b=/like android/i.test(z),ee=!b&&/android/i.test(z),te=/nexus\s*[0-6]\s*/i.test(z),le=!te&&/nexus\s*[0-9]+/i.test(z),fe=/CrOS/.test(z),ge=/silk/i.test(z),me=/sailfish/i.test(z),he=/tizen/i.test(z),Se=/(web|hpw)(o|0)s/i.test(z),ye=/windows phone/i.test(z),Pe=/SamsungBrowser/i.test(z),we=!ye&&/windows/i.test(z),De=!x&&!ge&&/macintosh/i.test(z),xe=!ee&&!me&&!he&&!Se&&/linux/i.test(z),Ae=y(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),Ce=a(/version\/(\d+(\.\d+)?)/i),je=/tablet/i.test(z)&&!/tablet pc/i.test(z),Fe=!je&&/[^-]mobi/i.test(z),Ge=/xbox/i.test(z),Be;/opera/i.test(z)?Be={name:"Opera",opera:se,version:Ce||a(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(z)?Be={name:"Opera",opera:se,version:a(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||Ce}:/SamsungBrowser/i.test(z)?Be={name:"Samsung Internet for Android",samsungBrowser:se,version:Ce||a(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(z)?Be={name:"NAVER Whale browser",whale:se,version:a(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(z)?Be={name:"MZ Browser",mzbrowser:se,version:a(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(z)?Be={name:"Opera Coast",coast:se,version:Ce||a(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(z)?Be={name:"Focus",focus:se,version:a(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(z)?Be={name:"Yandex Browser",yandexbrowser:se,version:Ce||a(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(z)?Be={name:"UC Browser",ucbrowser:se,version:a(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(z)?Be={name:"Maxthon",maxthon:se,version:a(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(z)?Be={name:"Epiphany",epiphany:se,version:a(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(z)?Be={name:"Puffin",puffin:se,version:a(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(z)?Be={name:"Sleipnir",sleipnir:se,version:a(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(z)?Be={name:"K-Meleon",kMeleon:se,version:a(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:ye?(Be={name:"Windows Phone",osname:"Windows Phone",windowsphone:se},Ae?(Be.msedge=se,Be.version=Ae):(Be.msie=se,Be.version=a(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(z)?Be={name:"Internet Explorer",msie:se,version:a(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:fe?Be={name:"Chrome",osname:"Chrome OS",chromeos:se,chromeBook:se,chrome:se,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(z)?Be={name:"Microsoft Edge",msedge:se,version:Ae}:/vivaldi/i.test(z)?Be={name:"Vivaldi",vivaldi:se,version:a(/vivaldi\/(\d+(\.\d+)?)/i)||Ce}:me?Be={name:"Sailfish",osname:"Sailfish OS",sailfish:se,version:a(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(z)?Be={name:"SeaMonkey",seamonkey:se,version:a(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(z)?(Be={name:"Firefox",firefox:se,version:a(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(z)&&(Be.firefoxos=se,Be.osname="Firefox OS")):ge?Be={name:"Amazon Silk",silk:se,version:a(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(z)?Be={name:"PhantomJS",phantom:se,version:a(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(z)?Be={name:"SlimerJS",slimer:se,version:a(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(z)||/rim\stablet/i.test(z)?Be={name:"BlackBerry",osname:"BlackBerry OS",blackberry:se,version:Ce||a(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:Se?(Be={name:"WebOS",osname:"WebOS",webos:se,version:Ce||a(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(z)&&(Be.touchpad=se)):/bada/i.test(z)?Be={name:"Bada",osname:"Bada",bada:se,version:a(/dolfin\/(\d+(\.\d+)?)/i)}:he?Be={name:"Tizen",osname:"Tizen",tizen:se,version:a(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||Ce}:/qupzilla/i.test(z)?Be={name:"QupZilla",qupzilla:se,version:a(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||Ce}:/chromium/i.test(z)?Be={name:"Chromium",chromium:se,version:a(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||Ce}:/chrome|crios|crmo/i.test(z)?Be={name:"Chrome",chrome:se,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:ee?Be={name:"Android",version:Ce}:/safari|applewebkit/i.test(z)?(Be={name:"Safari",safari:se},Ce&&(Be.version=Ce)):x?(Be={name:x=="iphone"?"iPhone":x=="ipad"?"iPad":"iPod"},Ce&&(Be.version=Ce)):/googlebot/i.test(z)?Be={name:"Googlebot",googlebot:se,version:a(/googlebot\/(\d+(\.\d+))/i)||Ce}:Be={name:a(/^(.*)\/(.*) /),version:y(/^(.*)\/(.*) /)},!Be.msedge&&/(apple)?webkit/i.test(z)?(/(apple)?webkit\/537\.36/i.test(z)?(Be.name=Be.name||"Blink",Be.blink=se):(Be.name=Be.name||"Webkit",Be.webkit=se),!Be.version&&Ce&&(Be.version=Ce)):!Be.opera&&/gecko\//i.test(z)&&(Be.name=Be.name||"Gecko",Be.gecko=se,Be.version=Be.version||a(/gecko\/(\d+(\.\d+)?)/i)),!Be.windowsphone&&(ee||Be.silk)?(Be.android=se,Be.osname="Android"):!Be.windowsphone&&x?(Be[x]=se,Be.ios=se,Be.osname="iOS"):De?(Be.mac=se,Be.osname="macOS"):Ge?(Be.xbox=se,Be.osname="Xbox"):we?(Be.windows=se,Be.osname="Windows"):xe&&(Be.linux=se,Be.osname="Linux");function tt(Xe){switch(Xe){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var Ye="";Be.windows?Ye=tt(a(/Windows ((NT|XP)( \d\d?.\d)?)/i)):Be.windowsphone?Ye=a(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):Be.mac?(Ye=a(/Mac OS X (\d+([_\.\s]\d+)*)/i),Ye=Ye.replace(/[_\s]/g,".")):x?(Ye=a(/os (\d+([_\s]\d+)*) like mac os x/i),Ye=Ye.replace(/[_\s]/g,".")):ee?Ye=a(/android[ \/-](\d+(\.\d+)*)/i):Be.webos?Ye=a(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):Be.blackberry?Ye=a(/rim\stablet\sos\s(\d+(\.\d+)*)/i):Be.bada?Ye=a(/bada\/(\d+(\.\d+)*)/i):Be.tizen&&(Ye=a(/tizen[\/\s](\d+(\.\d+)*)/i)),Ye&&(Be.osversion=Ye);var Ve=!Be.windows&&Ye.split(".")[0];return je||le||x=="ipad"||ee&&(Ve==3||Ve>=4&&!Fe)||Be.silk?Be.tablet=se:(Fe||x=="iphone"||x=="ipod"||ee||te||Be.blackberry||Be.webos||Be.bada)&&(Be.mobile=se),Be.msedge||Be.msie&&Be.version>=10||Be.yandexbrowser&&Be.version>=15||Be.vivaldi&&Be.version>=1||Be.chrome&&Be.version>=20||Be.samsungBrowser&&Be.version>=4||Be.whale&&ae([Be.version,"1.0"])===1||Be.mzbrowser&&ae([Be.version,"6.0"])===1||Be.focus&&ae([Be.version,"1.0"])===1||Be.firefox&&Be.version>=20||Be.safari&&Be.version>=6||Be.opera&&Be.version>=10||Be.ios&&Be.osversion&&Be.osversion.split(".")[0]>=6||Be.blackberry&&Be.version>=10.1||Be.chromium&&Be.version>=20?Be.a=se:Be.msie&&Be.version<10||Be.chrome&&Be.version<20||Be.firefox&&Be.version<20||Be.safari&&Be.version<6||Be.opera&&Be.version<10||Be.ios&&Be.osversion&&Be.osversion.split(".")[0]<6||Be.chromium&&Be.version<20?Be.c=se:Be.x=se,Be}var ie=ne(typeof navigator!="undefined"&&navigator.userAgent||"");ie.test=function(z){for(var a=0;a<z.length;++a){var y=z[a];if(typeof y=="string"&&y in ie)return!0}return!1};function ce(z){return z.split(".").length}function ue(z,a){var y=[],x;if(Array.prototype.map)return Array.prototype.map.call(z,a);for(x=0;x<z.length;x++)y.push(a(z[x]));return y}function ae(z){for(var a=Math.max(ce(z[0]),ce(z[1])),y=ue(z,function(x){var b=a-ce(x);return x=x+new Array(b+1).join(".0"),ue(x.split("."),function(ee){return new Array(20-ee.length).join("0")+ee}).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(z,a,y){var x=ie;typeof a=="string"&&(y=a,a=void 0),a===void 0&&(a=!1),y&&(x=ne(y));var b=""+x.version;for(var ee in z)if(z.hasOwnProperty(ee)&&x[ee]){if(typeof z[ee]!="string")throw new Error("Browser version in the minVersion map should be a string: "+ee+": "+String(z));return ae([b,z[ee]])<0}return a}function re(z,a,y){return!oe(z,a,y)}return ie.isUnsupportedBrowser=oe,ie.compareVersions=ae,ie.check=re,ie._detect=ne,ie.detect=ne,ie})},{}],89:[function(E,pe,de){},{}],90:[function(E,pe,de){(function(se){(function(){"use strict";var ne=E("base64-js"),ie=E("ieee754");de.Buffer=oe,de.SlowBuffer=fe,de.INSPECT_MAX_BYTES=50;var ce=2147483647;de.kMaxLength=ce,oe.TYPED_ARRAY_SUPPORT=ue(),!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 ue(){try{var Te=new Uint8Array(1);return Te.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Te.foo()===42}catch(Oe){return!1}}Object.defineProperty(oe.prototype,"parent",{enumerable:!0,get:function(){if(oe.isBuffer(this))return this.buffer}}),Object.defineProperty(oe.prototype,"offset",{enumerable:!0,get:function(){if(oe.isBuffer(this))return this.byteOffset}});function ae(Te){if(Te>ce)throw new RangeError('The value "'+Te+'" is invalid for option "size"');var Oe=new Uint8Array(Te);return Oe.__proto__=oe.prototype,Oe}function oe(Te,Oe,Ee){if(typeof Te=="number"){if(typeof Oe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(Te)}return re(Te,Oe,Ee)}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 re(Te,Oe,Ee){if(typeof Te=="string")return x(Te,Oe);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 ee(Te,Oe,Ee);if(typeof Te=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ie=Te.valueOf&&Te.valueOf();if(Ie!=null&&Ie!==Te)return oe.from(Ie,Oe,Ee);var Ke=te(Te);if(Ke)return Ke;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Te[Symbol.toPrimitive]=="function")return oe.from(Te[Symbol.toPrimitive]("string"),Oe,Ee);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,Oe,Ee){return re(Te,Oe,Ee)},oe.prototype.__proto__=Uint8Array.prototype,oe.__proto__=Uint8Array;function z(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,Oe,Ee){return z(Te),Te<=0?ae(Te):Oe!==void 0?typeof Ee=="string"?ae(Te).fill(Oe,Ee):ae(Te).fill(Oe):ae(Te)}oe.alloc=function(Te,Oe,Ee){return a(Te,Oe,Ee)};function y(Te){return z(Te),ae(Te<0?0:le(Te)|0)}oe.allocUnsafe=function(Te){return y(Te)},oe.allocUnsafeSlow=function(Te){return y(Te)};function x(Te,Oe){if((typeof Oe!="string"||Oe==="")&&(Oe="utf8"),!oe.isEncoding(Oe))throw new TypeError("Unknown encoding: "+Oe);var Ee=ge(Te,Oe)|0,Ie=ae(Ee),Ke=Ie.write(Te,Oe);return Ke!==Ee&&(Ie=Ie.slice(0,Ke)),Ie}function b(Te){for(var Oe=Te.length<0?0:le(Te.length)|0,Ee=ae(Oe),Ie=0;Ie<Oe;Ie+=1)Ee[Ie]=Te[Ie]&255;return Ee}function ee(Te,Oe,Ee){if(Oe<0||Te.byteLength<Oe)throw new RangeError('"offset" is outside of buffer bounds');if(Te.byteLength<Oe+(Ee||0))throw new RangeError('"length" is outside of buffer bounds');var Ie;return Oe===void 0&&Ee===void 0?Ie=new Uint8Array(Te):Ee===void 0?Ie=new Uint8Array(Te,Oe):Ie=new Uint8Array(Te,Oe,Ee),Ie.__proto__=oe.prototype,Ie}function te(Te){if(oe.isBuffer(Te)){var Oe=le(Te.length)|0,Ee=ae(Oe);return Ee.length===0||Te.copy(Ee,0,0,Oe),Ee}if(Te.length!==void 0)return typeof Te.length!="number"||Me(Te.length)?ae(0):b(Te);if(Te.type==="Buffer"&&Array.isArray(Te.data))return b(Te.data)}function le(Te){if(Te>=ce)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ce.toString(16)+" bytes");return Te|0}function fe(Te){return+Te!=Te&&(Te=0),oe.alloc(+Te)}oe.isBuffer=function(Oe){return Oe!=null&&Oe._isBuffer===!0&&Oe!==oe.prototype},oe.compare=function(Oe,Ee){if(We(Oe,Uint8Array)&&(Oe=oe.from(Oe,Oe.offset,Oe.byteLength)),We(Ee,Uint8Array)&&(Ee=oe.from(Ee,Ee.offset,Ee.byteLength)),!oe.isBuffer(Oe)||!oe.isBuffer(Ee))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Oe===Ee)return 0;for(var Ie=Oe.length,Ke=Ee.length,at=0,He=Math.min(Ie,Ke);at<He;++at)if(Oe[at]!==Ee[at]){Ie=Oe[at],Ke=Ee[at];break}return Ie<Ke?-1:Ke<Ie?1:0},oe.isEncoding=function(Oe){switch(String(Oe).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(Oe,Ee){if(!Array.isArray(Oe))throw new TypeError('"list" argument must be an Array of Buffers');if(Oe.length===0)return oe.alloc(0);var Ie;if(Ee===void 0)for(Ee=0,Ie=0;Ie<Oe.length;++Ie)Ee+=Oe[Ie].length;var Ke=oe.allocUnsafe(Ee),at=0;for(Ie=0;Ie<Oe.length;++Ie){var He=Oe[Ie];if(We(He,Uint8Array)&&(He=oe.from(He)),!oe.isBuffer(He))throw new TypeError('"list" argument must be an Array of Buffers');He.copy(Ke,at),at+=He.length}return Ke};function ge(Te,Oe){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 Ee=Te.length,Ie=arguments.length>2&&arguments[2]===!0;if(!Ie&&Ee===0)return 0;for(var Ke=!1;;)switch(Oe){case"ascii":case"latin1":case"binary":return Ee;case"utf8":case"utf-8":return Re(Te).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ee*2;case"hex":return Ee>>>1;case"base64":return Ne(Te).length;default:if(Ke)return Ie?-1:Re(Te).length;Oe=(""+Oe).toLowerCase(),Ke=!0}}oe.byteLength=ge;function me(Te,Oe,Ee){var Ie=!1;if((Oe===void 0||Oe<0)&&(Oe=0),Oe>this.length||((Ee===void 0||Ee>this.length)&&(Ee=this.length),Ee<=0)||(Ee>>>=0,Oe>>>=0,Ee<=Oe))return"";for(Te||(Te="utf8");;)switch(Te){case"hex":return Ve(this,Oe,Ee);case"utf8":case"utf-8":return Fe(this,Oe,Ee);case"ascii":return tt(this,Oe,Ee);case"latin1":case"binary":return Ye(this,Oe,Ee);case"base64":return je(this,Oe,Ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Xe(this,Oe,Ee);default:if(Ie)throw new TypeError("Unknown encoding: "+Te);Te=(Te+"").toLowerCase(),Ie=!0}}oe.prototype._isBuffer=!0;function he(Te,Oe,Ee){var Ie=Te[Oe];Te[Oe]=Te[Ee],Te[Ee]=Ie}oe.prototype.swap16=function(){var Oe=this.length;if(Oe%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Ee=0;Ee<Oe;Ee+=2)he(this,Ee,Ee+1);return this},oe.prototype.swap32=function(){var Oe=this.length;if(Oe%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var Ee=0;Ee<Oe;Ee+=4)he(this,Ee,Ee+3),he(this,Ee+1,Ee+2);return this},oe.prototype.swap64=function(){var Oe=this.length;if(Oe%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var Ee=0;Ee<Oe;Ee+=8)he(this,Ee,Ee+7),he(this,Ee+1,Ee+6),he(this,Ee+2,Ee+5),he(this,Ee+3,Ee+4);return this},oe.prototype.toString=function(){var Oe=this.length;return Oe===0?"":arguments.length===0?Fe(this,0,Oe):me.apply(this,arguments)},oe.prototype.toLocaleString=oe.prototype.toString,oe.prototype.equals=function(Oe){if(!oe.isBuffer(Oe))throw new TypeError("Argument must be a Buffer");return this===Oe?!0:oe.compare(this,Oe)===0},oe.prototype.inspect=function(){var Oe="",Ee=de.INSPECT_MAX_BYTES;return Oe=this.toString("hex",0,Ee).replace(/(.{2})/g,"$1 ").trim(),this.length>Ee&&(Oe+=" ... "),"<Buffer "+Oe+">"},oe.prototype.compare=function(Oe,Ee,Ie,Ke,at){if(We(Oe,Uint8Array)&&(Oe=oe.from(Oe,Oe.offset,Oe.byteLength)),!oe.isBuffer(Oe))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Oe);if(Ee===void 0&&(Ee=0),Ie===void 0&&(Ie=Oe?Oe.length:0),Ke===void 0&&(Ke=0),at===void 0&&(at=this.length),Ee<0||Ie>Oe.length||Ke<0||at>this.length)throw new RangeError("out of range index");if(Ke>=at&&Ee>=Ie)return 0;if(Ke>=at)return-1;if(Ee>=Ie)return 1;if(Ee>>>=0,Ie>>>=0,Ke>>>=0,at>>>=0,this===Oe)return 0;for(var He=at-Ke,nt=Ie-Ee,ft=Math.min(He,nt),lt=this.slice(Ke,at),pt=Oe.slice(Ee,Ie),ct=0;ct<ft;++ct)if(lt[ct]!==pt[ct]){He=lt[ct],nt=pt[ct];break}return He<nt?-1:nt<He?1:0};function Se(Te,Oe,Ee,Ie,Ke){if(Te.length===0)return-1;if(typeof Ee=="string"?(Ie=Ee,Ee=0):Ee>2147483647?Ee=2147483647:Ee<-2147483648&&(Ee=-2147483648),Ee=+Ee,Me(Ee)&&(Ee=Ke?0:Te.length-1),Ee<0&&(Ee=Te.length+Ee),Ee>=Te.length){if(Ke)return-1;Ee=Te.length-1}else if(Ee<0)if(Ke)Ee=0;else return-1;if(typeof Oe=="string"&&(Oe=oe.from(Oe,Ie)),oe.isBuffer(Oe))return Oe.length===0?-1:ye(Te,Oe,Ee,Ie,Ke);if(typeof Oe=="number")return Oe=Oe&255,typeof Uint8Array.prototype.indexOf=="function"?Ke?Uint8Array.prototype.indexOf.call(Te,Oe,Ee):Uint8Array.prototype.lastIndexOf.call(Te,Oe,Ee):ye(Te,[Oe],Ee,Ie,Ke);throw new TypeError("val must be string, number or Buffer")}function ye(Te,Oe,Ee,Ie,Ke){var at=1,He=Te.length,nt=Oe.length;if(Ie!==void 0&&(Ie=String(Ie).toLowerCase(),Ie==="ucs2"||Ie==="ucs-2"||Ie==="utf16le"||Ie==="utf-16le")){if(Te.length<2||Oe.length<2)return-1;at=2,He/=2,nt/=2,Ee/=2}function ft(ot,st){return at===1?ot[st]:ot.readUInt16BE(st*at)}var lt;if(Ke){var pt=-1;for(lt=Ee;lt<He;lt++)if(ft(Te,lt)===ft(Oe,pt===-1?0:lt-pt)){if(pt===-1&&(pt=lt),lt-pt+1===nt)return pt*at}else pt!==-1&&(lt-=lt-pt),pt=-1}else for(Ee+nt>He&&(Ee=He-nt),lt=Ee;lt>=0;lt--){for(var ct=!0,vt=0;vt<nt;vt++)if(ft(Te,lt+vt)!==ft(Oe,vt)){ct=!1;break}if(ct)return lt}return-1}oe.prototype.includes=function(Oe,Ee,Ie){return this.indexOf(Oe,Ee,Ie)!==-1},oe.prototype.indexOf=function(Oe,Ee,Ie){return Se(this,Oe,Ee,Ie,!0)},oe.prototype.lastIndexOf=function(Oe,Ee,Ie){return Se(this,Oe,Ee,Ie,!1)};function Pe(Te,Oe,Ee,Ie){Ee=Number(Ee)||0;var Ke=Te.length-Ee;Ie?(Ie=Number(Ie),Ie>Ke&&(Ie=Ke)):Ie=Ke;var at=Oe.length;Ie>at/2&&(Ie=at/2);for(var He=0;He<Ie;++He){var nt=parseInt(Oe.substr(He*2,2),16);if(Me(nt))return He;Te[Ee+He]=nt}return He}function we(Te,Oe,Ee,Ie){return qe(Re(Oe,Te.length-Ee),Te,Ee,Ie)}function De(Te,Oe,Ee,Ie){return qe($e(Oe),Te,Ee,Ie)}function xe(Te,Oe,Ee,Ie){return De(Te,Oe,Ee,Ie)}function Ae(Te,Oe,Ee,Ie){return qe(Ne(Oe),Te,Ee,Ie)}function Ce(Te,Oe,Ee,Ie){return qe(Le(Oe,Te.length-Ee),Te,Ee,Ie)}oe.prototype.write=function(Oe,Ee,Ie,Ke){if(Ee===void 0)Ke="utf8",Ie=this.length,Ee=0;else if(Ie===void 0&&typeof Ee=="string")Ke=Ee,Ie=this.length,Ee=0;else if(isFinite(Ee))Ee=Ee>>>0,isFinite(Ie)?(Ie=Ie>>>0,Ke===void 0&&(Ke="utf8")):(Ke=Ie,Ie=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var at=this.length-Ee;if((Ie===void 0||Ie>at)&&(Ie=at),Oe.length>0&&(Ie<0||Ee<0)||Ee>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ke||(Ke="utf8");for(var He=!1;;)switch(Ke){case"hex":return Pe(this,Oe,Ee,Ie);case"utf8":case"utf-8":return we(this,Oe,Ee,Ie);case"ascii":return De(this,Oe,Ee,Ie);case"latin1":case"binary":return xe(this,Oe,Ee,Ie);case"base64":return Ae(this,Oe,Ee,Ie);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ce(this,Oe,Ee,Ie);default:if(He)throw new TypeError("Unknown encoding: "+Ke);Ke=(""+Ke).toLowerCase(),He=!0}},oe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function je(Te,Oe,Ee){return Oe===0&&Ee===Te.length?ne.fromByteArray(Te):ne.fromByteArray(Te.slice(Oe,Ee))}function Fe(Te,Oe,Ee){Ee=Math.min(Te.length,Ee);for(var Ie=[],Ke=Oe;Ke<Ee;){var at=Te[Ke],He=null,nt=at>239?4:at>223?3:at>191?2:1;if(Ke+nt<=Ee){var ft,lt,pt,ct;switch(nt){case 1:at<128&&(He=at);break;case 2:ft=Te[Ke+1],(ft&192)===128&&(ct=(at&31)<<6|ft&63,ct>127&&(He=ct));break;case 3:ft=Te[Ke+1],lt=Te[Ke+2],(ft&192)===128&&(lt&192)===128&&(ct=(at&15)<<12|(ft&63)<<6|lt&63,ct>2047&&(ct<55296||ct>57343)&&(He=ct));break;case 4:ft=Te[Ke+1],lt=Te[Ke+2],pt=Te[Ke+3],(ft&192)===128&&(lt&192)===128&&(pt&192)===128&&(ct=(at&15)<<18|(ft&63)<<12|(lt&63)<<6|pt&63,ct>65535&&ct<1114112&&(He=ct))}}He===null?(He=65533,nt=1):He>65535&&(He-=65536,Ie.push(He>>>10&1023|55296),He=56320|He&1023),Ie.push(He),Ke+=nt}return Be(Ie)}var Ge=4096;function Be(Te){var Oe=Te.length;if(Oe<=Ge)return String.fromCharCode.apply(String,Te);for(var Ee="",Ie=0;Ie<Oe;)Ee+=String.fromCharCode.apply(String,Te.slice(Ie,Ie+=Ge));return Ee}function tt(Te,Oe,Ee){var Ie="";Ee=Math.min(Te.length,Ee);for(var Ke=Oe;Ke<Ee;++Ke)Ie+=String.fromCharCode(Te[Ke]&127);return Ie}function Ye(Te,Oe,Ee){var Ie="";Ee=Math.min(Te.length,Ee);for(var Ke=Oe;Ke<Ee;++Ke)Ie+=String.fromCharCode(Te[Ke]);return Ie}function Ve(Te,Oe,Ee){var Ie=Te.length;(!Oe||Oe<0)&&(Oe=0),(!Ee||Ee<0||Ee>Ie)&&(Ee=Ie);for(var Ke="",at=Oe;at<Ee;++at)Ke+=Ue(Te[at]);return Ke}function Xe(Te,Oe,Ee){for(var Ie=Te.slice(Oe,Ee),Ke="",at=0;at<Ie.length;at+=2)Ke+=String.fromCharCode(Ie[at]+Ie[at+1]*256);return Ke}oe.prototype.slice=function(Oe,Ee){var Ie=this.length;Oe=~~Oe,Ee=Ee===void 0?Ie:~~Ee,Oe<0?(Oe+=Ie,Oe<0&&(Oe=0)):Oe>Ie&&(Oe=Ie),Ee<0?(Ee+=Ie,Ee<0&&(Ee=0)):Ee>Ie&&(Ee=Ie),Ee<Oe&&(Ee=Oe);var Ke=this.subarray(Oe,Ee);return Ke.__proto__=oe.prototype,Ke};function Ze(Te,Oe,Ee){if(Te%1!==0||Te<0)throw new RangeError("offset is not uint");if(Te+Oe>Ee)throw new RangeError("Trying to access beyond buffer length")}oe.prototype.readUIntLE=function(Oe,Ee,Ie){Oe=Oe>>>0,Ee=Ee>>>0,Ie||Ze(Oe,Ee,this.length);for(var Ke=this[Oe],at=1,He=0;++He<Ee&&(at*=256);)Ke+=this[Oe+He]*at;return Ke},oe.prototype.readUIntBE=function(Oe,Ee,Ie){Oe=Oe>>>0,Ee=Ee>>>0,Ie||Ze(Oe,Ee,this.length);for(var Ke=this[Oe+--Ee],at=1;Ee>0&&(at*=256);)Ke+=this[Oe+--Ee]*at;return Ke},oe.prototype.readUInt8=function(Oe,Ee){return Oe=Oe>>>0,Ee||Ze(Oe,1,this.length),this[Oe]},oe.prototype.readUInt16LE=function(Oe,Ee){return Oe=Oe>>>0,Ee||Ze(Oe,2,this.length),this[Oe]|this[Oe+1]<<8},oe.prototype.readUInt16BE=function(Oe,Ee){return Oe=Oe>>>0,Ee||Ze(Oe,2,this.length),this[Oe]<<8|this[Oe+1]},oe.prototype.readUInt32LE=function(Oe,Ee){return Oe=Oe>>>0,Ee||Ze(Oe,4,this.length),(this[Oe]|this[Oe+1]<<8|this[Oe+2]<<16)+this[Oe+3]*16777216},oe.prototype.readUInt32BE=function(Oe,Ee){return Oe=Oe>>>0,Ee||Ze(Oe,4,this.length),this[Oe]*16777216+(this[Oe+1]<<16|this[Oe+2]<<8|this[Oe+3])},oe.prototype.readIntLE=function(Oe,Ee,Ie){Oe=Oe>>>0,Ee=Ee>>>0,Ie||Ze(Oe,Ee,this.length);for(var Ke=this[Oe],at=1,He=0;++He<Ee&&(at*=256);)Ke+=this[Oe+He]*at;return at*=128,Ke>=at&&(Ke-=Math.pow(2,8*Ee)),Ke},oe.prototype.readIntBE=function(Oe,Ee,Ie){Oe=Oe>>>0,Ee=Ee>>>0,Ie||Ze(Oe,Ee,this.length);for(var Ke=Ee,at=1,He=this[Oe+--Ke];Ke>0&&(at*=256);)He+=this[Oe+--Ke]*at;return at*=128,He>=at&&(He-=Math.pow(2,8*Ee)),He},oe.prototype.readInt8=function(Oe,Ee){return Oe=Oe>>>0,Ee||Ze(Oe,1,this.length),this[Oe]&128?(255-this[Oe]+1)*-1:this[Oe]},oe.prototype.readInt16LE=function(Oe,Ee){Oe=Oe>>>0,Ee||Ze(Oe,2,this.length);var Ie=this[Oe]|this[Oe+1]<<8;return Ie&32768?Ie|4294901760:Ie},oe.prototype.readInt16BE=function(Oe,Ee){Oe=Oe>>>0,Ee||Ze(Oe,2,this.length);var Ie=this[Oe+1]|this[Oe]<<8;return Ie&32768?Ie|4294901760:Ie},oe.prototype.readInt32LE=function(Oe,Ee){return Oe=Oe>>>0,Ee||Ze(Oe,4,this.length),this[Oe]|this[Oe+1]<<8|this[Oe+2]<<16|this[Oe+3]<<24},oe.prototype.readInt32BE=function(Oe,Ee){return Oe=Oe>>>0,Ee||Ze(Oe,4,this.length),this[Oe]<<24|this[Oe+1]<<16|this[Oe+2]<<8|this[Oe+3]},oe.prototype.readFloatLE=function(Oe,Ee){return Oe=Oe>>>0,Ee||Ze(Oe,4,this.length),ie.read(this,Oe,!0,23,4)},oe.prototype.readFloatBE=function(Oe,Ee){return Oe=Oe>>>0,Ee||Ze(Oe,4,this.length),ie.read(this,Oe,!1,23,4)},oe.prototype.readDoubleLE=function(Oe,Ee){return Oe=Oe>>>0,Ee||Ze(Oe,8,this.length),ie.read(this,Oe,!0,52,8)},oe.prototype.readDoubleBE=function(Oe,Ee){return Oe=Oe>>>0,Ee||Ze(Oe,8,this.length),ie.read(this,Oe,!1,52,8)};function ke(Te,Oe,Ee,Ie,Ke,at){if(!oe.isBuffer(Te))throw new TypeError('"buffer" argument must be a Buffer instance');if(Oe>Ke||Oe<at)throw new RangeError('"value" argument is out of bounds');if(Ee+Ie>Te.length)throw new RangeError("Index out of range")}oe.prototype.writeUIntLE=function(Oe,Ee,Ie,Ke){if(Oe=+Oe,Ee=Ee>>>0,Ie=Ie>>>0,!Ke){var at=Math.pow(2,8*Ie)-1;ke(this,Oe,Ee,Ie,at,0)}var He=1,nt=0;for(this[Ee]=Oe&255;++nt<Ie&&(He*=256);)this[Ee+nt]=Oe/He&255;return Ee+Ie},oe.prototype.writeUIntBE=function(Oe,Ee,Ie,Ke){if(Oe=+Oe,Ee=Ee>>>0,Ie=Ie>>>0,!Ke){var at=Math.pow(2,8*Ie)-1;ke(this,Oe,Ee,Ie,at,0)}var He=Ie-1,nt=1;for(this[Ee+He]=Oe&255;--He>=0&&(nt*=256);)this[Ee+He]=Oe/nt&255;return Ee+Ie},oe.prototype.writeUInt8=function(Oe,Ee,Ie){return Oe=+Oe,Ee=Ee>>>0,Ie||ke(this,Oe,Ee,1,255,0),this[Ee]=Oe&255,Ee+1},oe.prototype.writeUInt16LE=function(Oe,Ee,Ie){return Oe=+Oe,Ee=Ee>>>0,Ie||ke(this,Oe,Ee,2,65535,0),this[Ee]=Oe&255,this[Ee+1]=Oe>>>8,Ee+2},oe.prototype.writeUInt16BE=function(Oe,Ee,Ie){return Oe=+Oe,Ee=Ee>>>0,Ie||ke(this,Oe,Ee,2,65535,0),this[Ee]=Oe>>>8,this[Ee+1]=Oe&255,Ee+2},oe.prototype.writeUInt32LE=function(Oe,Ee,Ie){return Oe=+Oe,Ee=Ee>>>0,Ie||ke(this,Oe,Ee,4,4294967295,0),this[Ee+3]=Oe>>>24,this[Ee+2]=Oe>>>16,this[Ee+1]=Oe>>>8,this[Ee]=Oe&255,Ee+4},oe.prototype.writeUInt32BE=function(Oe,Ee,Ie){return Oe=+Oe,Ee=Ee>>>0,Ie||ke(this,Oe,Ee,4,4294967295,0),this[Ee]=Oe>>>24,this[Ee+1]=Oe>>>16,this[Ee+2]=Oe>>>8,this[Ee+3]=Oe&255,Ee+4},oe.prototype.writeIntLE=function(Oe,Ee,Ie,Ke){if(Oe=+Oe,Ee=Ee>>>0,!Ke){var at=Math.pow(2,8*Ie-1);ke(this,Oe,Ee,Ie,at-1,-at)}var He=0,nt=1,ft=0;for(this[Ee]=Oe&255;++He<Ie&&(nt*=256);)Oe<0&&ft===0&&this[Ee+He-1]!==0&&(ft=1),this[Ee+He]=(Oe/nt>>0)-ft&255;return Ee+Ie},oe.prototype.writeIntBE=function(Oe,Ee,Ie,Ke){if(Oe=+Oe,Ee=Ee>>>0,!Ke){var at=Math.pow(2,8*Ie-1);ke(this,Oe,Ee,Ie,at-1,-at)}var He=Ie-1,nt=1,ft=0;for(this[Ee+He]=Oe&255;--He>=0&&(nt*=256);)Oe<0&&ft===0&&this[Ee+He+1]!==0&&(ft=1),this[Ee+He]=(Oe/nt>>0)-ft&255;return Ee+Ie},oe.prototype.writeInt8=function(Oe,Ee,Ie){return Oe=+Oe,Ee=Ee>>>0,Ie||ke(this,Oe,Ee,1,127,-128),Oe<0&&(Oe=255+Oe+1),this[Ee]=Oe&255,Ee+1},oe.prototype.writeInt16LE=function(Oe,Ee,Ie){return Oe=+Oe,Ee=Ee>>>0,Ie||ke(this,Oe,Ee,2,32767,-32768),this[Ee]=Oe&255,this[Ee+1]=Oe>>>8,Ee+2},oe.prototype.writeInt16BE=function(Oe,Ee,Ie){return Oe=+Oe,Ee=Ee>>>0,Ie||ke(this,Oe,Ee,2,32767,-32768),this[Ee]=Oe>>>8,this[Ee+1]=Oe&255,Ee+2},oe.prototype.writeInt32LE=function(Oe,Ee,Ie){return Oe=+Oe,Ee=Ee>>>0,Ie||ke(this,Oe,Ee,4,2147483647,-2147483648),this[Ee]=Oe&255,this[Ee+1]=Oe>>>8,this[Ee+2]=Oe>>>16,this[Ee+3]=Oe>>>24,Ee+4},oe.prototype.writeInt32BE=function(Oe,Ee,Ie){return Oe=+Oe,Ee=Ee>>>0,Ie||ke(this,Oe,Ee,4,2147483647,-2147483648),Oe<0&&(Oe=4294967295+Oe+1),this[Ee]=Oe>>>24,this[Ee+1]=Oe>>>16,this[Ee+2]=Oe>>>8,this[Ee+3]=Oe&255,Ee+4};function ze(Te,Oe,Ee,Ie,Ke,at){if(Ee+Ie>Te.length)throw new RangeError("Index out of range");if(Ee<0)throw new RangeError("Index out of range")}function et(Te,Oe,Ee,Ie,Ke){return Oe=+Oe,Ee=Ee>>>0,Ke||ze(Te,Oe,Ee,4,34028234663852886e22,-34028234663852886e22),ie.write(Te,Oe,Ee,Ie,23,4),Ee+4}oe.prototype.writeFloatLE=function(Oe,Ee,Ie){return et(this,Oe,Ee,!0,Ie)},oe.prototype.writeFloatBE=function(Oe,Ee,Ie){return et(this,Oe,Ee,!1,Ie)};function Je(Te,Oe,Ee,Ie,Ke){return Oe=+Oe,Ee=Ee>>>0,Ke||ze(Te,Oe,Ee,8,17976931348623157e292,-17976931348623157e292),ie.write(Te,Oe,Ee,Ie,52,8),Ee+8}oe.prototype.writeDoubleLE=function(Oe,Ee,Ie){return Je(this,Oe,Ee,!0,Ie)},oe.prototype.writeDoubleBE=function(Oe,Ee,Ie){return Je(this,Oe,Ee,!1,Ie)},oe.prototype.copy=function(Oe,Ee,Ie,Ke){if(!oe.isBuffer(Oe))throw new TypeError("argument should be a Buffer");if(Ie||(Ie=0),!Ke&&Ke!==0&&(Ke=this.length),Ee>=Oe.length&&(Ee=Oe.length),Ee||(Ee=0),Ke>0&&Ke<Ie&&(Ke=Ie),Ke===Ie||Oe.length===0||this.length===0)return 0;if(Ee<0)throw new RangeError("targetStart out of bounds");if(Ie<0||Ie>=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),Oe.length-Ee<Ke-Ie&&(Ke=Oe.length-Ee+Ie);var at=Ke-Ie;if(this===Oe&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(Ee,Ie,Ke);else if(this===Oe&&Ie<Ee&&Ee<Ke)for(var He=at-1;He>=0;--He)Oe[He+Ee]=this[He+Ie];else Uint8Array.prototype.set.call(Oe,this.subarray(Ie,Ke),Ee);return at},oe.prototype.fill=function(Oe,Ee,Ie,Ke){if(typeof Oe=="string"){if(typeof Ee=="string"?(Ke=Ee,Ee=0,Ie=this.length):typeof Ie=="string"&&(Ke=Ie,Ie=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(Oe.length===1){var at=Oe.charCodeAt(0);(Ke==="utf8"&&at<128||Ke==="latin1")&&(Oe=at)}}else typeof Oe=="number"&&(Oe=Oe&255);if(Ee<0||this.length<Ee||this.length<Ie)throw new RangeError("Out of range index");if(Ie<=Ee)return this;Ee=Ee>>>0,Ie=Ie===void 0?this.length:Ie>>>0,Oe||(Oe=0);var He;if(typeof Oe=="number")for(He=Ee;He<Ie;++He)this[He]=Oe;else{var nt=oe.isBuffer(Oe)?Oe:oe.from(Oe,Ke),ft=nt.length;if(ft===0)throw new TypeError('The value "'+Oe+'" is invalid for argument "value"');for(He=0;He<Ie-Ee;++He)this[He+Ee]=nt[He%ft]}return this};var ut=/[^+/0-9A-Za-z-_]/g;function Qe(Te){if(Te=Te.split("=")[0],Te=Te.trim().replace(ut,""),Te.length<2)return"";for(;Te.length%4!==0;)Te=Te+"=";return Te}function Ue(Te){return Te<16?"0"+Te.toString(16):Te.toString(16)}function Re(Te,Oe){Oe=Oe||1/0;for(var Ee,Ie=Te.length,Ke=null,at=[],He=0;He<Ie;++He){if(Ee=Te.charCodeAt(He),Ee>55295&&Ee<57344){if(!Ke){if(Ee>56319){(Oe-=3)>-1&&at.push(239,191,189);continue}else if(He+1===Ie){(Oe-=3)>-1&&at.push(239,191,189);continue}Ke=Ee;continue}if(Ee<56320){(Oe-=3)>-1&&at.push(239,191,189),Ke=Ee;continue}Ee=(Ke-55296<<10|Ee-56320)+65536}else Ke&&(Oe-=3)>-1&&at.push(239,191,189);if(Ke=null,Ee<128){if((Oe-=1)<0)break;at.push(Ee)}else if(Ee<2048){if((Oe-=2)<0)break;at.push(Ee>>6|192,Ee&63|128)}else if(Ee<65536){if((Oe-=3)<0)break;at.push(Ee>>12|224,Ee>>6&63|128,Ee&63|128)}else if(Ee<1114112){if((Oe-=4)<0)break;at.push(Ee>>18|240,Ee>>12&63|128,Ee>>6&63|128,Ee&63|128)}else throw new Error("Invalid code point")}return at}function $e(Te){for(var Oe=[],Ee=0;Ee<Te.length;++Ee)Oe.push(Te.charCodeAt(Ee)&255);return Oe}function Le(Te,Oe){for(var Ee,Ie,Ke,at=[],He=0;He<Te.length&&!((Oe-=2)<0);++He)Ee=Te.charCodeAt(He),Ie=Ee>>8,Ke=Ee%256,at.push(Ke),at.push(Ie);return at}function Ne(Te){return ne.toByteArray(Qe(Te))}function qe(Te,Oe,Ee,Ie){for(var Ke=0;Ke<Ie&&!(Ke+Ee>=Oe.length||Ke>=Te.length);++Ke)Oe[Ke+Ee]=Te[Ke];return Ke}function We(Te,Oe){return Te instanceof Oe||Te!=null&&Te.constructor!=null&&Te.constructor.name!=null&&Te.constructor.name===Oe.name}function Me(Te){return Te!==Te}}).call(this)}).call(this,E("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(E,pe,de){pe.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],92:[function(E,pe,de){"use strict";var se=E("get-intrinsic"),ne=E("./"),ie=ne(se("String.prototype.indexOf"));pe.exports=function(ue,ae){var oe=se(ue,!!ae);return typeof oe=="function"&&ie(ue,".prototype.")>-1?ne(oe):oe}},{"./":93,"get-intrinsic":348}],93:[function(E,pe,de){"use strict";var se=E("function-bind"),ne=E("get-intrinsic"),ie=ne("%Function.prototype.apply%"),ce=ne("%Function.prototype.call%"),ue=ne("%Reflect.apply%",!0)||se.call(ce,ie),ae=ne("%Object.getOwnPropertyDescriptor%",!0),oe=ne("%Object.defineProperty%",!0),re=ne("%Math.max%");if(oe)try{oe({},"a",{value:1})}catch(a){oe=null}pe.exports=function(y){var x=ue(se,ce,arguments);if(ae&&oe){var b=ae(x,"length");b.configurable&&oe(x,"length",{value:1+re(0,y.length-(arguments.length-1))})}return x};var z=function(){return ue(se,ie,arguments)};oe?oe(pe.exports,"apply",{value:z}):pe.exports.apply=z},{"function-bind":347,"get-intrinsic":348}],94:[function(E,pe,de){"use strict";var se=Array.prototype.slice;pe.exports=ne;function ne(ce,ue){if(!(this instanceof ne))return new ne(ce,ue);this.src=ce,this._withAccess=ue}ne.prototype.withAccess=function(ce){return this._withAccess=ce!==!1,this},ne.prototype.pick=function(ce){return Array.isArray(ce)||(ce=se.call(arguments)),ce.length&&(this.keys=ce),this},ne.prototype.to=function(ce){if(ce=ce||{},!this.src)return ce;var ue=this.keys||Object.keys(this.src);if(!this._withAccess){for(var ae=0;ae<ue.length;ae++)oe=ue[ae],ce[oe]===void 0&&(ce[oe]=this.src[oe]);return ce}for(var ae=0;ae<ue.length;ae++){var oe=ue[ae];if(ie(ce,oe)){var re=this.src.__lookupGetter__(oe),z=this.src.__lookupSetter__(oe);re&&ce.__defineGetter__(oe,re),z&&ce.__defineSetter__(oe,z),!re&&!z&&(ce[oe]=this.src[oe])}}return ce},ne.prototype.toCover=function(ce){for(var ue=this.keys||Object.keys(this.src),ae=0;ae<ue.length;ae++){var oe=ue[ae];delete ce[oe];var re=this.src.__lookupGetter__(oe),z=this.src.__lookupSetter__(oe);re&&ce.__defineGetter__(oe,re),z&&ce.__defineSetter__(oe,z),!re&&!z&&(ce[oe]=this.src[oe])}},ne.prototype.override=ne.prototype.toCover,ne.prototype.and=function(ce){var ue={};return this.to(ue),this.src=ce,this.to(ue),this.src=ue,this};function ie(ce,ue){return ce[ue]===void 0&&ce.__lookupGetter__(ue)===void 0&&ce.__lookupSetter__(ue)===void 0}},{}],95:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/is-callable"),ie=E("../internals/try-to-string"),ce=se.TypeError;pe.exports=function(ue){if(ne(ue))return ue;throw ce(ie(ue)+" is not a function")}},{"../internals/global":163,"../internals/is-callable":176,"../internals/try-to-string":257}],96:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/is-constructor"),ie=E("../internals/try-to-string"),ce=se.TypeError;pe.exports=function(ue){if(ne(ue))return ue;throw ce(ie(ue)+" is not a constructor")}},{"../internals/global":163,"../internals/is-constructor":177,"../internals/try-to-string":257}],97:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/is-callable"),ie=se.String,ce=se.TypeError;pe.exports=function(ue){if(typeof ue=="object"||ne(ue))return ue;throw ce("Can't set "+ie(ue)+" as a prototype")}},{"../internals/global":163,"../internals/is-callable":176}],98:[function(E,pe,de){var se=E("../internals/well-known-symbol"),ne=E("../internals/object-create"),ie=E("../internals/object-define-property"),ce=se("unscopables"),ue=Array.prototype;ue[ce]==null&&ie.f(ue,ce,{configurable:!0,value:ne(null)}),pe.exports=function(ae){ue[ce][ae]=!0}},{"../internals/object-create":196,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],99:[function(E,pe,de){"use strict";var se=E("../internals/string-multibyte").charAt;pe.exports=function(ne,ie,ce){return ie+(ce?se(ne,ie).length:1)}},{"../internals/string-multibyte":239}],100:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/object-is-prototype-of"),ie=se.TypeError;pe.exports=function(ce,ue){if(ne(ue,ce))return ce;throw ie("Incorrect invocation")}},{"../internals/global":163,"../internals/object-is-prototype-of":204}],101:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/is-object"),ie=se.String,ce=se.TypeError;pe.exports=function(ue){if(ne(ue))return ue;throw ce(ie(ue)+" is not an object")}},{"../internals/global":163,"../internals/is-object":180}],102:[function(E,pe,de){pe.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},{}],103:[function(E,pe,de){"use strict";var se=E("../internals/array-buffer-native"),ne=E("../internals/descriptors"),ie=E("../internals/global"),ce=E("../internals/is-callable"),ue=E("../internals/is-object"),ae=E("../internals/has-own-property"),oe=E("../internals/classof"),re=E("../internals/try-to-string"),z=E("../internals/create-non-enumerable-property"),a=E("../internals/redefine"),y=E("../internals/object-define-property").f,x=E("../internals/object-is-prototype-of"),b=E("../internals/object-get-prototype-of"),ee=E("../internals/object-set-prototype-of"),te=E("../internals/well-known-symbol"),le=E("../internals/uid"),fe=ie.Int8Array,ge=fe&&fe.prototype,me=ie.Uint8ClampedArray,he=me&&me.prototype,Se=fe&&b(fe),ye=ge&&b(ge),Pe=Object.prototype,we=ie.TypeError,De=te("toStringTag"),xe=le("TYPED_ARRAY_TAG"),Ae=le("TYPED_ARRAY_CONSTRUCTOR"),Ce=se&&!!ee&&oe(ie.opera)!=="Opera",je=!1,Fe,Ge,Be,tt={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Ye={BigInt64Array:8,BigUint64Array:8},Ve=function(ut){if(!ue(ut))return!1;var Qe=oe(ut);return Qe==="DataView"||ae(tt,Qe)||ae(Ye,Qe)},Xe=function(Je){if(!ue(Je))return!1;var ut=oe(Je);return ae(tt,ut)||ae(Ye,ut)},Ze=function(Je){if(Xe(Je))return Je;throw we("Target is not a typed array")},ke=function(Je){if(ce(Je)&&(!ee||x(Se,Je)))return Je;throw we(re(Je)+" is not a typed array constructor")},ze=function(Je,ut,Qe,Ue){if(ne){if(Qe)for(var Re in tt){var $e=ie[Re];if($e&&ae($e.prototype,Je))try{delete $e.prototype[Je]}catch(Le){try{$e.prototype[Je]=ut}catch(Ne){}}}(!ye[Je]||Qe)&&a(ye,Je,Qe?ut:Ce&&ge[Je]||ut,Ue)}},et=function(Je,ut,Qe){var Ue,Re;if(ne){if(ee){if(Qe){for(Ue in tt)if(Re=ie[Ue],Re&&ae(Re,Je))try{delete Re[Je]}catch($e){}}if(!Se[Je]||Qe)try{return a(Se,Je,Qe?ut:Ce&&Se[Je]||ut)}catch($e){}else return}for(Ue in tt)Re=ie[Ue],Re&&(!Re[Je]||Qe)&&a(Re,Je,ut)}};for(Fe in tt)Ge=ie[Fe],Be=Ge&&Ge.prototype,Be?z(Be,Ae,Ge):Ce=!1;for(Fe in Ye)Ge=ie[Fe],Be=Ge&&Ge.prototype,Be&&z(Be,Ae,Ge);if((!Ce||!ce(Se)||Se===Function.prototype)&&(Se=function(){throw we("Incorrect invocation")},Ce))for(Fe in tt)ie[Fe]&&ee(ie[Fe],Se);if((!Ce||!ye||ye===Pe)&&(ye=Se.prototype,Ce))for(Fe in tt)ie[Fe]&&ee(ie[Fe].prototype,ye);if(Ce&&b(he)!==ye&&ee(he,ye),ne&&!ae(ye,De)){je=!0,y(ye,De,{get:function(){return ue(this)?this[xe]:void 0}});for(Fe in tt)ie[Fe]&&z(ie[Fe],xe,Fe)}pe.exports={NATIVE_ARRAY_BUFFER_VIEWS:Ce,TYPED_ARRAY_CONSTRUCTOR:Ae,TYPED_ARRAY_TAG:je&&xe,aTypedArray:Ze,aTypedArrayConstructor:ke,exportTypedArrayMethod:ze,exportTypedArrayStaticMethod:et,isView:Ve,isTypedArray:Xe,TypedArray:Se,TypedArrayPrototype:ye}},{"../internals/array-buffer-native":102,"../internals/classof":124,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-define-property":198,"../internals/object-get-prototype-of":203,"../internals/object-is-prototype-of":204,"../internals/object-set-prototype-of":208,"../internals/redefine":222,"../internals/try-to-string":257,"../internals/uid":263,"../internals/well-known-symbol":268}],104:[function(E,pe,de){"use strict";var se=E("../internals/global"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/descriptors"),ce=E("../internals/array-buffer-native"),ue=E("../internals/function-name"),ae=E("../internals/create-non-enumerable-property"),oe=E("../internals/redefine-all"),re=E("../internals/fails"),z=E("../internals/an-instance"),a=E("../internals/to-integer-or-infinity"),y=E("../internals/to-length"),x=E("../internals/to-index"),b=E("../internals/ieee754"),ee=E("../internals/object-get-prototype-of"),te=E("../internals/object-set-prototype-of"),le=E("../internals/object-get-own-property-names").f,fe=E("../internals/object-define-property").f,ge=E("../internals/array-fill"),me=E("../internals/array-slice-simple"),he=E("../internals/set-to-string-tag"),Se=E("../internals/internal-state"),ye=ue.PROPER,Pe=ue.CONFIGURABLE,we=Se.get,De=Se.set,xe="ArrayBuffer",Ae="DataView",Ce="prototype",je="Wrong length",Fe="Wrong index",Ge=se[xe],Be=Ge,tt=Be&&Be[Ce],Ye=se[Ae],Ve=Ye&&Ye[Ce],Xe=Object.prototype,Ze=se.Array,ke=se.RangeError,ze=ne(ge),et=ne([].reverse),Je=b.pack,ut=b.unpack,Qe=function(He){return[He&255]},Ue=function(He){return[He&255,He>>8&255]},Re=function(He){return[He&255,He>>8&255,He>>16&255,He>>24&255]},$e=function(He){return He[3]<<24|He[2]<<16|He[1]<<8|He[0]},Le=function(He){return Je(He,23,4)},Ne=function(He){return Je(He,52,8)},qe=function(He,nt){fe(He[Ce],nt,{get:function(){return we(this)[nt]}})},We=function(He,nt,ft,lt){var pt=x(ft),ct=we(He);if(pt+nt>ct.byteLength)throw ke(Fe);var vt=we(ct.buffer).bytes,ot=pt+ct.byteOffset,st=me(vt,ot,ot+nt);return lt?st:et(st)},Me=function(He,nt,ft,lt,pt,ct){var vt=x(ft),ot=we(He);if(vt+nt>ot.byteLength)throw ke(Fe);for(var st=we(ot.buffer).bytes,ht=vt+ot.byteOffset,mt=lt(+pt),bt=0;bt<nt;bt++)st[ht+bt]=mt[ct?bt:nt-bt-1]};if(!ce)Be=function(nt){z(this,tt);var ft=x(nt);De(this,{bytes:ze(Ze(ft),0),byteLength:ft}),ie||(this.byteLength=ft)},tt=Be[Ce],Ye=function(nt,ft,lt){z(this,Ve),z(nt,tt);var pt=we(nt).byteLength,ct=a(ft);if(ct<0||ct>pt)throw ke("Wrong offset");if(lt=lt===void 0?pt-ct:y(lt),ct+lt>pt)throw ke(je);De(this,{buffer:nt,byteLength:lt,byteOffset:ct}),ie||(this.buffer=nt,this.byteLength=lt,this.byteOffset=ct)},Ve=Ye[Ce],ie&&(qe(Be,"byteLength"),qe(Ye,"buffer"),qe(Ye,"byteLength"),qe(Ye,"byteOffset")),oe(Ve,{getInt8:function(nt){return We(this,1,nt)[0]<<24>>24},getUint8:function(nt){return We(this,1,nt)[0]},getInt16:function(nt){var ft=We(this,2,nt,arguments.length>1?arguments[1]:void 0);return(ft[1]<<8|ft[0])<<16>>16},getUint16:function(nt){var ft=We(this,2,nt,arguments.length>1?arguments[1]:void 0);return ft[1]<<8|ft[0]},getInt32:function(nt){return $e(We(this,4,nt,arguments.length>1?arguments[1]:void 0))},getUint32:function(nt){return $e(We(this,4,nt,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(nt){return ut(We(this,4,nt,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(nt){return ut(We(this,8,nt,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(nt,ft){Me(this,1,nt,Qe,ft)},setUint8:function(nt,ft){Me(this,1,nt,Qe,ft)},setInt16:function(nt,ft){Me(this,2,nt,Ue,ft,arguments.length>2?arguments[2]:void 0)},setUint16:function(nt,ft){Me(this,2,nt,Ue,ft,arguments.length>2?arguments[2]:void 0)},setInt32:function(nt,ft){Me(this,4,nt,Re,ft,arguments.length>2?arguments[2]:void 0)},setUint32:function(nt,ft){Me(this,4,nt,Re,ft,arguments.length>2?arguments[2]:void 0)},setFloat32:function(nt,ft){Me(this,4,nt,Le,ft,arguments.length>2?arguments[2]:void 0)},setFloat64:function(nt,ft){Me(this,8,nt,Ne,ft,arguments.length>2?arguments[2]:void 0)}});else{var Te=ye&&Ge.name!==xe;if(!re(function(){Ge(1)})||!re(function(){new Ge(-1)})||re(function(){return new Ge,new Ge(1.5),new Ge(NaN),Te&&!Pe})){Be=function(nt){return z(this,tt),new Ge(x(nt))},Be[Ce]=tt;for(var Oe=le(Ge),Ee=0,Ie;Oe.length>Ee;)(Ie=Oe[Ee++])in Be||ae(Be,Ie,Ge[Ie]);tt.constructor=Be}else Te&&Pe&&ae(Ge,"name",xe);te&&ee(Ve)!==Xe&&te(Ve,Xe);var Ke=new Ye(new Be(2)),at=ne(Ve.setInt8);Ke.setInt8(0,2147483648),Ke.setInt8(1,2147483649),(Ke.getInt8(0)||!Ke.getInt8(1))&&oe(Ve,{setInt8:function(nt,ft){at(this,nt,ft<<24>>24)},setUint8:function(nt,ft){at(this,nt,ft<<24>>24)}},{unsafe:!0})}he(Be,xe),he(Ye,Ae),pe.exports={ArrayBuffer:Be,DataView:Ye}},{"../internals/an-instance":100,"../internals/array-buffer-native":102,"../internals/array-fill":106,"../internals/array-slice-simple":116,"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/ieee754":169,"../internals/internal-state":173,"../internals/object-define-property":198,"../internals/object-get-own-property-names":201,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine-all":221,"../internals/set-to-string-tag":234,"../internals/to-index":246,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],105:[function(E,pe,de){"use strict";var se=E("../internals/to-object"),ne=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),ce=Math.min;pe.exports=[].copyWithin||function(ae,oe){var re=se(this),z=ie(re),a=ne(ae,z),y=ne(oe,z),x=arguments.length>2?arguments[2]:void 0,b=ce((x===void 0?z:ne(x,z))-y,z-a),ee=1;for(y<a&&a<y+b&&(ee=-1,y+=b-1,a+=b-1);b-- >0;)y in re?re[a]=re[y]:delete re[a],a+=ee,y+=ee;return re}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(E,pe,de){"use strict";var se=E("../internals/to-object"),ne=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like");pe.exports=function(ue){for(var ae=se(this),oe=ie(ae),re=arguments.length,z=ne(re>1?arguments[1]:void 0,oe),a=re>2?arguments[2]:void 0,y=a===void 0?oe:ne(a,oe);y>z;)ae[z++]=ue;return ae}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(E,pe,de){"use strict";var se=E("../internals/array-iteration").forEach,ne=E("../internals/array-method-is-strict"),ie=ne("forEach");pe.exports=ie?[].forEach:function(ue){return se(this,ue,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(E,pe,de){var se=E("../internals/length-of-array-like");pe.exports=function(ne,ie){for(var ce=0,ue=se(ie),ae=new ne(ue);ue>ce;)ae[ce]=ie[ce++];return ae}},{"../internals/length-of-array-like":188}],109:[function(E,pe,de){"use strict";var se=E("../internals/global"),ne=E("../internals/function-bind-context"),ie=E("../internals/function-call"),ce=E("../internals/to-object"),ue=E("../internals/call-with-safe-iteration-closing"),ae=E("../internals/is-array-iterator-method"),oe=E("../internals/is-constructor"),re=E("../internals/length-of-array-like"),z=E("../internals/create-property"),a=E("../internals/get-iterator"),y=E("../internals/get-iterator-method"),x=se.Array;pe.exports=function(ee){var te=ce(ee),le=oe(this),fe=arguments.length,ge=fe>1?arguments[1]:void 0,me=ge!==void 0;me&&(ge=ne(ge,fe>2?arguments[2]:void 0));var he=y(te),Se=0,ye,Pe,we,De,xe,Ae;if(he&&!(this==x&&ae(he)))for(De=a(te,he),xe=De.next,Pe=le?new this:[];!(we=ie(xe,De)).done;Se++)Ae=me?ue(De,ge,[we.value,Se],!0):we.value,z(Pe,Se,Ae);else for(ye=re(te),Pe=le?new this(ye):x(ye);ye>Se;Se++)Ae=me?ge(te[Se],Se):te[Se],z(Pe,Se,Ae);return Pe.length=Se,Pe}},{"../internals/call-with-safe-iteration-closing":121,"../internals/create-property":131,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/is-array-iterator-method":174,"../internals/is-constructor":177,"../internals/length-of-array-like":188,"../internals/to-object":250}],110:[function(E,pe,de){var se=E("../internals/to-indexed-object"),ne=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),ce=function(ue){return function(ae,oe,re){var z=se(ae),a=ie(z),y=ne(re,a),x;if(ue&&oe!=oe){for(;a>y;)if(x=z[y++],x!=x)return!0}else for(;a>y;y++)if((ue||y in z)&&z[y]===oe)return ue||y||0;return!ue&&-1}};pe.exports={includes:ce(!0),indexOf:ce(!1)}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247}],111:[function(E,pe,de){var se=E("../internals/function-bind-context"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/indexed-object"),ce=E("../internals/to-object"),ue=E("../internals/length-of-array-like"),ae=E("../internals/array-species-create"),oe=ne([].push),re=function(z){var a=z==1,y=z==2,x=z==3,b=z==4,ee=z==6,te=z==7,le=z==5||ee;return function(fe,ge,me,he){for(var Se=ce(fe),ye=ie(Se),Pe=se(ge,me),we=ue(ye),De=0,xe=he||ae,Ae=a?xe(fe,we):y||te?xe(fe,0):void 0,Ce,je;we>De;De++)if((le||De in ye)&&(Ce=ye[De],je=Pe(Ce,De,Se),z))if(a)Ae[De]=je;else if(je)switch(z){case 3:return!0;case 5:return Ce;case 6:return De;case 2:oe(Ae,Ce)}else switch(z){case 4:return!1;case 7:oe(Ae,Ce)}return ee?-1:x||b?b:Ae}};pe.exports={forEach:re(0),map:re(1),filter:re(2),some:re(3),every:re(4),find:re(5),findIndex:re(6),filterReject:re(7)}},{"../internals/array-species-create":120,"../internals/function-bind-context":153,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],112:[function(E,pe,de){"use strict";var se=E("../internals/function-apply"),ne=E("../internals/to-indexed-object"),ie=E("../internals/to-integer-or-infinity"),ce=E("../internals/length-of-array-like"),ue=E("../internals/array-method-is-strict"),ae=Math.min,oe=[].lastIndexOf,re=!!oe&&1/[1].lastIndexOf(1,-0)<0,z=ue("lastIndexOf"),a=re||!z;pe.exports=a?function(x){if(re)return se(oe,this,arguments)||0;var b=ne(this),ee=ce(b),te=ee-1;for(arguments.length>1&&(te=ae(te,ie(arguments[1]))),te<0&&(te=ee+te);te>=0;te--)if(te in b&&b[te]===x)return te||0;return-1}:oe},{"../internals/array-method-is-strict":114,"../internals/function-apply":152,"../internals/length-of-array-like":188,"../internals/to-indexed-object":247,"../internals/to-integer-or-infinity":248}],113:[function(E,pe,de){var se=E("../internals/fails"),ne=E("../internals/well-known-symbol"),ie=E("../internals/engine-v8-version"),ce=ne("species");pe.exports=function(ue){return ie>=51||!se(function(){var ae=[],oe=ae.constructor={};return oe[ce]=function(){return{foo:1}},ae[ue](Boolean).foo!==1})}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(E,pe,de){"use strict";var se=E("../internals/fails");pe.exports=function(ne,ie){var ce=[][ne];return!!ce&&se(function(){ce.call(null,ie||function(){return 1},1)})}},{"../internals/fails":150}],115:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/a-callable"),ie=E("../internals/to-object"),ce=E("../internals/indexed-object"),ue=E("../internals/length-of-array-like"),ae=se.TypeError,oe=function(re){return function(z,a,y,x){ne(a);var b=ie(z),ee=ce(b),te=ue(b),le=re?te-1:0,fe=re?-1:1;if(y<2)for(;;){if(le in ee){x=ee[le],le+=fe;break}if(le+=fe,re?le<0:te<=le)throw ae("Reduce of empty array with no initial value")}for(;re?le>=0:te>le;le+=fe)le in ee&&(x=a(x,ee[le],le,b));return x}};pe.exports={left:oe(!1),right:oe(!0)}},{"../internals/a-callable":95,"../internals/global":163,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],116:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),ce=E("../internals/create-property"),ue=se.Array,ae=Math.max;pe.exports=function(oe,re,z){for(var a=ie(oe),y=ne(re,a),x=ne(z===void 0?a:z,a),b=ue(ae(x-y,0)),ee=0;y<x;y++,ee++)ce(b,ee,oe[y]);return b.length=ee,b}},{"../internals/create-property":131,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245}],117:[function(E,pe,de){var se=E("../internals/function-uncurry-this");pe.exports=se([].slice)},{"../internals/function-uncurry-this":157}],118:[function(E,pe,de){var se=E("../internals/array-slice-simple"),ne=Math.floor,ie=function(ae,oe){var re=ae.length,z=ne(re/2);return re<8?ce(ae,oe):ue(ae,ie(se(ae,0,z),oe),ie(se(ae,z),oe),oe)},ce=function(ae,oe){for(var re=ae.length,z=1,a,y;z<re;){for(y=z,a=ae[z];y&&oe(ae[y-1],a)>0;)ae[y]=ae[--y];y!==z++&&(ae[y]=a)}return ae},ue=function(ae,oe,re,z){for(var a=oe.length,y=re.length,x=0,b=0;x<a||b<y;)ae[x+b]=x<a&&b<y?z(oe[x],re[b])<=0?oe[x++]:re[b++]:x<a?oe[x++]:re[b++];return ae};pe.exports=ie},{"../internals/array-slice-simple":116}],119:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/is-array"),ie=E("../internals/is-constructor"),ce=E("../internals/is-object"),ue=E("../internals/well-known-symbol"),ae=ue("species"),oe=se.Array;pe.exports=function(re){var z;return ne(re)&&(z=re.constructor,ie(z)&&(z===oe||ne(z.prototype))?z=void 0:ce(z)&&(z=z[ae],z===null&&(z=void 0))),z===void 0?oe:z}},{"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/well-known-symbol":268}],120:[function(E,pe,de){var se=E("../internals/array-species-constructor");pe.exports=function(ne,ie){return new(se(ne))(ie===0?0:ie)}},{"../internals/array-species-constructor":119}],121:[function(E,pe,de){var se=E("../internals/an-object"),ne=E("../internals/iterator-close");pe.exports=function(ie,ce,ue,ae){try{return ae?ce(se(ue)[0],ue[1]):ce(ue)}catch(oe){ne(ie,"throw",oe)}}},{"../internals/an-object":101,"../internals/iterator-close":185}],122:[function(E,pe,de){var se=E("../internals/well-known-symbol"),ne=se("iterator"),ie=!1;try{var ce=0,ue={next:function(){return{done:!!ce++}},return:function(){ie=!0}};ue[ne]=function(){return this},Array.from(ue,function(){throw 2})}catch(ae){}pe.exports=function(ae,oe){if(!oe&&!ie)return!1;var re=!1;try{var z={};z[ne]=function(){return{next:function(){return{done:re=!0}}}},ae(z)}catch(a){}return re}},{"../internals/well-known-symbol":268}],123:[function(E,pe,de){var se=E("../internals/function-uncurry-this"),ne=se({}.toString),ie=se("".slice);pe.exports=function(ce){return ie(ne(ce),8,-1)}},{"../internals/function-uncurry-this":157}],124:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/to-string-tag-support"),ie=E("../internals/is-callable"),ce=E("../internals/classof-raw"),ue=E("../internals/well-known-symbol"),ae=ue("toStringTag"),oe=se.Object,re=ce(function(){return arguments}())=="Arguments",z=function(a,y){try{return a[y]}catch(x){}};pe.exports=ne?ce:function(a){var y,x,b;return a===void 0?"Undefined":a===null?"Null":typeof(x=z(y=oe(a),ae))=="string"?x:re?ce(y):(b=ce(y))=="Object"&&ie(y.callee)?"Arguments":b}},{"../internals/classof-raw":123,"../internals/global":163,"../internals/is-callable":176,"../internals/to-string-tag-support":255,"../internals/well-known-symbol":268}],125:[function(E,pe,de){var se=E("../internals/has-own-property"),ne=E("../internals/own-keys"),ie=E("../internals/object-get-own-property-descriptor"),ce=E("../internals/object-define-property");pe.exports=function(ue,ae,oe){for(var re=ne(ae),z=ce.f,a=ie.f,y=0;y<re.length;y++){var x=re[y];!se(ue,x)&&!(oe&&se(oe,x))&&z(ue,x,a(ae,x))}}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/own-keys":212}],126:[function(E,pe,de){var se=E("../internals/well-known-symbol"),ne=se("match");pe.exports=function(ie){var ce=/./;try{"/./"[ie](ce)}catch(ue){try{return ce[ne]=!1,"/./"[ie](ce)}catch(ae){}}return!1}},{"../internals/well-known-symbol":268}],127:[function(E,pe,de){var se=E("../internals/fails");pe.exports=!se(function(){function ne(){}return ne.prototype.constructor=null,Object.getPrototypeOf(new ne)!==ne.prototype})},{"../internals/fails":150}],128:[function(E,pe,de){"use strict";var se=E("../internals/iterators-core").IteratorPrototype,ne=E("../internals/object-create"),ie=E("../internals/create-property-descriptor"),ce=E("../internals/set-to-string-tag"),ue=E("../internals/iterators"),ae=function(){return this};pe.exports=function(oe,re,z,a){var y=re+" Iterator";return oe.prototype=ne(se,{next:ie(+!a,z)}),ce(oe,y,!1,!0),ue[y]=ae,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(E,pe,de){var se=E("../internals/descriptors"),ne=E("../internals/object-define-property"),ie=E("../internals/create-property-descriptor");pe.exports=se?function(ce,ue,ae){return ne.f(ce,ue,ie(1,ae))}:function(ce,ue,ae){return ce[ue]=ae,ce}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/object-define-property":198}],130:[function(E,pe,de){pe.exports=function(se,ne){return{enumerable:!(se&1),configurable:!(se&2),writable:!(se&4),value:ne}}},{}],131:[function(E,pe,de){"use strict";var se=E("../internals/to-property-key"),ne=E("../internals/object-define-property"),ie=E("../internals/create-property-descriptor");pe.exports=function(ce,ue,ae){var oe=se(ue);oe in ce?ne.f(ce,oe,ie(0,ae)):ce[oe]=ae}},{"../internals/create-property-descriptor":130,"../internals/object-define-property":198,"../internals/to-property-key":254}],132:[function(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/function-call"),ie=E("../internals/is-pure"),ce=E("../internals/function-name"),ue=E("../internals/is-callable"),ae=E("../internals/create-iterator-constructor"),oe=E("../internals/object-get-prototype-of"),re=E("../internals/object-set-prototype-of"),z=E("../internals/set-to-string-tag"),a=E("../internals/create-non-enumerable-property"),y=E("../internals/redefine"),x=E("../internals/well-known-symbol"),b=E("../internals/iterators"),ee=E("../internals/iterators-core"),te=ce.PROPER,le=ce.CONFIGURABLE,fe=ee.IteratorPrototype,ge=ee.BUGGY_SAFARI_ITERATORS,me=x("iterator"),he="keys",Se="values",ye="entries",Pe=function(){return this};pe.exports=function(we,De,xe,Ae,Ce,je,Fe){ae(xe,De,Ae);var Ge=function(Je){if(Je===Ce&&Xe)return Xe;if(!ge&&Je in Ye)return Ye[Je];switch(Je){case he:return function(){return new xe(this,Je)};case Se:return function(){return new xe(this,Je)};case ye:return function(){return new xe(this,Je)}}return function(){return new xe(this)}},Be=De+" Iterator",tt=!1,Ye=we.prototype,Ve=Ye[me]||Ye["@@iterator"]||Ce&&Ye[Ce],Xe=!ge&&Ve||Ge(Ce),Ze=De=="Array"&&Ye.entries||Ve,ke,ze,et;if(Ze&&(ke=oe(Ze.call(new we)),ke!==Object.prototype&&ke.next&&(!ie&&oe(ke)!==fe&&(re?re(ke,fe):ue(ke[me])||y(ke,me,Pe)),z(ke,Be,!0,!0),ie&&(b[Be]=Pe))),te&&Ce==Se&&Ve&&Ve.name!==Se&&(!ie&&le?a(Ye,"name",Se):(tt=!0,Xe=function(){return ne(Ve,this)})),Ce)if(ze={values:Ge(Se),keys:je?Xe:Ge(he),entries:Ge(ye)},Fe)for(et in ze)(ge||tt||!(et in Ye))&&y(Ye,et,ze[et]);else se({target:De,proto:!0,forced:ge||tt},ze);return(!ie||Fe)&&Ye[me]!==Xe&&y(Ye,me,Xe,{name:Ce}),b[De]=Xe,ze}},{"../internals/create-iterator-constructor":128,"../internals/create-non-enumerable-property":129,"../internals/export":149,"../internals/function-call":155,"../internals/function-name":156,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/iterators":187,"../internals/iterators-core":186,"../internals/object-get-prototype-of":203,"../internals/object-set-prototype-of":208,"../internals/redefine":222,"../internals/set-to-string-tag":234,"../internals/well-known-symbol":268}],133:[function(E,pe,de){var se=E("../internals/path"),ne=E("../internals/has-own-property"),ie=E("../internals/well-known-symbol-wrapped"),ce=E("../internals/object-define-property").f;pe.exports=function(ue){var ae=se.Symbol||(se.Symbol={});ne(ae,ue)||ce(ae,ue,{value:ie.f(ue)})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/path":213,"../internals/well-known-symbol-wrapped":267}],134:[function(E,pe,de){var se=E("../internals/fails");pe.exports=!se(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},{"../internals/fails":150}],135:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/is-object"),ie=se.document,ce=ne(ie)&&ne(ie.createElement);pe.exports=function(ue){return ce?ie.createElement(ue):{}}},{"../internals/global":163,"../internals/is-object":180}],136:[function(E,pe,de){pe.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},{}],137:[function(E,pe,de){var se=E("../internals/document-create-element"),ne=se("span").classList,ie=ne&&ne.constructor&&ne.constructor.prototype;pe.exports=ie===Object.prototype?void 0:ie},{"../internals/document-create-element":135}],138:[function(E,pe,de){var se=E("../internals/engine-user-agent"),ne=se.match(/firefox\/(\d+)/i);pe.exports=!!ne&&+ne[1]},{"../internals/engine-user-agent":145}],139:[function(E,pe,de){pe.exports=typeof window=="object"&&typeof Deno!="object"},{}],140:[function(E,pe,de){var se=E("../internals/engine-user-agent");pe.exports=/MSIE|Trident/.test(se)},{"../internals/engine-user-agent":145}],141:[function(E,pe,de){var se=E("../internals/engine-user-agent"),ne=E("../internals/global");pe.exports=/ipad|iphone|ipod/i.test(se)&&ne.Pebble!==void 0},{"../internals/engine-user-agent":145,"../internals/global":163}],142:[function(E,pe,de){var se=E("../internals/engine-user-agent");pe.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(se)},{"../internals/engine-user-agent":145}],143:[function(E,pe,de){var se=E("../internals/classof-raw"),ne=E("../internals/global");pe.exports=se(ne.process)=="process"},{"../internals/classof-raw":123,"../internals/global":163}],144:[function(E,pe,de){var se=E("../internals/engine-user-agent");pe.exports=/web0s(?!.*chrome)/i.test(se)},{"../internals/engine-user-agent":145}],145:[function(E,pe,de){var se=E("../internals/get-built-in");pe.exports=se("navigator","userAgent")||""},{"../internals/get-built-in":158}],146:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/engine-user-agent"),ie=se.process,ce=se.Deno,ue=ie&&ie.versions||ce&&ce.version,ae=ue&&ue.v8,oe,re;ae&&(oe=ae.split("."),re=oe[0]>0&&oe[0]<4?1:+(oe[0]+oe[1])),!re&&ne&&(oe=ne.match(/Edge\/(\d+)/),(!oe||oe[1]>=74)&&(oe=ne.match(/Chrome\/(\d+)/),oe&&(re=+oe[1]))),pe.exports=re},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(E,pe,de){var se=E("../internals/engine-user-agent"),ne=se.match(/AppleWebKit\/(\d+)\./);pe.exports=!!ne&&+ne[1]},{"../internals/engine-user-agent":145}],148:[function(E,pe,de){pe.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/object-get-own-property-descriptor").f,ie=E("../internals/create-non-enumerable-property"),ce=E("../internals/redefine"),ue=E("../internals/set-global"),ae=E("../internals/copy-constructor-properties"),oe=E("../internals/is-forced");pe.exports=function(re,z){var a=re.target,y=re.global,x=re.stat,b,ee,te,le,fe,ge;if(y?ee=se:x?ee=se[a]||ue(a,{}):ee=(se[a]||{}).prototype,ee)for(te in z){if(fe=z[te],re.noTargetGet?(ge=ne(ee,te),le=ge&&ge.value):le=ee[te],b=oe(y?te:a+(x?".":"#")+te,re.forced),!b&&le!==void 0){if(typeof fe==typeof le)continue;ae(fe,le)}(re.sham||le&&le.sham)&&ie(fe,"sham",!0),ce(ee,te,fe,re)}}},{"../internals/copy-constructor-properties":125,"../internals/create-non-enumerable-property":129,"../internals/global":163,"../internals/is-forced":178,"../internals/object-get-own-property-descriptor":199,"../internals/redefine":222,"../internals/set-global":232}],150:[function(E,pe,de){pe.exports=function(se){try{return!!se()}catch(ne){return!0}}},{}],151:[function(E,pe,de){"use strict";E("../modules/es.regexp.exec");var se=E("../internals/function-uncurry-this"),ne=E("../internals/redefine"),ie=E("../internals/regexp-exec"),ce=E("../internals/fails"),ue=E("../internals/well-known-symbol"),ae=E("../internals/create-non-enumerable-property"),oe=ue("species"),re=RegExp.prototype;pe.exports=function(z,a,y,x){var b=ue(z),ee=!ce(function(){var ge={};return ge[b]=function(){return 7},""[z](ge)!=7}),te=ee&&!ce(function(){var ge=!1,me=/a/;return z==="split"&&(me={},me.constructor={},me.constructor[oe]=function(){return me},me.flags="",me[b]=/./[b]),me.exec=function(){return ge=!0,null},me[b](""),!ge});if(!ee||!te||y){var le=se(/./[b]),fe=a(b,""[z],function(ge,me,he,Se,ye){var Pe=se(ge),we=me.exec;return we===ie||we===re.exec?ee&&!ye?{done:!0,value:le(me,he,Se)}:{done:!0,value:Pe(he,me,Se)}:{done:!1}});ne(String.prototype,z,fe[0]),ne(re,b,fe[1])}x&&ae(re[b],"sham",!0)}},{"../internals/create-non-enumerable-property":129,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/redefine":222,"../internals/regexp-exec":224,"../internals/well-known-symbol":268,"../modules/es.regexp.exec":300}],152:[function(E,pe,de){var se=E("../internals/function-bind-native"),ne=Function.prototype,ie=ne.apply,ce=ne.call;pe.exports=typeof Reflect=="object"&&Reflect.apply||(se?ce.bind(ie):function(){return ce.apply(ie,arguments)})},{"../internals/function-bind-native":154}],153:[function(E,pe,de){var se=E("../internals/function-uncurry-this"),ne=E("../internals/a-callable"),ie=E("../internals/function-bind-native"),ce=se(se.bind);pe.exports=function(ue,ae){return ne(ue),ae===void 0?ue:ie?ce(ue,ae):function(){return ue.apply(ae,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(E,pe,de){var se=E("../internals/fails");pe.exports=!se(function(){var ne=function(){}.bind();return typeof ne!="function"||ne.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(E,pe,de){var se=E("../internals/function-bind-native"),ne=Function.prototype.call;pe.exports=se?ne.bind(ne):function(){return ne.apply(ne,arguments)}},{"../internals/function-bind-native":154}],156:[function(E,pe,de){var se=E("../internals/descriptors"),ne=E("../internals/has-own-property"),ie=Function.prototype,ce=se&&Object.getOwnPropertyDescriptor,ue=ne(ie,"name"),ae=ue&&function(){}.name==="something",oe=ue&&(!se||se&&ce(ie,"name").configurable);pe.exports={EXISTS:ue,PROPER:ae,CONFIGURABLE:oe}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(E,pe,de){var se=E("../internals/function-bind-native"),ne=Function.prototype,ie=ne.bind,ce=ne.call,ue=se&&ie.bind(ce,ce);pe.exports=se?function(ae){return ae&&ue(ae)}:function(ae){return ae&&function(){return ce.apply(ae,arguments)}}},{"../internals/function-bind-native":154}],158:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/is-callable"),ie=function(ce){return ne(ce)?ce:void 0};pe.exports=function(ce,ue){return arguments.length<2?ie(se[ce]):se[ce]&&se[ce][ue]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(E,pe,de){var se=E("../internals/classof"),ne=E("../internals/get-method"),ie=E("../internals/iterators"),ce=E("../internals/well-known-symbol"),ue=ce("iterator");pe.exports=function(ae){if(ae!=null)return ne(ae,ue)||ne(ae,"@@iterator")||ie[se(ae)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/function-call"),ie=E("../internals/a-callable"),ce=E("../internals/an-object"),ue=E("../internals/try-to-string"),ae=E("../internals/get-iterator-method"),oe=se.TypeError;pe.exports=function(re,z){var a=arguments.length<2?ae(re):z;if(ie(a))return ce(ne(a,re));throw oe(ue(re)+" is not iterable")}},{"../internals/a-callable":95,"../internals/an-object":101,"../internals/function-call":155,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/try-to-string":257}],161:[function(E,pe,de){var se=E("../internals/a-callable");pe.exports=function(ne,ie){var ce=ne[ie];return ce==null?void 0:se(ce)}},{"../internals/a-callable":95}],162:[function(E,pe,de){var se=E("../internals/function-uncurry-this"),ne=E("../internals/to-object"),ie=Math.floor,ce=se("".charAt),ue=se("".replace),ae=se("".slice),oe=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,re=/\$([$&'`]|\d{1,2})/g;pe.exports=function(z,a,y,x,b,ee){var te=y+z.length,le=x.length,fe=re;return b!==void 0&&(b=ne(b),fe=oe),ue(ee,fe,function(ge,me){var he;switch(ce(me,0)){case"$":return"$";case"&":return z;case"`":return ae(a,0,y);case"'":return ae(a,te);case"<":he=b[ae(me,1,-1)];break;default:var Se=+me;if(Se===0)return ge;if(Se>le){var ye=ie(Se/10);return ye===0?ge:ye<=le?x[ye-1]===void 0?ce(me,1):x[ye-1]+ce(me,1):ge}he=x[Se-1]}return he===void 0?"":he})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(E,pe,de){(function(se){(function(){var ne=function(ie){return ie&&ie.Math==Math&&ie};pe.exports=ne(typeof globalThis=="object"&&globalThis)||ne(typeof window=="object"&&window)||ne(typeof self=="object"&&self)||ne(typeof se=="object"&&se)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(E,pe,de){var se=E("../internals/function-uncurry-this"),ne=E("../internals/to-object"),ie=se({}.hasOwnProperty);pe.exports=Object.hasOwn||function(ue,ae){return ie(ne(ue),ae)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(E,pe,de){pe.exports={}},{}],166:[function(E,pe,de){var se=E("../internals/global");pe.exports=function(ne,ie){var ce=se.console;ce&&ce.error&&(arguments.length==1?ce.error(ne):ce.error(ne,ie))}},{"../internals/global":163}],167:[function(E,pe,de){var se=E("../internals/get-built-in");pe.exports=se("document","documentElement")},{"../internals/get-built-in":158}],168:[function(E,pe,de){var se=E("../internals/descriptors"),ne=E("../internals/fails"),ie=E("../internals/document-create-element");pe.exports=!se&&!ne(function(){return Object.defineProperty(ie("div"),"a",{get:function(){return 7}}).a!=7})},{"../internals/descriptors":134,"../internals/document-create-element":135,"../internals/fails":150}],169:[function(E,pe,de){var se=E("../internals/global"),ne=se.Array,ie=Math.abs,ce=Math.pow,ue=Math.floor,ae=Math.log,oe=Math.LN2,re=function(a,y,x){var b=ne(x),ee=x*8-y-1,te=(1<<ee)-1,le=te>>1,fe=y===23?ce(2,-24)-ce(2,-77):0,ge=a<0||a===0&&1/a<0?1:0,me=0,he,Se,ye;for(a=ie(a),a!=a||a===1/0?(Se=a!=a?1:0,he=te):(he=ue(ae(a)/oe),ye=ce(2,-he),a*ye<1&&(he--,ye*=2),he+le>=1?a+=fe/ye:a+=fe*ce(2,1-le),a*ye>=2&&(he++,ye/=2),he+le>=te?(Se=0,he=te):he+le>=1?(Se=(a*ye-1)*ce(2,y),he=he+le):(Se=a*ce(2,le-1)*ce(2,y),he=0));y>=8;)b[me++]=Se&255,Se/=256,y-=8;for(he=he<<y|Se,ee+=y;ee>0;)b[me++]=he&255,he/=256,ee-=8;return b[--me]|=ge*128,b},z=function(a,y){var x=a.length,b=x*8-y-1,ee=(1<<b)-1,te=ee>>1,le=b-7,fe=x-1,ge=a[fe--],me=ge&127,he;for(ge>>=7;le>0;)me=me*256+a[fe--],le-=8;for(he=me&(1<<-le)-1,me>>=-le,le+=y;le>0;)he=he*256+a[fe--],le-=8;if(me===0)me=1-te;else{if(me===ee)return he?NaN:ge?-1/0:1/0;he=he+ce(2,y),me=me-te}return(ge?-1:1)*he*ce(2,me-y)};pe.exports={pack:re,unpack:z}},{"../internals/global":163}],170:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),ce=E("../internals/classof-raw"),ue=se.Object,ae=ne("".split);pe.exports=ie(function(){return!ue("z").propertyIsEnumerable(0)})?function(oe){return ce(oe)=="String"?ae(oe,""):ue(oe)}:ue},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(E,pe,de){var se=E("../internals/is-callable"),ne=E("../internals/is-object"),ie=E("../internals/object-set-prototype-of");pe.exports=function(ce,ue,ae){var oe,re;return ie&&se(oe=ue.constructor)&&oe!==ae&&ne(re=oe.prototype)&&re!==ae.prototype&&ie(ce,re),ce}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(E,pe,de){var se=E("../internals/function-uncurry-this"),ne=E("../internals/is-callable"),ie=E("../internals/shared-store"),ce=se(Function.toString);ne(ie.inspectSource)||(ie.inspectSource=function(ue){return ce(ue)}),pe.exports=ie.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(E,pe,de){var se=E("../internals/native-weak-map"),ne=E("../internals/global"),ie=E("../internals/function-uncurry-this"),ce=E("../internals/is-object"),ue=E("../internals/create-non-enumerable-property"),ae=E("../internals/has-own-property"),oe=E("../internals/shared-store"),re=E("../internals/shared-key"),z=E("../internals/hidden-keys"),a="Object already initialized",y=ne.TypeError,x=ne.WeakMap,b,ee,te,le=function(Pe){return te(Pe)?ee(Pe):b(Pe,{})},fe=function(Pe){return function(we){var De;if(!ce(we)||(De=ee(we)).type!==Pe)throw y("Incompatible receiver, "+Pe+" required");return De}};if(se||oe.state){var ge=oe.state||(oe.state=new x),me=ie(ge.get),he=ie(ge.has),Se=ie(ge.set);b=function(Pe,we){if(he(ge,Pe))throw new y(a);return we.facade=Pe,Se(ge,Pe,we),we},ee=function(Pe){return me(ge,Pe)||{}},te=function(Pe){return he(ge,Pe)}}else{var ye=re("state");z[ye]=!0,b=function(Pe,we){if(ae(Pe,ye))throw new y(a);return we.facade=Pe,ue(Pe,ye,we),we},ee=function(Pe){return ae(Pe,ye)?Pe[ye]:{}},te=function(Pe){return ae(Pe,ye)}}pe.exports={set:b,get:ee,has:te,enforce:le,getterFor:fe}},{"../internals/create-non-enumerable-property":129,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/is-object":180,"../internals/native-weak-map":192,"../internals/shared-key":235,"../internals/shared-store":236}],174:[function(E,pe,de){var se=E("../internals/well-known-symbol"),ne=E("../internals/iterators"),ie=se("iterator"),ce=Array.prototype;pe.exports=function(ue){return ue!==void 0&&(ne.Array===ue||ce[ie]===ue)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(E,pe,de){var se=E("../internals/classof-raw");pe.exports=Array.isArray||function(ie){return se(ie)=="Array"}},{"../internals/classof-raw":123}],176:[function(E,pe,de){pe.exports=function(se){return typeof se=="function"}},{}],177:[function(E,pe,de){var se=E("../internals/function-uncurry-this"),ne=E("../internals/fails"),ie=E("../internals/is-callable"),ce=E("../internals/classof"),ue=E("../internals/get-built-in"),ae=E("../internals/inspect-source"),oe=function(){},re=[],z=ue("Reflect","construct"),a=/^\s*(?:class|function)\b/,y=se(a.exec),x=!a.exec(oe),b=function(le){if(!ie(le))return!1;try{return z(oe,re,le),!0}catch(fe){return!1}},ee=function(le){if(!ie(le))return!1;switch(ce(le)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return x||!!y(a,ae(le))}catch(fe){return!0}};ee.sham=!0,pe.exports=!z||ne(function(){var te;return b(b.call)||!b(Object)||!b(function(){te=!0})||te})?ee:b},{"../internals/classof":124,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/inspect-source":172,"../internals/is-callable":176}],178:[function(E,pe,de){var se=E("../internals/fails"),ne=E("../internals/is-callable"),ie=/#|\.prototype\./,ce=function(z,a){var y=ae[ue(z)];return y==re?!0:y==oe?!1:ne(a)?se(a):!!a},ue=ce.normalize=function(z){return String(z).replace(ie,".").toLowerCase()},ae=ce.data={},oe=ce.NATIVE="N",re=ce.POLYFILL="P";pe.exports=ce},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(E,pe,de){var se=E("../internals/is-object"),ne=Math.floor;pe.exports=Number.isInteger||function(ce){return!se(ce)&&isFinite(ce)&&ne(ce)===ce}},{"../internals/is-object":180}],180:[function(E,pe,de){var se=E("../internals/is-callable");pe.exports=function(ne){return typeof ne=="object"?ne!==null:se(ne)}},{"../internals/is-callable":176}],181:[function(E,pe,de){pe.exports=!1},{}],182:[function(E,pe,de){var se=E("../internals/is-object"),ne=E("../internals/classof-raw"),ie=E("../internals/well-known-symbol"),ce=ie("match");pe.exports=function(ue){var ae;return se(ue)&&((ae=ue[ce])!==void 0?!!ae:ne(ue)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/get-built-in"),ie=E("../internals/is-callable"),ce=E("../internals/object-is-prototype-of"),ue=E("../internals/use-symbol-as-uid"),ae=se.Object;pe.exports=ue?function(oe){return typeof oe=="symbol"}:function(oe){var re=ne("Symbol");return ie(re)&&ce(re.prototype,ae(oe))}},{"../internals/get-built-in":158,"../internals/global":163,"../internals/is-callable":176,"../internals/object-is-prototype-of":204,"../internals/use-symbol-as-uid":264}],184:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/function-bind-context"),ie=E("../internals/function-call"),ce=E("../internals/an-object"),ue=E("../internals/try-to-string"),ae=E("../internals/is-array-iterator-method"),oe=E("../internals/length-of-array-like"),re=E("../internals/object-is-prototype-of"),z=E("../internals/get-iterator"),a=E("../internals/get-iterator-method"),y=E("../internals/iterator-close"),x=se.TypeError,b=function(te,le){this.stopped=te,this.result=le},ee=b.prototype;pe.exports=function(te,le,fe){var ge=fe&&fe.that,me=!!(fe&&fe.AS_ENTRIES),he=!!(fe&&fe.IS_ITERATOR),Se=!!(fe&&fe.INTERRUPTED),ye=ne(le,ge),Pe,we,De,xe,Ae,Ce,je,Fe=function(Be){return Pe&&y(Pe,"normal",Be),new b(!0,Be)},Ge=function(Be){return me?(ce(Be),Se?ye(Be[0],Be[1],Fe):ye(Be[0],Be[1])):Se?ye(Be,Fe):ye(Be)};if(he)Pe=te;else{if(we=a(te),!we)throw x(ue(te)+" is not iterable");if(ae(we)){for(De=0,xe=oe(te);xe>De;De++)if(Ae=Ge(te[De]),Ae&&re(ee,Ae))return Ae;return new b(!1)}Pe=z(te,we)}for(Ce=Pe.next;!(je=ie(Ce,Pe)).done;){try{Ae=Ge(je.value)}catch(Be){y(Pe,"throw",Be)}if(typeof Ae=="object"&&Ae&&re(ee,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(E,pe,de){var se=E("../internals/function-call"),ne=E("../internals/an-object"),ie=E("../internals/get-method");pe.exports=function(ce,ue,ae){var oe,re;ne(ce);try{if(oe=ie(ce,"return"),!oe){if(ue==="throw")throw ae;return ae}oe=se(oe,ce)}catch(z){re=!0,oe=z}if(ue==="throw")throw ae;if(re)throw oe;return ne(oe),ae}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(E,pe,de){"use strict";var se=E("../internals/fails"),ne=E("../internals/is-callable"),ie=E("../internals/object-create"),ce=E("../internals/object-get-prototype-of"),ue=E("../internals/redefine"),ae=E("../internals/well-known-symbol"),oe=E("../internals/is-pure"),re=ae("iterator"),z=!1,a,y,x;[].keys&&(x=[].keys(),"next"in x?(y=ce(ce(x)),y!==Object.prototype&&(a=y)):z=!0);var b=a==null||se(function(){var ee={};return a[re].call(ee)!==ee});b?a={}:oe&&(a=ie(a)),ne(a[re])||ue(a,re,function(){return this}),pe.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:z}},{"../internals/fails":150,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/object-create":196,"../internals/object-get-prototype-of":203,"../internals/redefine":222,"../internals/well-known-symbol":268}],187:[function(E,pe,de){arguments[4][165][0].apply(de,arguments)},{dup:165}],188:[function(E,pe,de){var se=E("../internals/to-length");pe.exports=function(ne){return se(ne.length)}},{"../internals/to-length":249}],189:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/function-bind-context"),ie=E("../internals/object-get-own-property-descriptor").f,ce=E("../internals/task").set,ue=E("../internals/engine-is-ios"),ae=E("../internals/engine-is-ios-pebble"),oe=E("../internals/engine-is-webos-webkit"),re=E("../internals/engine-is-node"),z=se.MutationObserver||se.WebKitMutationObserver,a=se.document,y=se.process,x=se.Promise,b=ie(se,"queueMicrotask"),ee=b&&b.value,te,le,fe,ge,me,he,Se,ye;ee||(te=function(){var Pe,we;for(re&&(Pe=y.domain)&&Pe.exit();le;){we=le.fn,le=le.next;try{we()}catch(De){throw le?ge():fe=void 0,De}}fe=void 0,Pe&&Pe.enter()},!ue&&!re&&!oe&&z&&a?(me=!0,he=a.createTextNode(""),new z(te).observe(he,{characterData:!0}),ge=function(){he.data=me=!me}):!ae&&x&&x.resolve?(Se=x.resolve(void 0),Se.constructor=x,ye=ne(Se.then,Se),ge=function(){ye(te)}):re?ge=function(){y.nextTick(te)}:(ce=ne(ce,se),ge=function(){ce(te)})),pe.exports=ee||function(Pe){var we={fn:Pe,next:void 0};fe&&(fe.next=we),le||(le=we,ge()),fe=we}},{"../internals/engine-is-ios":142,"../internals/engine-is-ios-pebble":141,"../internals/engine-is-node":143,"../internals/engine-is-webos-webkit":144,"../internals/function-bind-context":153,"../internals/global":163,"../internals/object-get-own-property-descriptor":199,"../internals/task":243}],190:[function(E,pe,de){var se=E("../internals/native-symbol");pe.exports=se&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(E,pe,de){var se=E("../internals/engine-v8-version"),ne=E("../internals/fails");pe.exports=!!Object.getOwnPropertySymbols&&!ne(function(){var ie=Symbol();return!String(ie)||!(Object(ie)instanceof Symbol)||!Symbol.sham&&se&&se<41})},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/is-callable"),ie=E("../internals/inspect-source"),ce=se.WeakMap;pe.exports=ne(ce)&&/native code/.test(ie(ce))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(E,pe,de){"use strict";var se=E("../internals/a-callable"),ne=function(ie){var ce,ue;this.promise=new ie(function(ae,oe){if(ce!==void 0||ue!==void 0)throw TypeError("Bad Promise constructor");ce=ae,ue=oe}),this.resolve=se(ce),this.reject=se(ue)};pe.exports.f=function(ie){return new ne(ie)}},{"../internals/a-callable":95}],194:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/is-regexp"),ie=se.TypeError;pe.exports=function(ce){if(ne(ce))throw ie("The method doesn't accept regular expressions");return ce}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(E,pe,de){"use strict";var se=E("../internals/descriptors"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/function-call"),ce=E("../internals/fails"),ue=E("../internals/object-keys"),ae=E("../internals/object-get-own-property-symbols"),oe=E("../internals/object-property-is-enumerable"),re=E("../internals/to-object"),z=E("../internals/indexed-object"),a=Object.assign,y=Object.defineProperty,x=ne([].concat);pe.exports=!a||ce(function(){if(se&&a({b:1},a(y({},"a",{enumerable:!0,get:function(){y(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},ee={},te=Symbol(),le="abcdefghijklmnopqrst";return b[te]=7,le.split("").forEach(function(fe){ee[fe]=fe}),a({},b)[te]!=7||ue(a({},ee)).join("")!=le})?function(ee,te){for(var le=re(ee),fe=arguments.length,ge=1,me=ae.f,he=oe.f;fe>ge;)for(var Se=z(arguments[ge++]),ye=me?x(ue(Se),me(Se)):ue(Se),Pe=ye.length,we=0,De;Pe>we;)De=ye[we++],(!se||ie(he,Se,De))&&(le[De]=Se[De]);return le}:a},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/object-get-own-property-symbols":202,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-object":250}],196:[function(E,pe,de){var se=E("../internals/an-object"),ne=E("../internals/object-define-properties"),ie=E("../internals/enum-bug-keys"),ce=E("../internals/hidden-keys"),ue=E("../internals/html"),ae=E("../internals/document-create-element"),oe=E("../internals/shared-key"),re=">",z="<",a="prototype",y="script",x=oe("IE_PROTO"),b=function(){},ee=function(me){return z+y+re+me+z+"/"+y+re},te=function(me){me.write(ee("")),me.close();var he=me.parentWindow.Object;return me=null,he},le=function(){var me=ae("iframe"),he="java"+y+":",Se;return me.style.display="none",ue.appendChild(me),me.src=String(he),Se=me.contentWindow.document,Se.open(),Se.write(ee("document.F=Object")),Se.close(),Se.F},fe,ge=function(){try{fe=new ActiveXObject("htmlfile")}catch(he){}ge=typeof document!="undefined"?document.domain&&fe?te(fe):le():te(fe);for(var me=ie.length;me--;)delete ge[a][ie[me]];return ge()};ce[x]=!0,pe.exports=Object.create||function(he,Se){var ye;return he!==null?(b[a]=se(he),ye=new b,b[a]=null,ye[x]=he):ye=ge(),Se===void 0?ye:ne.f(ye,Se)}},{"../internals/an-object":101,"../internals/document-create-element":135,"../internals/enum-bug-keys":148,"../internals/hidden-keys":165,"../internals/html":167,"../internals/object-define-properties":197,"../internals/shared-key":235}],197:[function(E,pe,de){var se=E("../internals/descriptors"),ne=E("../internals/v8-prototype-define-bug"),ie=E("../internals/object-define-property"),ce=E("../internals/an-object"),ue=E("../internals/to-indexed-object"),ae=E("../internals/object-keys");de.f=se&&!ne?Object.defineProperties:function(re,z){ce(re);for(var a=ue(z),y=ae(z),x=y.length,b=0,ee;x>b;)ie.f(re,ee=y[b++],a[ee]);return re}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/object-define-property":198,"../internals/object-keys":206,"../internals/to-indexed-object":247,"../internals/v8-prototype-define-bug":265}],198:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/descriptors"),ie=E("../internals/ie8-dom-define"),ce=E("../internals/v8-prototype-define-bug"),ue=E("../internals/an-object"),ae=E("../internals/to-property-key"),oe=se.TypeError,re=Object.defineProperty,z=Object.getOwnPropertyDescriptor,a="enumerable",y="configurable",x="writable";de.f=ne?ce?function(ee,te,le){if(ue(ee),te=ae(te),ue(le),typeof ee=="function"&&te==="prototype"&&"value"in le&&x in le&&!le[x]){var fe=z(ee,te);fe&&fe[x]&&(ee[te]=le.value,le={configurable:y in le?le[y]:fe[y],enumerable:a in le?le[a]:fe[a],writable:!1})}return re(ee,te,le)}:re:function(ee,te,le){if(ue(ee),te=ae(te),ue(le),ie)try{return re(ee,te,le)}catch(fe){}if("get"in le||"set"in le)throw oe("Accessors not supported");return"value"in le&&(ee[te]=le.value),ee}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/global":163,"../internals/ie8-dom-define":168,"../internals/to-property-key":254,"../internals/v8-prototype-define-bug":265}],199:[function(E,pe,de){var se=E("../internals/descriptors"),ne=E("../internals/function-call"),ie=E("../internals/object-property-is-enumerable"),ce=E("../internals/create-property-descriptor"),ue=E("../internals/to-indexed-object"),ae=E("../internals/to-property-key"),oe=E("../internals/has-own-property"),re=E("../internals/ie8-dom-define"),z=Object.getOwnPropertyDescriptor;de.f=se?z:function(y,x){if(y=ue(y),x=ae(x),re)try{return z(y,x)}catch(b){}if(oe(y,x))return ce(!ne(ie.f,y,x),y[x])}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/function-call":155,"../internals/has-own-property":164,"../internals/ie8-dom-define":168,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247,"../internals/to-property-key":254}],200:[function(E,pe,de){var se=E("../internals/classof-raw"),ne=E("../internals/to-indexed-object"),ie=E("../internals/object-get-own-property-names").f,ce=E("../internals/array-slice-simple"),ue=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ae=function(oe){try{return ie(oe)}catch(re){return ce(ue)}};pe.exports.f=function(re){return ue&&se(re)=="Window"?ae(re):ie(ne(re))}},{"../internals/array-slice-simple":116,"../internals/classof-raw":123,"../internals/object-get-own-property-names":201,"../internals/to-indexed-object":247}],201:[function(E,pe,de){var se=E("../internals/object-keys-internal"),ne=E("../internals/enum-bug-keys"),ie=ne.concat("length","prototype");de.f=Object.getOwnPropertyNames||function(ue){return se(ue,ie)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(E,pe,de){de.f=Object.getOwnPropertySymbols},{}],203:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/has-own-property"),ie=E("../internals/is-callable"),ce=E("../internals/to-object"),ue=E("../internals/shared-key"),ae=E("../internals/correct-prototype-getter"),oe=ue("IE_PROTO"),re=se.Object,z=re.prototype;pe.exports=ae?re.getPrototypeOf:function(a){var y=ce(a);if(ne(y,oe))return y[oe];var x=y.constructor;return ie(x)&&y instanceof x?x.prototype:y instanceof re?z:null}},{"../internals/correct-prototype-getter":127,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/shared-key":235,"../internals/to-object":250}],204:[function(E,pe,de){var se=E("../internals/function-uncurry-this");pe.exports=se({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(E,pe,de){var se=E("../internals/function-uncurry-this"),ne=E("../internals/has-own-property"),ie=E("../internals/to-indexed-object"),ce=E("../internals/array-includes").indexOf,ue=E("../internals/hidden-keys"),ae=se([].push);pe.exports=function(oe,re){var z=ie(oe),a=0,y=[],x;for(x in z)!ne(ue,x)&&ne(z,x)&&ae(y,x);for(;re.length>a;)ne(z,x=re[a++])&&(~ce(y,x)||ae(y,x));return y}},{"../internals/array-includes":110,"../internals/function-uncurry-this":157,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/to-indexed-object":247}],206:[function(E,pe,de){var se=E("../internals/object-keys-internal"),ne=E("../internals/enum-bug-keys");pe.exports=Object.keys||function(ce){return se(ce,ne)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(E,pe,de){"use strict";var se={}.propertyIsEnumerable,ne=Object.getOwnPropertyDescriptor,ie=ne&&!se.call({1:2},1);de.f=ie?function(ue){var ae=ne(this,ue);return!!ae&&ae.enumerable}:se},{}],208:[function(E,pe,de){var se=E("../internals/function-uncurry-this"),ne=E("../internals/an-object"),ie=E("../internals/a-possible-prototype");pe.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var ce=!1,ue={},ae;try{ae=se(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),ae(ue,[]),ce=ue instanceof Array}catch(oe){}return function(re,z){return ne(re),ie(z),ce?ae(re,z):re.__proto__=z,re}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(E,pe,de){var se=E("../internals/descriptors"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/object-keys"),ce=E("../internals/to-indexed-object"),ue=E("../internals/object-property-is-enumerable").f,ae=ne(ue),oe=ne([].push),re=function(z){return function(a){for(var y=ce(a),x=ie(y),b=x.length,ee=0,te=[],le;b>ee;)le=x[ee++],(!se||ae(y,le))&&oe(te,z?[le,y[le]]:y[le]);return te}};pe.exports={entries:re(!0),values:re(!1)}},{"../internals/descriptors":134,"../internals/function-uncurry-this":157,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247}],210:[function(E,pe,de){"use strict";var se=E("../internals/to-string-tag-support"),ne=E("../internals/classof");pe.exports=se?{}.toString:function(){return"[object "+ne(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/function-call"),ie=E("../internals/is-callable"),ce=E("../internals/is-object"),ue=se.TypeError;pe.exports=function(ae,oe){var re,z;if(oe==="string"&&ie(re=ae.toString)&&!ce(z=ne(re,ae))||ie(re=ae.valueOf)&&!ce(z=ne(re,ae))||oe!=="string"&&ie(re=ae.toString)&&!ce(z=ne(re,ae)))return z;throw ue("Can't convert object to primitive value")}},{"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/is-object":180}],212:[function(E,pe,de){var se=E("../internals/get-built-in"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/object-get-own-property-names"),ce=E("../internals/object-get-own-property-symbols"),ue=E("../internals/an-object"),ae=ne([].concat);pe.exports=se("Reflect","ownKeys")||function(re){var z=ie.f(ue(re)),a=ce.f;return a?ae(z,a(re)):z}},{"../internals/an-object":101,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-symbols":202}],213:[function(E,pe,de){var se=E("../internals/global");pe.exports=se},{"../internals/global":163}],214:[function(E,pe,de){pe.exports=function(se){try{return{error:!1,value:se()}}catch(ne){return{error:!0,value:ne}}}},{}],215:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/promise-native-constructor"),ie=E("../internals/is-callable"),ce=E("../internals/is-forced"),ue=E("../internals/inspect-source"),ae=E("../internals/well-known-symbol"),oe=E("../internals/engine-is-browser"),re=E("../internals/is-pure"),z=E("../internals/engine-v8-version"),a=ne&&ne.prototype,y=ae("species"),x=!1,b=ie(se.PromiseRejectionEvent),ee=ce("Promise",function(){var te=ue(ne),le=te!==String(ne);if(!le&&z===66||re&&!(a.catch&&a.finally))return!0;if(z>=51&&/native code/.test(te))return!1;var fe=new ne(function(he){he(1)}),ge=function(he){he(function(){},function(){})},me=fe.constructor={};return me[y]=ge,x=fe.then(function(){})instanceof ge,x?!le&&oe&&!b:!0});pe.exports={CONSTRUCTOR:ee,REJECTION_EVENT:b,SUBCLASSING:x}},{"../internals/engine-is-browser":139,"../internals/engine-v8-version":146,"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176,"../internals/is-forced":178,"../internals/is-pure":181,"../internals/promise-native-constructor":216,"../internals/well-known-symbol":268}],216:[function(E,pe,de){var se=E("../internals/global");pe.exports=se.Promise},{"../internals/global":163}],217:[function(E,pe,de){var se=E("../internals/an-object"),ne=E("../internals/is-object"),ie=E("../internals/new-promise-capability");pe.exports=function(ce,ue){if(se(ce),ne(ue)&&ue.constructor===ce)return ue;var ae=ie.f(ce),oe=ae.resolve;return oe(ue),ae.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(E,pe,de){var se=E("../internals/promise-native-constructor"),ne=E("../internals/check-correctness-of-iteration"),ie=E("../internals/promise-constructor-detection").CONSTRUCTOR;pe.exports=ie||!ne(function(ce){se.all(ce).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(E,pe,de){var se=E("../internals/object-define-property").f;pe.exports=function(ne,ie,ce){ce in ne||se(ne,ce,{configurable:!0,get:function(){return ie[ce]},set:function(ue){ie[ce]=ue}})}},{"../internals/object-define-property":198}],220:[function(E,pe,de){var se=function(){this.head=null,this.tail=null};se.prototype={add:function(ne){var ie={item:ne,next:null};this.head?this.tail.next=ie:this.head=ie,this.tail=ie},get:function(){var ne=this.head;if(ne)return this.head=ne.next,this.tail===ne&&(this.tail=null),ne.item}},pe.exports=se},{}],221:[function(E,pe,de){var se=E("../internals/redefine");pe.exports=function(ne,ie,ce){for(var ue in ie)se(ne,ue,ie[ue],ce);return ne}},{"../internals/redefine":222}],222:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/is-callable"),ie=E("../internals/has-own-property"),ce=E("../internals/create-non-enumerable-property"),ue=E("../internals/set-global"),ae=E("../internals/inspect-source"),oe=E("../internals/internal-state"),re=E("../internals/function-name").CONFIGURABLE,z=oe.get,a=oe.enforce,y=String(String).split("String");(pe.exports=function(x,b,ee,te){var le=te?!!te.unsafe:!1,fe=te?!!te.enumerable:!1,ge=te?!!te.noTargetGet:!1,me=te&&te.name!==void 0?te.name:b,he;if(ne(ee)&&(String(me).slice(0,7)==="Symbol("&&(me="["+String(me).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!ie(ee,"name")||re&&ee.name!==me)&&ce(ee,"name",me),he=a(ee),he.source||(he.source=y.join(typeof me=="string"?me:""))),x===se){fe?x[b]=ee:ue(b,ee);return}else le?!ge&&x[b]&&(fe=!0):delete x[b];fe?x[b]=ee:ce(x,b,ee)})(Function.prototype,"toString",function(){return ne(this)&&z(this).source||ae(this)})},{"../internals/create-non-enumerable-property":129,"../internals/function-name":156,"../internals/global":163,"../internals/has-own-property":164,"../internals/inspect-source":172,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/set-global":232}],223:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/function-call"),ie=E("../internals/an-object"),ce=E("../internals/is-callable"),ue=E("../internals/classof-raw"),ae=E("../internals/regexp-exec"),oe=se.TypeError;pe.exports=function(re,z){var a=re.exec;if(ce(a)){var y=ne(a,re,z);return y!==null&&ie(y),y}if(ue(re)==="RegExp")return ne(ae,re,z);throw oe("RegExp#exec called on incompatible receiver")}},{"../internals/an-object":101,"../internals/classof-raw":123,"../internals/function-call":155,"../internals/global":163,"../internals/is-callable":176,"../internals/regexp-exec":224}],224:[function(E,pe,de){"use strict";var se=E("../internals/function-call"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/to-string"),ce=E("../internals/regexp-flags"),ue=E("../internals/regexp-sticky-helpers"),ae=E("../internals/shared"),oe=E("../internals/object-create"),re=E("../internals/internal-state").get,z=E("../internals/regexp-unsupported-dot-all"),a=E("../internals/regexp-unsupported-ncg"),y=ae("native-string-replace",String.prototype.replace),x=RegExp.prototype.exec,b=x,ee=ne("".charAt),te=ne("".indexOf),le=ne("".replace),fe=ne("".slice),ge=function(){var ye=/a/,Pe=/b*/g;return se(x,ye,"a"),se(x,Pe,"a"),ye.lastIndex!==0||Pe.lastIndex!==0}(),me=ue.BROKEN_CARET,he=/()??/.exec("")[1]!==void 0,Se=ge||he||me||z||a;Se&&(b=function(Pe){var we=this,De=re(we),xe=ie(Pe),Ae=De.raw,Ce,je,Fe,Ge,Be,tt,Ye;if(Ae)return Ae.lastIndex=we.lastIndex,Ce=se(b,Ae,xe),we.lastIndex=Ae.lastIndex,Ce;var Ve=De.groups,Xe=me&&we.sticky,Ze=se(ce,we),ke=we.source,ze=0,et=xe;if(Xe&&(Ze=le(Ze,"y",""),te(Ze,"g")===-1&&(Ze+="g"),et=fe(xe,we.lastIndex),we.lastIndex>0&&(!we.multiline||we.multiline&&ee(xe,we.lastIndex-1)!==`
|
|
|
`)&&(ke="(?: "+ke+")",et=" "+et,ze++),je=new RegExp("^(?:"+ke+")",Ze)),he&&(je=new RegExp("^"+ke+"$(?!\\s)",Ze)),ge&&(Fe=we.lastIndex),Ge=se(x,Xe?je:we,et),Xe?Ge?(Ge.input=fe(Ge.input,ze),Ge[0]=fe(Ge[0],ze),Ge.index=we.lastIndex,we.lastIndex+=Ge[0].length):we.lastIndex=0:ge&&Ge&&(we.lastIndex=we.global?Ge.index+Ge[0].length:Fe),he&&Ge&&Ge.length>1&&se(y,Ge[0],je,function(){for(Be=1;Be<arguments.length-2;Be++)arguments[Be]===void 0&&(Ge[Be]=void 0)}),Ge&&Ve)for(Ge.groups=tt=oe(null),Be=0;Be<Ve.length;Be++)Ye=Ve[Be],tt[Ye[0]]=Ge[Ye[1]];return Ge}),pe.exports=b},{"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/internal-state":173,"../internals/object-create":196,"../internals/regexp-flags":225,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/shared":237,"../internals/to-string":256}],225:[function(E,pe,de){"use strict";var se=E("../internals/an-object");pe.exports=function(){var ne=se(this),ie="";return ne.hasIndices&&(ie+="d"),ne.global&&(ie+="g"),ne.ignoreCase&&(ie+="i"),ne.multiline&&(ie+="m"),ne.dotAll&&(ie+="s"),ne.unicode&&(ie+="u"),ne.sticky&&(ie+="y"),ie}},{"../internals/an-object":101}],226:[function(E,pe,de){var se=E("../internals/function-call"),ne=E("../internals/has-own-property"),ie=E("../internals/object-is-prototype-of"),ce=E("../internals/regexp-flags"),ue=RegExp.prototype;pe.exports=function(ae){var oe=ae.flags;return oe===void 0&&!("flags"in ue)&&!ne(ae,"flags")&&ie(ue,ae)?se(ce,ae):oe}},{"../internals/function-call":155,"../internals/has-own-property":164,"../internals/object-is-prototype-of":204,"../internals/regexp-flags":225}],227:[function(E,pe,de){var se=E("../internals/fails"),ne=E("../internals/global"),ie=ne.RegExp,ce=se(function(){var oe=ie("a","y");return oe.lastIndex=2,oe.exec("abcd")!=null}),ue=ce||se(function(){return!ie("a","y").sticky}),ae=ce||se(function(){var oe=ie("^r","gy");return oe.lastIndex=2,oe.exec("str")!=null});pe.exports={BROKEN_CARET:ae,MISSED_STICKY:ue,UNSUPPORTED_Y:ce}},{"../internals/fails":150,"../internals/global":163}],228:[function(E,pe,de){var se=E("../internals/fails"),ne=E("../internals/global"),ie=ne.RegExp;pe.exports=se(function(){var ce=ie(".","s");return!(ce.dotAll&&ce.exec(`
|
|
|
`)&&ce.flags==="s")})},{"../internals/fails":150,"../internals/global":163}],229:[function(E,pe,de){var se=E("../internals/fails"),ne=E("../internals/global"),ie=ne.RegExp;pe.exports=se(function(){var ce=ie("(?<a>b)","g");return ce.exec("b").groups.a!=="b"||"b".replace(ce,"$<a>c")!=="bc"})},{"../internals/fails":150,"../internals/global":163}],230:[function(E,pe,de){var se=E("../internals/global"),ne=se.TypeError;pe.exports=function(ie){if(ie==null)throw ne("Can't call method on "+ie);return ie}},{"../internals/global":163}],231:[function(E,pe,de){pe.exports=Object.is||function(ne,ie){return ne===ie?ne!==0||1/ne===1/ie:ne!=ne&&ie!=ie}},{}],232:[function(E,pe,de){var se=E("../internals/global"),ne=Object.defineProperty;pe.exports=function(ie,ce){try{ne(se,ie,{value:ce,configurable:!0,writable:!0})}catch(ue){se[ie]=ce}return ce}},{"../internals/global":163}],233:[function(E,pe,de){"use strict";var se=E("../internals/get-built-in"),ne=E("../internals/object-define-property"),ie=E("../internals/well-known-symbol"),ce=E("../internals/descriptors"),ue=ie("species");pe.exports=function(ae){var oe=se(ae),re=ne.f;ce&&oe&&!oe[ue]&&re(oe,ue,{configurable:!0,get:function(){return this}})}},{"../internals/descriptors":134,"../internals/get-built-in":158,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],234:[function(E,pe,de){var se=E("../internals/object-define-property").f,ne=E("../internals/has-own-property"),ie=E("../internals/well-known-symbol"),ce=ie("toStringTag");pe.exports=function(ue,ae,oe){ue&&!oe&&(ue=ue.prototype),ue&&!ne(ue,ce)&&se(ue,ce,{configurable:!0,value:ae})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(E,pe,de){var se=E("../internals/shared"),ne=E("../internals/uid"),ie=se("keys");pe.exports=function(ce){return ie[ce]||(ie[ce]=ne(ce))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/set-global"),ie="__core-js_shared__",ce=se[ie]||ne(ie,{});pe.exports=ce},{"../internals/global":163,"../internals/set-global":232}],237:[function(E,pe,de){var se=E("../internals/is-pure"),ne=E("../internals/shared-store");(pe.exports=function(ie,ce){return ne[ie]||(ne[ie]=ce!==void 0?ce:{})})("versions",[]).push({version:"3.22.1",mode:se?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.1/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":181,"../internals/shared-store":236}],238:[function(E,pe,de){var se=E("../internals/an-object"),ne=E("../internals/a-constructor"),ie=E("../internals/well-known-symbol"),ce=ie("species");pe.exports=function(ue,ae){var oe=se(ue).constructor,re;return oe===void 0||(re=se(oe)[ce])==null?ae:ne(re)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(E,pe,de){var se=E("../internals/function-uncurry-this"),ne=E("../internals/to-integer-or-infinity"),ie=E("../internals/to-string"),ce=E("../internals/require-object-coercible"),ue=se("".charAt),ae=se("".charCodeAt),oe=se("".slice),re=function(z){return function(a,y){var x=ie(ce(a)),b=ne(y),ee=x.length,te,le;return b<0||b>=ee?z?"":void 0:(te=ae(x,b),te<55296||te>56319||b+1===ee||(le=ae(x,b+1))<56320||le>57343?z?ue(x,b):te:z?oe(x,b,b+2):(te-55296<<10)+(le-56320)+65536)}};pe.exports={codeAt:re(!1),charAt:re(!0)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-string":256}],240:[function(E,pe,de){var se=E("../internals/function-name").PROPER,ne=E("../internals/fails"),ie=E("../internals/whitespaces"),ce="\u200B\x85\u180E";pe.exports=function(ue){return ne(function(){return!!ie[ue]()||ce[ue]()!==ce||se&&ie[ue].name!==ue})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(E,pe,de){var se=E("../internals/function-uncurry-this"),ne=E("../internals/require-object-coercible"),ie=E("../internals/to-string"),ce=E("../internals/whitespaces"),ue=se("".replace),ae="["+ce+"]",oe=RegExp("^"+ae+ae+"*"),re=RegExp(ae+ae+"*$"),z=function(a){return function(y){var x=ie(ne(y));return a&1&&(x=ue(x,oe,"")),a&2&&(x=ue(x,re,"")),x}};pe.exports={start:z(1),end:z(2),trim:z(3)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-string":256,"../internals/whitespaces":269}],242:[function(E,pe,de){var se=E("../internals/function-call"),ne=E("../internals/get-built-in"),ie=E("../internals/well-known-symbol"),ce=E("../internals/redefine");pe.exports=function(){var ue=ne("Symbol"),ae=ue&&ue.prototype,oe=ae&&ae.valueOf,re=ie("toPrimitive");ae&&!ae[re]&&ce(ae,re,function(z){return se(oe,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/function-apply"),ie=E("../internals/function-bind-context"),ce=E("../internals/is-callable"),ue=E("../internals/has-own-property"),ae=E("../internals/fails"),oe=E("../internals/html"),re=E("../internals/array-slice"),z=E("../internals/document-create-element"),a=E("../internals/validate-arguments-length"),y=E("../internals/engine-is-ios"),x=E("../internals/engine-is-node"),b=se.setImmediate,ee=se.clearImmediate,te=se.process,le=se.Dispatch,fe=se.Function,ge=se.MessageChannel,me=se.String,he=0,Se={},ye="onreadystatechange",Pe,we,De,xe;try{Pe=se.location}catch(Ge){}var Ae=function(Ge){if(ue(Se,Ge)){var Be=Se[Ge];delete Se[Ge],Be()}},Ce=function(Ge){return function(){Ae(Ge)}},je=function(Ge){Ae(Ge.data)},Fe=function(Ge){se.postMessage(me(Ge),Pe.protocol+"//"+Pe.host)};(!b||!ee)&&(b=function(Be){a(arguments.length,1);var tt=ce(Be)?Be:fe(Be),Ye=re(arguments,1);return Se[++he]=function(){ne(tt,void 0,Ye)},we(he),he},ee=function(Be){delete Se[Be]},x?we=function(Ge){te.nextTick(Ce(Ge))}:le&&le.now?we=function(Ge){le.now(Ce(Ge))}:ge&&!y?(De=new ge,xe=De.port2,De.port1.onmessage=je,we=ie(xe.postMessage,xe)):se.addEventListener&&ce(se.postMessage)&&!se.importScripts&&Pe&&Pe.protocol!=="file:"&&!ae(Fe)?(we=Fe,se.addEventListener("message",je,!1)):ye in z("script")?we=function(Ge){oe.appendChild(z("script"))[ye]=function(){oe.removeChild(this),Ae(Ge)}}:we=function(Ge){setTimeout(Ce(Ge),0)}),pe.exports={set:b,clear:ee}},{"../internals/array-slice":117,"../internals/document-create-element":135,"../internals/engine-is-ios":142,"../internals/engine-is-node":143,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-bind-context":153,"../internals/global":163,"../internals/has-own-property":164,"../internals/html":167,"../internals/is-callable":176,"../internals/validate-arguments-length":266}],244:[function(E,pe,de){var se=E("../internals/function-uncurry-this");pe.exports=se(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(E,pe,de){var se=E("../internals/to-integer-or-infinity"),ne=Math.max,ie=Math.min;pe.exports=function(ce,ue){var ae=se(ce);return ae<0?ne(ae+ue,0):ie(ae,ue)}},{"../internals/to-integer-or-infinity":248}],246:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/to-integer-or-infinity"),ie=E("../internals/to-length"),ce=se.RangeError;pe.exports=function(ue){if(ue===void 0)return 0;var ae=ne(ue),oe=ie(ae);if(ae!==oe)throw ce("Wrong length or index");return oe}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(E,pe,de){var se=E("../internals/indexed-object"),ne=E("../internals/require-object-coercible");pe.exports=function(ie){return se(ne(ie))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(E,pe,de){var se=Math.ceil,ne=Math.floor;pe.exports=function(ie){var ce=+ie;return ce!==ce||ce===0?0:(ce>0?ne:se)(ce)}},{}],249:[function(E,pe,de){var se=E("../internals/to-integer-or-infinity"),ne=Math.min;pe.exports=function(ie){return ie>0?ne(se(ie),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/require-object-coercible"),ie=se.Object;pe.exports=function(ce){return ie(ne(ce))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/to-positive-integer"),ie=se.RangeError;pe.exports=function(ce,ue){var ae=ne(ce);if(ae%ue)throw ie("Wrong offset");return ae}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/to-integer-or-infinity"),ie=se.RangeError;pe.exports=function(ce){var ue=ne(ce);if(ue<0)throw ie("The argument can't be less than 0");return ue}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/function-call"),ie=E("../internals/is-object"),ce=E("../internals/is-symbol"),ue=E("../internals/get-method"),ae=E("../internals/ordinary-to-primitive"),oe=E("../internals/well-known-symbol"),re=se.TypeError,z=oe("toPrimitive");pe.exports=function(a,y){if(!ie(a)||ce(a))return a;var x=ue(a,z),b;if(x){if(y===void 0&&(y="default"),b=ne(x,a,y),!ie(b)||ce(b))return b;throw re("Can't convert object to primitive value")}return y===void 0&&(y="number"),ae(a,y)}},{"../internals/function-call":155,"../internals/get-method":161,"../internals/global":163,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/ordinary-to-primitive":211,"../internals/well-known-symbol":268}],254:[function(E,pe,de){var se=E("../internals/to-primitive"),ne=E("../internals/is-symbol");pe.exports=function(ie){var ce=se(ie,"string");return ne(ce)?ce:ce+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(E,pe,de){var se=E("../internals/well-known-symbol"),ne=se("toStringTag"),ie={};ie[ne]="z",pe.exports=String(ie)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/classof"),ie=se.String;pe.exports=function(ce){if(ne(ce)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return ie(ce)}},{"../internals/classof":124,"../internals/global":163}],257:[function(E,pe,de){var se=E("../internals/global"),ne=se.String;pe.exports=function(ie){try{return ne(ie)}catch(ce){return"Object"}}},{"../internals/global":163}],258:[function(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/global"),ie=E("../internals/function-call"),ce=E("../internals/descriptors"),ue=E("../internals/typed-array-constructors-require-wrappers"),ae=E("../internals/array-buffer-view-core"),oe=E("../internals/array-buffer"),re=E("../internals/an-instance"),z=E("../internals/create-property-descriptor"),a=E("../internals/create-non-enumerable-property"),y=E("../internals/is-integral-number"),x=E("../internals/to-length"),b=E("../internals/to-index"),ee=E("../internals/to-offset"),te=E("../internals/to-property-key"),le=E("../internals/has-own-property"),fe=E("../internals/classof"),ge=E("../internals/is-object"),me=E("../internals/is-symbol"),he=E("../internals/object-create"),Se=E("../internals/object-is-prototype-of"),ye=E("../internals/object-set-prototype-of"),Pe=E("../internals/object-get-own-property-names").f,we=E("../internals/typed-array-from"),De=E("../internals/array-iteration").forEach,xe=E("../internals/set-species"),Ae=E("../internals/object-define-property"),Ce=E("../internals/object-get-own-property-descriptor"),je=E("../internals/internal-state"),Fe=E("../internals/inherit-if-required"),Ge=je.get,Be=je.set,tt=Ae.f,Ye=Ce.f,Ve=Math.round,Xe=ne.RangeError,Ze=oe.ArrayBuffer,ke=Ze.prototype,ze=oe.DataView,et=ae.NATIVE_ARRAY_BUFFER_VIEWS,Je=ae.TYPED_ARRAY_CONSTRUCTOR,ut=ae.TYPED_ARRAY_TAG,Qe=ae.TypedArray,Ue=ae.TypedArrayPrototype,Re=ae.aTypedArrayConstructor,$e=ae.isTypedArray,Le="BYTES_PER_ELEMENT",Ne="Wrong length",qe=function(Ie,Ke){Re(Ie);for(var at=0,He=Ke.length,nt=new Ie(He);He>at;)nt[at]=Ke[at++];return nt},We=function(Ie,Ke){tt(Ie,Ke,{get:function(){return Ge(this)[Ke]}})},Me=function(Ie){var Ke;return Se(ke,Ie)||(Ke=fe(Ie))=="ArrayBuffer"||Ke=="SharedArrayBuffer"},Te=function(Ie,Ke){return $e(Ie)&&!me(Ke)&&Ke in Ie&&y(+Ke)&&Ke>=0},Oe=function(Ke,at){return at=te(at),Te(Ke,at)?z(2,Ke[at]):Ye(Ke,at)},Ee=function(Ke,at,He){return at=te(at),Te(Ke,at)&&ge(He)&&le(He,"value")&&!le(He,"get")&&!le(He,"set")&&!He.configurable&&(!le(He,"writable")||He.writable)&&(!le(He,"enumerable")||He.enumerable)?(Ke[at]=He.value,Ke):tt(Ke,at,He)};ce?(et||(Ce.f=Oe,Ae.f=Ee,We(Ue,"buffer"),We(Ue,"byteOffset"),We(Ue,"byteLength"),We(Ue,"length")),se({target:"Object",stat:!0,forced:!et},{getOwnPropertyDescriptor:Oe,defineProperty:Ee}),pe.exports=function(Ie,Ke,at){var He=Ie.match(/\d+$/)[0]/8,nt=Ie+(at?"Clamped":"")+"Array",ft="get"+Ie,lt="set"+Ie,pt=ne[nt],ct=pt,vt=ct&&ct.prototype,ot={},st=function(bt,xt){var Ft=Ge(bt);return Ft.view[ft](xt*He+Ft.byteOffset,!0)},ht=function(bt,xt,Ft){var Dt=Ge(bt);at&&(Ft=(Ft=Ve(Ft))<0?0:Ft>255?255:Ft&255),Dt.view[lt](xt*He+Dt.byteOffset,Ft,!0)},mt=function(bt,xt){tt(bt,xt,{get:function(){return st(this,xt)},set:function(Ft){return ht(this,xt,Ft)},enumerable:!0})};et?ue&&(ct=Ke(function(bt,xt,Ft,Dt){return re(bt,vt),Fe(function(){return ge(xt)?Me(xt)?Dt!==void 0?new pt(xt,ee(Ft,He),Dt):Ft!==void 0?new pt(xt,ee(Ft,He)):new pt(xt):$e(xt)?qe(ct,xt):ie(we,ct,xt):new pt(b(xt))}(),bt,ct)}),ye&&ye(ct,Qe),De(Pe(pt),function(bt){bt in ct||a(ct,bt,pt[bt])}),ct.prototype=vt):(ct=Ke(function(bt,xt,Ft,Dt){re(bt,vt);var $t=0,dn=0,en,Jt,wn;if(!ge(xt))wn=b(xt),Jt=wn*He,en=new Ze(Jt);else if(Me(xt)){en=xt,dn=ee(Ft,He);var Tn=xt.byteLength;if(Dt===void 0){if(Tn%He||(Jt=Tn-dn,Jt<0))throw Xe(Ne)}else if(Jt=x(Dt)*He,Jt+dn>Tn)throw Xe(Ne);wn=Jt/He}else return $e(xt)?qe(ct,xt):ie(we,ct,xt);for(Be(bt,{buffer:en,byteOffset:dn,byteLength:Jt,length:wn,view:new ze(en)});$t<wn;)mt(bt,$t++)}),ye&&ye(ct,Qe),vt=ct.prototype=he(Ue)),vt.constructor!==ct&&a(vt,"constructor",ct),a(vt,Je,ct),ut&&a(vt,ut,nt),ot[nt]=ct,se({global:!0,forced:ct!=pt,sham:!et},ot),Le in ct||a(ct,Le,He),Le in vt||a(vt,Le,He),xe(nt)}):pe.exports=function(){}},{"../internals/an-instance":100,"../internals/array-buffer":104,"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/classof":124,"../internals/create-non-enumerable-property":129,"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-integral-number":179,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/object-create":196,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/object-set-prototype-of":208,"../internals/set-species":233,"../internals/to-index":246,"../internals/to-length":249,"../internals/to-offset":251,"../internals/to-property-key":254,"../internals/typed-array-constructors-require-wrappers":259,"../internals/typed-array-from":261}],259:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/fails"),ie=E("../internals/check-correctness-of-iteration"),ce=E("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,ue=se.ArrayBuffer,ae=se.Int8Array;pe.exports=!ce||!ne(function(){ae(1)})||!ne(function(){new ae(-1)})||!ie(function(oe){new ae,new ae(null),new ae(1.5),new ae(oe)},!0)||ne(function(){return new ae(new ue(2),1,void 0).length!==1})},{"../internals/array-buffer-view-core":103,"../internals/check-correctness-of-iteration":122,"../internals/fails":150,"../internals/global":163}],260:[function(E,pe,de){var se=E("../internals/array-from-constructor-and-list"),ne=E("../internals/typed-array-species-constructor");pe.exports=function(ie,ce){return se(ne(ie),ce)}},{"../internals/array-from-constructor-and-list":108,"../internals/typed-array-species-constructor":262}],261:[function(E,pe,de){var se=E("../internals/function-bind-context"),ne=E("../internals/function-call"),ie=E("../internals/a-constructor"),ce=E("../internals/to-object"),ue=E("../internals/length-of-array-like"),ae=E("../internals/get-iterator"),oe=E("../internals/get-iterator-method"),re=E("../internals/is-array-iterator-method"),z=E("../internals/array-buffer-view-core").aTypedArrayConstructor;pe.exports=function(y){var x=ie(this),b=ce(y),ee=arguments.length,te=ee>1?arguments[1]:void 0,le=te!==void 0,fe=oe(b),ge,me,he,Se,ye,Pe;if(fe&&!re(fe))for(ye=ae(b,fe),Pe=ye.next,b=[];!(Se=ne(Pe,ye)).done;)b.push(Se.value);for(le&&ee>2&&(te=se(te,arguments[2])),me=ue(b),he=new(z(x))(me),ge=0;me>ge;ge++)he[ge]=le?te(b[ge],ge):b[ge];return he}},{"../internals/a-constructor":96,"../internals/array-buffer-view-core":103,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/is-array-iterator-method":174,"../internals/length-of-array-like":188,"../internals/to-object":250}],262:[function(E,pe,de){var se=E("../internals/array-buffer-view-core"),ne=E("../internals/species-constructor"),ie=se.TYPED_ARRAY_CONSTRUCTOR,ce=se.aTypedArrayConstructor;pe.exports=function(ue){return ce(ne(ue,ue[ie]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(E,pe,de){var se=E("../internals/function-uncurry-this"),ne=0,ie=Math.random(),ce=se(1 .toString);pe.exports=function(ue){return"Symbol("+(ue===void 0?"":ue)+")_"+ce(++ne+ie,36)}},{"../internals/function-uncurry-this":157}],264:[function(E,pe,de){var se=E("../internals/native-symbol");pe.exports=se&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(E,pe,de){var se=E("../internals/descriptors"),ne=E("../internals/fails");pe.exports=se&&ne(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(E,pe,de){var se=E("../internals/global"),ne=se.TypeError;pe.exports=function(ie,ce){if(ie<ce)throw ne("Not enough arguments");return ie}},{"../internals/global":163}],267:[function(E,pe,de){var se=E("../internals/well-known-symbol");de.f=se},{"../internals/well-known-symbol":268}],268:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/shared"),ie=E("../internals/has-own-property"),ce=E("../internals/uid"),ue=E("../internals/native-symbol"),ae=E("../internals/use-symbol-as-uid"),oe=ne("wks"),re=se.Symbol,z=re&&re.for,a=ae?re:re&&re.withoutSetter||ce;pe.exports=function(y){if(!ie(oe,y)||!(ue||typeof oe[y]=="string")){var x="Symbol."+y;ue&&ie(re,y)?oe[y]=re[y]:ae&&z?oe[y]=z(x):oe[y]=a(x)}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(E,pe,de){pe.exports=`
|
|
|
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},{}],270:[function(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/global"),ie=E("../internals/array-buffer"),ce=E("../internals/set-species"),ue="ArrayBuffer",ae=ie[ue],oe=ne[ue];se({global:!0,forced:oe!==ae},{ArrayBuffer:ae}),ce(ue)},{"../internals/array-buffer":104,"../internals/export":149,"../internals/global":163,"../internals/set-species":233}],271:[function(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),ce=E("../internals/array-buffer"),ue=E("../internals/an-object"),ae=E("../internals/to-absolute-index"),oe=E("../internals/to-length"),re=E("../internals/species-constructor"),z=ce.ArrayBuffer,a=ce.DataView,y=a.prototype,x=ne(z.prototype.slice),b=ne(y.getUint8),ee=ne(y.setUint8),te=ie(function(){return!new z(2).slice(1,void 0).byteLength});se({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:te},{slice:function(fe,ge){if(x&&ge===void 0)return x(ue(this),fe);for(var me=ue(this).byteLength,he=ae(fe,me),Se=ae(ge===void 0?me:ge,me),ye=new(re(this,z))(oe(Se-he)),Pe=new a(this),we=new a(ye),De=0;he<Se;)ee(we,De++,b(Pe,he++));return ye}})},{"../internals/an-object":101,"../internals/array-buffer":104,"../internals/export":149,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/species-constructor":238,"../internals/to-absolute-index":245,"../internals/to-length":249}],272:[function(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/global"),ie=E("../internals/fails"),ce=E("../internals/is-array"),ue=E("../internals/is-object"),ae=E("../internals/to-object"),oe=E("../internals/length-of-array-like"),re=E("../internals/create-property"),z=E("../internals/array-species-create"),a=E("../internals/array-method-has-species-support"),y=E("../internals/well-known-symbol"),x=E("../internals/engine-v8-version"),b=y("isConcatSpreadable"),ee=9007199254740991,te="Maximum allowed index exceeded",le=ne.TypeError,fe=x>=51||!ie(function(){var Se=[];return Se[b]=!1,Se.concat()[0]!==Se}),ge=a("concat"),me=function(Se){if(!ue(Se))return!1;var ye=Se[b];return ye!==void 0?!!ye:ce(Se)},he=!fe||!ge;se({target:"Array",proto:!0,forced:he},{concat:function(ye){var Pe=ae(this),we=z(Pe,0),De=0,xe,Ae,Ce,je,Fe;for(xe=-1,Ce=arguments.length;xe<Ce;xe++)if(Fe=xe===-1?Pe:arguments[xe],me(Fe)){if(je=oe(Fe),De+je>ee)throw le(te);for(Ae=0;Ae<je;Ae++,De++)Ae in Fe&&re(we,De,Fe[Ae])}else{if(De>=ee)throw le(te);re(we,De++,Fe)}return we.length=De,we}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/engine-v8-version":146,"../internals/export":149,"../internals/fails":150,"../internals/global":163,"../internals/is-array":175,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/well-known-symbol":268}],273:[function(E,pe,de){var se=E("../internals/export"),ne=E("../internals/array-fill"),ie=E("../internals/add-to-unscopables");se({target:"Array",proto:!0},{fill:ne}),ie("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/array-iteration").filter,ie=E("../internals/array-method-has-species-support"),ce=ie("filter");se({target:"Array",proto:!0,forced:!ce},{filter:function(ae){return ne(this,ae,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],275:[function(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/array-iteration").find,ie=E("../internals/add-to-unscopables"),ce="find",ue=!0;ce in[]&&Array(1)[ce](function(){ue=!1}),se({target:"Array",proto:!0,forced:ue},{find:function(oe){return ne(this,oe,arguments.length>1?arguments[1]:void 0)}}),ie(ce)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(E,pe,de){var se=E("../internals/export"),ne=E("../internals/array-from"),ie=E("../internals/check-correctness-of-iteration"),ce=!ie(function(ue){Array.from(ue)});se({target:"Array",stat:!0,forced:ce},{from:ne})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/array-includes").includes,ie=E("../internals/add-to-unscopables");se({target:"Array",proto:!0},{includes:function(ue){return ne(this,ue,arguments.length>1?arguments[1]:void 0)}}),ie("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(E,pe,de){"use strict";var se=E("../internals/to-indexed-object"),ne=E("../internals/add-to-unscopables"),ie=E("../internals/iterators"),ce=E("../internals/internal-state"),ue=E("../internals/object-define-property").f,ae=E("../internals/define-iterator"),oe=E("../internals/is-pure"),re=E("../internals/descriptors"),z="Array Iterator",a=ce.set,y=ce.getterFor(z);pe.exports=ae(Array,"Array",function(b,ee){a(this,{type:z,target:se(b),index:0,kind:ee})},function(){var b=y(this),ee=b.target,te=b.kind,le=b.index++;return!ee||le>=ee.length?(b.target=void 0,{value:void 0,done:!0}):te=="keys"?{value:le,done:!1}:te=="values"?{value:ee[le],done:!1}:{value:[le,ee[le]],done:!1}},"values");var x=ie.Arguments=ie.Array;if(ne("keys"),ne("values"),ne("entries"),!oe&&re&&x.name!=="values")try{ue(x,"name",{value:"values"})}catch(b){}},{"../internals/add-to-unscopables":98,"../internals/define-iterator":132,"../internals/descriptors":134,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/iterators":187,"../internals/object-define-property":198,"../internals/to-indexed-object":247}],279:[function(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/indexed-object"),ce=E("../internals/to-indexed-object"),ue=E("../internals/array-method-is-strict"),ae=ne([].join),oe=ie!=Object,re=ue("join",",");se({target:"Array",proto:!0,forced:oe||!re},{join:function(a){return ae(ce(this),a===void 0?",":a)}})},{"../internals/array-method-is-strict":114,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/to-indexed-object":247}],280:[function(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/array-iteration").map,ie=E("../internals/array-method-has-species-support"),ce=ie("map");se({target:"Array",proto:!0,forced:!ce},{map:function(ae){return ne(this,ae,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],281:[function(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/global"),ie=E("../internals/is-array"),ce=E("../internals/is-constructor"),ue=E("../internals/is-object"),ae=E("../internals/to-absolute-index"),oe=E("../internals/length-of-array-like"),re=E("../internals/to-indexed-object"),z=E("../internals/create-property"),a=E("../internals/well-known-symbol"),y=E("../internals/array-method-has-species-support"),x=E("../internals/array-slice"),b=y("slice"),ee=a("species"),te=ne.Array,le=Math.max;se({target:"Array",proto:!0,forced:!b},{slice:function(ge,me){var he=re(this),Se=oe(he),ye=ae(ge,Se),Pe=ae(me===void 0?Se:me,Se),we,De,xe;if(ie(he)&&(we=he.constructor,ce(we)&&(we===te||ie(we.prototype))?we=void 0:ue(we)&&(we=we[ee],we===null&&(we=void 0)),we===te||we===void 0))return x(he,ye,Pe);for(De=new(we===void 0?te:we)(le(Pe-ye,0)),xe=0;ye<Pe;ye++,xe++)ye in he&&z(De,xe,he[ye]);return De.length=xe,De}})},{"../internals/array-method-has-species-support":113,"../internals/array-slice":117,"../internals/create-property":131,"../internals/export":149,"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247,"../internals/well-known-symbol":268}],282:[function(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/a-callable"),ce=E("../internals/to-object"),ue=E("../internals/length-of-array-like"),ae=E("../internals/to-string"),oe=E("../internals/fails"),re=E("../internals/array-sort"),z=E("../internals/array-method-is-strict"),a=E("../internals/engine-ff-version"),y=E("../internals/engine-is-ie-or-edge"),x=E("../internals/engine-v8-version"),b=E("../internals/engine-webkit-version"),ee=[],te=ne(ee.sort),le=ne(ee.push),fe=oe(function(){ee.sort(void 0)}),ge=oe(function(){ee.sort(null)}),me=z("sort"),he=!oe(function(){if(x)return x<70;if(!(a&&a>3)){if(y)return!0;if(b)return b<603;var Pe="",we,De,xe,Ae;for(we=65;we<76;we++){switch(De=String.fromCharCode(we),we){case 66:case 69:case 70:case 72:xe=3;break;case 68:case 71:xe=4;break;default:xe=2}for(Ae=0;Ae<47;Ae++)ee.push({k:De+Ae,v:xe})}for(ee.sort(function(Ce,je){return je.v-Ce.v}),Ae=0;Ae<ee.length;Ae++)De=ee[Ae].k.charAt(0),Pe.charAt(Pe.length-1)!==De&&(Pe+=De);return Pe!=="DGBEFHACIJK"}}),Se=fe||!ge||!me||!he,ye=function(Pe){return function(we,De){return De===void 0?-1:we===void 0?1:Pe!==void 0?+Pe(we,De)||0:ae(we)>ae(De)?1:-1}};se({target:"Array",proto:!0,forced:Se},{sort:function(we){we!==void 0&&ie(we);var De=ce(this);if(he)return we===void 0?te(De):te(De,we);var xe=[],Ae=ue(De),Ce,je;for(je=0;je<Ae;je++)je in De&&le(xe,De[je]);for(re(xe,ye(we)),Ce=xe.length,je=0;je<Ce;)De[je]=xe[je++];for(;je<Ae;)delete De[je++];return De}})},{"../internals/a-callable":95,"../internals/array-method-is-strict":114,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/export":149,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/to-string":256}],283:[function(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/global"),ie=E("../internals/to-absolute-index"),ce=E("../internals/to-integer-or-infinity"),ue=E("../internals/length-of-array-like"),ae=E("../internals/to-object"),oe=E("../internals/array-species-create"),re=E("../internals/create-property"),z=E("../internals/array-method-has-species-support"),a=z("splice"),y=ne.TypeError,x=Math.max,b=Math.min,ee=9007199254740991,te="Maximum allowed length exceeded";se({target:"Array",proto:!0,forced:!a},{splice:function(fe,ge){var me=ae(this),he=ue(me),Se=ie(fe,he),ye=arguments.length,Pe,we,De,xe,Ae,Ce;if(ye===0?Pe=we=0:ye===1?(Pe=0,we=he-Se):(Pe=ye-2,we=b(x(ce(ge),0),he-Se)),he+Pe-we>ee)throw y(te);for(De=oe(me,we),xe=0;xe<we;xe++)Ae=Se+xe,Ae in me&&re(De,xe,me[Ae]);if(De.length=we,Pe<we){for(xe=Se;xe<he-we;xe++)Ae=xe+we,Ce=xe+Pe,Ae in me?me[Ce]=me[Ae]:delete me[Ce];for(xe=he;xe>he-we+Pe;xe--)delete me[xe-1]}else if(Pe>we)for(xe=he-we;xe>Se;xe--)Ae=xe+we-1,Ce=xe+Pe-1,Ae in me?me[Ce]=me[Ae]:delete me[Ce];for(xe=0;xe<Pe;xe++)me[xe+Se]=arguments[xe+2];return me.length=he-we+Pe,De}})},{"../internals/array-method-has-species-support":113,"../internals/array-species-create":120,"../internals/create-property":131,"../internals/export":149,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-integer-or-infinity":248,"../internals/to-object":250}],284:[function(E,pe,de){var se=E("../internals/descriptors"),ne=E("../internals/function-name").EXISTS,ie=E("../internals/function-uncurry-this"),ce=E("../internals/object-define-property").f,ue=Function.prototype,ae=ie(ue.toString),oe=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,re=ie(oe.exec),z="name";se&&!ne&&ce(ue,z,{configurable:!0,get:function(){try{return re(oe,ae(this))[1]}catch(a){return""}}})},{"../internals/descriptors":134,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/object-define-property":198}],285:[function(E,pe,de){var se=E("../internals/export"),ne=E("../internals/get-built-in"),ie=E("../internals/function-apply"),ce=E("../internals/function-call"),ue=E("../internals/function-uncurry-this"),ae=E("../internals/fails"),oe=E("../internals/is-array"),re=E("../internals/is-callable"),z=E("../internals/is-object"),a=E("../internals/is-symbol"),y=E("../internals/array-slice"),x=E("../internals/native-symbol"),b=ne("JSON","stringify"),ee=ue(/./.exec),te=ue("".charAt),le=ue("".charCodeAt),fe=ue("".replace),ge=ue(1 .toString),me=/[\uD800-\uDFFF]/g,he=/^[\uD800-\uDBFF]$/,Se=/^[\uDC00-\uDFFF]$/,ye=!x||ae(function(){var xe=ne("Symbol")();return b([xe])!="[null]"||b({a:xe})!="{}"||b(Object(xe))!="{}"}),Pe=ae(function(){return b("\uDF06\uD834")!=='"\\udf06\\ud834"'||b("\uDEAD")!=='"\\udead"'}),we=function(xe,Ae){var Ce=y(arguments),je=Ae;if(!(!z(Ae)&&xe===void 0||a(xe)))return oe(Ae)||(Ae=function(Fe,Ge){if(re(je)&&(Ge=ce(je,this,Fe,Ge)),!a(Ge))return Ge}),Ce[1]=Ae,ie(b,null,Ce)},De=function(xe,Ae,Ce){var je=te(Ce,Ae-1),Fe=te(Ce,Ae+1);return ee(he,xe)&&!ee(Se,Fe)||ee(Se,xe)&&!ee(he,je)?"\\u"+ge(le(xe,0),16):xe};b&&se({target:"JSON",stat:!0,forced:ye||Pe},{stringify:function(Ae,Ce,je){var Fe=y(arguments),Ge=ie(ye?we:b,null,Fe);return Pe&&typeof Ge=="string"?fe(Ge,me,De):Ge}})},{"../internals/array-slice":117,"../internals/export":149,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/is-array":175,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/native-symbol":191}],286:[function(E,pe,de){"use strict";var se=E("../internals/descriptors"),ne=E("../internals/global"),ie=E("../internals/function-uncurry-this"),ce=E("../internals/is-forced"),ue=E("../internals/redefine"),ae=E("../internals/has-own-property"),oe=E("../internals/inherit-if-required"),re=E("../internals/object-is-prototype-of"),z=E("../internals/is-symbol"),a=E("../internals/to-primitive"),y=E("../internals/fails"),x=E("../internals/object-get-own-property-names").f,b=E("../internals/object-get-own-property-descriptor").f,ee=E("../internals/object-define-property").f,te=E("../internals/this-number-value"),le=E("../internals/string-trim").trim,fe="Number",ge=ne[fe],me=ge.prototype,he=ne.TypeError,Se=ie("".slice),ye=ie("".charCodeAt),Pe=function(je){var Fe=a(je,"number");return typeof Fe=="bigint"?Fe:we(Fe)},we=function(je){var Fe=a(je,"number"),Ge,Be,tt,Ye,Ve,Xe,Ze,ke;if(z(Fe))throw he("Cannot convert a Symbol value to a number");if(typeof Fe=="string"&&Fe.length>2){if(Fe=le(Fe),Ge=ye(Fe,0),Ge===43||Ge===45){if(Be=ye(Fe,2),Be===88||Be===120)return NaN}else if(Ge===48){switch(ye(Fe,1)){case 66:case 98:tt=2,Ye=49;break;case 79:case 111:tt=8,Ye=55;break;default:return+Fe}for(Ve=Se(Fe,2),Xe=Ve.length,Ze=0;Ze<Xe;Ze++)if(ke=ye(Ve,Ze),ke<48||ke>Ye)return NaN;return parseInt(Ve,tt)}}return+Fe};if(ce(fe,!ge(" 0o1")||!ge("0b1")||ge("+0x1"))){for(var De=function(Fe){var Ge=arguments.length<1?0:ge(Pe(Fe)),Be=this;return re(me,Be)&&y(function(){te(Be)})?oe(Object(Ge),Be,De):Ge},xe=se?x(ge):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),Ae=0,Ce;xe.length>Ae;Ae++)ae(ge,Ce=xe[Ae])&&!ae(De,Ce)&&ee(De,Ce,b(ge,Ce));De.prototype=me,me.constructor=De,ue(ne,fe,De)}},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/is-forced":178,"../internals/is-symbol":183,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/redefine":222,"../internals/string-trim":241,"../internals/this-number-value":244,"../internals/to-primitive":253}],287:[function(E,pe,de){var se=E("../internals/export"),ne=E("../internals/object-assign");se({target:"Object",stat:!0,forced:Object.assign!==ne},{assign:ne})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(E,pe,de){var se=E("../internals/export"),ne=E("../internals/object-to-array").entries;se({target:"Object",stat:!0},{entries:function(ce){return ne(ce)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(E,pe,de){var se=E("../internals/export"),ne=E("../internals/native-symbol"),ie=E("../internals/fails"),ce=E("../internals/object-get-own-property-symbols"),ue=E("../internals/to-object"),ae=!ne||ie(function(){ce.f(1)});se({target:"Object",stat:!0,forced:ae},{getOwnPropertySymbols:function(re){var z=ce.f;return z?z(ue(re)):[]}})},{"../internals/export":149,"../internals/fails":150,"../internals/native-symbol":191,"../internals/object-get-own-property-symbols":202,"../internals/to-object":250}],290:[function(E,pe,de){var se=E("../internals/export"),ne=E("../internals/to-object"),ie=E("../internals/object-keys"),ce=E("../internals/fails"),ue=ce(function(){ie(1)});se({target:"Object",stat:!0,forced:ue},{keys:function(oe){return ie(ne(oe))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(E,pe,de){var se=E("../internals/to-string-tag-support"),ne=E("../internals/redefine"),ie=E("../internals/object-to-string");se||ne(Object.prototype,"toString",ie,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/function-call"),ie=E("../internals/a-callable"),ce=E("../internals/new-promise-capability"),ue=E("../internals/perform"),ae=E("../internals/iterate"),oe=E("../internals/promise-statics-incorrect-iteration");se({target:"Promise",stat:!0,forced:oe},{all:function(z){var a=this,y=ce.f(a),x=y.resolve,b=y.reject,ee=ue(function(){var te=ie(a.resolve),le=[],fe=0,ge=1;ae(z,function(me){var he=fe++,Se=!1;ge++,ne(te,a,me).then(function(ye){Se||(Se=!0,le[he]=ye,--ge||x(le))},b)}),--ge||x(le)});return ee.error&&b(ee.value),y.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],293:[function(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/is-pure"),ie=E("../internals/promise-constructor-detection").CONSTRUCTOR,ce=E("../internals/promise-native-constructor"),ue=E("../internals/get-built-in"),ae=E("../internals/is-callable"),oe=E("../internals/redefine"),re=ce&&ce.prototype;if(se({target:"Promise",proto:!0,forced:ie,real:!0},{catch:function(a){return this.then(void 0,a)}}),!ne&&ae(ce)){var z=ue("Promise").prototype.catch;re.catch!==z&&oe(re,"catch",z,{unsafe:!0})}},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-callable":176,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/redefine":222}],294:[function(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/is-pure"),ie=E("../internals/engine-is-node"),ce=E("../internals/global"),ue=E("../internals/function-call"),ae=E("../internals/redefine"),oe=E("../internals/redefine-all"),re=E("../internals/object-set-prototype-of"),z=E("../internals/set-to-string-tag"),a=E("../internals/set-species"),y=E("../internals/a-callable"),x=E("../internals/is-callable"),b=E("../internals/is-object"),ee=E("../internals/an-instance"),te=E("../internals/species-constructor"),le=E("../internals/task").set,fe=E("../internals/microtask"),ge=E("../internals/host-report-errors"),me=E("../internals/perform"),he=E("../internals/queue"),Se=E("../internals/internal-state"),ye=E("../internals/promise-native-constructor"),Pe=E("../internals/promise-constructor-detection"),we=E("../internals/new-promise-capability"),De="Promise",xe=Pe.CONSTRUCTOR,Ae=Pe.REJECTION_EVENT,Ce=Pe.SUBCLASSING,je=Se.getterFor(De),Fe=Se.set,Ge=ye&&ye.prototype,Be=ye,tt=Ge,Ye=ce.TypeError,Ve=ce.document,Xe=ce.process,Ze=we.f,ke=Ze,ze=!!(Ve&&Ve.createEvent&&ce.dispatchEvent),et="unhandledrejection",Je="rejectionhandled",ut=0,Qe=1,Ue=2,Re=1,$e=2,Le,Ne,qe,We,Me=function(lt){var pt;return b(lt)&&x(pt=lt.then)?pt:!1},Te=function(lt,pt){var ct=pt.value,vt=pt.state==Qe,ot=vt?lt.ok:lt.fail,st=lt.resolve,ht=lt.reject,mt=lt.domain,bt,xt,Ft;try{ot?(vt||(pt.rejection===$e&&at(pt),pt.rejection=Re),ot===!0?bt=ct:(mt&&mt.enter(),bt=ot(ct),mt&&(mt.exit(),Ft=!0)),bt===lt.promise?ht(Ye("Promise-chain cycle")):(xt=Me(bt))?ue(xt,bt,st,ht):st(bt)):ht(ct)}catch(Dt){mt&&!Ft&&mt.exit(),ht(Dt)}},Oe=function(lt,pt){lt.notified||(lt.notified=!0,fe(function(){for(var ct=lt.reactions,vt;vt=ct.get();)Te(vt,lt);lt.notified=!1,pt&&!lt.rejection&&Ie(lt)}))},Ee=function(lt,pt,ct){var vt,ot;ze?(vt=Ve.createEvent("Event"),vt.promise=pt,vt.reason=ct,vt.initEvent(lt,!1,!0),ce.dispatchEvent(vt)):vt={promise:pt,reason:ct},!Ae&&(ot=ce["on"+lt])?ot(vt):lt===et&&ge("Unhandled promise rejection",ct)},Ie=function(lt){ue(le,ce,function(){var pt=lt.facade,ct=lt.value,vt=Ke(lt),ot;if(vt&&(ot=me(function(){ie?Xe.emit("unhandledRejection",ct,pt):Ee(et,pt,ct)}),lt.rejection=ie||Ke(lt)?$e:Re,ot.error))throw ot.value})},Ke=function(lt){return lt.rejection!==Re&&!lt.parent},at=function(lt){ue(le,ce,function(){var pt=lt.facade;ie?Xe.emit("rejectionHandled",pt):Ee(Je,pt,lt.value)})},He=function(lt,pt,ct){return function(vt){lt(pt,vt,ct)}},nt=function(lt,pt,ct){lt.done||(lt.done=!0,ct&&(lt=ct),lt.value=pt,lt.state=Ue,Oe(lt,!0))},ft=function(lt,pt,ct){if(!lt.done){lt.done=!0,ct&&(lt=ct);try{if(lt.facade===pt)throw Ye("Promise can't be resolved itself");var vt=Me(pt);vt?fe(function(){var ot={done:!1};try{ue(vt,pt,He(ft,ot,lt),He(nt,ot,lt))}catch(st){nt(ot,st,lt)}}):(lt.value=pt,lt.state=Qe,Oe(lt,!1))}catch(ot){nt({done:!1},ot,lt)}}};if(xe&&(Be=function(pt){ee(this,tt),y(pt),ue(Le,this);var ct=je(this);try{pt(He(ft,ct),He(nt,ct))}catch(vt){nt(ct,vt)}},tt=Be.prototype,Le=function(pt){Fe(this,{type:De,done:!1,notified:!1,parent:!1,reactions:new he,rejection:!1,state:ut,value:void 0})},Le.prototype=oe(tt,{then:function(pt,ct){var vt=je(this),ot=Ze(te(this,Be));return vt.parent=!0,ot.ok=x(pt)?pt:!0,ot.fail=x(ct)&&ct,ot.domain=ie?Xe.domain:void 0,vt.state==ut?vt.reactions.add(ot):fe(function(){Te(ot,vt)}),ot.promise}}),Ne=function(){var lt=new Le,pt=je(lt);this.promise=lt,this.resolve=He(ft,pt),this.reject=He(nt,pt)},we.f=Ze=function(lt){return lt===Be||lt===qe?new Ne(lt):ke(lt)},!ne&&x(ye)&&Ge!==Object.prototype)){We=Ge.then,Ce||ae(Ge,"then",function(pt,ct){var vt=this;return new Be(function(ot,st){ue(We,vt,ot,st)}).then(pt,ct)},{unsafe:!0});try{delete Ge.constructor}catch(lt){}re&&re(Ge,tt)}se({global:!0,wrap:!0,forced:xe},{Promise:Be}),z(Be,De,!1,!0),a(De)},{"../internals/a-callable":95,"../internals/an-instance":100,"../internals/engine-is-node":143,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/host-report-errors":166,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-pure":181,"../internals/microtask":189,"../internals/new-promise-capability":193,"../internals/object-set-prototype-of":208,"../internals/perform":214,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/queue":220,"../internals/redefine":222,"../internals/redefine-all":221,"../internals/set-species":233,"../internals/set-to-string-tag":234,"../internals/species-constructor":238,"../internals/task":243}],295:[function(E,pe,de){E("../modules/es.promise.constructor"),E("../modules/es.promise.all"),E("../modules/es.promise.catch"),E("../modules/es.promise.race"),E("../modules/es.promise.reject"),E("../modules/es.promise.resolve")},{"../modules/es.promise.all":292,"../modules/es.promise.catch":293,"../modules/es.promise.constructor":294,"../modules/es.promise.race":296,"../modules/es.promise.reject":297,"../modules/es.promise.resolve":298}],296:[function(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/function-call"),ie=E("../internals/a-callable"),ce=E("../internals/new-promise-capability"),ue=E("../internals/perform"),ae=E("../internals/iterate"),oe=E("../internals/promise-statics-incorrect-iteration");se({target:"Promise",stat:!0,forced:oe},{race:function(z){var a=this,y=ce.f(a),x=y.reject,b=ue(function(){var ee=ie(a.resolve);ae(z,function(te){ne(ee,a,te).then(y.resolve,x)})});return b.error&&x(b.value),y.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],297:[function(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/function-call"),ie=E("../internals/new-promise-capability"),ce=E("../internals/promise-constructor-detection").CONSTRUCTOR;se({target:"Promise",stat:!0,forced:ce},{reject:function(ae){var oe=ie.f(this);return ne(oe.reject,void 0,ae),oe.promise}})},{"../internals/export":149,"../internals/function-call":155,"../internals/new-promise-capability":193,"../internals/promise-constructor-detection":215}],298:[function(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/get-built-in"),ie=E("../internals/is-pure"),ce=E("../internals/promise-native-constructor"),ue=E("../internals/promise-constructor-detection").CONSTRUCTOR,ae=E("../internals/promise-resolve"),oe=ne("Promise"),re=ie&&!ue;se({target:"Promise",stat:!0,forced:ie||ue},{resolve:function(a){return ae(re&&this===oe?ce:this,a)}})},{"../internals/export":149,"../internals/get-built-in":158,"../internals/is-pure":181,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/promise-resolve":217}],299:[function(E,pe,de){var se=E("../internals/descriptors"),ne=E("../internals/global"),ie=E("../internals/function-uncurry-this"),ce=E("../internals/is-forced"),ue=E("../internals/inherit-if-required"),ae=E("../internals/create-non-enumerable-property"),oe=E("../internals/object-get-own-property-names").f,re=E("../internals/object-is-prototype-of"),z=E("../internals/is-regexp"),a=E("../internals/to-string"),y=E("../internals/regexp-get-flags"),x=E("../internals/regexp-sticky-helpers"),b=E("../internals/proxy-accessor"),ee=E("../internals/redefine"),te=E("../internals/fails"),le=E("../internals/has-own-property"),fe=E("../internals/internal-state").enforce,ge=E("../internals/set-species"),me=E("../internals/well-known-symbol"),he=E("../internals/regexp-unsupported-dot-all"),Se=E("../internals/regexp-unsupported-ncg"),ye=me("match"),Pe=ne.RegExp,we=Pe.prototype,De=ne.SyntaxError,xe=ie(we.exec),Ae=ie("".charAt),Ce=ie("".replace),je=ie("".indexOf),Fe=ie("".slice),Ge=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Be=/a/g,tt=/a/g,Ye=new Pe(Be)!==Be,Ve=x.MISSED_STICKY,Xe=x.UNSUPPORTED_Y,Ze=se&&(!Ye||Ve||he||Se||te(function(){return tt[ye]=!1,Pe(Be)!=Be||Pe(tt)==tt||Pe(Be,"i")!="/a/i"})),ke=function(Qe){for(var Ue=Qe.length,Re=0,$e="",Le=!1,Ne;Re<=Ue;Re++){if(Ne=Ae(Qe,Re),Ne==="\\"){$e+=Ne+Ae(Qe,++Re);continue}!Le&&Ne==="."?$e+="[\\s\\S]":(Ne==="["?Le=!0:Ne==="]"&&(Le=!1),$e+=Ne)}return $e},ze=function(Qe){for(var Ue=Qe.length,Re=0,$e="",Le=[],Ne={},qe=!1,We=!1,Me=0,Te="",Oe;Re<=Ue;Re++){if(Oe=Ae(Qe,Re),Oe==="\\")Oe=Oe+Ae(Qe,++Re);else if(Oe==="]")qe=!1;else if(!qe)switch(!0){case Oe==="[":qe=!0;break;case Oe==="(":xe(Ge,Fe(Qe,Re+1))&&(Re+=2,We=!0),$e+=Oe,Me++;continue;case(Oe===">"&&We):if(Te===""||le(Ne,Te))throw new De("Invalid capture group name");Ne[Te]=!0,Le[Le.length]=[Te,Me],We=!1,Te="";continue}We?Te+=Oe:$e+=Oe}return[$e,Le]};if(ce("RegExp",Ze)){for(var et=function(Ue,Re){var $e=re(we,this),Le=z(Ue),Ne=Re===void 0,qe=[],We=Ue,Me,Te,Oe,Ee,Ie,Ke;if(!$e&&Le&&Ne&&Ue.constructor===et)return Ue;if((Le||re(we,Ue))&&(Ue=Ue.source,Ne&&(Re=y(We))),Ue=Ue===void 0?"":a(Ue),Re=Re===void 0?"":a(Re),We=Ue,he&&"dotAll"in Be&&(Te=!!Re&&je(Re,"s")>-1,Te&&(Re=Ce(Re,/s/g,""))),Me=Re,Ve&&"sticky"in Be&&(Oe=!!Re&&je(Re,"y")>-1,Oe&&Xe&&(Re=Ce(Re,/y/g,""))),Se&&(Ee=ze(Ue),Ue=Ee[0],qe=Ee[1]),Ie=ue(Pe(Ue,Re),$e?this:we,et),(Te||Oe||qe.length)&&(Ke=fe(Ie),Te&&(Ke.dotAll=!0,Ke.raw=et(ke(Ue),Me)),Oe&&(Ke.sticky=!0),qe.length&&(Ke.groups=qe)),Ue!==We)try{ae(Ie,"source",We===""?"(?:)":We)}catch(at){}return Ie},Je=oe(Pe),ut=0;Je.length>ut;)b(et,Pe,Je[ut++]);we.constructor=et,et.prototype=we,ee(ne,"RegExp",et)}ge("RegExp")},{"../internals/create-non-enumerable-property":129,"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/internal-state":173,"../internals/is-forced":178,"../internals/is-regexp":182,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/proxy-accessor":219,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/regexp-sticky-helpers":227,"../internals/regexp-unsupported-dot-all":228,"../internals/regexp-unsupported-ncg":229,"../internals/set-species":233,"../internals/to-string":256,"../internals/well-known-symbol":268}],300:[function(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/regexp-exec");se({target:"RegExp",proto:!0,forced:/./.exec!==ne},{exec:ne})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(E,pe,de){"use strict";var se=E("../internals/function-name").PROPER,ne=E("../internals/redefine"),ie=E("../internals/an-object"),ce=E("../internals/to-string"),ue=E("../internals/fails"),ae=E("../internals/regexp-get-flags"),oe="toString",re=RegExp.prototype,z=re[oe],a=ue(function(){return z.call({source:"a",flags:"b"})!="/a/b"}),y=se&&z.name!=oe;(a||y)&&ne(RegExp.prototype,oe,function(){var b=ie(this),ee=ce(b.source),te=ce(ae(b));return"/"+ee+"/"+te},{unsafe:!0})},{"../internals/an-object":101,"../internals/fails":150,"../internals/function-name":156,"../internals/redefine":222,"../internals/regexp-get-flags":226,"../internals/to-string":256}],302:[function(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/not-a-regexp"),ce=E("../internals/require-object-coercible"),ue=E("../internals/to-string"),ae=E("../internals/correct-is-regexp-logic"),oe=ne("".indexOf);se({target:"String",proto:!0,forced:!ae("includes")},{includes:function(z){return!!~oe(ue(ce(this)),ue(ie(z)),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":126,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/not-a-regexp":194,"../internals/require-object-coercible":230,"../internals/to-string":256}],303:[function(E,pe,de){"use strict";var se=E("../internals/string-multibyte").charAt,ne=E("../internals/to-string"),ie=E("../internals/internal-state"),ce=E("../internals/define-iterator"),ue="String Iterator",ae=ie.set,oe=ie.getterFor(ue);ce(String,"String",function(re){ae(this,{type:ue,string:ne(re),index:0})},function(){var z=oe(this),a=z.string,y=z.index,x;return y>=a.length?{value:void 0,done:!0}:(x=se(a,y),z.index+=x.length,{value:x,done:!1})})},{"../internals/define-iterator":132,"../internals/internal-state":173,"../internals/string-multibyte":239,"../internals/to-string":256}],304:[function(E,pe,de){"use strict";var se=E("../internals/function-call"),ne=E("../internals/fix-regexp-well-known-symbol-logic"),ie=E("../internals/an-object"),ce=E("../internals/to-length"),ue=E("../internals/to-string"),ae=E("../internals/require-object-coercible"),oe=E("../internals/get-method"),re=E("../internals/advance-string-index"),z=E("../internals/regexp-exec-abstract");ne("match",function(a,y,x){return[function(ee){var te=ae(this),le=ee==null?void 0:oe(ee,a);return le?se(le,ee,te):new RegExp(ee)[a](ue(te))},function(b){var ee=ie(this),te=ue(b),le=x(y,ee,te);if(le.done)return le.value;if(!ee.global)return z(ee,te);var fe=ee.unicode;ee.lastIndex=0;for(var ge=[],me=0,he;(he=z(ee,te))!==null;){var Se=ue(he[0]);ge[me]=Se,Se===""&&(ee.lastIndex=re(te,ce(ee.lastIndex),fe)),me++}return me===0?null:ge}]})},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-length":249,"../internals/to-string":256}],305:[function(E,pe,de){"use strict";var se=E("../internals/function-apply"),ne=E("../internals/function-call"),ie=E("../internals/function-uncurry-this"),ce=E("../internals/fix-regexp-well-known-symbol-logic"),ue=E("../internals/fails"),ae=E("../internals/an-object"),oe=E("../internals/is-callable"),re=E("../internals/to-integer-or-infinity"),z=E("../internals/to-length"),a=E("../internals/to-string"),y=E("../internals/require-object-coercible"),x=E("../internals/advance-string-index"),b=E("../internals/get-method"),ee=E("../internals/get-substitution"),te=E("../internals/regexp-exec-abstract"),le=E("../internals/well-known-symbol"),fe=le("replace"),ge=Math.max,me=Math.min,he=ie([].concat),Se=ie([].push),ye=ie("".indexOf),Pe=ie("".slice),we=function(Ce){return Ce===void 0?Ce:String(Ce)},De=function(){return"a".replace(/./,"$0")==="$0"}(),xe=function(){return/./[fe]?/./[fe]("a","$0")==="":!1}(),Ae=!ue(function(){var Ce=/./;return Ce.exec=function(){var je=[];return je.groups={a:"7"},je},"".replace(Ce,"$<a>")!=="7"});ce("replace",function(Ce,je,Fe){var Ge=xe?"$":"$0";return[function(tt,Ye){var Ve=y(this),Xe=tt==null?void 0:b(tt,fe);return Xe?ne(Xe,tt,Ve,Ye):ne(je,a(Ve),tt,Ye)},function(Be,tt){var Ye=ae(this),Ve=a(Be);if(typeof tt=="string"&&ye(tt,Ge)===-1&&ye(tt,"$<")===-1){var Xe=Fe(je,Ye,Ve,tt);if(Xe.done)return Xe.value}var Ze=oe(tt);Ze||(tt=a(tt));var ke=Ye.global;if(ke){var ze=Ye.unicode;Ye.lastIndex=0}for(var et=[];;){var Je=te(Ye,Ve);if(Je===null||(Se(et,Je),!ke))break;var ut=a(Je[0]);ut===""&&(Ye.lastIndex=x(Ve,z(Ye.lastIndex),ze))}for(var Qe="",Ue=0,Re=0;Re<et.length;Re++){Je=et[Re];for(var $e=a(Je[0]),Le=ge(me(re(Je.index),Ve.length),0),Ne=[],qe=1;qe<Je.length;qe++)Se(Ne,we(Je[qe]));var We=Je.groups;if(Ze){var Me=he([$e],Ne,Le,Ve);We!==void 0&&Se(Me,We);var Te=a(se(tt,void 0,Me))}else Te=ee($e,Ve,Le,Ne,We,tt);Le>=Ue&&(Qe+=Pe(Ve,Ue,Le)+Te,Ue=Le+$e.length)}return Qe+Pe(Ve,Ue)}]},!Ae||!De||xe)},{"../internals/advance-string-index":99,"../internals/an-object":101,"../internals/fails":150,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-apply":152,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/get-method":161,"../internals/get-substitution":162,"../internals/is-callable":176,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-length":249,"../internals/to-string":256,"../internals/well-known-symbol":268}],306:[function(E,pe,de){"use strict";var se=E("../internals/function-call"),ne=E("../internals/fix-regexp-well-known-symbol-logic"),ie=E("../internals/an-object"),ce=E("../internals/require-object-coercible"),ue=E("../internals/same-value"),ae=E("../internals/to-string"),oe=E("../internals/get-method"),re=E("../internals/regexp-exec-abstract");ne("search",function(z,a,y){return[function(b){var ee=ce(this),te=b==null?void 0:oe(b,z);return te?se(te,b,ee):new RegExp(b)[z](ae(ee))},function(x){var b=ie(this),ee=ae(x),te=y(a,b,ee);if(te.done)return te.value;var le=b.lastIndex;ue(le,0)||(b.lastIndex=0);var fe=re(b,ee);return ue(b.lastIndex,le)||(b.lastIndex=le),fe===null?-1:fe.index}]})},{"../internals/an-object":101,"../internals/fix-regexp-well-known-symbol-logic":151,"../internals/function-call":155,"../internals/get-method":161,"../internals/regexp-exec-abstract":223,"../internals/require-object-coercible":230,"../internals/same-value":231,"../internals/to-string":256}],307:[function(E,pe,de){"use strict";var se=E("../internals/function-apply"),ne=E("../internals/function-call"),ie=E("../internals/function-uncurry-this"),ce=E("../internals/fix-regexp-well-known-symbol-logic"),ue=E("../internals/is-regexp"),ae=E("../internals/an-object"),oe=E("../internals/require-object-coercible"),re=E("../internals/species-constructor"),z=E("../internals/advance-string-index"),a=E("../internals/to-length"),y=E("../internals/to-string"),x=E("../internals/get-method"),b=E("../internals/array-slice-simple"),ee=E("../internals/regexp-exec-abstract"),te=E("../internals/regexp-exec"),le=E("../internals/regexp-sticky-helpers"),fe=E("../internals/fails"),ge=le.UNSUPPORTED_Y,me=4294967295,he=Math.min,Se=[].push,ye=ie(/./.exec),Pe=ie(Se),we=ie("".slice),De=!fe(function(){var xe=/(?:)/,Ae=xe.exec;xe.exec=function(){return Ae.apply(this,arguments)};var Ce="ab".split(xe);return Ce.length!==2||Ce[0]!=="a"||Ce[1]!=="b"});ce("split",function(xe,Ae,Ce){var je;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?je=function(Fe,Ge){var Be=y(oe(this)),tt=Ge===void 0?me:Ge>>>0;if(tt===0)return[];if(Fe===void 0)return[Be];if(!ue(Fe))return ne(Ae,Be,Fe,tt);for(var Ye=[],Ve=(Fe.ignoreCase?"i":"")+(Fe.multiline?"m":"")+(Fe.unicode?"u":"")+(Fe.sticky?"y":""),Xe=0,Ze=new RegExp(Fe.source,Ve+"g"),ke,ze,et;(ke=ne(te,Ze,Be))&&(ze=Ze.lastIndex,!(ze>Xe&&(Pe(Ye,we(Be,Xe,ke.index)),ke.length>1&&ke.index<Be.length&&se(Se,Ye,b(ke,1)),et=ke[0].length,Xe=ze,Ye.length>=tt)));)Ze.lastIndex===ke.index&&Ze.lastIndex++;return Xe===Be.length?(et||!ye(Ze,""))&&Pe(Ye,""):Pe(Ye,we(Be,Xe)),Ye.length>tt?b(Ye,0,tt):Ye}:"0".split(void 0,0).length?je=function(Fe,Ge){return Fe===void 0&&Ge===0?[]:ne(Ae,this,Fe,Ge)}:je=Ae,[function(Ge,Be){var tt=oe(this),Ye=Ge==null?void 0:x(Ge,xe);return Ye?ne(Ye,Ge,tt,Be):ne(je,y(tt),Ge,Be)},function(Fe,Ge){var Be=ae(this),tt=y(Fe),Ye=Ce(je,Be,tt,Ge,je!==Ae);if(Ye.done)return Ye.value;var Ve=re(Be,RegExp),Xe=Be.unicode,Ze=(Be.ignoreCase?"i":"")+(Be.multiline?"m":"")+(Be.unicode?"u":"")+(ge?"g":"y"),ke=new Ve(ge?"^(?:"+Be.source+")":Be,Ze),ze=Ge===void 0?me:Ge>>>0;if(ze===0)return[];if(tt.length===0)return ee(ke,tt)===null?[tt]:[];for(var et=0,Je=0,ut=[];Je<tt.length;){ke.lastIndex=ge?0:Je;var Qe=ee(ke,ge?we(tt,Je):tt),Ue;if(Qe===null||(Ue=he(a(ke.lastIndex+(ge?Je:0)),tt.length))===et)Je=z(tt,Je,Xe);else{if(Pe(ut,we(tt,et,Je)),ut.length===ze)return ut;for(var Re=1;Re<=Qe.length-1;Re++)if(Pe(ut,Qe[Re]),ut.length===ze)return ut;Je=et=Ue}}return Pe(ut,we(tt,et)),ut}]},!De,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(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/string-trim").trim,ie=E("../internals/string-trim-forced");se({target:"String",proto:!0,forced:ie("trim")},{trim:function(){return ne(this)}})},{"../internals/export":149,"../internals/string-trim":241,"../internals/string-trim-forced":240}],309:[function(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/global"),ie=E("../internals/function-call"),ce=E("../internals/function-uncurry-this"),ue=E("../internals/is-pure"),ae=E("../internals/descriptors"),oe=E("../internals/native-symbol"),re=E("../internals/fails"),z=E("../internals/has-own-property"),a=E("../internals/object-is-prototype-of"),y=E("../internals/an-object"),x=E("../internals/to-indexed-object"),b=E("../internals/to-property-key"),ee=E("../internals/to-string"),te=E("../internals/create-property-descriptor"),le=E("../internals/object-create"),fe=E("../internals/object-keys"),ge=E("../internals/object-get-own-property-names"),me=E("../internals/object-get-own-property-names-external"),he=E("../internals/object-get-own-property-symbols"),Se=E("../internals/object-get-own-property-descriptor"),ye=E("../internals/object-define-property"),Pe=E("../internals/object-define-properties"),we=E("../internals/object-property-is-enumerable"),De=E("../internals/redefine"),xe=E("../internals/shared"),Ae=E("../internals/shared-key"),Ce=E("../internals/hidden-keys"),je=E("../internals/uid"),Fe=E("../internals/well-known-symbol"),Ge=E("../internals/well-known-symbol-wrapped"),Be=E("../internals/define-well-known-symbol"),tt=E("../internals/symbol-define-to-primitive"),Ye=E("../internals/set-to-string-tag"),Ve=E("../internals/internal-state"),Xe=E("../internals/array-iteration").forEach,Ze=Ae("hidden"),ke="Symbol",ze="prototype",et=Ve.set,Je=Ve.getterFor(ke),ut=Object[ze],Qe=ne.Symbol,Ue=Qe&&Qe[ze],Re=ne.TypeError,$e=ne.QObject,Le=Se.f,Ne=ye.f,qe=me.f,We=we.f,Me=ce([].push),Te=xe("symbols"),Oe=xe("op-symbols"),Ee=xe("wks"),Ie=!$e||!$e[ze]||!$e[ze].findChild,Ke=ae&&re(function(){return le(Ne({},"a",{get:function(){return Ne(this,"a",{value:7}).a}})).a!=7})?function(ot,st,ht){var mt=Le(ut,st);mt&&delete ut[st],Ne(ot,st,ht),mt&&ot!==ut&&Ne(ut,st,mt)}:Ne,at=function(ot,st){var ht=Te[ot]=le(Ue);return et(ht,{type:ke,tag:ot,description:st}),ae||(ht.description=st),ht},He=function(st,ht,mt){st===ut&&He(Oe,ht,mt),y(st);var bt=b(ht);return y(mt),z(Te,bt)?(mt.enumerable?(z(st,Ze)&&st[Ze][bt]&&(st[Ze][bt]=!1),mt=le(mt,{enumerable:te(0,!1)})):(z(st,Ze)||Ne(st,Ze,te(1,{})),st[Ze][bt]=!0),Ke(st,bt,mt)):Ne(st,bt,mt)},nt=function(st,ht){y(st);var mt=x(ht),bt=fe(mt).concat(vt(mt));return Xe(bt,function(xt){(!ae||ie(lt,mt,xt))&&He(st,xt,mt[xt])}),st},ft=function(st,ht){return ht===void 0?le(st):nt(le(st),ht)},lt=function(st){var ht=b(st),mt=ie(We,this,ht);return this===ut&&z(Te,ht)&&!z(Oe,ht)?!1:mt||!z(this,ht)||!z(Te,ht)||z(this,Ze)&&this[Ze][ht]?mt:!0},pt=function(st,ht){var mt=x(st),bt=b(ht);if(!(mt===ut&&z(Te,bt)&&!z(Oe,bt))){var xt=Le(mt,bt);return xt&&z(Te,bt)&&!(z(mt,Ze)&&mt[Ze][bt])&&(xt.enumerable=!0),xt}},ct=function(st){var ht=qe(x(st)),mt=[];return Xe(ht,function(bt){!z(Te,bt)&&!z(Ce,bt)&&Me(mt,bt)}),mt},vt=function(ot){var st=ot===ut,ht=qe(st?Oe:x(ot)),mt=[];return Xe(ht,function(bt){z(Te,bt)&&(!st||z(ut,bt))&&Me(mt,Te[bt])}),mt};oe||(Qe=function(){if(a(Ue,this))throw Re("Symbol is not a constructor");var st=!arguments.length||arguments[0]===void 0?void 0:ee(arguments[0]),ht=je(st),mt=function(bt){this===ut&&ie(mt,Oe,bt),z(this,Ze)&&z(this[Ze],ht)&&(this[Ze][ht]=!1),Ke(this,ht,te(1,bt))};return ae&&Ie&&Ke(ut,ht,{configurable:!0,set:mt}),at(ht,st)},Ue=Qe[ze],De(Ue,"toString",function(){return Je(this).tag}),De(Qe,"withoutSetter",function(ot){return at(je(ot),ot)}),we.f=lt,ye.f=He,Pe.f=nt,Se.f=pt,ge.f=me.f=ct,he.f=vt,Ge.f=function(ot){return at(Fe(ot),ot)},ae&&(Ne(Ue,"description",{configurable:!0,get:function(){return Je(this).description}}),ue||De(ut,"propertyIsEnumerable",lt,{unsafe:!0}))),se({global:!0,wrap:!0,forced:!oe,sham:!oe},{Symbol:Qe}),Xe(fe(Ee),function(ot){Be(ot)}),se({target:ke,stat:!0,forced:!oe},{useSetter:function(){Ie=!0},useSimple:function(){Ie=!1}}),se({target:"Object",stat:!0,forced:!oe,sham:!ae},{create:ft,defineProperty:He,defineProperties:nt,getOwnPropertyDescriptor:pt}),se({target:"Object",stat:!0,forced:!oe},{getOwnPropertyNames:ct}),tt(),Ye(Qe,ke),Ce[Ze]=!0},{"../internals/an-object":101,"../internals/array-iteration":111,"../internals/create-property-descriptor":130,"../internals/define-well-known-symbol":133,"../internals/descriptors":134,"../internals/export":149,"../internals/fails":150,"../internals/function-call":155,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/hidden-keys":165,"../internals/internal-state":173,"../internals/is-pure":181,"../internals/native-symbol":191,"../internals/object-create":196,"../internals/object-define-properties":197,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-get-own-property-names-external":200,"../internals/object-get-own-property-symbols":202,"../internals/object-is-prototype-of":204,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/redefine":222,"../internals/set-to-string-tag":234,"../internals/shared":237,"../internals/shared-key":235,"../internals/symbol-define-to-primitive":242,"../internals/to-indexed-object":247,"../internals/to-property-key":254,"../internals/to-string":256,"../internals/uid":263,"../internals/well-known-symbol":268,"../internals/well-known-symbol-wrapped":267}],310:[function(E,pe,de){"use strict";var se=E("../internals/export"),ne=E("../internals/descriptors"),ie=E("../internals/global"),ce=E("../internals/function-uncurry-this"),ue=E("../internals/has-own-property"),ae=E("../internals/is-callable"),oe=E("../internals/object-is-prototype-of"),re=E("../internals/to-string"),z=E("../internals/object-define-property").f,a=E("../internals/copy-constructor-properties"),y=ie.Symbol,x=y&&y.prototype;if(ne&&ae(y)&&(!("description"in x)||y().description!==void 0)){var b={},ee=function(){var ye=arguments.length<1||arguments[0]===void 0?void 0:re(arguments[0]),Pe=oe(x,this)?new y(ye):ye===void 0?y():y(ye);return ye===""&&(b[Pe]=!0),Pe};a(ee,y),ee.prototype=x,x.constructor=ee;var te=String(y("test"))=="Symbol(test)",le=ce(x.toString),fe=ce(x.valueOf),ge=/^Symbol\((.*)\)[^)]+$/,me=ce("".replace),he=ce("".slice);z(x,"description",{configurable:!0,get:function(){var ye=fe(this),Pe=le(ye);if(ue(b,ye))return"";var we=te?he(Pe,7,-1):me(Pe,ge,"$1");return we===""?void 0:we}}),se({global:!0,forced:!0},{Symbol:ee})}},{"../internals/copy-constructor-properties":125,"../internals/descriptors":134,"../internals/export":149,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/is-callable":176,"../internals/object-define-property":198,"../internals/object-is-prototype-of":204,"../internals/to-string":256}],311:[function(E,pe,de){var se=E("../internals/export"),ne=E("../internals/get-built-in"),ie=E("../internals/has-own-property"),ce=E("../internals/to-string"),ue=E("../internals/shared"),ae=E("../internals/native-symbol-registry"),oe=ue("string-to-symbol-registry"),re=ue("symbol-to-string-registry");se({target:"Symbol",stat:!0,forced:!ae},{for:function(z){var a=ce(z);if(ie(oe,a))return oe[a];var y=ne("Symbol")(a);return oe[a]=y,re[y]=a,y}})},{"../internals/export":149,"../internals/get-built-in":158,"../internals/has-own-property":164,"../internals/native-symbol-registry":190,"../internals/shared":237,"../internals/to-string":256}],312:[function(E,pe,de){var se=E("../internals/define-well-known-symbol");se("iterator")},{"../internals/define-well-known-symbol":133}],313:[function(E,pe,de){E("../modules/es.symbol.constructor"),E("../modules/es.symbol.for"),E("../modules/es.symbol.key-for"),E("../modules/es.json.stringify"),E("../modules/es.object.get-own-property-symbols")},{"../modules/es.json.stringify":285,"../modules/es.object.get-own-property-symbols":289,"../modules/es.symbol.constructor":309,"../modules/es.symbol.for":311,"../modules/es.symbol.key-for":314}],314:[function(E,pe,de){var se=E("../internals/export"),ne=E("../internals/has-own-property"),ie=E("../internals/is-symbol"),ce=E("../internals/try-to-string"),ue=E("../internals/shared"),ae=E("../internals/native-symbol-registry"),oe=ue("symbol-to-string-registry");se({target:"Symbol",stat:!0,forced:!ae},{keyFor:function(z){if(!ie(z))throw TypeError(ce(z)+" is not a symbol");if(ne(oe,z))return oe[z]}})},{"../internals/export":149,"../internals/has-own-property":164,"../internals/is-symbol":183,"../internals/native-symbol-registry":190,"../internals/shared":237,"../internals/try-to-string":257}],315:[function(E,pe,de){"use strict";var se=E("../internals/function-uncurry-this"),ne=E("../internals/array-buffer-view-core"),ie=E("../internals/array-copy-within"),ce=se(ie),ue=ne.aTypedArray,ae=ne.exportTypedArrayMethod;ae("copyWithin",function(re,z){return ce(ue(this),re,z,arguments.length>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-copy-within":105,"../internals/function-uncurry-this":157}],316:[function(E,pe,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").every,ie=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("every",function(ae){return ne(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(E,pe,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/function-call"),ie=E("../internals/array-fill"),ce=se.aTypedArray,ue=se.exportTypedArrayMethod;ue("fill",function(oe){var re=arguments.length;return ne(ie,ce(this),oe,re>1?arguments[1]:void 0,re>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-fill":106,"../internals/function-call":155}],318:[function(E,pe,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").filter,ie=E("../internals/typed-array-from-species-and-list"),ce=se.aTypedArray,ue=se.exportTypedArrayMethod;ue("filter",function(oe){var re=ne(ce(this),oe,arguments.length>1?arguments[1]:void 0);return ie(this,re)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(E,pe,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").findIndex,ie=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("findIndex",function(ae){return ne(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(E,pe,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").find,ie=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("find",function(ae){return ne(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(E,pe,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").forEach,ie=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("forEach",function(ae){ne(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(E,pe,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/array-includes").includes,ie=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("includes",function(ae){return ne(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(E,pe,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/array-includes").indexOf,ie=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("indexOf",function(ae){return ne(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(E,pe,de){"use strict";var se=E("../internals/global"),ne=E("../internals/fails"),ie=E("../internals/function-uncurry-this"),ce=E("../internals/array-buffer-view-core"),ue=E("../modules/es.array.iterator"),ae=E("../internals/well-known-symbol"),oe=ae("iterator"),re=se.Uint8Array,z=ie(ue.values),a=ie(ue.keys),y=ie(ue.entries),x=ce.aTypedArray,b=ce.exportTypedArrayMethod,ee=re&&re.prototype,te=!ne(function(){ee[oe].call([1])}),le=!!ee&&ee.values&&ee[oe]===ee.values&&ee.values.name==="values",fe=function(){return z(x(this))};b("entries",function(){return y(x(this))},te),b("keys",function(){return a(x(this))},te),b("values",fe,te||!le,{name:"values"}),b(oe,fe,te||!le,{name:"values"})},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],325:[function(E,pe,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/function-uncurry-this"),ie=se.aTypedArray,ce=se.exportTypedArrayMethod,ue=ne([].join);ce("join",function(oe){return ue(ie(this),oe)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(E,pe,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/function-apply"),ie=E("../internals/array-last-index-of"),ce=se.aTypedArray,ue=se.exportTypedArrayMethod;ue("lastIndexOf",function(oe){var re=arguments.length;return ne(ie,ce(this),re>1?[oe,arguments[1]]:[oe])})},{"../internals/array-buffer-view-core":103,"../internals/array-last-index-of":112,"../internals/function-apply":152}],327:[function(E,pe,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").map,ie=E("../internals/typed-array-species-constructor"),ce=se.aTypedArray,ue=se.exportTypedArrayMethod;ue("map",function(oe){return ne(ce(this),oe,arguments.length>1?arguments[1]:void 0,function(re,z){return new(ie(re))(z)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(E,pe,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/array-reduce").right,ie=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("reduceRight",function(ae){var oe=arguments.length;return ne(ie(this),ae,oe,oe>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(E,pe,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/array-reduce").left,ie=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("reduce",function(ae){var oe=arguments.length;return ne(ie(this),ae,oe,oe>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(E,pe,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=se.aTypedArray,ie=se.exportTypedArrayMethod,ce=Math.floor;ie("reverse",function(){for(var ae=this,oe=ne(ae).length,re=ce(oe/2),z=0,a;z<re;)a=ae[z],ae[z++]=ae[--oe],ae[oe]=a;return ae})},{"../internals/array-buffer-view-core":103}],331:[function(E,pe,de){"use strict";var se=E("../internals/global"),ne=E("../internals/function-call"),ie=E("../internals/array-buffer-view-core"),ce=E("../internals/length-of-array-like"),ue=E("../internals/to-offset"),ae=E("../internals/to-object"),oe=E("../internals/fails"),re=se.RangeError,z=se.Int8Array,a=z&&z.prototype,y=a&&a.set,x=ie.aTypedArray,b=ie.exportTypedArrayMethod,ee=!oe(function(){var le=new Uint8ClampedArray(2);return ne(y,le,{length:1,0:3},1),le[1]!==3}),te=ee&&ie.NATIVE_ARRAY_BUFFER_VIEWS&&oe(function(){var le=new z(2);return le.set(1),le.set("2",1),le[0]!==0||le[1]!==2});b("set",function(fe){x(this);var ge=ue(arguments.length>1?arguments[1]:void 0,1),me=ae(fe);if(ee)return ne(y,this,me,ge);var he=this.length,Se=ce(me),ye=0;if(Se+ge>he)throw re("Wrong length");for(;ye<Se;)this[ge+ye]=me[ye++]},!ee||te)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-call":155,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-object":250,"../internals/to-offset":251}],332:[function(E,pe,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/typed-array-species-constructor"),ie=E("../internals/fails"),ce=E("../internals/array-slice"),ue=se.aTypedArray,ae=se.exportTypedArrayMethod,oe=ie(function(){new Int8Array(1).slice()});ae("slice",function(z,a){for(var y=ce(ue(this),z,a),x=ne(this),b=0,ee=y.length,te=new x(ee);ee>b;)te[b]=y[b++];return te},oe)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(E,pe,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/array-iteration").some,ie=se.aTypedArray,ce=se.exportTypedArrayMethod;ce("some",function(ae){return ne(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(E,pe,de){"use strict";var se=E("../internals/global"),ne=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),ce=E("../internals/a-callable"),ue=E("../internals/array-sort"),ae=E("../internals/array-buffer-view-core"),oe=E("../internals/engine-ff-version"),re=E("../internals/engine-is-ie-or-edge"),z=E("../internals/engine-v8-version"),a=E("../internals/engine-webkit-version"),y=ae.aTypedArray,x=ae.exportTypedArrayMethod,b=se.Uint16Array,ee=b&&ne(b.prototype.sort),te=!!ee&&!(ie(function(){ee(new b(2),null)})&&ie(function(){ee(new b(2),{})})),le=!!ee&&!ie(function(){if(z)return z<74;if(oe)return oe<67;if(re)return!0;if(a)return a<602;var ge=new b(516),me=Array(516),he,Se;for(he=0;he<516;he++)Se=he%4,ge[he]=515-he,me[he]=he-2*Se+3;for(ee(ge,function(ye,Pe){return(ye/4|0)-(Pe/4|0)}),he=0;he<516;he++)if(ge[he]!==me[he])return!0}),fe=function(ge){return function(me,he){return ge!==void 0?+ge(me,he)||0:he!==he?-1:me!==me?1:me===0&&he===0?1/me>0&&1/he<0?1:-1:me>he}};x("sort",function(me){return me!==void 0&&ce(me),le?ee(this,me):ue(y(this),fe(me))},!le||te)},{"../internals/a-callable":95,"../internals/array-buffer-view-core":103,"../internals/array-sort":118,"../internals/engine-ff-version":138,"../internals/engine-is-ie-or-edge":140,"../internals/engine-v8-version":146,"../internals/engine-webkit-version":147,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],335:[function(E,pe,de){"use strict";var se=E("../internals/array-buffer-view-core"),ne=E("../internals/to-length"),ie=E("../internals/to-absolute-index"),ce=E("../internals/typed-array-species-constructor"),ue=se.aTypedArray,ae=se.exportTypedArrayMethod;ae("subarray",function(re,z){var a=ue(this),y=a.length,x=ie(re,y),b=ce(a);return new b(a.buffer,a.byteOffset+x*a.BYTES_PER_ELEMENT,ne((z===void 0?y:ie(z,y))-x))})},{"../internals/array-buffer-view-core":103,"../internals/to-absolute-index":245,"../internals/to-length":249,"../internals/typed-array-species-constructor":262}],336:[function(E,pe,de){"use strict";var se=E("../internals/global"),ne=E("../internals/function-apply"),ie=E("../internals/array-buffer-view-core"),ce=E("../internals/fails"),ue=E("../internals/array-slice"),ae=se.Int8Array,oe=ie.aTypedArray,re=ie.exportTypedArrayMethod,z=[].toLocaleString,a=!!ae&&ce(function(){z.call(new ae(1))}),y=ce(function(){return[1,2].toLocaleString()!=new ae([1,2]).toLocaleString()})||!ce(function(){ae.prototype.toLocaleString.call([1,2])});re("toLocaleString",function(){return ne(z,a?ue(oe(this)):oe(this),ue(arguments))},y)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/function-apply":152,"../internals/global":163}],337:[function(E,pe,de){"use strict";var se=E("../internals/array-buffer-view-core").exportTypedArrayMethod,ne=E("../internals/fails"),ie=E("../internals/global"),ce=E("../internals/function-uncurry-this"),ue=ie.Uint8Array,ae=ue&&ue.prototype||{},oe=[].toString,re=ce([].join);ne(function(){oe.call({})})&&(oe=function(){return re(this)});var z=ae.toString!=oe;se("toString",oe,z)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(E,pe,de){var se=E("../internals/typed-array-constructor");se("Uint8",function(ne){return function(ce,ue,ae){return ne(this,ce,ue,ae)}})},{"../internals/typed-array-constructor":258}],339:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/dom-iterables"),ie=E("../internals/dom-token-list-prototype"),ce=E("../internals/array-for-each"),ue=E("../internals/create-non-enumerable-property"),ae=function(re){if(re&&re.forEach!==ce)try{ue(re,"forEach",ce)}catch(z){re.forEach=ce}};for(var oe in ne)ne[oe]&&ae(se[oe]&&se[oe].prototype);ae(ie)},{"../internals/array-for-each":107,"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163}],340:[function(E,pe,de){var se=E("../internals/global"),ne=E("../internals/dom-iterables"),ie=E("../internals/dom-token-list-prototype"),ce=E("../modules/es.array.iterator"),ue=E("../internals/create-non-enumerable-property"),ae=E("../internals/well-known-symbol"),oe=ae("iterator"),re=ae("toStringTag"),z=ce.values,a=function(x,b){if(x){if(x[oe]!==z)try{ue(x,oe,z)}catch(te){x[oe]=z}if(x[re]||ue(x,re,b),ne[b]){for(var ee in ce)if(x[ee]!==ce[ee])try{ue(x,ee,ce[ee])}catch(te){x[ee]=ce[ee]}}}};for(var y in ne)a(se[y]&&se[y].prototype,y);a(ie,"DOMTokenList")},{"../internals/create-non-enumerable-property":129,"../internals/dom-iterables":136,"../internals/dom-token-list-prototype":137,"../internals/global":163,"../internals/well-known-symbol":268,"../modules/es.array.iterator":278}],341:[function(E,pe,de){function se(le){return Array.isArray?Array.isArray(le):te(le)==="[object Array]"}de.isArray=se;function ne(le){return typeof le=="boolean"}de.isBoolean=ne;function ie(le){return le===null}de.isNull=ie;function ce(le){return le==null}de.isNullOrUndefined=ce;function ue(le){return typeof le=="number"}de.isNumber=ue;function ae(le){return typeof le=="string"}de.isString=ae;function oe(le){return typeof le=="symbol"}de.isSymbol=oe;function re(le){return le===void 0}de.isUndefined=re;function z(le){return te(le)==="[object RegExp]"}de.isRegExp=z;function a(le){return typeof le=="object"&&le!==null}de.isObject=a;function y(le){return te(le)==="[object Date]"}de.isDate=y;function x(le){return te(le)==="[object Error]"||le instanceof Error}de.isError=x;function b(le){return typeof le=="function"}de.isFunction=b;function ee(le){return le===null||typeof le=="boolean"||typeof le=="number"||typeof le=="string"||typeof le=="symbol"||typeof le=="undefined"}de.isPrimitive=ee,de.isBuffer=E("buffer").Buffer.isBuffer;function te(le){return Object.prototype.toString.call(le)}},{buffer:90}],342:[function(E,pe,de){(function(se){"use strict";var ne=function(){var oe=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,re=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,z=/[^-+\dA-Z]/g;return function(a,y,x,b){if(arguments.length===1&&ae(a)==="string"&&!/\d/.test(a)&&(y=a,a=void 0),a=a||new Date,a instanceof Date||(a=new Date(a)),isNaN(a))throw TypeError("Invalid date");y=String(ne.masks[y]||y||ne.masks.default);var ee=y.slice(0,4);(ee==="UTC:"||ee==="GMT:")&&(y=y.slice(4),x=!0,ee==="GMT:"&&(b=!0));var te=x?"getUTC":"get",le=a[te+"Date"](),fe=a[te+"Day"](),ge=a[te+"Month"](),me=a[te+"FullYear"](),he=a[te+"Hours"](),Se=a[te+"Minutes"](),ye=a[te+"Seconds"](),Pe=a[te+"Milliseconds"](),we=x?0:a.getTimezoneOffset(),De=ce(a),xe=ue(a),Ae={d:le,dd:ie(le),ddd:ne.i18n.dayNames[fe],dddd:ne.i18n.dayNames[fe+7],m:ge+1,mm:ie(ge+1),mmm:ne.i18n.monthNames[ge],mmmm:ne.i18n.monthNames[ge+12],yy:String(me).slice(2),yyyy:me,h:he%12||12,hh:ie(he%12||12),H:he,HH:ie(he),M:Se,MM:ie(Se),s:ye,ss:ie(ye),l:ie(Pe,3),L:ie(Math.round(Pe/10)),t:he<12?"a":"p",tt:he<12?"am":"pm",T:he<12?"A":"P",TT:he<12?"AM":"PM",Z:b?"GMT":x?"UTC":(String(a).match(re)||[""]).pop().replace(z,""),o:(we>0?"-":"+")+ie(Math.floor(Math.abs(we)/60)*100+Math.abs(we)%60,4),S:["th","st","nd","rd"][le%10>3?0:(le%100-le%10!=10)*le%10],W:De,N:xe};return y.replace(oe,function(Ce){return Ce in Ae?Ae[Ce]:Ce.slice(1,Ce.length-1)})}}();ne.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"},ne.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function ie(oe,re){for(oe=String(oe),re=re||2;oe.length<re;)oe="0"+oe;return oe}function ce(oe){var re=new Date(oe.getFullYear(),oe.getMonth(),oe.getDate());re.setDate(re.getDate()-(re.getDay()+6)%7+3);var z=new Date(re.getFullYear(),0,4);z.setDate(z.getDate()-(z.getDay()+6)%7+3);var a=re.getTimezoneOffset()-z.getTimezoneOffset();re.setHours(re.getHours()-a);var y=(re-z)/(864e5*7);return 1+Math.floor(y)}function ue(oe){var re=oe.getDay();return re===0&&(re=7),re}function ae(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 ve=="function"&&ve.amd?ve(function(){return ne}):typeof de=="object"?pe.exports=ne:se.dateFormat=ne})(this)},{}],343:[function(E,pe,de){"use strict";var se=/["'&<>]/;pe.exports=ne;function ne(ie){var ce=""+ie,ue=se.exec(ce);if(!ue)return ce;var ae,oe="",re=0,z=0;for(re=ue.index;re<ce.length;re++){switch(ce.charCodeAt(re)){case 34:ae=""";break;case 38:ae="&";break;case 39:ae="'";break;case 60:ae="<";break;case 62:ae=">";break;default:continue}z!==re&&(oe+=ce.substring(z,re)),z=re+1,oe+=ae}return z!==re?oe+ce.substring(z,re):oe}},{}],344:[function(E,pe,de){"use strict";var se=typeof Reflect=="object"?Reflect:null,ne=se&&typeof se.apply=="function"?se.apply:function(ye,Pe,we){return Function.prototype.apply.call(ye,Pe,we)},ie;se&&typeof se.ownKeys=="function"?ie=se.ownKeys:Object.getOwnPropertySymbols?ie=function(ye){return Object.getOwnPropertyNames(ye).concat(Object.getOwnPropertySymbols(ye))}:ie=function(ye){return Object.getOwnPropertyNames(ye)};function ce(Se){console&&console.warn&&console.warn(Se)}var ue=Number.isNaN||function(ye){return ye!==ye};function ae(){ae.init.call(this)}pe.exports=ae,pe.exports.once=ge,ae.EventEmitter=ae,ae.prototype._events=void 0,ae.prototype._eventsCount=0,ae.prototype._maxListeners=void 0;var oe=10;function re(Se){if(typeof Se!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Se)}Object.defineProperty(ae,"defaultMaxListeners",{enumerable:!0,get:function(){return oe},set:function(Se){if(typeof Se!="number"||Se<0||ue(Se))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Se+".");oe=Se}}),ae.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},ae.prototype.setMaxListeners=function(ye){if(typeof ye!="number"||ye<0||ue(ye))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+ye+".");return this._maxListeners=ye,this};function z(Se){return Se._maxListeners===void 0?ae.defaultMaxListeners:Se._maxListeners}ae.prototype.getMaxListeners=function(){return z(this)},ae.prototype.emit=function(ye){for(var Pe=[],we=1;we<arguments.length;we++)Pe.push(arguments[we]);var De=ye==="error",xe=this._events;if(xe!==void 0)De=De&&xe.error===void 0;else if(!De)return!1;if(De){var Ae;if(Pe.length>0&&(Ae=Pe[0]),Ae instanceof Error)throw Ae;var Ce=new Error("Unhandled error."+(Ae?" ("+Ae.message+")":""));throw Ce.context=Ae,Ce}var je=xe[ye];if(je===void 0)return!1;if(typeof je=="function")ne(je,this,Pe);else for(var Fe=je.length,Ge=te(je,Fe),we=0;we<Fe;++we)ne(Ge[we],this,Pe);return!0};function a(Se,ye,Pe,we){var De,xe,Ae;if(re(Pe),xe=Se._events,xe===void 0?(xe=Se._events=Object.create(null),Se._eventsCount=0):(xe.newListener!==void 0&&(Se.emit("newListener",ye,Pe.listener?Pe.listener:Pe),xe=Se._events),Ae=xe[ye]),Ae===void 0)Ae=xe[ye]=Pe,++Se._eventsCount;else if(typeof Ae=="function"?Ae=xe[ye]=we?[Pe,Ae]:[Ae,Pe]:we?Ae.unshift(Pe):Ae.push(Pe),De=z(Se),De>0&&Ae.length>De&&!Ae.warned){Ae.warned=!0;var Ce=new Error("Possible EventEmitter memory leak detected. "+Ae.length+" "+String(ye)+" listeners added. Use emitter.setMaxListeners() to increase limit");Ce.name="MaxListenersExceededWarning",Ce.emitter=Se,Ce.type=ye,Ce.count=Ae.length,ce(Ce)}return Se}ae.prototype.addListener=function(ye,Pe){return a(this,ye,Pe,!1)},ae.prototype.on=ae.prototype.addListener,ae.prototype.prependListener=function(ye,Pe){return a(this,ye,Pe,!0)};function y(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function x(Se,ye,Pe){var we={fired:!1,wrapFn:void 0,target:Se,type:ye,listener:Pe},De=y.bind(we);return De.listener=Pe,we.wrapFn=De,De}ae.prototype.once=function(ye,Pe){return re(Pe),this.on(ye,x(this,ye,Pe)),this},ae.prototype.prependOnceListener=function(ye,Pe){return re(Pe),this.prependListener(ye,x(this,ye,Pe)),this},ae.prototype.removeListener=function(ye,Pe){var we,De,xe,Ae,Ce;if(re(Pe),De=this._events,De===void 0)return this;if(we=De[ye],we===void 0)return this;if(we===Pe||we.listener===Pe)--this._eventsCount===0?this._events=Object.create(null):(delete De[ye],De.removeListener&&this.emit("removeListener",ye,we.listener||Pe));else if(typeof we!="function"){for(xe=-1,Ae=we.length-1;Ae>=0;Ae--)if(we[Ae]===Pe||we[Ae].listener===Pe){Ce=we[Ae].listener,xe=Ae;break}if(xe<0)return this;xe===0?we.shift():le(we,xe),we.length===1&&(De[ye]=we[0]),De.removeListener!==void 0&&this.emit("removeListener",ye,Ce||Pe)}return this},ae.prototype.off=ae.prototype.removeListener,ae.prototype.removeAllListeners=function(ye){var Pe,we,De;if(we=this._events,we===void 0)return this;if(we.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):we[ye]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete we[ye]),this;if(arguments.length===0){var xe=Object.keys(we),Ae;for(De=0;De<xe.length;++De)Ae=xe[De],Ae!=="removeListener"&&this.removeAllListeners(Ae);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(Pe=we[ye],typeof Pe=="function")this.removeListener(ye,Pe);else if(Pe!==void 0)for(De=Pe.length-1;De>=0;De--)this.removeListener(ye,Pe[De]);return this};function b(Se,ye,Pe){var we=Se._events;if(we===void 0)return[];var De=we[ye];return De===void 0?[]:typeof De=="function"?Pe?[De.listener||De]:[De]:Pe?fe(De):te(De,De.length)}ae.prototype.listeners=function(ye){return b(this,ye,!0)},ae.prototype.rawListeners=function(ye){return b(this,ye,!1)},ae.listenerCount=function(Se,ye){return typeof Se.listenerCount=="function"?Se.listenerCount(ye):ee.call(Se,ye)},ae.prototype.listenerCount=ee;function ee(Se){var ye=this._events;if(ye!==void 0){var Pe=ye[Se];if(typeof Pe=="function")return 1;if(Pe!==void 0)return Pe.length}return 0}ae.prototype.eventNames=function(){return this._eventsCount>0?ie(this._events):[]};function te(Se,ye){for(var Pe=new Array(ye),we=0;we<ye;++we)Pe[we]=Se[we];return Pe}function le(Se,ye){for(;ye+1<Se.length;ye++)Se[ye]=Se[ye+1];Se.pop()}function fe(Se){for(var ye=new Array(Se.length),Pe=0;Pe<ye.length;++Pe)ye[Pe]=Se[Pe].listener||Se[Pe];return ye}function ge(Se,ye){return new Promise(function(Pe,we){function De(Ae){Se.removeListener(ye,xe),we(Ae)}function xe(){typeof Se.removeListener=="function"&&Se.removeListener("error",De),Pe([].slice.call(arguments))}he(Se,ye,xe,{once:!0}),ye!=="error"&&me(Se,De,{once:!0})})}function me(Se,ye,Pe){typeof Se.on=="function"&&he(Se,"error",ye,Pe)}function he(Se,ye,Pe,we){if(typeof Se.on=="function")we.once?Se.once(ye,Pe):Se.on(ye,Pe);else if(typeof Se.addEventListener=="function")Se.addEventListener(ye,function De(xe){we.once&&Se.removeEventListener(ye,De),Pe(xe)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof Se)}},{}],345:[function(E,pe,de){"use strict";var se=E("is-callable"),ne=Object.prototype.toString,ie=Object.prototype.hasOwnProperty,ce=function(z,a,y){for(var x=0,b=z.length;x<b;x++)ie.call(z,x)&&(y==null?a(z[x],x,z):a.call(y,z[x],x,z))},ue=function(z,a,y){for(var x=0,b=z.length;x<b;x++)y==null?a(z.charAt(x),x,z):a.call(y,z.charAt(x),x,z)},ae=function(z,a,y){for(var x in z)ie.call(z,x)&&(y==null?a(z[x],x,z):a.call(y,z[x],x,z))},oe=function(z,a,y){if(!se(a))throw new TypeError("iterator must be a function");var x;arguments.length>=3&&(x=y),ne.call(z)==="[object Array]"?ce(z,a,x):typeof z=="string"?ue(z,a,x):ae(z,a,x)};pe.exports=oe},{"is-callable":367}],346:[function(E,pe,de){"use strict";var se="Function.prototype.bind called on incompatible ",ne=Array.prototype.slice,ie=Object.prototype.toString,ce="[object Function]";pe.exports=function(ae){var oe=this;if(typeof oe!="function"||ie.call(oe)!==ce)throw new TypeError(se+oe);for(var re=ne.call(arguments,1),z,a=function(){if(this instanceof z){var te=oe.apply(this,re.concat(ne.call(arguments)));return Object(te)===te?te:this}else return oe.apply(ae,re.concat(ne.call(arguments)))},y=Math.max(0,oe.length-re.length),x=[],b=0;b<y;b++)x.push("$"+b);if(z=Function("binder","return function ("+x.join(",")+"){ return binder.apply(this,arguments); }")(a),oe.prototype){var ee=function(){};ee.prototype=oe.prototype,z.prototype=new ee,ee.prototype=null}return z}},{}],347:[function(E,pe,de){"use strict";var se=E("./implementation");pe.exports=Function.prototype.bind||se},{"./implementation":346}],348:[function(E,pe,de){"use strict";var se,ne=SyntaxError,ie=Function,ce=TypeError,ue=function(je){try{return ie('"use strict"; return ('+je+").constructor;")()}catch(Fe){}},ae=Object.getOwnPropertyDescriptor;if(ae)try{ae({},"")}catch(je){ae=null}var oe=function(){throw new ce},re=ae?function(){try{return arguments.callee,oe}catch(je){try{return ae(arguments,"callee").get}catch(Fe){return oe}}}():oe,z=E("has-symbols")(),a=E("has-proto")(),y=Object.getPrototypeOf||(a?function(je){return je.__proto__}:null),x={},b=typeof Uint8Array=="undefined"||!y?se:y(Uint8Array),ee={"%AggregateError%":typeof AggregateError=="undefined"?se:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?se:ArrayBuffer,"%ArrayIteratorPrototype%":z&&y?y([][Symbol.iterator]()):se,"%AsyncFromSyncIteratorPrototype%":se,"%AsyncFunction%":x,"%AsyncGenerator%":x,"%AsyncGeneratorFunction%":x,"%AsyncIteratorPrototype%":x,"%Atomics%":typeof Atomics=="undefined"?se:Atomics,"%BigInt%":typeof BigInt=="undefined"?se:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?se:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?se:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?se:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?se:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?se:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?se:FinalizationRegistry,"%Function%":ie,"%GeneratorFunction%":x,"%Int8Array%":typeof Int8Array=="undefined"?se:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?se:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?se:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":z&&y?y(y([][Symbol.iterator]())):se,"%JSON%":typeof JSON=="object"?JSON:se,"%Map%":typeof Map=="undefined"?se:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!z||!y?se:y(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?se:Promise,"%Proxy%":typeof Proxy=="undefined"?se:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?se:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?se:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!z||!y?se:y(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?se:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":z&&y?y(""[Symbol.iterator]()):se,"%Symbol%":z?Symbol:se,"%SyntaxError%":ne,"%ThrowTypeError%":re,"%TypedArray%":b,"%TypeError%":ce,"%Uint8Array%":typeof Uint8Array=="undefined"?se:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?se:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?se:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?se:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?se:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?se:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?se:WeakSet};if(y)try{null.error}catch(je){var te=y(y(je));ee["%Error.prototype%"]=te}var le=function je(Fe){var Ge;if(Fe==="%AsyncFunction%")Ge=ue("async function () {}");else if(Fe==="%GeneratorFunction%")Ge=ue("function* () {}");else if(Fe==="%AsyncGeneratorFunction%")Ge=ue("async function* () {}");else if(Fe==="%AsyncGenerator%"){var Be=je("%AsyncGeneratorFunction%");Be&&(Ge=Be.prototype)}else if(Fe==="%AsyncIteratorPrototype%"){var tt=je("%AsyncGenerator%");tt&&y&&(Ge=y(tt.prototype))}return ee[Fe]=Ge,Ge},fe={"%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=E("function-bind"),me=E("has"),he=ge.call(Function.call,Array.prototype.concat),Se=ge.call(Function.apply,Array.prototype.splice),ye=ge.call(Function.call,String.prototype.replace),Pe=ge.call(Function.call,String.prototype.slice),we=ge.call(Function.call,RegExp.prototype.exec),De=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,xe=/\\(\\)?/g,Ae=function(Fe){var Ge=Pe(Fe,0,1),Be=Pe(Fe,-1);if(Ge==="%"&&Be!=="%")throw new ne("invalid intrinsic syntax, expected closing `%`");if(Be==="%"&&Ge!=="%")throw new ne("invalid intrinsic syntax, expected opening `%`");var tt=[];return ye(Fe,De,function(Ye,Ve,Xe,Ze){tt[tt.length]=Xe?ye(Ze,xe,"$1"):Ve||Ye}),tt},Ce=function(Fe,Ge){var Be=Fe,tt;if(me(fe,Be)&&(tt=fe[Be],Be="%"+tt[0]+"%"),me(ee,Be)){var Ye=ee[Be];if(Ye===x&&(Ye=le(Be)),typeof Ye=="undefined"&&!Ge)throw new ce("intrinsic "+Fe+" exists, but is not available. Please file an issue!");return{alias:tt,name:Be,value:Ye}}throw new ne("intrinsic "+Fe+" does not exist!")};pe.exports=function(Fe,Ge){if(typeof Fe!="string"||Fe.length===0)throw new ce("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Ge!="boolean")throw new ce('"allowMissing" argument must be a boolean');if(we(/^%?[^%]*%?$/,Fe)===null)throw new ne("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Be=Ae(Fe),tt=Be.length>0?Be[0]:"",Ye=Ce("%"+tt+"%",Ge),Ve=Ye.name,Xe=Ye.value,Ze=!1,ke=Ye.alias;ke&&(tt=ke[0],Se(Be,he([0,1],ke)));for(var ze=1,et=!0;ze<Be.length;ze+=1){var Je=Be[ze],ut=Pe(Je,0,1),Qe=Pe(Je,-1);if((ut==='"'||ut==="'"||ut==="`"||Qe==='"'||Qe==="'"||Qe==="`")&&ut!==Qe)throw new ne("property names with quotes must have matching quotes");if((Je==="constructor"||!et)&&(Ze=!0),tt+="."+Je,Ve="%"+tt+"%",me(ee,Ve))Xe=ee[Ve];else if(Xe!=null){if(!(Je in Xe)){if(!Ge)throw new ce("base intrinsic for "+Fe+" exists, but the property is not available.");return}if(ae&&ze+1>=Be.length){var Ue=ae(Xe,Je);et=!!Ue,et&&"get"in Ue&&!("originalValue"in Ue.get)?Xe=Ue.get:Xe=Xe[Je]}else et=me(Xe,Je),Xe=Xe[Je];et&&!Ze&&(ee[Ve]=Xe)}}return Xe}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(E,pe,de){"use strict";var se=E("get-intrinsic"),ne=se("%Object.getOwnPropertyDescriptor%",!0);if(ne)try{ne([],"length")}catch(ie){ne=null}pe.exports=ne},{"get-intrinsic":348}],350:[function(E,pe,de){"use strict";var se={foo:{}},ne=Object;pe.exports=function(){return{__proto__:se}.foo===se.foo&&!({__proto__:null}instanceof ne)}},{}],351:[function(E,pe,de){"use strict";var se=typeof Symbol!="undefined"&&Symbol,ne=E("./shams");pe.exports=function(){return typeof se!="function"||typeof Symbol!="function"||typeof se("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:ne()}},{"./shams":352}],352:[function(E,pe,de){"use strict";pe.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var ne={},ie=Symbol("test"),ce=Object(ie);if(typeof ie=="string"||Object.prototype.toString.call(ie)!=="[object Symbol]"||Object.prototype.toString.call(ce)!=="[object Symbol]")return!1;var ue=42;ne[ie]=ue;for(ie in ne)return!1;if(typeof Object.keys=="function"&&Object.keys(ne).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(ne).length!==0)return!1;var ae=Object.getOwnPropertySymbols(ne);if(ae.length!==1||ae[0]!==ie||!Object.prototype.propertyIsEnumerable.call(ne,ie))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var oe=Object.getOwnPropertyDescriptor(ne,ie);if(oe.value!==ue||oe.enumerable!==!0)return!1}return!0}},{}],353:[function(E,pe,de){"use strict";var se=E("has-symbols/shams");pe.exports=function(){return se()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(E,pe,de){"use strict";var se=E("function-bind");pe.exports=se.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(E,pe,de){var se=E("http"),ne=E("url"),ie=pe.exports;for(var ce in se)se.hasOwnProperty(ce)&&(ie[ce]=se[ce]);ie.request=function(ae,oe){return ae=ue(ae),se.request.call(this,ae,oe)},ie.get=function(ae,oe){return ae=ue(ae),se.get.call(this,ae,oe)};function ue(ae){if(typeof ae=="string"&&(ae=ne.parse(ae)),ae.protocol||(ae.protocol="https:"),ae.protocol!=="https:")throw new Error('Protocol "'+ae.protocol+'" not supported. Expected "https:"');return ae}},{http:468,url:472}],356:[function(E,pe,de){"use strict";var se=E("util"),ne=E("ms");pe.exports=function(ie){if(typeof ie=="number")return ie;var ce=ne(ie);if(ce===void 0){var ue=new Error(se.format("humanize-ms(%j) result undefined",ie));console.warn(ue.stack)}return ce}},{ms:376,util:419}],357:[function(E,pe,de){de.read=function(se,ne,ie,ce,ue){var ae,oe,re=ue*8-ce-1,z=(1<<re)-1,a=z>>1,y=-7,x=ie?ue-1:0,b=ie?-1:1,ee=se[ne+x];for(x+=b,ae=ee&(1<<-y)-1,ee>>=-y,y+=re;y>0;ae=ae*256+se[ne+x],x+=b,y-=8);for(oe=ae&(1<<-y)-1,ae>>=-y,y+=ce;y>0;oe=oe*256+se[ne+x],x+=b,y-=8);if(ae===0)ae=1-a;else{if(ae===z)return oe?NaN:(ee?-1:1)*(1/0);oe=oe+Math.pow(2,ce),ae=ae-a}return(ee?-1:1)*oe*Math.pow(2,ae-ce)},de.write=function(se,ne,ie,ce,ue,ae){var oe,re,z,a=ae*8-ue-1,y=(1<<a)-1,x=y>>1,b=ue===23?Math.pow(2,-24)-Math.pow(2,-77):0,ee=ce?0:ae-1,te=ce?1:-1,le=ne<0||ne===0&&1/ne<0?1:0;for(ne=Math.abs(ne),isNaN(ne)||ne===1/0?(re=isNaN(ne)?1:0,oe=y):(oe=Math.floor(Math.log(ne)/Math.LN2),ne*(z=Math.pow(2,-oe))<1&&(oe--,z*=2),oe+x>=1?ne+=b/z:ne+=b*Math.pow(2,1-x),ne*z>=2&&(oe++,z/=2),oe+x>=y?(re=0,oe=y):oe+x>=1?(re=(ne*z-1)*Math.pow(2,ue),oe=oe+x):(re=ne*Math.pow(2,x-1)*Math.pow(2,ue),oe=0));ue>=8;se[ie+ee]=re&255,ee+=te,re/=256,ue-=8);for(oe=oe<<ue|re,a+=ue;a>0;se[ie+ee]=oe&255,ee+=te,oe/=256,a-=8);se[ie+ee-te]|=le*128}},{}],358:[function(E,pe,de){"use strict";var se=[E("./nextTick"),E("./queueMicrotask"),E("./mutation.js"),E("./messageChannel"),E("./stateChange"),E("./timeout")],ne,ie,ce=-1,ue=[],ae=!1;function oe(){!ne||!ie||(ne=!1,ie.length?ue=ie.concat(ue):ce=-1,ue.length&&re())}function re(){if(!ne){ae=!1,ne=!0;for(var ee=ue.length,te=setTimeout(oe);ee;){for(ie=ue,ue=[];ie&&++ce<ee;)ie[ce].run();ce=-1,ee=ue.length}ie=null,ce=-1,ne=!1,clearTimeout(te)}}for(var z,a=-1,y=se.length;++a<y;)if(se[a]&&se[a].test&&se[a].test()){z=se[a].install(re);break}function x(ee,te){this.fun=ee,this.array=te}x.prototype.run=function(){var ee=this.fun,te=this.array;switch(te.length){case 0:return ee();case 1:return ee(te[0]);case 2:return ee(te[0],te[1]);case 3:return ee(te[0],te[1],te[2]);default:return ee.apply(null,te)}},pe.exports=b;function b(ee){var te=new Array(arguments.length-1);if(arguments.length>1)for(var le=1;le<arguments.length;le++)te[le-1]=arguments[le];ue.push(new x(ee,te)),!ae&&!ne&&(ae=!0,z())}},{"./messageChannel":359,"./mutation.js":360,"./nextTick":89,"./queueMicrotask":361,"./stateChange":362,"./timeout":363}],359:[function(E,pe,de){(function(se){(function(){"use strict";de.test=function(){return se.setImmediate?!1:typeof se.MessageChannel!="undefined"},de.install=function(ne){var ie=new se.MessageChannel;return ie.port1.onmessage=ne,function(){ie.port2.postMessage(0)}}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],360:[function(E,pe,de){(function(se){(function(){"use strict";var ne=se.MutationObserver||se.WebKitMutationObserver;de.test=function(){return ne},de.install=function(ie){var ce=0,ue=new ne(ie),ae=se.document.createTextNode("");return ue.observe(ae,{characterData:!0}),function(){ae.data=ce=++ce%2}}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],361:[function(E,pe,de){(function(se){(function(){"use strict";de.test=function(){return typeof se.queueMicrotask=="function"},de.install=function(ne){return function(){se.queueMicrotask(ne)}}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],362:[function(E,pe,de){(function(se){(function(){"use strict";de.test=function(){return"document"in se&&"onreadystatechange"in se.document.createElement("script")},de.install=function(ne){return function(){var ie=se.document.createElement("script");return ie.onreadystatechange=function(){ne(),ie.onreadystatechange=null,ie.parentNode.removeChild(ie),ie=null},se.document.documentElement.appendChild(ie),ne}}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],363:[function(E,pe,de){"use strict";de.test=function(){return!0},de.install=function(se){return function(){setTimeout(se,0)}}},{}],364:[function(E,pe,de){typeof Object.create=="function"?pe.exports=function(ne,ie){ie&&(ne.super_=ie,ne.prototype=Object.create(ie.prototype,{constructor:{value:ne,enumerable:!1,writable:!0,configurable:!0}}))}:pe.exports=function(ne,ie){if(ie){ne.super_=ie;var ce=function(){};ce.prototype=ie.prototype,ne.prototype=new ce,ne.prototype.constructor=ne}}},{}],365:[function(E,pe,de){"use strict";var se=E("has-tostringtag/shams")(),ne=E("call-bind/callBound"),ie=ne("Object.prototype.toString"),ce=function(re){return se&&re&&typeof re=="object"&&Symbol.toStringTag in re?!1:ie(re)==="[object Arguments]"},ue=function(re){return ce(re)?!0:re!==null&&typeof re=="object"&&typeof re.length=="number"&&re.length>=0&&ie(re)!=="[object Array]"&&ie(re.callee)==="[object Function]"},ae=function(){return ce(arguments)}();ce.isLegacyArguments=ue,pe.exports=ae?ce:ue},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(E,pe,de){pe.exports=function(ie){return ie!=null&&(se(ie)||ne(ie)||!!ie._isBuffer)};function se(ie){return!!ie.constructor&&typeof ie.constructor.isBuffer=="function"&&ie.constructor.isBuffer(ie)}function ne(ie){return typeof ie.readFloatLE=="function"&&typeof ie.slice=="function"&&se(ie.slice(0,0))}},{}],367:[function(E,pe,de){"use strict";var se=Function.prototype.toString,ne=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,ie,ce;if(typeof ne=="function"&&typeof Object.defineProperty=="function")try{ie=Object.defineProperty({},"length",{get:function(){throw ce}}),ce={},ne(function(){throw 42},null,ie)}catch(me){me!==ce&&(ne=null)}else ne=null;var ue=/^\s*class\b/,ae=function(he){try{var Se=se.call(he);return ue.test(Se)}catch(ye){return!1}},oe=function(he){try{return ae(he)?!1:(se.call(he),!0)}catch(Se){return!1}},re=Object.prototype.toString,z="[object Object]",a="[object Function]",y="[object GeneratorFunction]",x="[object HTMLAllCollection]",b="[object HTML document.all class]",ee="[object HTMLCollection]",te=typeof Symbol=="function"&&!!Symbol.toStringTag,le=!(0 in[,]),fe=function(){return!1};if(typeof document=="object"){var ge=document.all;re.call(ge)===re.call(document.all)&&(fe=function(he){if((le||!he)&&(typeof he=="undefined"||typeof he=="object"))try{var Se=re.call(he);return(Se===x||Se===b||Se===ee||Se===z)&&he("")==null}catch(ye){}return!1})}pe.exports=ne?function(he){if(fe(he))return!0;if(!he||typeof he!="function"&&typeof he!="object")return!1;try{ne(he,null,ie)}catch(Se){if(Se!==ce)return!1}return!ae(he)&&oe(he)}:function(he){if(fe(he))return!0;if(!he||typeof he!="function"&&typeof he!="object")return!1;if(te)return oe(he);if(ae(he))return!1;var Se=re.call(he);return Se!==a&&Se!==y&&!/^\[object HTML/.test(Se)?!1:oe(he)}},{}],368:[function(E,pe,de){"use strict";var se=Object.prototype.toString,ne=Function.prototype.toString,ie=/^\s*(?:function)?\*/,ce=E("has-tostringtag/shams")(),ue=Object.getPrototypeOf,ae=function(){if(!ce)return!1;try{return Function("return function*() {}")()}catch(re){}},oe;pe.exports=function(z){if(typeof z!="function")return!1;if(ie.test(ne.call(z)))return!0;if(!ce){var a=se.call(z);return a==="[object GeneratorFunction]"}if(!ue)return!1;if(typeof oe=="undefined"){var y=ae();oe=y?ue(y):!1}return ue(z)===oe}},{"has-tostringtag/shams":353}],369:[function(E,pe,de){"use strict";var se=E("which-typed-array");pe.exports=function(ie){return!!se(ie)}},{"which-typed-array":420}],370:[function(E,pe,de){var se={}.toString;pe.exports=Array.isArray||function(ne){return se.call(ne)=="[object Array]"}},{}],371:[function(E,pe,de){(function(se){(function(){(function(ne,ie){typeof de=="object"&&typeof pe!="undefined"?pe.exports=ie(ne):typeof ve=="function"&&ve.amd?ve(ie):ie(ne)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof se!="undefined"?se:this,function(ne){"use strict";ne=ne||{};var ie=ne.Base64,ce="2.6.4",ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ae=function(Fe){for(var Ge={},Be=0,tt=Fe.length;Be<tt;Be++)Ge[Fe.charAt(Be)]=Be;return Ge}(ue),oe=String.fromCharCode,re=function(Fe){if(Fe.length<2){var Ge=Fe.charCodeAt(0);return Ge<128?Fe:Ge<2048?oe(192|Ge>>>6)+oe(128|Ge&63):oe(224|Ge>>>12&15)+oe(128|Ge>>>6&63)+oe(128|Ge&63)}else{var Ge=65536+(Fe.charCodeAt(0)-55296)*1024+(Fe.charCodeAt(1)-56320);return oe(240|Ge>>>18&7)+oe(128|Ge>>>12&63)+oe(128|Ge>>>6&63)+oe(128|Ge&63)}},z=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,a=function(Fe){return Fe.replace(z,re)},y=function(Fe){var Ge=[0,2,1][Fe.length%3],Be=Fe.charCodeAt(0)<<16|(Fe.length>1?Fe.charCodeAt(1):0)<<8|(Fe.length>2?Fe.charCodeAt(2):0),tt=[ue.charAt(Be>>>18),ue.charAt(Be>>>12&63),Ge>=2?"=":ue.charAt(Be>>>6&63),Ge>=1?"=":ue.charAt(Be&63)];return tt.join("")},x=ne.btoa&&typeof ne.btoa=="function"?function(Fe){return ne.btoa(Fe)}:function(Fe){if(Fe.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Fe.replace(/[\s\S]{1,3}/g,y)},b=function(Fe){return x(a(String(Fe)))},ee=function(Fe){return Fe.replace(/[+\/]/g,function(Ge){return Ge=="+"?"-":"_"}).replace(/=/g,"")},te=function(Fe,Ge){return Ge?ee(b(Fe)):b(Fe)},le=function(Fe){return te(Fe,!0)},fe;ne.Uint8Array&&(fe=function(Fe,Ge){for(var Be="",tt=0,Ye=Fe.length;tt<Ye;tt+=3){var Ve=Fe[tt],Xe=Fe[tt+1],Ze=Fe[tt+2],ke=Ve<<16|Xe<<8|Ze;Be+=ue.charAt(ke>>>18)+ue.charAt(ke>>>12&63)+(typeof Xe!="undefined"?ue.charAt(ke>>>6&63):"=")+(typeof Ze!="undefined"?ue.charAt(ke&63):"=")}return Ge?ee(Be):Be});var ge=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,me=function(Fe){switch(Fe.length){case 4:var Ge=(7&Fe.charCodeAt(0))<<18|(63&Fe.charCodeAt(1))<<12|(63&Fe.charCodeAt(2))<<6|63&Fe.charCodeAt(3),Be=Ge-65536;return oe((Be>>>10)+55296)+oe((Be&1023)+56320);case 3:return oe((15&Fe.charCodeAt(0))<<12|(63&Fe.charCodeAt(1))<<6|63&Fe.charCodeAt(2));default:return oe((31&Fe.charCodeAt(0))<<6|63&Fe.charCodeAt(1))}},he=function(Fe){return Fe.replace(ge,me)},Se=function(Fe){var Ge=Fe.length,Be=Ge%4,tt=(Ge>0?ae[Fe.charAt(0)]<<18:0)|(Ge>1?ae[Fe.charAt(1)]<<12:0)|(Ge>2?ae[Fe.charAt(2)]<<6:0)|(Ge>3?ae[Fe.charAt(3)]:0),Ye=[oe(tt>>>16),oe(tt>>>8&255),oe(tt&255)];return Ye.length-=[0,0,2,1][Be],Ye.join("")},ye=ne.atob&&typeof ne.atob=="function"?function(Fe){return ne.atob(Fe)}:function(Fe){return Fe.replace(/\S{1,4}/g,Se)},Pe=function(Fe){return ye(String(Fe).replace(/[^A-Za-z0-9\+\/]/g,""))},we=function(Fe){return he(ye(Fe))},De=function(Fe){return String(Fe).replace(/[-_]/g,function(Ge){return Ge=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},xe=function(Fe){return we(De(Fe))},Ae;ne.Uint8Array&&(Ae=function(Fe){return Uint8Array.from(Pe(De(Fe)),function(Ge){return Ge.charCodeAt(0)})});var Ce=function(){var Fe=ne.Base64;return ne.Base64=ie,Fe};if(ne.Base64={VERSION:ce,atob:Pe,btoa:x,fromBase64:xe,toBase64:te,utob:a,encode:te,encodeURI:le,btou:he,decode:xe,noConflict:Ce,fromUint8Array:fe,toUint8Array:Ae},typeof Object.defineProperty=="function"){var je=function(Fe){return{value:Fe,enumerable:!1,writable:!0,configurable:!0}};ne.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",je(function(){return xe(this)})),Object.defineProperty(String.prototype,"toBase64",je(function(Fe){return te(this,Fe)})),Object.defineProperty(String.prototype,"toBase64URI",je(function(){return te(this,!0)}))}}return ne.Meteor&&(Base64=ne.Base64),typeof pe!="undefined"&&pe.exports?pe.exports.Base64=ne.Base64:typeof ve=="function"&&ve.amd&&ve([],function(){return ne.Base64}),{Base64:ne.Base64}})}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(E,pe,de){"use strict";pe.exports=ne;var se=Object.prototype.hasOwnProperty;function ne(ie,ce,ue){if(!ie)throw new TypeError("argument dest is required");if(!ce)throw new TypeError("argument src is required");return ue===void 0&&(ue=!0),Object.getOwnPropertyNames(ce).forEach(function(oe){if(!(!ue&&se.call(ie,oe))){var re=Object.getOwnPropertyDescriptor(ce,oe);Object.defineProperty(ie,oe,re)}}),ie}},{}],373:[function(E,pe,de){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.regexp.constructor.js"),E("core-js/modules/es.regexp.to-string.js");function se(){this._types=Object.create(null),this._extensions=Object.create(null);for(var ne=0;ne<arguments.length;ne++)this.define(arguments[ne]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}se.prototype.define=function(ne,ie){for(var ce in ne){var ue=ne[ce].map(function(z){return z.toLowerCase()});ce=ce.toLowerCase();for(var ae=0;ae<ue.length;ae++){var oe=ue[ae];if(oe[0]!=="*"){if(!ie&&oe in this._types)throw new Error('Attempt to change mapping for "'+oe+'" extension from "'+this._types[oe]+'" to "'+ce+'". Pass `force=true` to allow this, otherwise remove "'+oe+'" from the list of extensions for "'+ce+'".');this._types[oe]=ce}}if(ie||!this._extensions[ce]){var re=ue[0];this._extensions[ce]=re[0]!=="*"?re:re.substr(1)}}},se.prototype.getType=function(ne){ne=String(ne);var ie=ne.replace(/^.*[/\\]/,"").toLowerCase(),ce=ie.replace(/^.*\./,"").toLowerCase(),ue=ie.length<ne.length,ae=ce.length<ie.length-1;return(ae||!ue)&&this._types[ce]||null},se.prototype.getExtension=function(ne){return ne=/^\s*([^;\s]*)/.test(ne)&&RegExp.$1,ne&&this._extensions[ne.toLowerCase()]||null},pe.exports=se},{"core-js/modules/es.array.map.js":280,"core-js/modules/es.regexp.constructor.js":299,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305}],374:[function(E,pe,de){"use strict";var se=E("./Mime");pe.exports=new se(E("./types/standard"))},{"./Mime":373,"./types/standard":375}],375:[function(E,pe,de){"use strict";pe.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},{}],376:[function(E,pe,de){var se=1e3,ne=se*60,ie=ne*60,ce=ie*24,ue=ce*7,ae=ce*365.25;pe.exports=function(y,x){x=x||{};var b=typeof y;if(b==="string"&&y.length>0)return oe(y);if(b==="number"&&isFinite(y))return x.long?z(y):re(y);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(y))};function oe(y){if(y=String(y),!(y.length>100)){var x=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(y);if(x){var b=parseFloat(x[1]),ee=(x[2]||"ms").toLowerCase();switch(ee){case"years":case"year":case"yrs":case"yr":case"y":return b*ae;case"weeks":case"week":case"w":return b*ue;case"days":case"day":case"d":return b*ce;case"hours":case"hour":case"hrs":case"hr":case"h":return b*ie;case"minutes":case"minute":case"mins":case"min":case"m":return b*ne;case"seconds":case"second":case"secs":case"sec":case"s":return b*se;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}function re(y){var x=Math.abs(y);return x>=ce?Math.round(y/ce)+"d":x>=ie?Math.round(y/ie)+"h":x>=ne?Math.round(y/ne)+"m":x>=se?Math.round(y/se)+"s":y+"ms"}function z(y){var x=Math.abs(y);return x>=ce?a(y,x,ce,"day"):x>=ie?a(y,x,ie,"hour"):x>=ne?a(y,x,ne,"minute"):x>=se?a(y,x,se,"second"):y+" ms"}function a(y,x,b,ee){var te=x>=b*1.5;return Math.round(y/b)+" "+ee+(te?"s":"")}},{}],377:[function(E,pe,de){"use strict";var se=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable;function ce(ae){if(ae==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(ae)}function ue(){try{if(!Object.assign)return!1;var ae=new String("abc");if(ae[5]="de",Object.getOwnPropertyNames(ae)[0]==="5")return!1;for(var oe={},re=0;re<10;re++)oe["_"+String.fromCharCode(re)]=re;var z=Object.getOwnPropertyNames(oe).map(function(y){return oe[y]});if(z.join("")!=="0123456789")return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(y){a[y]=y}),Object.keys(Object.assign({},a)).join("")==="abcdefghijklmnopqrst"}catch(y){return!1}}pe.exports=ue()?Object.assign:function(ae,oe){for(var re,z=ce(ae),a,y=1;y<arguments.length;y++){re=Object(arguments[y]);for(var x in re)ne.call(re,x)&&(z[x]=re[x]);if(se){a=se(re);for(var b=0;b<a.length;b++)ie.call(re,a[b])&&(z[a[b]]=re[a[b]])}}return z}},{}],378:[function(E,pe,de){(function(se){(function(){"use strict";function ne(ae){if(typeof ae!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(ae))}function ie(ae,oe){for(var re="",z=0,a=-1,y=0,x,b=0;b<=ae.length;++b){if(b<ae.length)x=ae.charCodeAt(b);else{if(x===47)break;x=47}if(x===47){if(!(a===b-1||y===1))if(a!==b-1&&y===2){if(re.length<2||z!==2||re.charCodeAt(re.length-1)!==46||re.charCodeAt(re.length-2)!==46){if(re.length>2){var ee=re.lastIndexOf("/");if(ee!==re.length-1){ee===-1?(re="",z=0):(re=re.slice(0,ee),z=re.length-1-re.lastIndexOf("/")),a=b,y=0;continue}}else if(re.length===2||re.length===1){re="",z=0,a=b,y=0;continue}}oe&&(re.length>0?re+="/..":re="..",z=2)}else re.length>0?re+="/"+ae.slice(a+1,b):re=ae.slice(a+1,b),z=b-a-1;a=b,y=0}else x===46&&y!==-1?++y:y=-1}return re}function ce(ae,oe){var re=oe.dir||oe.root,z=oe.base||(oe.name||"")+(oe.ext||"");return re?re===oe.root?re+z:re+ae+z:z}var ue={resolve:function(){for(var oe="",re=!1,z,a=arguments.length-1;a>=-1&&!re;a--){var y;a>=0?y=arguments[a]:(z===void 0&&(z=se.cwd()),y=z),ne(y),y.length!==0&&(oe=y+"/"+oe,re=y.charCodeAt(0)===47)}return oe=ie(oe,!re),re?oe.length>0?"/"+oe:"/":oe.length>0?oe:"."},normalize:function(oe){if(ne(oe),oe.length===0)return".";var re=oe.charCodeAt(0)===47,z=oe.charCodeAt(oe.length-1)===47;return oe=ie(oe,!re),oe.length===0&&!re&&(oe="."),oe.length>0&&z&&(oe+="/"),re?"/"+oe:oe},isAbsolute:function(oe){return ne(oe),oe.length>0&&oe.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var oe,re=0;re<arguments.length;++re){var z=arguments[re];ne(z),z.length>0&&(oe===void 0?oe=z:oe+="/"+z)}return oe===void 0?".":ue.normalize(oe)},relative:function(oe,re){if(ne(oe),ne(re),oe===re||(oe=ue.resolve(oe),re=ue.resolve(re),oe===re))return"";for(var z=1;z<oe.length&&oe.charCodeAt(z)===47;++z);for(var a=oe.length,y=a-z,x=1;x<re.length&&re.charCodeAt(x)===47;++x);for(var b=re.length,ee=b-x,te=y<ee?y:ee,le=-1,fe=0;fe<=te;++fe){if(fe===te){if(ee>te){if(re.charCodeAt(x+fe)===47)return re.slice(x+fe+1);if(fe===0)return re.slice(x+fe)}else y>te&&(oe.charCodeAt(z+fe)===47?le=fe:fe===0&&(le=0));break}var ge=oe.charCodeAt(z+fe),me=re.charCodeAt(x+fe);if(ge!==me)break;ge===47&&(le=fe)}var he="";for(fe=z+le+1;fe<=a;++fe)(fe===a||oe.charCodeAt(fe)===47)&&(he.length===0?he+="..":he+="/..");return he.length>0?he+re.slice(x+le):(x+=le,re.charCodeAt(x)===47&&++x,re.slice(x))},_makeLong:function(oe){return oe},dirname:function(oe){if(ne(oe),oe.length===0)return".";for(var re=oe.charCodeAt(0),z=re===47,a=-1,y=!0,x=oe.length-1;x>=1;--x)if(re=oe.charCodeAt(x),re===47){if(!y){a=x;break}}else y=!1;return a===-1?z?"/":".":z&&a===1?"//":oe.slice(0,a)},basename:function(oe,re){if(re!==void 0&&typeof re!="string")throw new TypeError('"ext" argument must be a string');ne(oe);var z=0,a=-1,y=!0,x;if(re!==void 0&&re.length>0&&re.length<=oe.length){if(re.length===oe.length&&re===oe)return"";var b=re.length-1,ee=-1;for(x=oe.length-1;x>=0;--x){var te=oe.charCodeAt(x);if(te===47){if(!y){z=x+1;break}}else ee===-1&&(y=!1,ee=x+1),b>=0&&(te===re.charCodeAt(b)?--b===-1&&(a=x):(b=-1,a=ee))}return z===a?a=ee:a===-1&&(a=oe.length),oe.slice(z,a)}else{for(x=oe.length-1;x>=0;--x)if(oe.charCodeAt(x)===47){if(!y){z=x+1;break}}else a===-1&&(y=!1,a=x+1);return a===-1?"":oe.slice(z,a)}},extname:function(oe){ne(oe);for(var re=-1,z=0,a=-1,y=!0,x=0,b=oe.length-1;b>=0;--b){var ee=oe.charCodeAt(b);if(ee===47){if(!y){z=b+1;break}continue}a===-1&&(y=!1,a=b+1),ee===46?re===-1?re=b:x!==1&&(x=1):re!==-1&&(x=-1)}return re===-1||a===-1||x===0||x===1&&re===a-1&&re===z+1?"":oe.slice(re,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 ce("/",oe)},parse:function(oe){ne(oe);var re={root:"",dir:"",base:"",ext:"",name:""};if(oe.length===0)return re;var z=oe.charCodeAt(0),a=z===47,y;a?(re.root="/",y=1):y=0;for(var x=-1,b=0,ee=-1,te=!0,le=oe.length-1,fe=0;le>=y;--le){if(z=oe.charCodeAt(le),z===47){if(!te){b=le+1;break}continue}ee===-1&&(te=!1,ee=le+1),z===46?x===-1?x=le:fe!==1&&(fe=1):x!==-1&&(fe=-1)}return x===-1||ee===-1||fe===0||fe===1&&x===ee-1&&x===b+1?ee!==-1&&(b===0&&a?re.base=re.name=oe.slice(1,ee):re.base=re.name=oe.slice(b,ee)):(b===0&&a?(re.name=oe.slice(1,x),re.base=oe.slice(1,ee)):(re.name=oe.slice(b,x),re.base=oe.slice(b,ee)),re.ext=oe.slice(x,ee)),b>0?re.dir=oe.slice(0,b-1):a&&(re.dir="/"),re},sep:"/",delimiter:":",win32:null,posix:null};ue.posix=ue,pe.exports=ue}).call(this)}).call(this,E("_process"))},{_process:467}],379:[function(E,pe,de){(function(se){(function(){(function(){"use strict";var ne={function:!0,object:!0},ie=ne[typeof window]&&window||this,ce=ie,ue=ne[typeof de]&&de,ae=ne[typeof pe]&&pe&&!pe.nodeType&&pe,oe=ue&&ae&&typeof se=="object"&&se;oe&&(oe.global===oe||oe.window===oe||oe.self===oe)&&(ie=oe);var re=Math.pow(2,53)-1,z=/\bOpera/,a=this,y=Object.prototype,x=y.hasOwnProperty,b=y.toString;function ee(xe){return xe=String(xe),xe.charAt(0).toUpperCase()+xe.slice(1)}function te(xe,Ae,Ce){var je={"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&&Ce&&/^Win/i.test(xe)&&!/^Windows Phone /i.test(xe)&&(je=je[/[\d.]+$/.exec(xe)])&&(xe="Windows "+je),xe=String(xe),Ae&&Ce&&(xe=xe.replace(RegExp(Ae,"i"),Ce)),xe=fe(xe.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]),xe}function le(xe,Ae){var Ce=-1,je=xe?xe.length:0;if(typeof je=="number"&&je>-1&&je<=re)for(;++Ce<je;)Ae(xe[Ce],Ce,xe);else ge(xe,Ae)}function fe(xe){return xe=Pe(xe),/^(?:webOS|i(?:OS|P))/.test(xe)?xe:ee(xe)}function ge(xe,Ae){for(var Ce in xe)x.call(xe,Ce)&&Ae(xe[Ce],Ce,xe)}function me(xe){return xe==null?ee(xe):b.call(xe).slice(8,-1)}function he(xe,Ae){var Ce=xe!=null?typeof xe[Ae]:"number";return!/^(?:boolean|number|string|undefined)$/.test(Ce)&&(Ce=="object"?!!xe[Ae]:!0)}function Se(xe){return String(xe).replace(/([ -])(?!$)/g,"$1?")}function ye(xe,Ae){var Ce=null;return le(xe,function(je,Fe){Ce=Ae(Ce,je,Fe,xe)}),Ce}function Pe(xe){return String(xe).replace(/^ +| +$/g,"")}function we(xe){var Ae=ie,Ce=xe&&typeof xe=="object"&&me(xe)!="String";Ce&&(Ae=xe,xe=null);var je=Ae.navigator||{},Fe=je.userAgent||"";xe||(xe=Fe);var Ge=Ce||a==ce,Be=Ce?!!je.likeChrome:/\bChrome\b/.test(xe)&&!/internal|\n/i.test(b.toString()),tt="Object",Ye=Ce?tt:"ScriptBridgingProxyObject",Ve=Ce?tt:"Environment",Xe=Ce&&Ae.java?"JavaPackage":me(Ae.java),Ze=Ce?tt:"RuntimeObject",ke=/\bJava/.test(Xe)&&Ae.java,ze=ke&&me(Ae.environment)==Ve,et=ke?"a":"\u03B1",Je=ke?"b":"\u03B2",ut=Ae.document||{},Qe=Ae.operamini||Ae.opera,Ue=z.test(Ue=Ce&&Qe?Qe["[[Class]]"]:me(Qe))?Ue:Qe=null,Re,$e=xe,Le=[],Ne=null,qe=xe==Fe,We=qe&&Qe&&typeof Qe.version=="function"&&Qe.version(),Me,Te=at([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),Oe=nt(["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"]),Ee=lt([{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"]),Ie=He({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=ft(["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(ot){return ye(ot,function(st,ht){return st||RegExp("\\b"+(ht.pattern||Se(ht))+"\\b","i").exec(xe)&&(ht.label||ht)})}function He(ot){return ye(ot,function(st,ht,mt){return st||(ht[Ee]||ht[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Ee)]||RegExp("\\b"+Se(mt)+"(?:\\b|\\w*\\d)","i").exec(xe))&&mt})}function nt(ot){return ye(ot,function(st,ht){return st||RegExp("\\b"+(ht.pattern||Se(ht))+"\\b","i").exec(xe)&&(ht.label||ht)})}function ft(ot){return ye(ot,function(st,ht){var mt=ht.pattern||Se(ht);return!st&&(st=RegExp("\\b"+mt+"(?:/[\\d.]+|[ \\w.]*)","i").exec(xe))&&(st=te(st,mt,ht.label||ht)),st})}function lt(ot){return ye(ot,function(st,ht){var mt=ht.pattern||Se(ht);return!st&&(st=RegExp("\\b"+mt+" *\\d+[.\\w_]*","i").exec(xe)||RegExp("\\b"+mt+" *\\w+-[\\w]*","i").exec(xe)||RegExp("\\b"+mt+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(xe))&&((st=String(ht.label&&!RegExp(mt,"i").test(ht.label)?ht.label:st).split("/"))[1]&&!/[\d.]+/.test(st[0])&&(st[0]+=" "+st[1]),ht=ht.label||ht,st=fe(st[0].replace(RegExp(mt,"i"),ht).replace(RegExp("; *(?:"+ht+"[_-])?","i")," ").replace(RegExp("("+ht+")[-_.]?(\\w)","i"),"$1 $2"))),st})}function pt(ot){return ye(ot,function(st,ht){return st||(RegExp(ht+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(xe)||0)[1]||null})}function ct(){return this.description||""}if(Te&&(Te=[Te]),/\bAndroid\b/.test(Ke)&&!Ee&&(Re=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(xe))&&(Ee=Pe(Re[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),Ie&&!Ee?Ee=lt([Ie]):Ie&&Ee&&(Ee=Ee.replace(RegExp("^("+Se(Ie)+")[-_.\\s]","i"),Ie+" ").replace(RegExp("^("+Se(Ie)+")[-_.]?(\\w)","i"),Ie+" $2")),(Re=/\bGoogle TV\b/.exec(Ee))&&(Ee=Re[0]),/\bSimulator\b/i.test(xe)&&(Ee=(Ee?Ee+" ":"")+"Simulator"),Oe=="Opera Mini"&&/\bOPiOS\b/.test(xe)&&Le.push("running in Turbo/Uncompressed mode"),Oe=="IE"&&/\blike iPhone OS\b/.test(xe)?(Re=we(xe.replace(/like iPhone OS/,"")),Ie=Re.manufacturer,Ee=Re.product):/^iP/.test(Ee)?(Oe||(Oe="Safari"),Ke="iOS"+((Re=/ OS ([\d_]+)/i.exec(xe))?" "+Re[1].replace(/_/g,"."):"")):Oe=="Konqueror"&&/^Linux\b/i.test(Ke)?Ke="Kubuntu":Ie&&Ie!="Google"&&(/Chrome/.test(Oe)&&!/\bMobile Safari\b/i.test(xe)||/\bVita\b/.test(Ee))||/\bAndroid\b/.test(Ke)&&/^Chrome/.test(Oe)&&/\bVersion\//i.test(xe)?(Oe="Android Browser",Ke=/\bAndroid\b/.test(Ke)?Ke:"Android"):Oe=="Silk"?(/\bMobi/i.test(xe)||(Ke="Android",Le.unshift("desktop mode")),/Accelerated *= *true/i.test(xe)&&Le.unshift("accelerated")):Oe=="UC Browser"&&/\bUCWEB\b/.test(xe)?Le.push("speed mode"):Oe=="PaleMoon"&&(Re=/\bFirefox\/([\d.]+)\b/.exec(xe))?Le.push("identifying as Firefox "+Re[1]):Oe=="Firefox"&&(Re=/\b(Mobile|Tablet|TV)\b/i.exec(xe))?(Ke||(Ke="Firefox OS"),Ee||(Ee=Re[1])):!Oe||(Re=!/\bMinefield\b/i.test(xe)&&/\b(?:Firefox|Safari)\b/.exec(Oe))?(Oe&&!Ee&&/[\/,]|^[^(]+?\)/.test(xe.slice(xe.indexOf(Re+"/")+8))&&(Oe=null),(Re=Ee||Ie||Ke)&&(Ee||Ie||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(Ke))&&(Oe=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(Ke)?Ke:Re)+" Browser")):Oe=="Electron"&&(Re=(/\bChrome\/([\d.]+)\b/.exec(xe)||0)[1])&&Le.push("Chromium "+Re),We||(We=pt(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",Se(Oe),"(?:Firefox|Minefield|NetFront)"])),(Re=Te=="iCab"&&parseFloat(We)>3&&"WebKit"||/\bOpera\b/.test(Oe)&&(/\bOPR\b/.test(xe)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(xe)&&!/^(?:Trident|EdgeHTML)$/.test(Te)&&"WebKit"||!Te&&/\bMSIE\b/i.test(xe)&&(Ke=="Mac OS"?"Tasman":"Trident")||Te=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Oe)&&"NetFront")&&(Te=[Re]),Oe=="IE"&&(Re=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(xe)||0)[1])?(Oe+=" Mobile",Ke="Windows Phone "+(/\+$/.test(Re)?Re:Re+".x"),Le.unshift("desktop mode")):/\bWPDesktop\b/i.test(xe)?(Oe="IE Mobile",Ke="Windows Phone 8.x",Le.unshift("desktop mode"),We||(We=(/\brv:([\d.]+)/.exec(xe)||0)[1])):Oe!="IE"&&Te=="Trident"&&(Re=/\brv:([\d.]+)/.exec(xe))&&(Oe&&Le.push("identifying as "+Oe+(We?" "+We:"")),Oe="IE",We=Re[1]),qe){if(he(Ae,"global"))if(ke&&(Re=ke.lang.System,$e=Re.getProperty("os.arch"),Ke=Ke||Re.getProperty("os.name")+" "+Re.getProperty("os.version")),ze){try{We=Ae.require("ringo/engine").version.join("."),Oe="RingoJS"}catch(ot){(Re=Ae.system)&&Re.global.system==Ae.system&&(Oe="Narwhal",Ke||(Ke=Re[0].os||null))}Oe||(Oe="Rhino")}else typeof Ae.process=="object"&&!Ae.process.browser&&(Re=Ae.process)&&(typeof Re.versions=="object"&&(typeof Re.versions.electron=="string"?(Le.push("Node "+Re.versions.node),Oe="Electron",We=Re.versions.electron):typeof Re.versions.nw=="string"&&(Le.push("Chromium "+We,"Node "+Re.versions.node),Oe="NW.js",We=Re.versions.nw)),Oe||(Oe="Node.js",$e=Re.arch,Ke=Re.platform,We=/[\d.]+/.exec(Re.version),We=We?We[0]:null));else me(Re=Ae.runtime)==Ye?(Oe="Adobe AIR",Ke=Re.flash.system.Capabilities.os):me(Re=Ae.phantom)==Ze?(Oe="PhantomJS",We=(Re=Re.version||null)&&Re.major+"."+Re.minor+"."+Re.patch):typeof ut.documentMode=="number"&&(Re=/\bTrident\/(\d+)/i.exec(xe))?(We=[We,ut.documentMode],(Re=+Re[1]+4)!=We[1]&&(Le.push("IE "+We[1]+" mode"),Te&&(Te[1]=""),We[1]=Re),We=Oe=="IE"?String(We[1].toFixed(1)):We[0]):typeof ut.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Oe)&&(Le.push("masking as "+Oe+" "+We),Oe="IE",We="11.0",Te=["Trident"],Ke="Windows");Ke=Ke&&fe(Ke)}if(We&&(Re=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(We)||/(?:alpha|beta)(?: ?\d)?/i.exec(xe+";"+(qe&&je.appMinorVersion))||/\bMinefield\b/i.test(xe)&&"a")&&(Ne=/b/i.test(Re)?"beta":"alpha",We=We.replace(RegExp(Re+"\\+?$"),"")+(Ne=="beta"?Je:et)+(/\d+\+?/.exec(Re)||"")),Oe=="Fennec"||Oe=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(Ke))Oe="Firefox Mobile";else if(Oe=="Maxthon"&&We)We=We.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Ee))Ee=="Xbox 360"&&(Ke=null),Ee=="Xbox 360"&&/\bIEMobile\b/.test(xe)&&Le.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(Oe)||Oe&&!Ee&&!/Browser|Mobi/.test(Oe))&&(Ke=="Windows CE"||/Mobi/i.test(xe)))Oe+=" Mobile";else if(Oe=="IE"&&qe)try{Ae.external===null&&Le.unshift("platform preview")}catch(ot){Le.unshift("embedded")}else(/\bBlackBerry\b/.test(Ee)||/\bBB10\b/.test(xe))&&(Re=(RegExp(Ee.replace(/ +/g," *")+"/([.\\d]+)","i").exec(xe)||0)[1]||We)?(Re=[Re,/BB10/.test(xe)],Ke=(Re[1]?(Ee=null,Ie="BlackBerry"):"Device Software")+" "+Re[0],We=null):this!=ge&&Ee!="Wii"&&(qe&&Qe||/Opera/.test(Oe)&&/\b(?:MSIE|Firefox)\b/i.test(xe)||Oe=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(Ke)||Oe=="IE"&&(Ke&&!/^Win/.test(Ke)&&We>5.5||/\bWindows XP\b/.test(Ke)&&We>8||We==8&&!/\bTrident\b/.test(xe)))&&!z.test(Re=we.call(ge,xe.replace(z,"")+";"))&&Re.name&&(Re="ing as "+Re.name+((Re=Re.version)?" "+Re:""),z.test(Oe)?(/\bIE\b/.test(Re)&&Ke=="Mac OS"&&(Ke=null),Re="identify"+Re):(Re="mask"+Re,Ue?Oe=fe(Ue.replace(/([a-z])([A-Z])/g,"$1 $2")):Oe="Opera",/\bIE\b/.test(Re)&&(Ke=null),qe||(We=null)),Te=["Presto"],Le.push(Re));(Re=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(xe)||0)[1])&&(Re=[parseFloat(Re.replace(/\.(\d)$/,".0$1")),Re],Oe=="Safari"&&Re[1].slice(-1)=="+"?(Oe="WebKit Nightly",Ne="alpha",We=Re[1].slice(0,-1)):(We==Re[1]||We==(Re[2]=(/\bSafari\/([\d.]+\+?)/i.exec(xe)||0)[1]))&&(We=null),Re[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(xe)||0)[1],Re[0]==537.36&&Re[2]==537.36&&parseFloat(Re[1])>=28&&Te=="WebKit"&&(Te=["Blink"]),!qe||!Be&&!Re[1]?(Te&&(Te[1]="like Safari"),Re=(Re=Re[0],Re<400?1:Re<500?2:Re<526?3:Re<533?4:Re<534?"4+":Re<535?5:Re<537?6:Re<538?7:Re<601?8:Re<602?9:Re<604?10:Re<606?11:Re<608?12:"12")):(Te&&(Te[1]="like Chrome"),Re=Re[1]||(Re=Re[0],Re<530?1:Re<532?2:Re<532.05?3:Re<533?4:Re<534.03?5:Re<534.07?6:Re<534.1?7:Re<534.13?8:Re<534.16?9:Re<534.24?10:Re<534.3?11:Re<535.01?12:Re<535.02?"13+":Re<535.07?15:Re<535.11?16:Re<535.19?17:Re<536.05?18:Re<536.1?19:Re<537.01?20:Re<537.11?"21+":Re<537.13?23:Re<537.18?24:Re<537.24?25:Re<537.36?26:Te!="Blink"?"27":"28")),Te&&(Te[1]+=" "+(Re+=typeof Re=="number"?".x":/[.+]/.test(Re)?"":"+")),Oe=="Safari"&&(!We||parseInt(We)>45)?We=Re:Oe=="Chrome"&&/\bHeadlessChrome/i.test(xe)&&Le.unshift("headless")),Oe=="Opera"&&(Re=/\bzbov|zvav$/.exec(Ke))?(Oe+=" ",Le.unshift("desktop mode"),Re=="zvav"?(Oe+="Mini",We=null):Oe+="Mobile",Ke=Ke.replace(RegExp(" *"+Re+"$"),"")):Oe=="Safari"&&/\bChrome\b/.exec(Te&&Te[1])?(Le.unshift("desktop mode"),Oe="Chrome Mobile",We=null,/\bOS X\b/.test(Ke)?(Ie="Apple",Ke="iOS 4.3+"):Ke=null):/\bSRWare Iron\b/.test(Oe)&&!We&&(We=pt("Chrome")),We&&We.indexOf(Re=/[\d.]+$/.exec(Ke))==0&&xe.indexOf("/"+Re+"-")>-1&&(Ke=Pe(Ke.replace(Re,""))),Ke&&Ke.indexOf(Oe)!=-1&&!RegExp(Oe+" OS").test(Ke)&&(Ke=Ke.replace(RegExp(" *"+Se(Oe)+" *"),"")),Te&&!/\b(?:Avant|Nook)\b/.test(Oe)&&(/Browser|Lunascape|Maxthon/.test(Oe)||Oe!="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(Oe)&&Te[1])&&(Re=Te[Te.length-1])&&Le.push(Re),Le.length&&(Le=["("+Le.join("; ")+")"]),Ie&&Ee&&Ee.indexOf(Ie)<0&&Le.push("on "+Ie),Ee&&Le.push((/^on /.test(Le[Le.length-1])?"":"on ")+Ee),Ke&&(Re=/ ([\d.+]+)$/.exec(Ke),Me=Re&&Ke.charAt(Ke.length-Re[0].length-1)=="/",Ke={architecture:32,family:Re&&!Me?Ke.replace(Re[0],""):Ke,version:Re?Re[1]:null,toString:function(){var ot=this.version;return this.family+(ot&&!Me?" "+ot:"")+(this.architecture==64?" 64-bit":"")}}),(Re=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec($e))&&!/\bi686\b/i.test($e)?(Ke&&(Ke.architecture=64,Ke.family=Ke.family.replace(RegExp(" *"+Re),"")),Oe&&(/\bWOW64\b/i.test(xe)||qe&&/\w(?:86|32)$/.test(je.cpuClass||je.platform)&&!/\bWin64; x64\b/i.test(xe))&&Le.unshift("32-bit")):Ke&&/^OS X/.test(Ke.family)&&Oe=="Chrome"&&parseFloat(We)>=39&&(Ke.architecture=64),xe||(xe=null);var vt={};return vt.description=xe,vt.layout=Te&&Te[0],vt.manufacturer=Ie,vt.name=Oe,vt.prerelease=Ne,vt.product=Ee,vt.ua=xe,vt.version=Oe&&We,vt.os=Ke||{architecture:null,family:null,version:null,toString:function(){return"null"}},vt.parse=we,vt.toString=ct,vt.version&&Le.unshift(We),vt.name&&Le.unshift(Oe),Ke&&Oe&&!(Ke==String(Ke).split(" ")[0]&&(Ke==Oe.split(" ")[0]||Ee))&&Le.push(Ee?"("+Ke+")":"on "+Ke),Le.length&&(vt.description=Le.join(" ")),vt}var De=we();typeof ve=="function"&&typeof ve.amd=="object"&&ve.amd?(ie.platform=De,ve(function(){return De})):ue&&ae?ge(De,function(xe,Ae){ue[Ae]=xe}):ie.platform=De}).call(this)}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(E,pe,de){(function(se){(function(){"use strict";typeof se=="undefined"||!se.version||se.version.indexOf("v0.")===0||se.version.indexOf("v1.")===0&&se.version.indexOf("v1.8.")!==0?pe.exports={nextTick:ne}:pe.exports=se;function ne(ie,ce,ue,ae){if(typeof ie!="function")throw new TypeError('"callback" argument must be a function');var oe=arguments.length,re,z;switch(oe){case 0:case 1:return se.nextTick(ie);case 2:return se.nextTick(function(){ie.call(null,ce)});case 3:return se.nextTick(function(){ie.call(null,ce,ue)});case 4:return se.nextTick(function(){ie.call(null,ce,ue,ae)});default:for(re=new Array(oe-1),z=0;z<re.length;)re[z++]=arguments[z];return se.nextTick(function(){ie.apply(null,re)})}}}).call(this)}).call(this,E("_process"))},{_process:467}],381:[function(E,pe,de){var se=pe.exports={},ne,ie;function ce(){throw new Error("setTimeout has not been defined")}function ue(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ne=setTimeout:ne=ce}catch(le){ne=ce}try{typeof clearTimeout=="function"?ie=clearTimeout:ie=ue}catch(le){ie=ue}})();function ae(le){if(ne===setTimeout)return setTimeout(le,0);if((ne===ce||!ne)&&setTimeout)return ne=setTimeout,setTimeout(le,0);try{return ne(le,0)}catch(fe){try{return ne.call(null,le,0)}catch(ge){return ne.call(this,le,0)}}}function oe(le){if(ie===clearTimeout)return clearTimeout(le);if((ie===ue||!ie)&&clearTimeout)return ie=clearTimeout,clearTimeout(le);try{return ie(le)}catch(fe){try{return ie.call(null,le)}catch(ge){return ie.call(this,le)}}}var re=[],z=!1,a,y=-1;function x(){!z||!a||(z=!1,a.length?re=a.concat(re):y=-1,re.length&&b())}function b(){if(!z){var le=ae(x);z=!0;for(var fe=re.length;fe;){for(a=re,re=[];++y<fe;)a&&a[y].run();y=-1,fe=re.length}a=null,z=!1,oe(le)}}se.nextTick=function(le){var fe=new Array(arguments.length-1);if(arguments.length>1)for(var ge=1;ge<arguments.length;ge++)fe[ge-1]=arguments[ge];re.push(new ee(le,fe)),re.length===1&&!z&&ae(b)};function ee(le,fe){this.fun=le,this.array=fe}ee.prototype.run=function(){this.fun.apply(null,this.array)},se.title="browser",se.browser=!0,se.env={},se.argv=[],se.version="",se.versions={};function te(){}se.on=te,se.addListener=te,se.once=te,se.off=te,se.removeListener=te,se.removeAllListeners=te,se.emit=te,se.prependListener=te,se.prependOnceListener=te,se.listeners=function(le){return[]},se.binding=function(le){throw new Error("process.binding is not supported")},se.cwd=function(){return"/"},se.chdir=function(le){throw new Error("process.chdir is not supported")},se.umask=function(){return 0}},{}],382:[function(E,pe,de){(function(se){(function(){(function(ne){var ie=typeof de=="object"&&de&&!de.nodeType&&de,ce=typeof pe=="object"&&pe&&!pe.nodeType&&pe,ue=typeof se=="object"&&se;(ue.global===ue||ue.window===ue||ue.self===ue)&&(ne=ue);var ae,oe=2147483647,re=36,z=1,a=26,y=38,x=700,b=72,ee=128,te="-",le=/^xn--/,fe=/[^\x20-\x7E]/,ge=/[\x2E\u3002\uFF0E\uFF61]/g,me={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},he=re-z,Se=Math.floor,ye=String.fromCharCode,Pe;function we(Xe){throw new RangeError(me[Xe])}function De(Xe,Ze){for(var ke=Xe.length,ze=[];ke--;)ze[ke]=Ze(Xe[ke]);return ze}function xe(Xe,Ze){var ke=Xe.split("@"),ze="";ke.length>1&&(ze=ke[0]+"@",Xe=ke[1]),Xe=Xe.replace(ge,".");var et=Xe.split("."),Je=De(et,Ze).join(".");return ze+Je}function Ae(Xe){for(var Ze=[],ke=0,ze=Xe.length,et,Je;ke<ze;)et=Xe.charCodeAt(ke++),et>=55296&&et<=56319&&ke<ze?(Je=Xe.charCodeAt(ke++),(Je&64512)==56320?Ze.push(((et&1023)<<10)+(Je&1023)+65536):(Ze.push(et),ke--)):Ze.push(et);return Ze}function Ce(Xe){return De(Xe,function(Ze){var ke="";return Ze>65535&&(Ze-=65536,ke+=ye(Ze>>>10&1023|55296),Ze=56320|Ze&1023),ke+=ye(Ze),ke}).join("")}function je(Xe){return Xe-48<10?Xe-22:Xe-65<26?Xe-65:Xe-97<26?Xe-97:re}function Fe(Xe,Ze){return Xe+22+75*(Xe<26)-((Ze!=0)<<5)}function Ge(Xe,Ze,ke){var ze=0;for(Xe=ke?Se(Xe/x):Xe>>1,Xe+=Se(Xe/Ze);Xe>he*a>>1;ze+=re)Xe=Se(Xe/he);return Se(ze+(he+1)*Xe/(Xe+y))}function Be(Xe){var Ze=[],ke=Xe.length,ze,et=0,Je=ee,ut=b,Qe,Ue,Re,$e,Le,Ne,qe,We,Me;for(Qe=Xe.lastIndexOf(te),Qe<0&&(Qe=0),Ue=0;Ue<Qe;++Ue)Xe.charCodeAt(Ue)>=128&&we("not-basic"),Ze.push(Xe.charCodeAt(Ue));for(Re=Qe>0?Qe+1:0;Re<ke;){for($e=et,Le=1,Ne=re;Re>=ke&&we("invalid-input"),qe=je(Xe.charCodeAt(Re++)),(qe>=re||qe>Se((oe-et)/Le))&&we("overflow"),et+=qe*Le,We=Ne<=ut?z:Ne>=ut+a?a:Ne-ut,!(qe<We);Ne+=re)Me=re-We,Le>Se(oe/Me)&&we("overflow"),Le*=Me;ze=Ze.length+1,ut=Ge(et-$e,ze,$e==0),Se(et/ze)>oe-Je&&we("overflow"),Je+=Se(et/ze),et%=ze,Ze.splice(et++,0,Je)}return Ce(Ze)}function tt(Xe){var Ze,ke,ze,et,Je,ut,Qe,Ue,Re,$e,Le,Ne=[],qe,We,Me,Te;for(Xe=Ae(Xe),qe=Xe.length,Ze=ee,ke=0,Je=b,ut=0;ut<qe;++ut)Le=Xe[ut],Le<128&&Ne.push(ye(Le));for(ze=et=Ne.length,et&&Ne.push(te);ze<qe;){for(Qe=oe,ut=0;ut<qe;++ut)Le=Xe[ut],Le>=Ze&&Le<Qe&&(Qe=Le);for(We=ze+1,Qe-Ze>Se((oe-ke)/We)&&we("overflow"),ke+=(Qe-Ze)*We,Ze=Qe,ut=0;ut<qe;++ut)if(Le=Xe[ut],Le<Ze&&++ke>oe&&we("overflow"),Le==Ze){for(Ue=ke,Re=re;$e=Re<=Je?z:Re>=Je+a?a:Re-Je,!(Ue<$e);Re+=re)Te=Ue-$e,Me=re-$e,Ne.push(ye(Fe($e+Te%Me,0))),Ue=Se(Te/Me);Ne.push(ye(Fe(Ue,0))),Je=Ge(ke,We,ze==et),ke=0,++ze}++ke,++Ze}return Ne.join("")}function Ye(Xe){return xe(Xe,function(Ze){return le.test(Ze)?Be(Ze.slice(4).toLowerCase()):Ze})}function Ve(Xe){return xe(Xe,function(Ze){return fe.test(Ze)?"xn--"+tt(Ze):Ze})}if(ae={version:"1.4.1",ucs2:{decode:Ae,encode:Ce},decode:Be,encode:tt,toASCII:Ve,toUnicode:Ye},typeof ve=="function"&&typeof ve.amd=="object"&&ve.amd)ve("punycode",function(){return ae});else if(ie&&ce)if(pe.exports==ie)ce.exports=ae;else for(Pe in ae)ae.hasOwnProperty(Pe)&&(ie[Pe]=ae[Pe]);else ne.punycode=ae})(this)}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],383:[function(E,pe,de){"use strict";function se(ie,ce){return Object.prototype.hasOwnProperty.call(ie,ce)}pe.exports=function(ie,ce,ue,ae){ce=ce||"&",ue=ue||"=";var oe={};if(typeof ie!="string"||ie.length===0)return oe;var re=/\+/g;ie=ie.split(ce);var z=1e3;ae&&typeof ae.maxKeys=="number"&&(z=ae.maxKeys);var a=ie.length;z>0&&a>z&&(a=z);for(var y=0;y<a;++y){var x=ie[y].replace(re,"%20"),b=x.indexOf(ue),ee,te,le,fe;b>=0?(ee=x.substr(0,b),te=x.substr(b+1)):(ee=x,te=""),le=decodeURIComponent(ee),fe=decodeURIComponent(te),se(oe,le)?ne(oe[le])?oe[le].push(fe):oe[le]=[oe[le],fe]:oe[le]=fe}return oe};var ne=Array.isArray||function(ie){return Object.prototype.toString.call(ie)==="[object Array]"}},{}],384:[function(E,pe,de){"use strict";var se=function(ue){switch(typeof ue){case"string":return ue;case"boolean":return ue?"true":"false";case"number":return isFinite(ue)?ue:"";default:return""}};pe.exports=function(ue,ae,oe,re){return ae=ae||"&",oe=oe||"=",ue===null&&(ue=void 0),typeof ue=="object"?ie(ce(ue),function(z){var a=encodeURIComponent(se(z))+oe;return ne(ue[z])?ie(ue[z],function(y){return a+encodeURIComponent(se(y))}).join(ae):a+encodeURIComponent(se(ue[z]))}).join(ae):re?encodeURIComponent(se(re))+oe+encodeURIComponent(se(ue)):""};var ne=Array.isArray||function(ue){return Object.prototype.toString.call(ue)==="[object Array]"};function ie(ue,ae){if(ue.map)return ue.map(ae);for(var oe=[],re=0;re<ue.length;re++)oe.push(ae(ue[re],re));return oe}var ce=Object.keys||function(ue){var ae=[];for(var oe in ue)Object.prototype.hasOwnProperty.call(ue,oe)&&ae.push(oe);return ae}},{}],385:[function(E,pe,de){"use strict";de.decode=de.parse=E("./decode"),de.encode=de.stringify=E("./encode")},{"./decode":383,"./encode":384}],386:[function(E,pe,de){"use strict";var se=E("process-nextick-args"),ne=Object.keys||function(x){var b=[];for(var ee in x)b.push(ee);return b};pe.exports=z;var ie=Object.create(E("core-util-is"));ie.inherits=E("inherits");var ce=E("./_stream_readable"),ue=E("./_stream_writable");ie.inherits(z,ce);for(var ae=ne(ue.prototype),oe=0;oe<ae.length;oe++){var re=ae[oe];z.prototype[re]||(z.prototype[re]=ue.prototype[re])}function z(x){if(!(this instanceof z))return new z(x);ce.call(this,x),ue.call(this,x),x&&x.readable===!1&&(this.readable=!1),x&&x.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,x&&x.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",a)}Object.defineProperty(z.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function a(){this.allowHalfOpen||this._writableState.ended||se.nextTick(y,this)}function y(x){x.end()}Object.defineProperty(z.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(x){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=x,this._writableState.destroyed=x)}}),z.prototype._destroy=function(x,b){this.push(null),this.end(),se.nextTick(b,x)}},{"./_stream_readable":388,"./_stream_writable":390,"core-util-is":341,inherits:364,"process-nextick-args":380}],387:[function(E,pe,de){"use strict";pe.exports=ie;var se=E("./_stream_transform"),ne=Object.create(E("core-util-is"));ne.inherits=E("inherits"),ne.inherits(ie,se);function ie(ce){if(!(this instanceof ie))return new ie(ce);se.call(this,ce)}ie.prototype._transform=function(ce,ue,ae){ae(null,ce)}},{"./_stream_transform":389,"core-util-is":341,inherits:364}],388:[function(E,pe,de){(function(se,ne){(function(){"use strict";var ie=E("process-nextick-args");pe.exports=ye;var ce=E("isarray"),ue;ye.ReadableState=Se;var ae=E("events").EventEmitter,oe=function(Le,Ne){return Le.listeners(Ne).length},re=E("./internal/streams/stream"),z=E("safe-buffer").Buffer,a=ne.Uint8Array||function(){};function y(Le){return z.from(Le)}function x(Le){return z.isBuffer(Le)||Le instanceof a}var b=Object.create(E("core-util-is"));b.inherits=E("inherits");var ee=E("util"),te=void 0;ee&&ee.debuglog?te=ee.debuglog("stream"):te=function(){};var le=E("./internal/streams/BufferList"),fe=E("./internal/streams/destroy"),ge;b.inherits(ye,re);var me=["error","close","destroy","pause","resume"];function he(Le,Ne,qe){if(typeof Le.prependListener=="function")return Le.prependListener(Ne,qe);!Le._events||!Le._events[Ne]?Le.on(Ne,qe):ce(Le._events[Ne])?Le._events[Ne].unshift(qe):Le._events[Ne]=[qe,Le._events[Ne]]}function Se(Le,Ne){ue=ue||E("./_stream_duplex"),Le=Le||{};var qe=Ne instanceof ue;this.objectMode=!!Le.objectMode,qe&&(this.objectMode=this.objectMode||!!Le.readableObjectMode);var We=Le.highWaterMark,Me=Le.readableHighWaterMark,Te=this.objectMode?16:16*1024;We||We===0?this.highWaterMark=We:qe&&(Me||Me===0)?this.highWaterMark=Me:this.highWaterMark=Te,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new le,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=Le.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Le.encoding&&(ge||(ge=E("string_decoder/").StringDecoder),this.decoder=new ge(Le.encoding),this.encoding=Le.encoding)}function ye(Le){if(ue=ue||E("./_stream_duplex"),!(this instanceof ye))return new ye(Le);this._readableState=new Se(Le,this),this.readable=!0,Le&&(typeof Le.read=="function"&&(this._read=Le.read),typeof Le.destroy=="function"&&(this._destroy=Le.destroy)),re.call(this)}Object.defineProperty(ye.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Le){this._readableState&&(this._readableState.destroyed=Le)}}),ye.prototype.destroy=fe.destroy,ye.prototype._undestroy=fe.undestroy,ye.prototype._destroy=function(Le,Ne){this.push(null),Ne(Le)},ye.prototype.push=function(Le,Ne){var qe=this._readableState,We;return qe.objectMode?We=!0:typeof Le=="string"&&(Ne=Ne||qe.defaultEncoding,Ne!==qe.encoding&&(Le=z.from(Le,Ne),Ne=""),We=!0),Pe(this,Le,Ne,!1,We)},ye.prototype.unshift=function(Le){return Pe(this,Le,null,!0,!1)};function Pe(Le,Ne,qe,We,Me){var Te=Le._readableState;if(Ne===null)Te.reading=!1,Fe(Le,Te);else{var Oe;Me||(Oe=De(Te,Ne)),Oe?Le.emit("error",Oe):Te.objectMode||Ne&&Ne.length>0?(typeof Ne!="string"&&!Te.objectMode&&Object.getPrototypeOf(Ne)!==z.prototype&&(Ne=y(Ne)),We?Te.endEmitted?Le.emit("error",new Error("stream.unshift() after end event")):we(Le,Te,Ne,!0):Te.ended?Le.emit("error",new Error("stream.push() after EOF")):(Te.reading=!1,Te.decoder&&!qe?(Ne=Te.decoder.write(Ne),Te.objectMode||Ne.length!==0?we(Le,Te,Ne,!1):tt(Le,Te)):we(Le,Te,Ne,!1))):We||(Te.reading=!1)}return xe(Te)}function we(Le,Ne,qe,We){Ne.flowing&&Ne.length===0&&!Ne.sync?(Le.emit("data",qe),Le.read(0)):(Ne.length+=Ne.objectMode?1:qe.length,We?Ne.buffer.unshift(qe):Ne.buffer.push(qe),Ne.needReadable&&Ge(Le)),tt(Le,Ne)}function De(Le,Ne){var qe;return!x(Ne)&&typeof Ne!="string"&&Ne!==void 0&&!Le.objectMode&&(qe=new TypeError("Invalid non-string/buffer chunk")),qe}function xe(Le){return!Le.ended&&(Le.needReadable||Le.length<Le.highWaterMark||Le.length===0)}ye.prototype.isPaused=function(){return this._readableState.flowing===!1},ye.prototype.setEncoding=function(Le){return ge||(ge=E("string_decoder/").StringDecoder),this._readableState.decoder=new ge(Le),this._readableState.encoding=Le,this};var Ae=8388608;function Ce(Le){return Le>=Ae?Le=Ae:(Le--,Le|=Le>>>1,Le|=Le>>>2,Le|=Le>>>4,Le|=Le>>>8,Le|=Le>>>16,Le++),Le}function je(Le,Ne){return Le<=0||Ne.length===0&&Ne.ended?0:Ne.objectMode?1:Le!==Le?Ne.flowing&&Ne.length?Ne.buffer.head.data.length:Ne.length:(Le>Ne.highWaterMark&&(Ne.highWaterMark=Ce(Le)),Le<=Ne.length?Le:Ne.ended?Ne.length:(Ne.needReadable=!0,0))}ye.prototype.read=function(Le){te("read",Le),Le=parseInt(Le,10);var Ne=this._readableState,qe=Le;if(Le!==0&&(Ne.emittedReadable=!1),Le===0&&Ne.needReadable&&(Ne.length>=Ne.highWaterMark||Ne.ended))return te("read: emitReadable",Ne.length,Ne.ended),Ne.length===0&&Ne.ended?Ue(this):Ge(this),null;if(Le=je(Le,Ne),Le===0&&Ne.ended)return Ne.length===0&&Ue(this),null;var We=Ne.needReadable;te("need readable",We),(Ne.length===0||Ne.length-Le<Ne.highWaterMark)&&(We=!0,te("length less than watermark",We)),Ne.ended||Ne.reading?(We=!1,te("reading or ended",We)):We&&(te("do read"),Ne.reading=!0,Ne.sync=!0,Ne.length===0&&(Ne.needReadable=!0),this._read(Ne.highWaterMark),Ne.sync=!1,Ne.reading||(Le=je(qe,Ne)));var Me;return Le>0?Me=et(Le,Ne):Me=null,Me===null?(Ne.needReadable=!0,Le=0):Ne.length-=Le,Ne.length===0&&(Ne.ended||(Ne.needReadable=!0),qe!==Le&&Ne.ended&&Ue(this)),Me!==null&&this.emit("data",Me),Me};function Fe(Le,Ne){if(!Ne.ended){if(Ne.decoder){var qe=Ne.decoder.end();qe&&qe.length&&(Ne.buffer.push(qe),Ne.length+=Ne.objectMode?1:qe.length)}Ne.ended=!0,Ge(Le)}}function Ge(Le){var Ne=Le._readableState;Ne.needReadable=!1,Ne.emittedReadable||(te("emitReadable",Ne.flowing),Ne.emittedReadable=!0,Ne.sync?ie.nextTick(Be,Le):Be(Le))}function Be(Le){te("emit readable"),Le.emit("readable"),ze(Le)}function tt(Le,Ne){Ne.readingMore||(Ne.readingMore=!0,ie.nextTick(Ye,Le,Ne))}function Ye(Le,Ne){for(var qe=Ne.length;!Ne.reading&&!Ne.flowing&&!Ne.ended&&Ne.length<Ne.highWaterMark&&(te("maybeReadMore read 0"),Le.read(0),qe!==Ne.length);)qe=Ne.length;Ne.readingMore=!1}ye.prototype._read=function(Le){this.emit("error",new Error("_read() is not implemented"))},ye.prototype.pipe=function(Le,Ne){var qe=this,We=this._readableState;switch(We.pipesCount){case 0:We.pipes=Le;break;case 1:We.pipes=[We.pipes,Le];break;default:We.pipes.push(Le);break}We.pipesCount+=1,te("pipe count=%d opts=%j",We.pipesCount,Ne);var Me=(!Ne||Ne.end!==!1)&&Le!==se.stdout&&Le!==se.stderr,Te=Me?Ee:ct;We.endEmitted?ie.nextTick(Te):qe.once("end",Te),Le.on("unpipe",Oe);function Oe(vt,ot){te("onunpipe"),vt===qe&&ot&&ot.hasUnpiped===!1&&(ot.hasUnpiped=!0,at())}function Ee(){te("onend"),Le.end()}var Ie=Ve(qe);Le.on("drain",Ie);var Ke=!1;function at(){te("cleanup"),Le.removeListener("close",lt),Le.removeListener("finish",pt),Le.removeListener("drain",Ie),Le.removeListener("error",ft),Le.removeListener("unpipe",Oe),qe.removeListener("end",Ee),qe.removeListener("end",ct),qe.removeListener("data",nt),Ke=!0,We.awaitDrain&&(!Le._writableState||Le._writableState.needDrain)&&Ie()}var He=!1;qe.on("data",nt);function nt(vt){te("ondata"),He=!1;var ot=Le.write(vt);ot===!1&&!He&&((We.pipesCount===1&&We.pipes===Le||We.pipesCount>1&&$e(We.pipes,Le)!==-1)&&!Ke&&(te("false write response, pause",qe._readableState.awaitDrain),qe._readableState.awaitDrain++,He=!0),qe.pause())}function ft(vt){te("onerror",vt),ct(),Le.removeListener("error",ft),oe(Le,"error")===0&&Le.emit("error",vt)}he(Le,"error",ft);function lt(){Le.removeListener("finish",pt),ct()}Le.once("close",lt);function pt(){te("onfinish"),Le.removeListener("close",lt),ct()}Le.once("finish",pt);function ct(){te("unpipe"),qe.unpipe(Le)}return Le.emit("pipe",qe),We.flowing||(te("pipe resume"),qe.resume()),Le};function Ve(Le){return function(){var Ne=Le._readableState;te("pipeOnDrain",Ne.awaitDrain),Ne.awaitDrain&&Ne.awaitDrain--,Ne.awaitDrain===0&&oe(Le,"data")&&(Ne.flowing=!0,ze(Le))}}ye.prototype.unpipe=function(Le){var Ne=this._readableState,qe={hasUnpiped:!1};if(Ne.pipesCount===0)return this;if(Ne.pipesCount===1)return Le&&Le!==Ne.pipes?this:(Le||(Le=Ne.pipes),Ne.pipes=null,Ne.pipesCount=0,Ne.flowing=!1,Le&&Le.emit("unpipe",this,qe),this);if(!Le){var We=Ne.pipes,Me=Ne.pipesCount;Ne.pipes=null,Ne.pipesCount=0,Ne.flowing=!1;for(var Te=0;Te<Me;Te++)We[Te].emit("unpipe",this,qe);return this}var Oe=$e(Ne.pipes,Le);return Oe===-1?this:(Ne.pipes.splice(Oe,1),Ne.pipesCount-=1,Ne.pipesCount===1&&(Ne.pipes=Ne.pipes[0]),Le.emit("unpipe",this,qe),this)},ye.prototype.on=function(Le,Ne){var qe=re.prototype.on.call(this,Le,Ne);if(Le==="data")this._readableState.flowing!==!1&&this.resume();else if(Le==="readable"){var We=this._readableState;!We.endEmitted&&!We.readableListening&&(We.readableListening=We.needReadable=!0,We.emittedReadable=!1,We.reading?We.length&&Ge(this):ie.nextTick(Xe,this))}return qe},ye.prototype.addListener=ye.prototype.on;function Xe(Le){te("readable nexttick read 0"),Le.read(0)}ye.prototype.resume=function(){var Le=this._readableState;return Le.flowing||(te("resume"),Le.flowing=!0,Ze(this,Le)),this};function Ze(Le,Ne){Ne.resumeScheduled||(Ne.resumeScheduled=!0,ie.nextTick(ke,Le,Ne))}function ke(Le,Ne){Ne.reading||(te("resume read 0"),Le.read(0)),Ne.resumeScheduled=!1,Ne.awaitDrain=0,Le.emit("resume"),ze(Le),Ne.flowing&&!Ne.reading&&Le.read(0)}ye.prototype.pause=function(){return te("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(te("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function ze(Le){var Ne=Le._readableState;for(te("flow",Ne.flowing);Ne.flowing&&Le.read()!==null;);}ye.prototype.wrap=function(Le){var Ne=this,qe=this._readableState,We=!1;Le.on("end",function(){if(te("wrapped end"),qe.decoder&&!qe.ended){var Oe=qe.decoder.end();Oe&&Oe.length&&Ne.push(Oe)}Ne.push(null)}),Le.on("data",function(Oe){if(te("wrapped data"),qe.decoder&&(Oe=qe.decoder.write(Oe)),!(qe.objectMode&&Oe==null)&&!(!qe.objectMode&&(!Oe||!Oe.length))){var Ee=Ne.push(Oe);Ee||(We=!0,Le.pause())}});for(var Me in Le)this[Me]===void 0&&typeof Le[Me]=="function"&&(this[Me]=function(Oe){return function(){return Le[Oe].apply(Le,arguments)}}(Me));for(var Te=0;Te<me.length;Te++)Le.on(me[Te],this.emit.bind(this,me[Te]));return this._read=function(Oe){te("wrapped _read",Oe),We&&(We=!1,Le.resume())},this},Object.defineProperty(ye.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),ye._fromList=et;function et(Le,Ne){if(Ne.length===0)return null;var qe;return Ne.objectMode?qe=Ne.buffer.shift():!Le||Le>=Ne.length?(Ne.decoder?qe=Ne.buffer.join(""):Ne.buffer.length===1?qe=Ne.buffer.head.data:qe=Ne.buffer.concat(Ne.length),Ne.buffer.clear()):qe=Je(Le,Ne.buffer,Ne.decoder),qe}function Je(Le,Ne,qe){var We;return Le<Ne.head.data.length?(We=Ne.head.data.slice(0,Le),Ne.head.data=Ne.head.data.slice(Le)):Le===Ne.head.data.length?We=Ne.shift():We=qe?ut(Le,Ne):Qe(Le,Ne),We}function ut(Le,Ne){var qe=Ne.head,We=1,Me=qe.data;for(Le-=Me.length;qe=qe.next;){var Te=qe.data,Oe=Le>Te.length?Te.length:Le;if(Oe===Te.length?Me+=Te:Me+=Te.slice(0,Le),Le-=Oe,Le===0){Oe===Te.length?(++We,qe.next?Ne.head=qe.next:Ne.head=Ne.tail=null):(Ne.head=qe,qe.data=Te.slice(Oe));break}++We}return Ne.length-=We,Me}function Qe(Le,Ne){var qe=z.allocUnsafe(Le),We=Ne.head,Me=1;for(We.data.copy(qe),Le-=We.data.length;We=We.next;){var Te=We.data,Oe=Le>Te.length?Te.length:Le;if(Te.copy(qe,qe.length-Le,0,Oe),Le-=Oe,Le===0){Oe===Te.length?(++Me,We.next?Ne.head=We.next:Ne.head=Ne.tail=null):(Ne.head=We,We.data=Te.slice(Oe));break}++Me}return Ne.length-=Me,qe}function Ue(Le){var Ne=Le._readableState;if(Ne.length>0)throw new Error('"endReadable()" called on non-empty stream');Ne.endEmitted||(Ne.ended=!0,ie.nextTick(Re,Ne,Le))}function Re(Le,Ne){!Le.endEmitted&&Le.length===0&&(Le.endEmitted=!0,Ne.readable=!1,Ne.emit("end"))}function $e(Le,Ne){for(var qe=0,We=Le.length;qe<We;qe++)if(Le[qe]===Ne)return qe;return-1}}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":386,"./internal/streams/BufferList":391,"./internal/streams/destroy":392,"./internal/streams/stream":393,_process:467,"core-util-is":341,events:344,inherits:364,isarray:370,"process-nextick-args":380,"safe-buffer":396,"string_decoder/":413,util:89}],389:[function(E,pe,de){"use strict";pe.exports=ce;var se=E("./_stream_duplex"),ne=Object.create(E("core-util-is"));ne.inherits=E("inherits"),ne.inherits(ce,se);function ie(oe,re){var z=this._transformState;z.transforming=!1;var a=z.writecb;if(!a)return this.emit("error",new Error("write callback called multiple times"));z.writechunk=null,z.writecb=null,re!=null&&this.push(re),a(oe);var y=this._readableState;y.reading=!1,(y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}function ce(oe){if(!(this instanceof ce))return new ce(oe);se.call(this,oe),this._transformState={afterTransform:ie.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",ue)}function ue(){var oe=this;typeof this._flush=="function"?this._flush(function(re,z){ae(oe,re,z)}):ae(this,null,null)}ce.prototype.push=function(oe,re){return this._transformState.needTransform=!1,se.prototype.push.call(this,oe,re)},ce.prototype._transform=function(oe,re,z){throw new Error("_transform() is not implemented")},ce.prototype._write=function(oe,re,z){var a=this._transformState;if(a.writecb=z,a.writechunk=oe,a.writeencoding=re,!a.transforming){var y=this._readableState;(a.needTransform||y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}},ce.prototype._read=function(oe){var re=this._transformState;re.writechunk!==null&&re.writecb&&!re.transforming?(re.transforming=!0,this._transform(re.writechunk,re.writeencoding,re.afterTransform)):re.needTransform=!0},ce.prototype._destroy=function(oe,re){var z=this;se.prototype._destroy.call(this,oe,function(a){re(a),z.emit("close")})};function ae(oe,re,z){if(re)return oe.emit("error",re);if(z!=null&&oe.push(z),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(E,pe,de){(function(se,ne,ie){(function(){"use strict";var ce=E("process-nextick-args");pe.exports=he;function ue(ke,ze,et){this.chunk=ke,this.encoding=ze,this.callback=et,this.next=null}function ae(ke){var ze=this;this.next=null,this.entry=null,this.finish=function(){Ze(ze,ke)}}var oe=!se.browser&&["v0.10","v0.9."].indexOf(se.version.slice(0,5))>-1?ie:ce.nextTick,re;he.WritableState=ge;var z=Object.create(E("core-util-is"));z.inherits=E("inherits");var a={deprecate:E("util-deprecate")},y=E("./internal/streams/stream"),x=E("safe-buffer").Buffer,b=ne.Uint8Array||function(){};function ee(ke){return x.from(ke)}function te(ke){return x.isBuffer(ke)||ke instanceof b}var le=E("./internal/streams/destroy");z.inherits(he,y);function fe(){}function ge(ke,ze){re=re||E("./_stream_duplex"),ke=ke||{};var et=ze instanceof re;this.objectMode=!!ke.objectMode,et&&(this.objectMode=this.objectMode||!!ke.writableObjectMode);var Je=ke.highWaterMark,ut=ke.writableHighWaterMark,Qe=this.objectMode?16:16*1024;Je||Je===0?this.highWaterMark=Je:et&&(ut||ut===0)?this.highWaterMark=ut:this.highWaterMark=Qe,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Ue=ke.decodeStrings===!1;this.decodeStrings=!Ue,this.defaultEncoding=ke.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Re){Ce(ze,Re)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new ae(this)}ge.prototype.getBuffer=function(){for(var ze=this.bufferedRequest,et=[];ze;)et.push(ze),ze=ze.next;return et},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 me;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(me=Function.prototype[Symbol.hasInstance],Object.defineProperty(he,Symbol.hasInstance,{value:function(ke){return me.call(this,ke)?!0:this!==he?!1:ke&&ke._writableState instanceof ge}})):me=function(ke){return ke instanceof this};function he(ke){if(re=re||E("./_stream_duplex"),!me.call(he,this)&&!(this instanceof re))return new he(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)}he.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function Se(ke,ze){var et=new Error("write after end");ke.emit("error",et),ce.nextTick(ze,et)}function ye(ke,ze,et,Je){var ut=!0,Qe=!1;return et===null?Qe=new TypeError("May not write null values to stream"):typeof et!="string"&&et!==void 0&&!ze.objectMode&&(Qe=new TypeError("Invalid non-string/buffer chunk")),Qe&&(ke.emit("error",Qe),ce.nextTick(Je,Qe),ut=!1),ut}he.prototype.write=function(ke,ze,et){var Je=this._writableState,ut=!1,Qe=!Je.objectMode&&te(ke);return Qe&&!x.isBuffer(ke)&&(ke=ee(ke)),typeof ze=="function"&&(et=ze,ze=null),Qe?ze="buffer":ze||(ze=Je.defaultEncoding),typeof et!="function"&&(et=fe),Je.ended?Se(this,et):(Qe||ye(this,Je,ke,et))&&(Je.pendingcb++,ut=we(this,Je,Qe,ke,ze,et)),ut},he.prototype.cork=function(){var ke=this._writableState;ke.corked++},he.prototype.uncork=function(){var ke=this._writableState;ke.corked&&(ke.corked--,!ke.writing&&!ke.corked&&!ke.finished&&!ke.bufferProcessing&&ke.bufferedRequest&&Ge(this,ke))},he.prototype.setDefaultEncoding=function(ze){if(typeof ze=="string"&&(ze=ze.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((ze+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+ze);return this._writableState.defaultEncoding=ze,this};function Pe(ke,ze,et){return!ke.objectMode&&ke.decodeStrings!==!1&&typeof ze=="string"&&(ze=x.from(ze,et)),ze}Object.defineProperty(he.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function we(ke,ze,et,Je,ut,Qe){if(!et){var Ue=Pe(ze,Je,ut);Je!==Ue&&(et=!0,ut="buffer",Je=Ue)}var Re=ze.objectMode?1:Je.length;ze.length+=Re;var $e=ze.length<ze.highWaterMark;if($e||(ze.needDrain=!0),ze.writing||ze.corked){var Le=ze.lastBufferedRequest;ze.lastBufferedRequest={chunk:Je,encoding:ut,isBuf:et,callback:Qe,next:null},Le?Le.next=ze.lastBufferedRequest:ze.bufferedRequest=ze.lastBufferedRequest,ze.bufferedRequestCount+=1}else De(ke,ze,!1,Re,Je,ut,Qe);return $e}function De(ke,ze,et,Je,ut,Qe,Ue){ze.writelen=Je,ze.writecb=Ue,ze.writing=!0,ze.sync=!0,et?ke._writev(ut,ze.onwrite):ke._write(ut,Qe,ze.onwrite),ze.sync=!1}function xe(ke,ze,et,Je,ut){--ze.pendingcb,et?(ce.nextTick(ut,Je),ce.nextTick(Ve,ke,ze),ke._writableState.errorEmitted=!0,ke.emit("error",Je)):(ut(Je),ke._writableState.errorEmitted=!0,ke.emit("error",Je),Ve(ke,ze))}function Ae(ke){ke.writing=!1,ke.writecb=null,ke.length-=ke.writelen,ke.writelen=0}function Ce(ke,ze){var et=ke._writableState,Je=et.sync,ut=et.writecb;if(Ae(et),ze)xe(ke,et,Je,ze,ut);else{var Qe=Be(et);!Qe&&!et.corked&&!et.bufferProcessing&&et.bufferedRequest&&Ge(ke,et),Je?oe(je,ke,et,Qe,ut):je(ke,et,Qe,ut)}}function je(ke,ze,et,Je){et||Fe(ke,ze),ze.pendingcb--,Je(),Ve(ke,ze)}function Fe(ke,ze){ze.length===0&&ze.needDrain&&(ze.needDrain=!1,ke.emit("drain"))}function Ge(ke,ze){ze.bufferProcessing=!0;var et=ze.bufferedRequest;if(ke._writev&&et&&et.next){var Je=ze.bufferedRequestCount,ut=new Array(Je),Qe=ze.corkedRequestsFree;Qe.entry=et;for(var Ue=0,Re=!0;et;)ut[Ue]=et,et.isBuf||(Re=!1),et=et.next,Ue+=1;ut.allBuffers=Re,De(ke,ze,!0,ze.length,ut,"",Qe.finish),ze.pendingcb++,ze.lastBufferedRequest=null,Qe.next?(ze.corkedRequestsFree=Qe.next,Qe.next=null):ze.corkedRequestsFree=new ae(ze),ze.bufferedRequestCount=0}else{for(;et;){var $e=et.chunk,Le=et.encoding,Ne=et.callback,qe=ze.objectMode?1:$e.length;if(De(ke,ze,!1,qe,$e,Le,Ne),et=et.next,ze.bufferedRequestCount--,ze.writing)break}et===null&&(ze.lastBufferedRequest=null)}ze.bufferedRequest=et,ze.bufferProcessing=!1}he.prototype._write=function(ke,ze,et){et(new Error("_write() is not implemented"))},he.prototype._writev=null,he.prototype.end=function(ke,ze,et){var Je=this._writableState;typeof ke=="function"?(et=ke,ke=null,ze=null):typeof ze=="function"&&(et=ze,ze=null),ke!=null&&this.write(ke,ze),Je.corked&&(Je.corked=1,this.uncork()),!Je.ending&&!Je.finished&&Xe(this,Je,et)};function Be(ke){return ke.ending&&ke.length===0&&ke.bufferedRequest===null&&!ke.finished&&!ke.writing}function tt(ke,ze){ke._final(function(et){ze.pendingcb--,et&&ke.emit("error",et),ze.prefinished=!0,ke.emit("prefinish"),Ve(ke,ze)})}function Ye(ke,ze){!ze.prefinished&&!ze.finalCalled&&(typeof ke._final=="function"?(ze.pendingcb++,ze.finalCalled=!0,ce.nextTick(tt,ke,ze)):(ze.prefinished=!0,ke.emit("prefinish")))}function Ve(ke,ze){var et=Be(ze);return et&&(Ye(ke,ze),ze.pendingcb===0&&(ze.finished=!0,ke.emit("finish"))),et}function Xe(ke,ze,et){ze.ending=!0,Ve(ke,ze),et&&(ze.finished?ce.nextTick(et):ke.once("finish",et)),ze.ended=!0,ke.writable=!1}function Ze(ke,ze,et){var Je=ke.entry;for(ke.entry=null;Je;){var ut=Je.callback;ze.pendingcb--,ut(et),Je=Je.next}ze.corkedRequestsFree?ze.corkedRequestsFree.next=ke:ze.corkedRequestsFree=ke}Object.defineProperty(he.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(ke){this._writableState&&(this._writableState.destroyed=ke)}}),he.prototype.destroy=le.destroy,he.prototype._undestroy=le.undestroy,he.prototype._destroy=function(ke,ze){this.end(),ze(ke)}}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("timers").setImmediate)},{"./_stream_duplex":386,"./internal/streams/destroy":392,"./internal/streams/stream":393,_process:467,"core-util-is":341,inherits:364,"process-nextick-args":380,"safe-buffer":396,timers:414,"util-deprecate":416}],391:[function(E,pe,de){"use strict";function se(ue,ae){if(!(ue instanceof ae))throw new TypeError("Cannot call a class as a function")}var ne=E("safe-buffer").Buffer,ie=E("util");function ce(ue,ae,oe){ue.copy(ae,oe)}pe.exports=function(){function ue(){se(this,ue),this.head=null,this.tail=null,this.length=0}return ue.prototype.push=function(oe){var re={data:oe,next:null};this.length>0?this.tail.next=re:this.head=re,this.tail=re,++this.length},ue.prototype.unshift=function(oe){var re={data:oe,next:this.head};this.length===0&&(this.tail=re),this.head=re,++this.length},ue.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}},ue.prototype.clear=function(){this.head=this.tail=null,this.length=0},ue.prototype.join=function(oe){if(this.length===0)return"";for(var re=this.head,z=""+re.data;re=re.next;)z+=oe+re.data;return z},ue.prototype.concat=function(oe){if(this.length===0)return ne.alloc(0);if(this.length===1)return this.head.data;for(var re=ne.allocUnsafe(oe>>>0),z=this.head,a=0;z;)ce(z.data,re,a),a+=z.data.length,z=z.next;return re},ue}(),ie&&ie.inspect&&ie.inspect.custom&&(pe.exports.prototype[ie.inspect.custom]=function(){var ue=ie.inspect({length:this.length});return this.constructor.name+" "+ue})},{"safe-buffer":396,util:89}],392:[function(E,pe,de){"use strict";var se=E("process-nextick-args");function ne(ue,ae){var oe=this,re=this._readableState&&this._readableState.destroyed,z=this._writableState&&this._writableState.destroyed;return re||z?(ae?ae(ue):ue&&(!this._writableState||!this._writableState.errorEmitted)&&se.nextTick(ce,this,ue),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ue||null,function(a){!ae&&a?(se.nextTick(ce,oe,a),oe._writableState&&(oe._writableState.errorEmitted=!0)):ae&&ae(a)}),this)}function ie(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function ce(ue,ae){ue.emit("error",ae)}pe.exports={destroy:ne,undestroy:ie}},{"process-nextick-args":380}],393:[function(E,pe,de){pe.exports=E("events").EventEmitter},{events:344}],394:[function(E,pe,de){de=pe.exports=E("./lib/_stream_readable.js"),de.Stream=de,de.Readable=de,de.Writable=E("./lib/_stream_writable.js"),de.Duplex=E("./lib/_stream_duplex.js"),de.Transform=E("./lib/_stream_transform.js"),de.PassThrough=E("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":386,"./lib/_stream_passthrough.js":387,"./lib/_stream_readable.js":388,"./lib/_stream_transform.js":389,"./lib/_stream_writable.js":390}],395:[function(E,pe,de){var se=function(ne){"use strict";var ie=Object.prototype,ce=ie.hasOwnProperty,ue,ae=typeof Symbol=="function"?Symbol:{},oe=ae.iterator||"@@iterator",re=ae.asyncIterator||"@@asyncIterator",z=ae.toStringTag||"@@toStringTag";function a(Ye,Ve,Xe){return Object.defineProperty(Ye,Ve,{value:Xe,enumerable:!0,configurable:!0,writable:!0}),Ye[Ve]}try{a({},"")}catch(Ye){a=function(Ve,Xe,Ze){return Ve[Xe]=Ze}}function y(Ye,Ve,Xe,Ze){var ke=Ve&&Ve.prototype instanceof ge?Ve:ge,ze=Object.create(ke.prototype),et=new Ge(Ze||[]);return ze._invoke=Ae(Ye,Xe,et),ze}ne.wrap=y;function x(Ye,Ve,Xe){try{return{type:"normal",arg:Ye.call(Ve,Xe)}}catch(Ze){return{type:"throw",arg:Ze}}}var b="suspendedStart",ee="suspendedYield",te="executing",le="completed",fe={};function ge(){}function me(){}function he(){}var Se={};a(Se,oe,function(){return this});var ye=Object.getPrototypeOf,Pe=ye&&ye(ye(Be([])));Pe&&Pe!==ie&&ce.call(Pe,oe)&&(Se=Pe);var we=he.prototype=ge.prototype=Object.create(Se);me.prototype=he,a(we,"constructor",he),a(he,"constructor",me),me.displayName=a(he,z,"GeneratorFunction");function De(Ye){["next","throw","return"].forEach(function(Ve){a(Ye,Ve,function(Xe){return this._invoke(Ve,Xe)})})}ne.isGeneratorFunction=function(Ye){var Ve=typeof Ye=="function"&&Ye.constructor;return Ve?Ve===me||(Ve.displayName||Ve.name)==="GeneratorFunction":!1},ne.mark=function(Ye){return Object.setPrototypeOf?Object.setPrototypeOf(Ye,he):(Ye.__proto__=he,a(Ye,z,"GeneratorFunction")),Ye.prototype=Object.create(we),Ye},ne.awrap=function(Ye){return{__await:Ye}};function xe(Ye,Ve){function Xe(ze,et,Je,ut){var Qe=x(Ye[ze],Ye,et);if(Qe.type==="throw")ut(Qe.arg);else{var Ue=Qe.arg,Re=Ue.value;return Re&&typeof Re=="object"&&ce.call(Re,"__await")?Ve.resolve(Re.__await).then(function($e){Xe("next",$e,Je,ut)},function($e){Xe("throw",$e,Je,ut)}):Ve.resolve(Re).then(function($e){Ue.value=$e,Je(Ue)},function($e){return Xe("throw",$e,Je,ut)})}}var Ze;function ke(ze,et){function Je(){return new Ve(function(ut,Qe){Xe(ze,et,ut,Qe)})}return Ze=Ze?Ze.then(Je,Je):Je()}this._invoke=ke}De(xe.prototype),a(xe.prototype,re,function(){return this}),ne.AsyncIterator=xe,ne.async=function(Ye,Ve,Xe,Ze,ke){ke===void 0&&(ke=Promise);var ze=new xe(y(Ye,Ve,Xe,Ze),ke);return ne.isGeneratorFunction(Ve)?ze:ze.next().then(function(et){return et.done?et.value:ze.next()})};function Ae(Ye,Ve,Xe){var Ze=b;return function(ze,et){if(Ze===te)throw new Error("Generator is already running");if(Ze===le){if(ze==="throw")throw et;return tt()}for(Xe.method=ze,Xe.arg=et;;){var Je=Xe.delegate;if(Je){var ut=Ce(Je,Xe);if(ut){if(ut===fe)continue;return ut}}if(Xe.method==="next")Xe.sent=Xe._sent=Xe.arg;else if(Xe.method==="throw"){if(Ze===b)throw Ze=le,Xe.arg;Xe.dispatchException(Xe.arg)}else Xe.method==="return"&&Xe.abrupt("return",Xe.arg);Ze=te;var Qe=x(Ye,Ve,Xe);if(Qe.type==="normal"){if(Ze=Xe.done?le:ee,Qe.arg===fe)continue;return{value:Qe.arg,done:Xe.done}}else Qe.type==="throw"&&(Ze=le,Xe.method="throw",Xe.arg=Qe.arg)}}}function Ce(Ye,Ve){var Xe=Ye.iterator[Ve.method];if(Xe===ue){if(Ve.delegate=null,Ve.method==="throw"){if(Ye.iterator.return&&(Ve.method="return",Ve.arg=ue,Ce(Ye,Ve),Ve.method==="throw"))return fe;Ve.method="throw",Ve.arg=new TypeError("The iterator does not provide a 'throw' method")}return fe}var Ze=x(Xe,Ye.iterator,Ve.arg);if(Ze.type==="throw")return Ve.method="throw",Ve.arg=Ze.arg,Ve.delegate=null,fe;var ke=Ze.arg;if(!ke)return Ve.method="throw",Ve.arg=new TypeError("iterator result is not an object"),Ve.delegate=null,fe;if(ke.done)Ve[Ye.resultName]=ke.value,Ve.next=Ye.nextLoc,Ve.method!=="return"&&(Ve.method="next",Ve.arg=ue);else return ke;return Ve.delegate=null,fe}De(we),a(we,z,"Generator"),a(we,oe,function(){return this}),a(we,"toString",function(){return"[object Generator]"});function je(Ye){var Ve={tryLoc:Ye[0]};1 in Ye&&(Ve.catchLoc=Ye[1]),2 in Ye&&(Ve.finallyLoc=Ye[2],Ve.afterLoc=Ye[3]),this.tryEntries.push(Ve)}function Fe(Ye){var Ve=Ye.completion||{};Ve.type="normal",delete Ve.arg,Ye.completion=Ve}function Ge(Ye){this.tryEntries=[{tryLoc:"root"}],Ye.forEach(je,this),this.reset(!0)}ne.keys=function(Ye){var Ve=[];for(var Xe in Ye)Ve.push(Xe);return Ve.reverse(),function Ze(){for(;Ve.length;){var ke=Ve.pop();if(ke in Ye)return Ze.value=ke,Ze.done=!1,Ze}return Ze.done=!0,Ze}};function Be(Ye){if(Ye){var Ve=Ye[oe];if(Ve)return Ve.call(Ye);if(typeof Ye.next=="function")return Ye;if(!isNaN(Ye.length)){var Xe=-1,Ze=function ke(){for(;++Xe<Ye.length;)if(ce.call(Ye,Xe))return ke.value=Ye[Xe],ke.done=!1,ke;return ke.value=ue,ke.done=!0,ke};return Ze.next=Ze}}return{next:tt}}ne.values=Be;function tt(){return{value:ue,done:!0}}return Ge.prototype={constructor:Ge,reset:function(Ye){if(this.prev=0,this.next=0,this.sent=this._sent=ue,this.done=!1,this.delegate=null,this.method="next",this.arg=ue,this.tryEntries.forEach(Fe),!Ye)for(var Ve in this)Ve.charAt(0)==="t"&&ce.call(this,Ve)&&!isNaN(+Ve.slice(1))&&(this[Ve]=ue)},stop:function(){this.done=!0;var Ye=this.tryEntries[0],Ve=Ye.completion;if(Ve.type==="throw")throw Ve.arg;return this.rval},dispatchException:function(Ye){if(this.done)throw Ye;var Ve=this;function Xe(ut,Qe){return ze.type="throw",ze.arg=Ye,Ve.next=ut,Qe&&(Ve.method="next",Ve.arg=ue),!!Qe}for(var Ze=this.tryEntries.length-1;Ze>=0;--Ze){var ke=this.tryEntries[Ze],ze=ke.completion;if(ke.tryLoc==="root")return Xe("end");if(ke.tryLoc<=this.prev){var et=ce.call(ke,"catchLoc"),Je=ce.call(ke,"finallyLoc");if(et&&Je){if(this.prev<ke.catchLoc)return Xe(ke.catchLoc,!0);if(this.prev<ke.finallyLoc)return Xe(ke.finallyLoc)}else if(et){if(this.prev<ke.catchLoc)return Xe(ke.catchLoc,!0)}else if(Je){if(this.prev<ke.finallyLoc)return Xe(ke.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(Ye,Ve){for(var Xe=this.tryEntries.length-1;Xe>=0;--Xe){var Ze=this.tryEntries[Xe];if(Ze.tryLoc<=this.prev&&ce.call(Ze,"finallyLoc")&&this.prev<Ze.finallyLoc){var ke=Ze;break}}ke&&(Ye==="break"||Ye==="continue")&&ke.tryLoc<=Ve&&Ve<=ke.finallyLoc&&(ke=null);var ze=ke?ke.completion:{};return ze.type=Ye,ze.arg=Ve,ke?(this.method="next",this.next=ke.finallyLoc,fe):this.complete(ze)},complete:function(Ye,Ve){if(Ye.type==="throw")throw Ye.arg;return Ye.type==="break"||Ye.type==="continue"?this.next=Ye.arg:Ye.type==="return"?(this.rval=this.arg=Ye.arg,this.method="return",this.next="end"):Ye.type==="normal"&&Ve&&(this.next=Ve),fe},finish:function(Ye){for(var Ve=this.tryEntries.length-1;Ve>=0;--Ve){var Xe=this.tryEntries[Ve];if(Xe.finallyLoc===Ye)return this.complete(Xe.completion,Xe.afterLoc),Fe(Xe),fe}},catch:function(Ye){for(var Ve=this.tryEntries.length-1;Ve>=0;--Ve){var Xe=this.tryEntries[Ve];if(Xe.tryLoc===Ye){var Ze=Xe.completion;if(Ze.type==="throw"){var ke=Ze.arg;Fe(Xe)}return ke}}throw new Error("illegal catch attempt")},delegateYield:function(Ye,Ve,Xe){return this.delegate={iterator:Be(Ye),resultName:Ve,nextLoc:Xe},this.method==="next"&&(this.arg=ue),fe}},ne}(typeof pe=="object"?pe.exports:{});try{regeneratorRuntime=se}catch(ne){typeof globalThis=="object"?globalThis.regeneratorRuntime=se:Function("r","regeneratorRuntime = r")(se)}},{}],396:[function(E,pe,de){var se=E("buffer"),ne=se.Buffer;function ie(ue,ae){for(var oe in ue)ae[oe]=ue[oe]}ne.from&&ne.alloc&&ne.allocUnsafe&&ne.allocUnsafeSlow?pe.exports=se:(ie(se,de),de.Buffer=ce);function ce(ue,ae,oe){return ne(ue,ae,oe)}ie(ne,ce),ce.from=function(ue,ae,oe){if(typeof ue=="number")throw new TypeError("Argument must not be a number");return ne(ue,ae,oe)},ce.alloc=function(ue,ae,oe){if(typeof ue!="number")throw new TypeError("Argument must be a number");var re=ne(ue);return ae!==void 0?typeof oe=="string"?re.fill(ae,oe):re.fill(ae):re.fill(0),re},ce.allocUnsafe=function(ue){if(typeof ue!="number")throw new TypeError("Argument must be a number");return ne(ue)},ce.allocUnsafeSlow=function(ue){if(typeof ue!="number")throw new TypeError("Argument must be a number");return se.SlowBuffer(ue)}},{buffer:90}],397:[function(E,pe,de){(function(se){(function(){(function(ne){ne.parser=function(Ue,Re){return new ce(Ue,Re)},ne.SAXParser=ce,ne.SAXStream=y,ne.createStream=a,ne.MAX_BUFFER_LENGTH=64*1024;var ie=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];ne.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function ce(Ue,Re){if(!(this instanceof ce))return new ce(Ue,Re);var $e=this;ae($e),$e.q=$e.c="",$e.bufferCheckPosition=ne.MAX_BUFFER_LENGTH,$e.opt=Re||{},$e.opt.lowercase=$e.opt.lowercase||$e.opt.lowercasetags,$e.looseCase=$e.opt.lowercase?"toLowerCase":"toUpperCase",$e.tags=[],$e.closed=$e.closedRoot=$e.sawRoot=!1,$e.tag=$e.error=null,$e.strict=!!Ue,$e.noscript=!!(Ue||$e.opt.noscript),$e.state=xe.BEGIN,$e.strictEntities=$e.opt.strictEntities,$e.ENTITIES=$e.strictEntities?Object.create(ne.XML_ENTITIES):Object.create(ne.ENTITIES),$e.attribList=[],$e.opt.xmlns&&($e.ns=Object.create(le)),$e.trackPosition=$e.opt.position!==!1,$e.trackPosition&&($e.position=$e.line=$e.column=0),Ce($e,"onready")}Object.create||(Object.create=function(Ue){function Re(){}Re.prototype=Ue;var $e=new Re;return $e}),Object.keys||(Object.keys=function(Ue){var Re=[];for(var $e in Ue)Ue.hasOwnProperty($e)&&Re.push($e);return Re});function ue(Ue){for(var Re=Math.max(ne.MAX_BUFFER_LENGTH,10),$e=0,Le=0,Ne=ie.length;Le<Ne;Le++){var qe=Ue[ie[Le]].length;if(qe>Re)switch(ie[Le]){case"textNode":Fe(Ue);break;case"cdata":je(Ue,"oncdata",Ue.cdata),Ue.cdata="";break;case"script":je(Ue,"onscript",Ue.script),Ue.script="";break;default:Be(Ue,"Max buffer length exceeded: "+ie[Le])}$e=Math.max($e,qe)}var We=ne.MAX_BUFFER_LENGTH-$e;Ue.bufferCheckPosition=We+Ue.position}function ae(Ue){for(var Re=0,$e=ie.length;Re<$e;Re++)Ue[ie[Re]]=""}function oe(Ue){Fe(Ue),Ue.cdata!==""&&(je(Ue,"oncdata",Ue.cdata),Ue.cdata=""),Ue.script!==""&&(je(Ue,"onscript",Ue.script),Ue.script="")}ce.prototype={end:function(){tt(this)},write:Qe,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){oe(this)}};var re;try{re=E("stream").Stream}catch(Ue){re=function(){}}var z=ne.EVENTS.filter(function(Ue){return Ue!=="error"&&Ue!=="end"});function a(Ue,Re){return new y(Ue,Re)}function y(Ue,Re){if(!(this instanceof y))return new y(Ue,Re);re.apply(this),this._parser=new ce(Ue,Re),this.writable=!0,this.readable=!0;var $e=this;this._parser.onend=function(){$e.emit("end")},this._parser.onerror=function(Le){$e.emit("error",Le),$e._parser.error=null},this._decoder=null,z.forEach(function(Le){Object.defineProperty($e,"on"+Le,{get:function(){return $e._parser["on"+Le]},set:function(Ne){if(!Ne)return $e.removeAllListeners(Le),$e._parser["on"+Le]=Ne,Ne;$e.on(Le,Ne)},enumerable:!0,configurable:!1})})}y.prototype=Object.create(re.prototype,{constructor:{value:y}}),y.prototype.write=function(Ue){if(typeof se=="function"&&typeof se.isBuffer=="function"&&se.isBuffer(Ue)){if(!this._decoder){var Re=E("string_decoder").StringDecoder;this._decoder=new Re("utf8")}Ue=this._decoder.write(Ue)}return this._parser.write(Ue.toString()),this.emit("data",Ue),!0},y.prototype.end=function(Ue){return Ue&&Ue.length&&this.write(Ue),this._parser.end(),!0},y.prototype.on=function(Ue,Re){var $e=this;return!$e._parser["on"+Ue]&&z.indexOf(Ue)!==-1&&($e._parser["on"+Ue]=function(){var Le=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);Le.splice(0,0,Ue),$e.emit.apply($e,Le)}),re.prototype.on.call($e,Ue,Re)};var x="[CDATA[",b="DOCTYPE",ee="http://www.w3.org/XML/1998/namespace",te="http://www.w3.org/2000/xmlns/",le={xml:ee,xmlns:te},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]/,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-]/,me=/[#:_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]/,he=/[#:_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 Se(Ue){return Ue===" "||Ue===`
|
|
|
`||Ue==="\r"||Ue===" "}function ye(Ue){return Ue==='"'||Ue==="'"}function Pe(Ue){return Ue===">"||Se(Ue)}function we(Ue,Re){return Ue.test(Re)}function De(Ue,Re){return!we(Ue,Re)}var xe=0;ne.STATE={BEGIN:xe++,BEGIN_WHITESPACE:xe++,TEXT:xe++,TEXT_ENTITY:xe++,OPEN_WAKA:xe++,SGML_DECL:xe++,SGML_DECL_QUOTED:xe++,DOCTYPE:xe++,DOCTYPE_QUOTED:xe++,DOCTYPE_DTD:xe++,DOCTYPE_DTD_QUOTED:xe++,COMMENT_STARTING:xe++,COMMENT:xe++,COMMENT_ENDING:xe++,COMMENT_ENDED:xe++,CDATA:xe++,CDATA_ENDING:xe++,CDATA_ENDING_2:xe++,PROC_INST:xe++,PROC_INST_BODY:xe++,PROC_INST_ENDING:xe++,OPEN_TAG:xe++,OPEN_TAG_SLASH:xe++,ATTRIB:xe++,ATTRIB_NAME:xe++,ATTRIB_NAME_SAW_WHITE:xe++,ATTRIB_VALUE:xe++,ATTRIB_VALUE_QUOTED:xe++,ATTRIB_VALUE_CLOSED:xe++,ATTRIB_VALUE_UNQUOTED:xe++,ATTRIB_VALUE_ENTITY_Q:xe++,ATTRIB_VALUE_ENTITY_U:xe++,CLOSE_TAG:xe++,CLOSE_TAG_SAW_WHITE:xe++,SCRIPT:xe++,SCRIPT_ENDING:xe++},ne.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},ne.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(ne.ENTITIES).forEach(function(Ue){var Re=ne.ENTITIES[Ue],$e=typeof Re=="number"?String.fromCharCode(Re):Re;ne.ENTITIES[Ue]=$e});for(var Ae in ne.STATE)ne.STATE[ne.STATE[Ae]]=Ae;xe=ne.STATE;function Ce(Ue,Re,$e){Ue[Re]&&Ue[Re]($e)}function je(Ue,Re,$e){Ue.textNode&&Fe(Ue),Ce(Ue,Re,$e)}function Fe(Ue){Ue.textNode=Ge(Ue.opt,Ue.textNode),Ue.textNode&&Ce(Ue,"ontext",Ue.textNode),Ue.textNode=""}function Ge(Ue,Re){return Ue.trim&&(Re=Re.trim()),Ue.normalize&&(Re=Re.replace(/\s+/g," ")),Re}function Be(Ue,Re){return Fe(Ue),Ue.trackPosition&&(Re+=`
|
|
|
Line: `+Ue.line+`
|
|
|
Column: `+Ue.column+`
|
|
|
Char: `+Ue.c),Re=new Error(Re),Ue.error=Re,Ce(Ue,"onerror",Re),Ue}function tt(Ue){return Ue.sawRoot&&!Ue.closedRoot&&Ye(Ue,"Unclosed root tag"),Ue.state!==xe.BEGIN&&Ue.state!==xe.BEGIN_WHITESPACE&&Ue.state!==xe.TEXT&&Be(Ue,"Unexpected end"),Fe(Ue),Ue.c="",Ue.closed=!0,Ce(Ue,"onend"),ce.call(Ue,Ue.strict,Ue.opt),Ue}function Ye(Ue,Re){if(typeof Ue!="object"||!(Ue instanceof ce))throw new Error("bad call to strictFail");Ue.strict&&Be(Ue,Re)}function Ve(Ue){Ue.strict||(Ue.tagName=Ue.tagName[Ue.looseCase]());var Re=Ue.tags[Ue.tags.length-1]||Ue,$e=Ue.tag={name:Ue.tagName,attributes:{}};Ue.opt.xmlns&&($e.ns=Re.ns),Ue.attribList.length=0,je(Ue,"onopentagstart",$e)}function Xe(Ue,Re){var $e=Ue.indexOf(":"),Le=$e<0?["",Ue]:Ue.split(":"),Ne=Le[0],qe=Le[1];return Re&&Ue==="xmlns"&&(Ne="xmlns",qe=""),{prefix:Ne,local:qe}}function Ze(Ue){if(Ue.strict||(Ue.attribName=Ue.attribName[Ue.looseCase]()),Ue.attribList.indexOf(Ue.attribName)!==-1||Ue.tag.attributes.hasOwnProperty(Ue.attribName)){Ue.attribName=Ue.attribValue="";return}if(Ue.opt.xmlns){var Re=Xe(Ue.attribName,!0),$e=Re.prefix,Le=Re.local;if($e==="xmlns")if(Le==="xml"&&Ue.attribValue!==ee)Ye(Ue,"xml: prefix must be bound to "+ee+`
|
|
|
Actual: `+Ue.attribValue);else if(Le==="xmlns"&&Ue.attribValue!==te)Ye(Ue,"xmlns: prefix must be bound to "+te+`
|
|
|
Actual: `+Ue.attribValue);else{var Ne=Ue.tag,qe=Ue.tags[Ue.tags.length-1]||Ue;Ne.ns===qe.ns&&(Ne.ns=Object.create(qe.ns)),Ne.ns[Le]=Ue.attribValue}Ue.attribList.push([Ue.attribName,Ue.attribValue])}else Ue.tag.attributes[Ue.attribName]=Ue.attribValue,je(Ue,"onattribute",{name:Ue.attribName,value:Ue.attribValue});Ue.attribName=Ue.attribValue=""}function ke(Ue,Re){if(Ue.opt.xmlns){var $e=Ue.tag,Le=Xe(Ue.tagName);$e.prefix=Le.prefix,$e.local=Le.local,$e.uri=$e.ns[Le.prefix]||"",$e.prefix&&!$e.uri&&(Ye(Ue,"Unbound namespace prefix: "+JSON.stringify(Ue.tagName)),$e.uri=Le.prefix);var Ne=Ue.tags[Ue.tags.length-1]||Ue;$e.ns&&Ne.ns!==$e.ns&&Object.keys($e.ns).forEach(function(nt){je(Ue,"onopennamespace",{prefix:nt,uri:$e.ns[nt]})});for(var qe=0,We=Ue.attribList.length;qe<We;qe++){var Me=Ue.attribList[qe],Te=Me[0],Oe=Me[1],Ee=Xe(Te,!0),Ie=Ee.prefix,Ke=Ee.local,at=Ie===""?"":$e.ns[Ie]||"",He={name:Te,value:Oe,prefix:Ie,local:Ke,uri:at};Ie&&Ie!=="xmlns"&&!at&&(Ye(Ue,"Unbound namespace prefix: "+JSON.stringify(Ie)),He.uri=Ie),Ue.tag.attributes[Te]=He,je(Ue,"onattribute",He)}Ue.attribList.length=0}Ue.tag.isSelfClosing=!!Re,Ue.sawRoot=!0,Ue.tags.push(Ue.tag),je(Ue,"onopentag",Ue.tag),Re||(!Ue.noscript&&Ue.tagName.toLowerCase()==="script"?Ue.state=xe.SCRIPT:Ue.state=xe.TEXT,Ue.tag=null,Ue.tagName=""),Ue.attribName=Ue.attribValue="",Ue.attribList.length=0}function ze(Ue){if(!Ue.tagName){Ye(Ue,"Weird empty close tag."),Ue.textNode+="</>",Ue.state=xe.TEXT;return}if(Ue.script){if(Ue.tagName!=="script"){Ue.script+="</"+Ue.tagName+">",Ue.tagName="",Ue.state=xe.SCRIPT;return}je(Ue,"onscript",Ue.script),Ue.script=""}var Re=Ue.tags.length,$e=Ue.tagName;Ue.strict||($e=$e[Ue.looseCase]());for(var Le=$e;Re--;){var Ne=Ue.tags[Re];if(Ne.name!==Le)Ye(Ue,"Unexpected close tag");else break}if(Re<0){Ye(Ue,"Unmatched closing tag: "+Ue.tagName),Ue.textNode+="</"+Ue.tagName+">",Ue.state=xe.TEXT;return}Ue.tagName=$e;for(var qe=Ue.tags.length;qe-- >Re;){var We=Ue.tag=Ue.tags.pop();Ue.tagName=Ue.tag.name,je(Ue,"onclosetag",Ue.tagName);var Me={};for(var Te in We.ns)Me[Te]=We.ns[Te];var Oe=Ue.tags[Ue.tags.length-1]||Ue;Ue.opt.xmlns&&We.ns!==Oe.ns&&Object.keys(We.ns).forEach(function(Ee){var Ie=We.ns[Ee];je(Ue,"onclosenamespace",{prefix:Ee,uri:Ie})})}Re===0&&(Ue.closedRoot=!0),Ue.tagName=Ue.attribValue=Ue.attribName="",Ue.attribList.length=0,Ue.state=xe.TEXT}function et(Ue){var Re=Ue.entity,$e=Re.toLowerCase(),Le,Ne="";return Ue.ENTITIES[Re]?Ue.ENTITIES[Re]:Ue.ENTITIES[$e]?Ue.ENTITIES[$e]:(Re=$e,Re.charAt(0)==="#"&&(Re.charAt(1)==="x"?(Re=Re.slice(2),Le=parseInt(Re,16),Ne=Le.toString(16)):(Re=Re.slice(1),Le=parseInt(Re,10),Ne=Le.toString(10))),Re=Re.replace(/^0+/,""),isNaN(Le)||Ne.toLowerCase()!==Re?(Ye(Ue,"Invalid character entity"),"&"+Ue.entity+";"):String.fromCodePoint(Le))}function Je(Ue,Re){Re==="<"?(Ue.state=xe.OPEN_WAKA,Ue.startTagPosition=Ue.position):Se(Re)||(Ye(Ue,"Non-whitespace before first tag."),Ue.textNode=Re,Ue.state=xe.TEXT)}function ut(Ue,Re){var $e="";return Re<Ue.length&&($e=Ue.charAt(Re)),$e}function Qe(Ue){var Re=this;if(this.error)throw this.error;if(Re.closed)return Be(Re,"Cannot write after close. Assign an onready handler.");if(Ue===null)return tt(Re);typeof Ue=="object"&&(Ue=Ue.toString());for(var $e=0,Le="";Le=ut(Ue,$e++),Re.c=Le,!!Le;)switch(Re.trackPosition&&(Re.position++,Le===`
|
|
|
`?(Re.line++,Re.column=0):Re.column++),Re.state){case xe.BEGIN:if(Re.state=xe.BEGIN_WHITESPACE,Le==="\uFEFF")continue;Je(Re,Le);continue;case xe.BEGIN_WHITESPACE:Je(Re,Le);continue;case xe.TEXT:if(Re.sawRoot&&!Re.closedRoot){for(var Ne=$e-1;Le&&Le!=="<"&&Le!=="&";)Le=ut(Ue,$e++),Le&&Re.trackPosition&&(Re.position++,Le===`
|
|
|
`?(Re.line++,Re.column=0):Re.column++);Re.textNode+=Ue.substring(Ne,$e-1)}Le==="<"&&!(Re.sawRoot&&Re.closedRoot&&!Re.strict)?(Re.state=xe.OPEN_WAKA,Re.startTagPosition=Re.position):(!Se(Le)&&(!Re.sawRoot||Re.closedRoot)&&Ye(Re,"Text data outside of root node."),Le==="&"?Re.state=xe.TEXT_ENTITY:Re.textNode+=Le);continue;case xe.SCRIPT:Le==="<"?Re.state=xe.SCRIPT_ENDING:Re.script+=Le;continue;case xe.SCRIPT_ENDING:Le==="/"?Re.state=xe.CLOSE_TAG:(Re.script+="<"+Le,Re.state=xe.SCRIPT);continue;case xe.OPEN_WAKA:if(Le==="!")Re.state=xe.SGML_DECL,Re.sgmlDecl="";else if(!Se(Le))if(we(fe,Le))Re.state=xe.OPEN_TAG,Re.tagName=Le;else if(Le==="/")Re.state=xe.CLOSE_TAG,Re.tagName="";else if(Le==="?")Re.state=xe.PROC_INST,Re.procInstName=Re.procInstBody="";else{if(Ye(Re,"Unencoded <"),Re.startTagPosition+1<Re.position){var qe=Re.position-Re.startTagPosition;Le=new Array(qe).join(" ")+Le}Re.textNode+="<"+Le,Re.state=xe.TEXT}continue;case xe.SGML_DECL:(Re.sgmlDecl+Le).toUpperCase()===x?(je(Re,"onopencdata"),Re.state=xe.CDATA,Re.sgmlDecl="",Re.cdata=""):Re.sgmlDecl+Le==="--"?(Re.state=xe.COMMENT,Re.comment="",Re.sgmlDecl=""):(Re.sgmlDecl+Le).toUpperCase()===b?(Re.state=xe.DOCTYPE,(Re.doctype||Re.sawRoot)&&Ye(Re,"Inappropriately located doctype declaration"),Re.doctype="",Re.sgmlDecl=""):Le===">"?(je(Re,"onsgmldeclaration",Re.sgmlDecl),Re.sgmlDecl="",Re.state=xe.TEXT):(ye(Le)&&(Re.state=xe.SGML_DECL_QUOTED),Re.sgmlDecl+=Le);continue;case xe.SGML_DECL_QUOTED:Le===Re.q&&(Re.state=xe.SGML_DECL,Re.q=""),Re.sgmlDecl+=Le;continue;case xe.DOCTYPE:Le===">"?(Re.state=xe.TEXT,je(Re,"ondoctype",Re.doctype),Re.doctype=!0):(Re.doctype+=Le,Le==="["?Re.state=xe.DOCTYPE_DTD:ye(Le)&&(Re.state=xe.DOCTYPE_QUOTED,Re.q=Le));continue;case xe.DOCTYPE_QUOTED:Re.doctype+=Le,Le===Re.q&&(Re.q="",Re.state=xe.DOCTYPE);continue;case xe.DOCTYPE_DTD:Re.doctype+=Le,Le==="]"?Re.state=xe.DOCTYPE:ye(Le)&&(Re.state=xe.DOCTYPE_DTD_QUOTED,Re.q=Le);continue;case xe.DOCTYPE_DTD_QUOTED:Re.doctype+=Le,Le===Re.q&&(Re.state=xe.DOCTYPE_DTD,Re.q="");continue;case xe.COMMENT:Le==="-"?Re.state=xe.COMMENT_ENDING:Re.comment+=Le;continue;case xe.COMMENT_ENDING:Le==="-"?(Re.state=xe.COMMENT_ENDED,Re.comment=Ge(Re.opt,Re.comment),Re.comment&&je(Re,"oncomment",Re.comment),Re.comment=""):(Re.comment+="-"+Le,Re.state=xe.COMMENT);continue;case xe.COMMENT_ENDED:Le!==">"?(Ye(Re,"Malformed comment"),Re.comment+="--"+Le,Re.state=xe.COMMENT):Re.state=xe.TEXT;continue;case xe.CDATA:Le==="]"?Re.state=xe.CDATA_ENDING:Re.cdata+=Le;continue;case xe.CDATA_ENDING:Le==="]"?Re.state=xe.CDATA_ENDING_2:(Re.cdata+="]"+Le,Re.state=xe.CDATA);continue;case xe.CDATA_ENDING_2:Le===">"?(Re.cdata&&je(Re,"oncdata",Re.cdata),je(Re,"onclosecdata"),Re.cdata="",Re.state=xe.TEXT):Le==="]"?Re.cdata+="]":(Re.cdata+="]]"+Le,Re.state=xe.CDATA);continue;case xe.PROC_INST:Le==="?"?Re.state=xe.PROC_INST_ENDING:Se(Le)?Re.state=xe.PROC_INST_BODY:Re.procInstName+=Le;continue;case xe.PROC_INST_BODY:if(!Re.procInstBody&&Se(Le))continue;Le==="?"?Re.state=xe.PROC_INST_ENDING:Re.procInstBody+=Le;continue;case xe.PROC_INST_ENDING:Le===">"?(je(Re,"onprocessinginstruction",{name:Re.procInstName,body:Re.procInstBody}),Re.procInstName=Re.procInstBody="",Re.state=xe.TEXT):(Re.procInstBody+="?"+Le,Re.state=xe.PROC_INST_BODY);continue;case xe.OPEN_TAG:we(ge,Le)?Re.tagName+=Le:(Ve(Re),Le===">"?ke(Re):Le==="/"?Re.state=xe.OPEN_TAG_SLASH:(Se(Le)||Ye(Re,"Invalid character in tag name"),Re.state=xe.ATTRIB));continue;case xe.OPEN_TAG_SLASH:Le===">"?(ke(Re,!0),ze(Re)):(Ye(Re,"Forward-slash in opening tag not followed by >"),Re.state=xe.ATTRIB);continue;case xe.ATTRIB:if(Se(Le))continue;Le===">"?ke(Re):Le==="/"?Re.state=xe.OPEN_TAG_SLASH:we(fe,Le)?(Re.attribName=Le,Re.attribValue="",Re.state=xe.ATTRIB_NAME):Ye(Re,"Invalid attribute name");continue;case xe.ATTRIB_NAME:Le==="="?Re.state=xe.ATTRIB_VALUE:Le===">"?(Ye(Re,"Attribute without value"),Re.attribValue=Re.attribName,Ze(Re),ke(Re)):Se(Le)?Re.state=xe.ATTRIB_NAME_SAW_WHITE:we(ge,Le)?Re.attribName+=Le:Ye(Re,"Invalid attribute name");continue;case xe.ATTRIB_NAME_SAW_WHITE:if(Le==="=")Re.state=xe.ATTRIB_VALUE;else{if(Se(Le))continue;Ye(Re,"Attribute without value"),Re.tag.attributes[Re.attribName]="",Re.attribValue="",je(Re,"onattribute",{name:Re.attribName,value:""}),Re.attribName="",Le===">"?ke(Re):we(fe,Le)?(Re.attribName=Le,Re.state=xe.ATTRIB_NAME):(Ye(Re,"Invalid attribute name"),Re.state=xe.ATTRIB)}continue;case xe.ATTRIB_VALUE:if(Se(Le))continue;ye(Le)?(Re.q=Le,Re.state=xe.ATTRIB_VALUE_QUOTED):(Ye(Re,"Unquoted attribute value"),Re.state=xe.ATTRIB_VALUE_UNQUOTED,Re.attribValue=Le);continue;case xe.ATTRIB_VALUE_QUOTED:if(Le!==Re.q){Le==="&"?Re.state=xe.ATTRIB_VALUE_ENTITY_Q:Re.attribValue+=Le;continue}Ze(Re),Re.q="",Re.state=xe.ATTRIB_VALUE_CLOSED;continue;case xe.ATTRIB_VALUE_CLOSED:Se(Le)?Re.state=xe.ATTRIB:Le===">"?ke(Re):Le==="/"?Re.state=xe.OPEN_TAG_SLASH:we(fe,Le)?(Ye(Re,"No whitespace between attributes"),Re.attribName=Le,Re.attribValue="",Re.state=xe.ATTRIB_NAME):Ye(Re,"Invalid attribute name");continue;case xe.ATTRIB_VALUE_UNQUOTED:if(!Pe(Le)){Le==="&"?Re.state=xe.ATTRIB_VALUE_ENTITY_U:Re.attribValue+=Le;continue}Ze(Re),Le===">"?ke(Re):Re.state=xe.ATTRIB;continue;case xe.CLOSE_TAG:if(Re.tagName)Le===">"?ze(Re):we(ge,Le)?Re.tagName+=Le:Re.script?(Re.script+="</"+Re.tagName,Re.tagName="",Re.state=xe.SCRIPT):(Se(Le)||Ye(Re,"Invalid tagname in closing tag"),Re.state=xe.CLOSE_TAG_SAW_WHITE);else{if(Se(Le))continue;De(fe,Le)?Re.script?(Re.script+="</"+Le,Re.state=xe.SCRIPT):Ye(Re,"Invalid tagname in closing tag."):Re.tagName=Le}continue;case xe.CLOSE_TAG_SAW_WHITE:if(Se(Le))continue;Le===">"?ze(Re):Ye(Re,"Invalid characters in closing tag");continue;case xe.TEXT_ENTITY:case xe.ATTRIB_VALUE_ENTITY_Q:case xe.ATTRIB_VALUE_ENTITY_U:var We,Me;switch(Re.state){case xe.TEXT_ENTITY:We=xe.TEXT,Me="textNode";break;case xe.ATTRIB_VALUE_ENTITY_Q:We=xe.ATTRIB_VALUE_QUOTED,Me="attribValue";break;case xe.ATTRIB_VALUE_ENTITY_U:We=xe.ATTRIB_VALUE_UNQUOTED,Me="attribValue";break}Le===";"?(Re[Me]+=et(Re),Re.entity="",Re.state=We):we(Re.entity.length?he:me,Le)?Re.entity+=Le:(Ye(Re,"Invalid character in entity name"),Re[Me]+="&"+Re.entity+Le,Re.entity="",Re.state=We);continue;default:throw new Error(Re,"Unknown state: "+Re.state)}return Re.position>=Re.bufferCheckPosition&&ue(Re),Re}String.fromCodePoint||function(){var Ue=String.fromCharCode,Re=Math.floor,$e=function(){var Le=16384,Ne=[],qe,We,Me=-1,Te=arguments.length;if(!Te)return"";for(var Oe="";++Me<Te;){var Ee=Number(arguments[Me]);if(!isFinite(Ee)||Ee<0||Ee>1114111||Re(Ee)!==Ee)throw RangeError("Invalid code point: "+Ee);Ee<=65535?Ne.push(Ee):(Ee-=65536,qe=(Ee>>10)+55296,We=Ee%1024+56320,Ne.push(qe,We)),(Me+1===Te||Ne.length>Le)&&(Oe+=Ue.apply(null,Ne),Ne.length=0)}return Oe};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:$e,configurable:!0,writable:!0}):String.fromCodePoint=$e}()})(typeof de=="undefined"?this.sax={}:de)}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(E,pe,de){pe.exports=ie;var se=E("events").EventEmitter,ne=E("inherits");ne(ie,se),ie.Readable=E("readable-stream/lib/_stream_readable.js"),ie.Writable=E("readable-stream/lib/_stream_writable.js"),ie.Duplex=E("readable-stream/lib/_stream_duplex.js"),ie.Transform=E("readable-stream/lib/_stream_transform.js"),ie.PassThrough=E("readable-stream/lib/_stream_passthrough.js"),ie.finished=E("readable-stream/lib/internal/streams/end-of-stream.js"),ie.pipeline=E("readable-stream/lib/internal/streams/pipeline.js"),ie.Stream=ie;function ie(){se.call(this)}ie.prototype.pipe=function(ce,ue){var ae=this;function oe(ee){ce.writable&&ce.write(ee)===!1&&ae.pause&&ae.pause()}ae.on("data",oe);function re(){ae.readable&&ae.resume&&ae.resume()}ce.on("drain",re),!ce._isStdio&&(!ue||ue.end!==!1)&&(ae.on("end",a),ae.on("close",y));var z=!1;function a(){z||(z=!0,ce.end())}function y(){z||(z=!0,typeof ce.destroy=="function"&&ce.destroy())}function x(ee){if(b(),se.listenerCount(this,"error")===0)throw ee}ae.on("error",x),ce.on("error",x);function b(){ae.removeListener("data",oe),ce.removeListener("drain",re),ae.removeListener("end",a),ae.removeListener("close",y),ae.removeListener("error",x),ce.removeListener("error",x),ae.removeListener("end",b),ae.removeListener("close",b),ce.removeListener("close",b)}return ae.on("end",b),ae.on("close",b),ce.on("close",b),ce.emit("pipe",ae),ce}},{events:344,inherits:364,"readable-stream/lib/_stream_duplex.js":400,"readable-stream/lib/_stream_passthrough.js":401,"readable-stream/lib/_stream_readable.js":402,"readable-stream/lib/_stream_transform.js":403,"readable-stream/lib/_stream_writable.js":404,"readable-stream/lib/internal/streams/end-of-stream.js":408,"readable-stream/lib/internal/streams/pipeline.js":410}],399:[function(E,pe,de){"use strict";function se(re,z){re.prototype=Object.create(z.prototype),re.prototype.constructor=re,re.__proto__=z}var ne={};function ie(re,z,a){a||(a=Error);function y(b,ee,te){return typeof z=="string"?z:z(b,ee,te)}var x=function(b){se(ee,b);function ee(te,le,fe){return b.call(this,y(te,le,fe))||this}return ee}(a);x.prototype.name=a.name,x.prototype.code=re,ne[re]=x}function ce(re,z){if(Array.isArray(re)){var a=re.length;return re=re.map(function(y){return String(y)}),a>2?"one of ".concat(z," ").concat(re.slice(0,a-1).join(", "),", or ")+re[a-1]:a===2?"one of ".concat(z," ").concat(re[0]," or ").concat(re[1]):"of ".concat(z," ").concat(re[0])}else return"of ".concat(z," ").concat(String(re))}function ue(re,z,a){return re.substr(!a||a<0?0:+a,z.length)===z}function ae(re,z,a){return(a===void 0||a>re.length)&&(a=re.length),re.substring(a-z.length,a)===z}function oe(re,z,a){return typeof a!="number"&&(a=0),a+z.length>re.length?!1:re.indexOf(z,a)!==-1}ie("ERR_INVALID_OPT_VALUE",function(re,z){return'The value "'+z+'" is invalid for option "'+re+'"'},TypeError),ie("ERR_INVALID_ARG_TYPE",function(re,z,a){var y;typeof z=="string"&&ue(z,"not ")?(y="must not be",z=z.replace(/^not /,"")):y="must be";var x;if(ae(re," argument"))x="The ".concat(re," ").concat(y," ").concat(ce(z,"type"));else{var b=oe(re,".")?"property":"argument";x='The "'.concat(re,'" ').concat(b," ").concat(y," ").concat(ce(z,"type"))}return x+=". Received type ".concat(typeof a),x},TypeError),ie("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),ie("ERR_METHOD_NOT_IMPLEMENTED",function(re){return"The "+re+" method is not implemented"}),ie("ERR_STREAM_PREMATURE_CLOSE","Premature close"),ie("ERR_STREAM_DESTROYED",function(re){return"Cannot call "+re+" after a stream was destroyed"}),ie("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),ie("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),ie("ERR_STREAM_WRITE_AFTER_END","write after end"),ie("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),ie("ERR_UNKNOWN_ENCODING",function(re){return"Unknown encoding: "+re},TypeError),ie("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),pe.exports.codes=ne},{}],400:[function(E,pe,de){(function(se){(function(){"use strict";var ne=Object.keys||function(y){var x=[];for(var b in y)x.push(b);return x};pe.exports=re;var ie=E("./_stream_readable"),ce=E("./_stream_writable");E("inherits")(re,ie);for(var ue=ne(ce.prototype),ae=0;ae<ue.length;ae++){var oe=ue[ae];re.prototype[oe]||(re.prototype[oe]=ce.prototype[oe])}function re(y){if(!(this instanceof re))return new re(y);ie.call(this,y),ce.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",z)))}Object.defineProperty(re.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(re.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(re.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function z(){this._writableState.ended||se.nextTick(a,this)}function a(y){y.end()}Object.defineProperty(re.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(x){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=x,this._writableState.destroyed=x)}})}).call(this)}).call(this,E("_process"))},{"./_stream_readable":402,"./_stream_writable":404,_process:467,inherits:364}],401:[function(E,pe,de){"use strict";pe.exports=ne;var se=E("./_stream_transform");E("inherits")(ne,se);function ne(ie){if(!(this instanceof ne))return new ne(ie);se.call(this,ie)}ne.prototype._transform=function(ie,ce,ue){ue(null,ie)}},{"./_stream_transform":403,inherits:364}],402:[function(E,pe,de){(function(se,ne){(function(){"use strict";pe.exports=je;var ie;je.ReadableState=Ce;var ce=E("events").EventEmitter,ue=function(Te,Oe){return Te.listeners(Oe).length},ae=E("./internal/streams/stream"),oe=E("buffer").Buffer,re=(typeof ne!="undefined"?ne:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function z(Me){return oe.from(Me)}function a(Me){return oe.isBuffer(Me)||Me instanceof re}var y=E("util"),x;y&&y.debuglog?x=y.debuglog("stream"):x=function(){};var b=E("./internal/streams/buffer_list"),ee=E("./internal/streams/destroy"),te=E("./internal/streams/state"),le=te.getHighWaterMark,fe=E("../errors").codes,ge=fe.ERR_INVALID_ARG_TYPE,me=fe.ERR_STREAM_PUSH_AFTER_EOF,he=fe.ERR_METHOD_NOT_IMPLEMENTED,Se=fe.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,ye,Pe,we;E("inherits")(je,ae);var De=ee.errorOrDestroy,xe=["error","close","destroy","pause","resume"];function Ae(Me,Te,Oe){if(typeof Me.prependListener=="function")return Me.prependListener(Te,Oe);!Me._events||!Me._events[Te]?Me.on(Te,Oe):Array.isArray(Me._events[Te])?Me._events[Te].unshift(Oe):Me._events[Te]=[Oe,Me._events[Te]]}function Ce(Me,Te,Oe){ie=ie||E("./_stream_duplex"),Me=Me||{},typeof Oe!="boolean"&&(Oe=Te instanceof ie),this.objectMode=!!Me.objectMode,Oe&&(this.objectMode=this.objectMode||!!Me.readableObjectMode),this.highWaterMark=le(this,Me,"readableHighWaterMark",Oe),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=Me.emitClose!==!1,this.autoDestroy=!!Me.autoDestroy,this.destroyed=!1,this.defaultEncoding=Me.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Me.encoding&&(ye||(ye=E("string_decoder/").StringDecoder),this.decoder=new ye(Me.encoding),this.encoding=Me.encoding)}function je(Me){if(ie=ie||E("./_stream_duplex"),!(this instanceof je))return new je(Me);var Te=this instanceof ie;this._readableState=new Ce(Me,this,Te),this.readable=!0,Me&&(typeof Me.read=="function"&&(this._read=Me.read),typeof Me.destroy=="function"&&(this._destroy=Me.destroy)),ae.call(this)}Object.defineProperty(je.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Te){this._readableState&&(this._readableState.destroyed=Te)}}),je.prototype.destroy=ee.destroy,je.prototype._undestroy=ee.undestroy,je.prototype._destroy=function(Me,Te){Te(Me)},je.prototype.push=function(Me,Te){var Oe=this._readableState,Ee;return Oe.objectMode?Ee=!0:typeof Me=="string"&&(Te=Te||Oe.defaultEncoding,Te!==Oe.encoding&&(Me=oe.from(Me,Te),Te=""),Ee=!0),Fe(this,Me,Te,!1,Ee)},je.prototype.unshift=function(Me){return Fe(this,Me,null,!0,!1)};function Fe(Me,Te,Oe,Ee,Ie){x("readableAddChunk",Te);var Ke=Me._readableState;if(Te===null)Ke.reading=!1,Xe(Me,Ke);else{var at;if(Ie||(at=Be(Ke,Te)),at)De(Me,at);else if(Ke.objectMode||Te&&Te.length>0)if(typeof Te!="string"&&!Ke.objectMode&&Object.getPrototypeOf(Te)!==oe.prototype&&(Te=z(Te)),Ee)Ke.endEmitted?De(Me,new Se):Ge(Me,Ke,Te,!0);else if(Ke.ended)De(Me,new me);else{if(Ke.destroyed)return!1;Ke.reading=!1,Ke.decoder&&!Oe?(Te=Ke.decoder.write(Te),Ke.objectMode||Te.length!==0?Ge(Me,Ke,Te,!1):ze(Me,Ke)):Ge(Me,Ke,Te,!1)}else Ee||(Ke.reading=!1,ze(Me,Ke))}return!Ke.ended&&(Ke.length<Ke.highWaterMark||Ke.length===0)}function Ge(Me,Te,Oe,Ee){Te.flowing&&Te.length===0&&!Te.sync?(Te.awaitDrain=0,Me.emit("data",Oe)):(Te.length+=Te.objectMode?1:Oe.length,Ee?Te.buffer.unshift(Oe):Te.buffer.push(Oe),Te.needReadable&&Ze(Me)),ze(Me,Te)}function Be(Me,Te){var Oe;return!a(Te)&&typeof Te!="string"&&Te!==void 0&&!Me.objectMode&&(Oe=new ge("chunk",["string","Buffer","Uint8Array"],Te)),Oe}je.prototype.isPaused=function(){return this._readableState.flowing===!1},je.prototype.setEncoding=function(Me){ye||(ye=E("string_decoder/").StringDecoder);var Te=new ye(Me);this._readableState.decoder=Te,this._readableState.encoding=this._readableState.decoder.encoding;for(var Oe=this._readableState.buffer.head,Ee="";Oe!==null;)Ee+=Te.write(Oe.data),Oe=Oe.next;return this._readableState.buffer.clear(),Ee!==""&&this._readableState.buffer.push(Ee),this._readableState.length=Ee.length,this};var tt=1073741824;function Ye(Me){return Me>=tt?Me=tt:(Me--,Me|=Me>>>1,Me|=Me>>>2,Me|=Me>>>4,Me|=Me>>>8,Me|=Me>>>16,Me++),Me}function Ve(Me,Te){return Me<=0||Te.length===0&&Te.ended?0:Te.objectMode?1:Me!==Me?Te.flowing&&Te.length?Te.buffer.head.data.length:Te.length:(Me>Te.highWaterMark&&(Te.highWaterMark=Ye(Me)),Me<=Te.length?Me:Te.ended?Te.length:(Te.needReadable=!0,0))}je.prototype.read=function(Me){x("read",Me),Me=parseInt(Me,10);var Te=this._readableState,Oe=Me;if(Me!==0&&(Te.emittedReadable=!1),Me===0&&Te.needReadable&&((Te.highWaterMark!==0?Te.length>=Te.highWaterMark:Te.length>0)||Te.ended))return x("read: emitReadable",Te.length,Te.ended),Te.length===0&&Te.ended?Ne(this):Ze(this),null;if(Me=Ve(Me,Te),Me===0&&Te.ended)return Te.length===0&&Ne(this),null;var Ee=Te.needReadable;x("need readable",Ee),(Te.length===0||Te.length-Me<Te.highWaterMark)&&(Ee=!0,x("length less than watermark",Ee)),Te.ended||Te.reading?(Ee=!1,x("reading or ended",Ee)):Ee&&(x("do read"),Te.reading=!0,Te.sync=!0,Te.length===0&&(Te.needReadable=!0),this._read(Te.highWaterMark),Te.sync=!1,Te.reading||(Me=Ve(Oe,Te)));var Ie;return Me>0?Ie=Le(Me,Te):Ie=null,Ie===null?(Te.needReadable=Te.length<=Te.highWaterMark,Me=0):(Te.length-=Me,Te.awaitDrain=0),Te.length===0&&(Te.ended||(Te.needReadable=!0),Oe!==Me&&Te.ended&&Ne(this)),Ie!==null&&this.emit("data",Ie),Ie};function Xe(Me,Te){if(x("onEofChunk"),!Te.ended){if(Te.decoder){var Oe=Te.decoder.end();Oe&&Oe.length&&(Te.buffer.push(Oe),Te.length+=Te.objectMode?1:Oe.length)}Te.ended=!0,Te.sync?Ze(Me):(Te.needReadable=!1,Te.emittedReadable||(Te.emittedReadable=!0,ke(Me)))}}function Ze(Me){var Te=Me._readableState;x("emitReadable",Te.needReadable,Te.emittedReadable),Te.needReadable=!1,Te.emittedReadable||(x("emitReadable",Te.flowing),Te.emittedReadable=!0,se.nextTick(ke,Me))}function ke(Me){var Te=Me._readableState;x("emitReadable_",Te.destroyed,Te.length,Te.ended),!Te.destroyed&&(Te.length||Te.ended)&&(Me.emit("readable"),Te.emittedReadable=!1),Te.needReadable=!Te.flowing&&!Te.ended&&Te.length<=Te.highWaterMark,$e(Me)}function ze(Me,Te){Te.readingMore||(Te.readingMore=!0,se.nextTick(et,Me,Te))}function et(Me,Te){for(;!Te.reading&&!Te.ended&&(Te.length<Te.highWaterMark||Te.flowing&&Te.length===0);){var Oe=Te.length;if(x("maybeReadMore read 0"),Me.read(0),Oe===Te.length)break}Te.readingMore=!1}je.prototype._read=function(Me){De(this,new he("_read()"))},je.prototype.pipe=function(Me,Te){var Oe=this,Ee=this._readableState;switch(Ee.pipesCount){case 0:Ee.pipes=Me;break;case 1:Ee.pipes=[Ee.pipes,Me];break;default:Ee.pipes.push(Me);break}Ee.pipesCount+=1,x("pipe count=%d opts=%j",Ee.pipesCount,Te);var Ie=(!Te||Te.end!==!1)&&Me!==se.stdout&&Me!==se.stderr,Ke=Ie?He:st;Ee.endEmitted?se.nextTick(Ke):Oe.once("end",Ke),Me.on("unpipe",at);function at(ht,mt){x("onunpipe"),ht===Oe&&mt&&mt.hasUnpiped===!1&&(mt.hasUnpiped=!0,lt())}function He(){x("onend"),Me.end()}var nt=Je(Oe);Me.on("drain",nt);var ft=!1;function lt(){x("cleanup"),Me.removeListener("close",vt),Me.removeListener("finish",ot),Me.removeListener("drain",nt),Me.removeListener("error",ct),Me.removeListener("unpipe",at),Oe.removeListener("end",He),Oe.removeListener("end",st),Oe.removeListener("data",pt),ft=!0,Ee.awaitDrain&&(!Me._writableState||Me._writableState.needDrain)&&nt()}Oe.on("data",pt);function pt(ht){x("ondata");var mt=Me.write(ht);x("dest.write",mt),mt===!1&&((Ee.pipesCount===1&&Ee.pipes===Me||Ee.pipesCount>1&&We(Ee.pipes,Me)!==-1)&&!ft&&(x("false write response, pause",Ee.awaitDrain),Ee.awaitDrain++),Oe.pause())}function ct(ht){x("onerror",ht),st(),Me.removeListener("error",ct),ue(Me,"error")===0&&De(Me,ht)}Ae(Me,"error",ct);function vt(){Me.removeListener("finish",ot),st()}Me.once("close",vt);function ot(){x("onfinish"),Me.removeListener("close",vt),st()}Me.once("finish",ot);function st(){x("unpipe"),Oe.unpipe(Me)}return Me.emit("pipe",Oe),Ee.flowing||(x("pipe resume"),Oe.resume()),Me};function Je(Me){return function(){var Oe=Me._readableState;x("pipeOnDrain",Oe.awaitDrain),Oe.awaitDrain&&Oe.awaitDrain--,Oe.awaitDrain===0&&ue(Me,"data")&&(Oe.flowing=!0,$e(Me))}}je.prototype.unpipe=function(Me){var Te=this._readableState,Oe={hasUnpiped:!1};if(Te.pipesCount===0)return this;if(Te.pipesCount===1)return Me&&Me!==Te.pipes?this:(Me||(Me=Te.pipes),Te.pipes=null,Te.pipesCount=0,Te.flowing=!1,Me&&Me.emit("unpipe",this,Oe),this);if(!Me){var Ee=Te.pipes,Ie=Te.pipesCount;Te.pipes=null,Te.pipesCount=0,Te.flowing=!1;for(var Ke=0;Ke<Ie;Ke++)Ee[Ke].emit("unpipe",this,{hasUnpiped:!1});return this}var at=We(Te.pipes,Me);return at===-1?this:(Te.pipes.splice(at,1),Te.pipesCount-=1,Te.pipesCount===1&&(Te.pipes=Te.pipes[0]),Me.emit("unpipe",this,Oe),this)},je.prototype.on=function(Me,Te){var Oe=ae.prototype.on.call(this,Me,Te),Ee=this._readableState;return Me==="data"?(Ee.readableListening=this.listenerCount("readable")>0,Ee.flowing!==!1&&this.resume()):Me==="readable"&&!Ee.endEmitted&&!Ee.readableListening&&(Ee.readableListening=Ee.needReadable=!0,Ee.flowing=!1,Ee.emittedReadable=!1,x("on readable",Ee.length,Ee.reading),Ee.length?Ze(this):Ee.reading||se.nextTick(Qe,this)),Oe},je.prototype.addListener=je.prototype.on,je.prototype.removeListener=function(Me,Te){var Oe=ae.prototype.removeListener.call(this,Me,Te);return Me==="readable"&&se.nextTick(ut,this),Oe},je.prototype.removeAllListeners=function(Me){var Te=ae.prototype.removeAllListeners.apply(this,arguments);return(Me==="readable"||Me===void 0)&&se.nextTick(ut,this),Te};function ut(Me){var Te=Me._readableState;Te.readableListening=Me.listenerCount("readable")>0,Te.resumeScheduled&&!Te.paused?Te.flowing=!0:Me.listenerCount("data")>0&&Me.resume()}function Qe(Me){x("readable nexttick read 0"),Me.read(0)}je.prototype.resume=function(){var Me=this._readableState;return Me.flowing||(x("resume"),Me.flowing=!Me.readableListening,Ue(this,Me)),Me.paused=!1,this};function Ue(Me,Te){Te.resumeScheduled||(Te.resumeScheduled=!0,se.nextTick(Re,Me,Te))}function Re(Me,Te){x("resume",Te.reading),Te.reading||Me.read(0),Te.resumeScheduled=!1,Me.emit("resume"),$e(Me),Te.flowing&&!Te.reading&&Me.read(0)}je.prototype.pause=function(){return x("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(x("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function $e(Me){var Te=Me._readableState;for(x("flow",Te.flowing);Te.flowing&&Me.read()!==null;);}je.prototype.wrap=function(Me){var Te=this,Oe=this._readableState,Ee=!1;Me.on("end",function(){if(x("wrapped end"),Oe.decoder&&!Oe.ended){var at=Oe.decoder.end();at&&at.length&&Te.push(at)}Te.push(null)}),Me.on("data",function(at){if(x("wrapped data"),Oe.decoder&&(at=Oe.decoder.write(at)),!(Oe.objectMode&&at==null)&&!(!Oe.objectMode&&(!at||!at.length))){var He=Te.push(at);He||(Ee=!0,Me.pause())}});for(var Ie in Me)this[Ie]===void 0&&typeof Me[Ie]=="function"&&(this[Ie]=function(He){return function(){return Me[He].apply(Me,arguments)}}(Ie));for(var Ke=0;Ke<xe.length;Ke++)Me.on(xe[Ke],this.emit.bind(this,xe[Ke]));return this._read=function(at){x("wrapped _read",at),Ee&&(Ee=!1,Me.resume())},this},typeof Symbol=="function"&&(je.prototype[Symbol.asyncIterator]=function(){return Pe===void 0&&(Pe=E("./internal/streams/async_iterator")),Pe(this)}),Object.defineProperty(je.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(je.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(je.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Te){this._readableState&&(this._readableState.flowing=Te)}}),je._fromList=Le,Object.defineProperty(je.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Le(Me,Te){if(Te.length===0)return null;var Oe;return Te.objectMode?Oe=Te.buffer.shift():!Me||Me>=Te.length?(Te.decoder?Oe=Te.buffer.join(""):Te.buffer.length===1?Oe=Te.buffer.first():Oe=Te.buffer.concat(Te.length),Te.buffer.clear()):Oe=Te.buffer.consume(Me,Te.decoder),Oe}function Ne(Me){var Te=Me._readableState;x("endReadable",Te.endEmitted),Te.endEmitted||(Te.ended=!0,se.nextTick(qe,Te,Me))}function qe(Me,Te){if(x("endReadableNT",Me.endEmitted,Me.length),!Me.endEmitted&&Me.length===0&&(Me.endEmitted=!0,Te.readable=!1,Te.emit("end"),Me.autoDestroy)){var Oe=Te._writableState;(!Oe||Oe.autoDestroy&&Oe.finished)&&Te.destroy()}}typeof Symbol=="function"&&(je.from=function(Me,Te){return we===void 0&&(we=E("./internal/streams/from")),we(je,Me,Te)});function We(Me,Te){for(var Oe=0,Ee=Me.length;Oe<Ee;Oe++)if(Me[Oe]===Te)return Oe;return-1}}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"../errors":399,"./_stream_duplex":400,"./internal/streams/async_iterator":405,"./internal/streams/buffer_list":406,"./internal/streams/destroy":407,"./internal/streams/from":409,"./internal/streams/state":411,"./internal/streams/stream":412,_process:467,buffer:90,events:344,inherits:364,"string_decoder/":413,util:89}],403:[function(E,pe,de){"use strict";pe.exports=re;var se=E("../errors").codes,ne=se.ERR_METHOD_NOT_IMPLEMENTED,ie=se.ERR_MULTIPLE_CALLBACK,ce=se.ERR_TRANSFORM_ALREADY_TRANSFORMING,ue=se.ERR_TRANSFORM_WITH_LENGTH_0,ae=E("./_stream_duplex");E("inherits")(re,ae);function oe(y,x){var b=this._transformState;b.transforming=!1;var ee=b.writecb;if(ee===null)return this.emit("error",new ie);b.writechunk=null,b.writecb=null,x!=null&&this.push(x),ee(y);var te=this._readableState;te.reading=!1,(te.needReadable||te.length<te.highWaterMark)&&this._read(te.highWaterMark)}function re(y){if(!(this instanceof re))return new re(y);ae.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",z)}function z(){var y=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(x,b){a(y,x,b)}):a(this,null,null)}re.prototype.push=function(y,x){return this._transformState.needTransform=!1,ae.prototype.push.call(this,y,x)},re.prototype._transform=function(y,x,b){b(new ne("_transform()"))},re.prototype._write=function(y,x,b){var ee=this._transformState;if(ee.writecb=b,ee.writechunk=y,ee.writeencoding=x,!ee.transforming){var te=this._readableState;(ee.needTransform||te.needReadable||te.length<te.highWaterMark)&&this._read(te.highWaterMark)}},re.prototype._read=function(y){var x=this._transformState;x.writechunk!==null&&!x.transforming?(x.transforming=!0,this._transform(x.writechunk,x.writeencoding,x.afterTransform)):x.needTransform=!0},re.prototype._destroy=function(y,x){ae.prototype._destroy.call(this,y,function(b){x(b)})};function a(y,x,b){if(x)return y.emit("error",x);if(b!=null&&y.push(b),y._writableState.length)throw new ue;if(y._transformState.transforming)throw new ce;return y.push(null)}},{"../errors":399,"./_stream_duplex":400,inherits:364}],404:[function(E,pe,de){(function(se,ne){(function(){"use strict";pe.exports=Ce;function ie($e,Le,Ne){this.chunk=$e,this.encoding=Le,this.callback=Ne,this.next=null}function ce($e){var Le=this;this.next=null,this.entry=null,this.finish=function(){Re(Le,$e)}}var ue;Ce.WritableState=xe;var ae={deprecate:E("util-deprecate")},oe=E("./internal/streams/stream"),re=E("buffer").Buffer,z=(typeof ne!="undefined"?ne:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function a($e){return re.from($e)}function y($e){return re.isBuffer($e)||$e instanceof z}var x=E("./internal/streams/destroy"),b=E("./internal/streams/state"),ee=b.getHighWaterMark,te=E("../errors").codes,le=te.ERR_INVALID_ARG_TYPE,fe=te.ERR_METHOD_NOT_IMPLEMENTED,ge=te.ERR_MULTIPLE_CALLBACK,me=te.ERR_STREAM_CANNOT_PIPE,he=te.ERR_STREAM_DESTROYED,Se=te.ERR_STREAM_NULL_VALUES,ye=te.ERR_STREAM_WRITE_AFTER_END,Pe=te.ERR_UNKNOWN_ENCODING,we=x.errorOrDestroy;E("inherits")(Ce,oe);function De(){}function xe($e,Le,Ne){ue=ue||E("./_stream_duplex"),$e=$e||{},typeof Ne!="boolean"&&(Ne=Le instanceof ue),this.objectMode=!!$e.objectMode,Ne&&(this.objectMode=this.objectMode||!!$e.writableObjectMode),this.highWaterMark=ee(this,$e,"writableHighWaterMark",Ne),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var qe=$e.decodeStrings===!1;this.decodeStrings=!qe,this.defaultEncoding=$e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(We){Xe(Le,We)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=$e.emitClose!==!1,this.autoDestroy=!!$e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new ce(this)}xe.prototype.getBuffer=function(){for(var Le=this.bufferedRequest,Ne=[];Le;)Ne.push(Le),Le=Le.next;return Ne},function(){try{Object.defineProperty(xe.prototype,"buffer",{get:ae.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($e){}}();var Ae;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(Ae=Function.prototype[Symbol.hasInstance],Object.defineProperty(Ce,Symbol.hasInstance,{value:function(Le){return Ae.call(this,Le)?!0:this!==Ce?!1:Le&&Le._writableState instanceof xe}})):Ae=function(Le){return Le instanceof this};function Ce($e){ue=ue||E("./_stream_duplex");var Le=this instanceof ue;if(!Le&&!Ae.call(Ce,this))return new Ce($e);this._writableState=new xe($e,this,Le),this.writable=!0,$e&&(typeof $e.write=="function"&&(this._write=$e.write),typeof $e.writev=="function"&&(this._writev=$e.writev),typeof $e.destroy=="function"&&(this._destroy=$e.destroy),typeof $e.final=="function"&&(this._final=$e.final)),oe.call(this)}Ce.prototype.pipe=function(){we(this,new me)};function je($e,Le){var Ne=new ye;we($e,Ne),se.nextTick(Le,Ne)}function Fe($e,Le,Ne,qe){var We;return Ne===null?We=new Se:typeof Ne!="string"&&!Le.objectMode&&(We=new le("chunk",["string","Buffer"],Ne)),We?(we($e,We),se.nextTick(qe,We),!1):!0}Ce.prototype.write=function($e,Le,Ne){var qe=this._writableState,We=!1,Me=!qe.objectMode&&y($e);return Me&&!re.isBuffer($e)&&($e=a($e)),typeof Le=="function"&&(Ne=Le,Le=null),Me?Le="buffer":Le||(Le=qe.defaultEncoding),typeof Ne!="function"&&(Ne=De),qe.ending?je(this,Ne):(Me||Fe(this,qe,$e,Ne))&&(qe.pendingcb++,We=Be(this,qe,Me,$e,Le,Ne)),We},Ce.prototype.cork=function(){this._writableState.corked++},Ce.prototype.uncork=function(){var $e=this._writableState;$e.corked&&($e.corked--,!$e.writing&&!$e.corked&&!$e.bufferProcessing&&$e.bufferedRequest&&ze(this,$e))},Ce.prototype.setDefaultEncoding=function(Le){if(typeof Le=="string"&&(Le=Le.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Le+"").toLowerCase())>-1))throw new Pe(Le);return this._writableState.defaultEncoding=Le,this},Object.defineProperty(Ce.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Ge($e,Le,Ne){return!$e.objectMode&&$e.decodeStrings!==!1&&typeof Le=="string"&&(Le=re.from(Le,Ne)),Le}Object.defineProperty(Ce.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Be($e,Le,Ne,qe,We,Me){if(!Ne){var Te=Ge(Le,qe,We);qe!==Te&&(Ne=!0,We="buffer",qe=Te)}var Oe=Le.objectMode?1:qe.length;Le.length+=Oe;var Ee=Le.length<Le.highWaterMark;if(Ee||(Le.needDrain=!0),Le.writing||Le.corked){var Ie=Le.lastBufferedRequest;Le.lastBufferedRequest={chunk:qe,encoding:We,isBuf:Ne,callback:Me,next:null},Ie?Ie.next=Le.lastBufferedRequest:Le.bufferedRequest=Le.lastBufferedRequest,Le.bufferedRequestCount+=1}else tt($e,Le,!1,Oe,qe,We,Me);return Ee}function tt($e,Le,Ne,qe,We,Me,Te){Le.writelen=qe,Le.writecb=Te,Le.writing=!0,Le.sync=!0,Le.destroyed?Le.onwrite(new he("write")):Ne?$e._writev(We,Le.onwrite):$e._write(We,Me,Le.onwrite),Le.sync=!1}function Ye($e,Le,Ne,qe,We){--Le.pendingcb,Ne?(se.nextTick(We,qe),se.nextTick(Qe,$e,Le),$e._writableState.errorEmitted=!0,we($e,qe)):(We(qe),$e._writableState.errorEmitted=!0,we($e,qe),Qe($e,Le))}function Ve($e){$e.writing=!1,$e.writecb=null,$e.length-=$e.writelen,$e.writelen=0}function Xe($e,Le){var Ne=$e._writableState,qe=Ne.sync,We=Ne.writecb;if(typeof We!="function")throw new ge;if(Ve(Ne),Le)Ye($e,Ne,qe,Le,We);else{var Me=et(Ne)||$e.destroyed;!Me&&!Ne.corked&&!Ne.bufferProcessing&&Ne.bufferedRequest&&ze($e,Ne),qe?se.nextTick(Ze,$e,Ne,Me,We):Ze($e,Ne,Me,We)}}function Ze($e,Le,Ne,qe){Ne||ke($e,Le),Le.pendingcb--,qe(),Qe($e,Le)}function ke($e,Le){Le.length===0&&Le.needDrain&&(Le.needDrain=!1,$e.emit("drain"))}function ze($e,Le){Le.bufferProcessing=!0;var Ne=Le.bufferedRequest;if($e._writev&&Ne&&Ne.next){var qe=Le.bufferedRequestCount,We=new Array(qe),Me=Le.corkedRequestsFree;Me.entry=Ne;for(var Te=0,Oe=!0;Ne;)We[Te]=Ne,Ne.isBuf||(Oe=!1),Ne=Ne.next,Te+=1;We.allBuffers=Oe,tt($e,Le,!0,Le.length,We,"",Me.finish),Le.pendingcb++,Le.lastBufferedRequest=null,Me.next?(Le.corkedRequestsFree=Me.next,Me.next=null):Le.corkedRequestsFree=new ce(Le),Le.bufferedRequestCount=0}else{for(;Ne;){var Ee=Ne.chunk,Ie=Ne.encoding,Ke=Ne.callback,at=Le.objectMode?1:Ee.length;if(tt($e,Le,!1,at,Ee,Ie,Ke),Ne=Ne.next,Le.bufferedRequestCount--,Le.writing)break}Ne===null&&(Le.lastBufferedRequest=null)}Le.bufferedRequest=Ne,Le.bufferProcessing=!1}Ce.prototype._write=function($e,Le,Ne){Ne(new fe("_write()"))},Ce.prototype._writev=null,Ce.prototype.end=function($e,Le,Ne){var qe=this._writableState;return typeof $e=="function"?(Ne=$e,$e=null,Le=null):typeof Le=="function"&&(Ne=Le,Le=null),$e!=null&&this.write($e,Le),qe.corked&&(qe.corked=1,this.uncork()),qe.ending||Ue(this,qe,Ne),this},Object.defineProperty(Ce.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function et($e){return $e.ending&&$e.length===0&&$e.bufferedRequest===null&&!$e.finished&&!$e.writing}function Je($e,Le){$e._final(function(Ne){Le.pendingcb--,Ne&&we($e,Ne),Le.prefinished=!0,$e.emit("prefinish"),Qe($e,Le)})}function ut($e,Le){!Le.prefinished&&!Le.finalCalled&&(typeof $e._final=="function"&&!Le.destroyed?(Le.pendingcb++,Le.finalCalled=!0,se.nextTick(Je,$e,Le)):(Le.prefinished=!0,$e.emit("prefinish")))}function Qe($e,Le){var Ne=et(Le);if(Ne&&(ut($e,Le),Le.pendingcb===0&&(Le.finished=!0,$e.emit("finish"),Le.autoDestroy))){var qe=$e._readableState;(!qe||qe.autoDestroy&&qe.endEmitted)&&$e.destroy()}return Ne}function Ue($e,Le,Ne){Le.ending=!0,Qe($e,Le),Ne&&(Le.finished?se.nextTick(Ne):$e.once("finish",Ne)),Le.ended=!0,$e.writable=!1}function Re($e,Le,Ne){var qe=$e.entry;for($e.entry=null;qe;){var We=qe.callback;Le.pendingcb--,We(Ne),qe=qe.next}Le.corkedRequestsFree.next=$e}Object.defineProperty(Ce.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Le){this._writableState&&(this._writableState.destroyed=Le)}}),Ce.prototype.destroy=x.destroy,Ce.prototype._undestroy=x.undestroy,Ce.prototype._destroy=function($e,Le){Le($e)}}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"../errors":399,"./_stream_duplex":400,"./internal/streams/destroy":407,"./internal/streams/state":411,"./internal/streams/stream":412,_process:467,buffer:90,inherits:364,"util-deprecate":416}],405:[function(E,pe,de){(function(se){(function(){"use strict";var ne;function ie(Se,ye,Pe){return ye=ce(ye),ye in Se?Object.defineProperty(Se,ye,{value:Pe,enumerable:!0,configurable:!0,writable:!0}):Se[ye]=Pe,Se}function ce(Se){var ye=ue(Se,"string");return typeof ye=="symbol"?ye:String(ye)}function ue(Se,ye){if(typeof Se!="object"||Se===null)return Se;var Pe=Se[Symbol.toPrimitive];if(Pe!==void 0){var we=Pe.call(Se,ye||"default");if(typeof we!="object")return we;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ye==="string"?String:Number)(Se)}var ae=E("./end-of-stream"),oe=Symbol("lastResolve"),re=Symbol("lastReject"),z=Symbol("error"),a=Symbol("ended"),y=Symbol("lastPromise"),x=Symbol("handlePromise"),b=Symbol("stream");function ee(Se,ye){return{value:Se,done:ye}}function te(Se){var ye=Se[oe];if(ye!==null){var Pe=Se[b].read();Pe!==null&&(Se[y]=null,Se[oe]=null,Se[re]=null,ye(ee(Pe,!1)))}}function le(Se){se.nextTick(te,Se)}function fe(Se,ye){return function(Pe,we){Se.then(function(){if(ye[a]){Pe(ee(void 0,!0));return}ye[x](Pe,we)},we)}}var ge=Object.getPrototypeOf(function(){}),me=Object.setPrototypeOf((ne={get stream(){return this[b]},next:function(){var ye=this,Pe=this[z];if(Pe!==null)return Promise.reject(Pe);if(this[a])return Promise.resolve(ee(void 0,!0));if(this[b].destroyed)return new Promise(function(Ae,Ce){se.nextTick(function(){ye[z]?Ce(ye[z]):Ae(ee(void 0,!0))})});var we=this[y],De;if(we)De=new Promise(fe(we,this));else{var xe=this[b].read();if(xe!==null)return Promise.resolve(ee(xe,!1));De=new Promise(this[x])}return this[y]=De,De}},ie(ne,Symbol.asyncIterator,function(){return this}),ie(ne,"return",function(){var ye=this;return new Promise(function(Pe,we){ye[b].destroy(null,function(De){if(De){we(De);return}Pe(ee(void 0,!0))})})}),ne),ge),he=function(ye){var Pe,we=Object.create(me,(Pe={},ie(Pe,b,{value:ye,writable:!0}),ie(Pe,oe,{value:null,writable:!0}),ie(Pe,re,{value:null,writable:!0}),ie(Pe,z,{value:null,writable:!0}),ie(Pe,a,{value:ye._readableState.endEmitted,writable:!0}),ie(Pe,x,{value:function(xe,Ae){var Ce=we[b].read();Ce?(we[y]=null,we[oe]=null,we[re]=null,xe(ee(Ce,!1))):(we[oe]=xe,we[re]=Ae)},writable:!0}),Pe));return we[y]=null,ae(ye,function(De){if(De&&De.code!=="ERR_STREAM_PREMATURE_CLOSE"){var xe=we[re];xe!==null&&(we[y]=null,we[oe]=null,we[re]=null,xe(De)),we[z]=De;return}var Ae=we[oe];Ae!==null&&(we[y]=null,we[oe]=null,we[re]=null,Ae(ee(void 0,!0))),we[a]=!0}),ye.on("readable",le.bind(null,we)),we};pe.exports=he}).call(this)}).call(this,E("_process"))},{"./end-of-stream":408,_process:467}],406:[function(E,pe,de){"use strict";function se(te,le){var fe=Object.keys(te);if(Object.getOwnPropertySymbols){var ge=Object.getOwnPropertySymbols(te);le&&(ge=ge.filter(function(me){return Object.getOwnPropertyDescriptor(te,me).enumerable})),fe.push.apply(fe,ge)}return fe}function ne(te){for(var le=1;le<arguments.length;le++){var fe=arguments[le]!=null?arguments[le]:{};le%2?se(Object(fe),!0).forEach(function(ge){ie(te,ge,fe[ge])}):Object.getOwnPropertyDescriptors?Object.defineProperties(te,Object.getOwnPropertyDescriptors(fe)):se(Object(fe)).forEach(function(ge){Object.defineProperty(te,ge,Object.getOwnPropertyDescriptor(fe,ge))})}return te}function ie(te,le,fe){return le=oe(le),le in te?Object.defineProperty(te,le,{value:fe,enumerable:!0,configurable:!0,writable:!0}):te[le]=fe,te}function ce(te,le){if(!(te instanceof le))throw new TypeError("Cannot call a class as a function")}function ue(te,le){for(var fe=0;fe<le.length;fe++){var ge=le[fe];ge.enumerable=ge.enumerable||!1,ge.configurable=!0,"value"in ge&&(ge.writable=!0),Object.defineProperty(te,oe(ge.key),ge)}}function ae(te,le,fe){return le&&ue(te.prototype,le),fe&&ue(te,fe),Object.defineProperty(te,"prototype",{writable:!1}),te}function oe(te){var le=re(te,"string");return typeof le=="symbol"?le:String(le)}function re(te,le){if(typeof te!="object"||te===null)return te;var fe=te[Symbol.toPrimitive];if(fe!==void 0){var ge=fe.call(te,le||"default");if(typeof ge!="object")return ge;throw new TypeError("@@toPrimitive must return a primitive value.")}return(le==="string"?String:Number)(te)}var z=E("buffer"),a=z.Buffer,y=E("util"),x=y.inspect,b=x&&x.custom||"inspect";function ee(te,le,fe){a.prototype.copy.call(te,le,fe)}pe.exports=function(){function te(){ce(this,te),this.head=null,this.tail=null,this.length=0}return ae(te,[{key:"push",value:function(fe){var ge={data:fe,next:null};this.length>0?this.tail.next=ge:this.head=ge,this.tail=ge,++this.length}},{key:"unshift",value:function(fe){var ge={data:fe,next:this.head};this.length===0&&(this.tail=ge),this.head=ge,++this.length}},{key:"shift",value:function(){if(this.length!==0){var fe=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,fe}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(fe){if(this.length===0)return"";for(var ge=this.head,me=""+ge.data;ge=ge.next;)me+=fe+ge.data;return me}},{key:"concat",value:function(fe){if(this.length===0)return a.alloc(0);for(var ge=a.allocUnsafe(fe>>>0),me=this.head,he=0;me;)ee(me.data,ge,he),he+=me.data.length,me=me.next;return ge}},{key:"consume",value:function(fe,ge){var me;return fe<this.head.data.length?(me=this.head.data.slice(0,fe),this.head.data=this.head.data.slice(fe)):fe===this.head.data.length?me=this.shift():me=ge?this._getString(fe):this._getBuffer(fe),me}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(fe){var ge=this.head,me=1,he=ge.data;for(fe-=he.length;ge=ge.next;){var Se=ge.data,ye=fe>Se.length?Se.length:fe;if(ye===Se.length?he+=Se:he+=Se.slice(0,fe),fe-=ye,fe===0){ye===Se.length?(++me,ge.next?this.head=ge.next:this.head=this.tail=null):(this.head=ge,ge.data=Se.slice(ye));break}++me}return this.length-=me,he}},{key:"_getBuffer",value:function(fe){var ge=a.allocUnsafe(fe),me=this.head,he=1;for(me.data.copy(ge),fe-=me.data.length;me=me.next;){var Se=me.data,ye=fe>Se.length?Se.length:fe;if(Se.copy(ge,ge.length-fe,0,ye),fe-=ye,fe===0){ye===Se.length?(++he,me.next?this.head=me.next:this.head=this.tail=null):(this.head=me,me.data=Se.slice(ye));break}++he}return this.length-=he,ge}},{key:b,value:function(fe,ge){return x(this,ne(ne({},ge),{},{depth:0,customInspect:!1}))}}]),te}()},{buffer:90,util:89}],407:[function(E,pe,de){(function(se){(function(){"use strict";function ne(re,z){var a=this,y=this._readableState&&this._readableState.destroyed,x=this._writableState&&this._writableState.destroyed;return y||x?(z?z(re):re&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,se.nextTick(ae,this,re)):se.nextTick(ae,this,re)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(re||null,function(b){!z&&b?a._writableState?a._writableState.errorEmitted?se.nextTick(ce,a):(a._writableState.errorEmitted=!0,se.nextTick(ie,a,b)):se.nextTick(ie,a,b):z?(se.nextTick(ce,a),z(b)):se.nextTick(ce,a)}),this)}function ie(re,z){ae(re,z),ce(re)}function ce(re){re._writableState&&!re._writableState.emitClose||re._readableState&&!re._readableState.emitClose||re.emit("close")}function ue(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function ae(re,z){re.emit("error",z)}function oe(re,z){var a=re._readableState,y=re._writableState;a&&a.autoDestroy||y&&y.autoDestroy?re.destroy(z):re.emit("error",z)}pe.exports={destroy:ne,undestroy:ue,errorOrDestroy:oe}}).call(this)}).call(this,E("_process"))},{_process:467}],408:[function(E,pe,de){"use strict";var se=E("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function ne(ae){var oe=!1;return function(){if(!oe){oe=!0;for(var re=arguments.length,z=new Array(re),a=0;a<re;a++)z[a]=arguments[a];ae.apply(this,z)}}}function ie(){}function ce(ae){return ae.setHeader&&typeof ae.abort=="function"}function ue(ae,oe,re){if(typeof oe=="function")return ue(ae,null,oe);oe||(oe={}),re=ne(re||ie);var z=oe.readable||oe.readable!==!1&&ae.readable,a=oe.writable||oe.writable!==!1&&ae.writable,y=function(){ae.writable||b()},x=ae._writableState&&ae._writableState.finished,b=function(){a=!1,x=!0,z||re.call(ae)},ee=ae._readableState&&ae._readableState.endEmitted,te=function(){z=!1,ee=!0,a||re.call(ae)},le=function(he){re.call(ae,he)},fe=function(){var he;if(z&&!ee)return(!ae._readableState||!ae._readableState.ended)&&(he=new se),re.call(ae,he);if(a&&!x)return(!ae._writableState||!ae._writableState.ended)&&(he=new se),re.call(ae,he)},ge=function(){ae.req.on("finish",b)};return ce(ae)?(ae.on("complete",b),ae.on("abort",fe),ae.req?ge():ae.on("request",ge)):a&&!ae._writableState&&(ae.on("end",y),ae.on("close",y)),ae.on("end",te),ae.on("finish",b),oe.error!==!1&&ae.on("error",le),ae.on("close",fe),function(){ae.removeListener("complete",b),ae.removeListener("abort",fe),ae.removeListener("request",ge),ae.req&&ae.req.removeListener("finish",b),ae.removeListener("end",y),ae.removeListener("close",y),ae.removeListener("finish",b),ae.removeListener("end",te),ae.removeListener("error",le),ae.removeListener("close",fe)}}pe.exports=ue},{"../../../errors":399}],409:[function(E,pe,de){pe.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],410:[function(E,pe,de){"use strict";var se;function ne(b){var ee=!1;return function(){ee||(ee=!0,b.apply(void 0,arguments))}}var ie=E("../../../errors").codes,ce=ie.ERR_MISSING_ARGS,ue=ie.ERR_STREAM_DESTROYED;function ae(b){if(b)throw b}function oe(b){return b.setHeader&&typeof b.abort=="function"}function re(b,ee,te,le){le=ne(le);var fe=!1;b.on("close",function(){fe=!0}),se===void 0&&(se=E("./end-of-stream")),se(b,{readable:ee,writable:te},function(me){if(me)return le(me);fe=!0,le()});var ge=!1;return function(me){if(!fe&&!ge){if(ge=!0,oe(b))return b.abort();if(typeof b.destroy=="function")return b.destroy();le(me||new ue("pipe"))}}}function z(b){b()}function a(b,ee){return b.pipe(ee)}function y(b){return!b.length||typeof b[b.length-1]!="function"?ae:b.pop()}function x(){for(var b=arguments.length,ee=new Array(b),te=0;te<b;te++)ee[te]=arguments[te];var le=y(ee);if(Array.isArray(ee[0])&&(ee=ee[0]),ee.length<2)throw new ce("streams");var fe,ge=ee.map(function(me,he){var Se=he<ee.length-1,ye=he>0;return re(me,Se,ye,function(Pe){fe||(fe=Pe),Pe&&ge.forEach(z),!Se&&(ge.forEach(z),le(fe))})});return ee.reduce(a)}pe.exports=x},{"../../../errors":399,"./end-of-stream":408}],411:[function(E,pe,de){"use strict";var se=E("../../../errors").codes.ERR_INVALID_OPT_VALUE;function ne(ce,ue,ae){return ce.highWaterMark!=null?ce.highWaterMark:ue?ce[ae]:null}function ie(ce,ue,ae,oe){var re=ne(ue,oe,ae);if(re!=null){if(!(isFinite(re)&&Math.floor(re)===re)||re<0){var z=oe?ae:"highWaterMark";throw new se(z,re)}return Math.floor(re)}return ce.objectMode?16:16*1024}pe.exports={getHighWaterMark:ie}},{"../../../errors":399}],412:[function(E,pe,de){arguments[4][393][0].apply(de,arguments)},{dup:393,events:344}],413:[function(E,pe,de){"use strict";var se=E("safe-buffer").Buffer,ne=se.isEncoding||function(ge){switch(ge=""+ge,ge&&ge.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function ie(ge){if(!ge)return"utf8";for(var me;;)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(me)return;ge=(""+ge).toLowerCase(),me=!0}}function ce(ge){var me=ie(ge);if(typeof me!="string"&&(se.isEncoding===ne||!ne(ge)))throw new Error("Unknown encoding: "+ge);return me||ge}de.StringDecoder=ue;function ue(ge){this.encoding=ce(ge);var me;switch(this.encoding){case"utf16le":this.text=x,this.end=b,me=4;break;case"utf8":this.fillLast=z,me=4;break;case"base64":this.text=ee,this.end=te,me=3;break;default:this.write=le,this.end=fe;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=se.allocUnsafe(me)}ue.prototype.write=function(ge){if(ge.length===0)return"";var me,he;if(this.lastNeed){if(me=this.fillLast(ge),me===void 0)return"";he=this.lastNeed,this.lastNeed=0}else he=0;return he<ge.length?me?me+this.text(ge,he):this.text(ge,he):me||""},ue.prototype.end=y,ue.prototype.text=a,ue.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 ae(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,me,he){var Se=me.length-1;if(Se<he)return 0;var ye=ae(me[Se]);return ye>=0?(ye>0&&(ge.lastNeed=ye-1),ye):--Se<he||ye===-2?0:(ye=ae(me[Se]),ye>=0?(ye>0&&(ge.lastNeed=ye-2),ye):--Se<he||ye===-2?0:(ye=ae(me[Se]),ye>=0?(ye>0&&(ye===2?ye=0:ge.lastNeed=ye-3),ye):0))}function re(ge,me,he){if((me[0]&192)!==128)return ge.lastNeed=0,"\uFFFD";if(ge.lastNeed>1&&me.length>1){if((me[1]&192)!==128)return ge.lastNeed=1,"\uFFFD";if(ge.lastNeed>2&&me.length>2&&(me[2]&192)!==128)return ge.lastNeed=2,"\uFFFD"}}function z(ge){var me=this.lastTotal-this.lastNeed,he=re(this,ge,me);if(he!==void 0)return he;if(this.lastNeed<=ge.length)return ge.copy(this.lastChar,me,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);ge.copy(this.lastChar,me,0,ge.length),this.lastNeed-=ge.length}function a(ge,me){var he=oe(this,ge,me);if(!this.lastNeed)return ge.toString("utf8",me);this.lastTotal=he;var Se=ge.length-(he-this.lastNeed);return ge.copy(this.lastChar,0,Se),ge.toString("utf8",me,Se)}function y(ge){var me=ge&&ge.length?this.write(ge):"";return this.lastNeed?me+"\uFFFD":me}function x(ge,me){if((ge.length-me)%2===0){var he=ge.toString("utf16le",me);if(he){var Se=he.charCodeAt(he.length-1);if(Se>=55296&&Se<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=ge[ge.length-2],this.lastChar[1]=ge[ge.length-1],he.slice(0,-1)}return he}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=ge[ge.length-1],ge.toString("utf16le",me,ge.length-1)}function b(ge){var me=ge&&ge.length?this.write(ge):"";if(this.lastNeed){var he=this.lastTotal-this.lastNeed;return me+this.lastChar.toString("utf16le",0,he)}return me}function ee(ge,me){var he=(ge.length-me)%3;return he===0?ge.toString("base64",me):(this.lastNeed=3-he,this.lastTotal=3,he===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",me,ge.length-he))}function te(ge){var me=ge&&ge.length?this.write(ge):"";return this.lastNeed?me+this.lastChar.toString("base64",0,3-this.lastNeed):me}function le(ge){return ge.toString(this.encoding)}function fe(ge){return ge&&ge.length?this.write(ge):""}},{"safe-buffer":396}],414:[function(E,pe,de){(function(se,ne){(function(){var ie=E("process/browser.js").nextTick,ce=Function.prototype.apply,ue=Array.prototype.slice,ae={},oe=0;de.setTimeout=function(){return new re(ce.call(setTimeout,window,arguments),clearTimeout)},de.setInterval=function(){return new re(ce.call(setInterval,window,arguments),clearInterval)},de.clearTimeout=de.clearInterval=function(z){z.close()};function re(z,a){this._id=z,this._clearFn=a}re.prototype.unref=re.prototype.ref=function(){},re.prototype.close=function(){this._clearFn.call(window,this._id)},de.enroll=function(z,a){clearTimeout(z._idleTimeoutId),z._idleTimeout=a},de.unenroll=function(z){clearTimeout(z._idleTimeoutId),z._idleTimeout=-1},de._unrefActive=de.active=function(z){clearTimeout(z._idleTimeoutId);var a=z._idleTimeout;a>=0&&(z._idleTimeoutId=setTimeout(function(){z._onTimeout&&z._onTimeout()},a))},de.setImmediate=typeof se=="function"?se:function(z){var a=oe++,y=arguments.length<2?!1:ue.call(arguments,1);return ae[a]=!0,ie(function(){ae[a]&&(y?z.apply(null,y):z.call(null),de.clearImmediate(a))}),a},de.clearImmediate=typeof ne=="function"?ne:function(z){delete ae[z]}}).call(this)}).call(this,E("timers").setImmediate,E("timers").clearImmediate)},{"process/browser.js":381,timers:414}],415:[function(E,pe,de){var se=E("buffer").Buffer;pe.exports=function(ne){if(ne instanceof Uint8Array){if(ne.byteOffset===0&&ne.byteLength===ne.buffer.byteLength)return ne.buffer;if(typeof ne.buffer.slice=="function")return ne.buffer.slice(ne.byteOffset,ne.byteOffset+ne.byteLength)}if(se.isBuffer(ne)){for(var ie=new Uint8Array(ne.length),ce=ne.length,ue=0;ue<ce;ue++)ie[ue]=ne[ue];return ie.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:90}],416:[function(E,pe,de){(function(se){(function(){pe.exports=ne;function ne(ce,ue){if(ie("noDeprecation"))return ce;var ae=!1;function oe(){if(!ae){if(ie("throwDeprecation"))throw new Error(ue);ie("traceDeprecation")?console.trace(ue):console.warn(ue),ae=!0}return ce.apply(this,arguments)}return oe}function ie(ce){try{if(!se.localStorage)return!1}catch(ae){return!1}var ue=se.localStorage[ce];return ue==null?!1:String(ue).toLowerCase()==="true"}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],417:[function(E,pe,de){arguments[4][84][0].apply(de,arguments)},{dup:84}],418:[function(E,pe,de){"use strict";var se=E("is-arguments"),ne=E("is-generator-function"),ie=E("which-typed-array"),ce=E("is-typed-array");function ue(Ie){return Ie.call.bind(Ie)}var ae=typeof BigInt!="undefined",oe=typeof Symbol!="undefined",re=ue(Object.prototype.toString),z=ue(Number.prototype.valueOf),a=ue(String.prototype.valueOf),y=ue(Boolean.prototype.valueOf);if(ae)var x=ue(BigInt.prototype.valueOf);if(oe)var b=ue(Symbol.prototype.valueOf);function ee(Ie,Ke){if(typeof Ie!="object")return!1;try{return Ke(Ie),!0}catch(at){return!1}}de.isArgumentsObject=se,de.isGeneratorFunction=ne,de.isTypedArray=ce;function te(Ie){return typeof Promise!="undefined"&&Ie instanceof Promise||Ie!==null&&typeof Ie=="object"&&typeof Ie.then=="function"&&typeof Ie.catch=="function"}de.isPromise=te;function le(Ie){return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?ArrayBuffer.isView(Ie):ce(Ie)||ze(Ie)}de.isArrayBufferView=le;function fe(Ie){return ie(Ie)==="Uint8Array"}de.isUint8Array=fe;function ge(Ie){return ie(Ie)==="Uint8ClampedArray"}de.isUint8ClampedArray=ge;function me(Ie){return ie(Ie)==="Uint16Array"}de.isUint16Array=me;function he(Ie){return ie(Ie)==="Uint32Array"}de.isUint32Array=he;function Se(Ie){return ie(Ie)==="Int8Array"}de.isInt8Array=Se;function ye(Ie){return ie(Ie)==="Int16Array"}de.isInt16Array=ye;function Pe(Ie){return ie(Ie)==="Int32Array"}de.isInt32Array=Pe;function we(Ie){return ie(Ie)==="Float32Array"}de.isFloat32Array=we;function De(Ie){return ie(Ie)==="Float64Array"}de.isFloat64Array=De;function xe(Ie){return ie(Ie)==="BigInt64Array"}de.isBigInt64Array=xe;function Ae(Ie){return ie(Ie)==="BigUint64Array"}de.isBigUint64Array=Ae;function Ce(Ie){return re(Ie)==="[object Map]"}Ce.working=typeof Map!="undefined"&&Ce(new Map);function je(Ie){return typeof Map=="undefined"?!1:Ce.working?Ce(Ie):Ie instanceof Map}de.isMap=je;function Fe(Ie){return re(Ie)==="[object Set]"}Fe.working=typeof Set!="undefined"&&Fe(new Set);function Ge(Ie){return typeof Set=="undefined"?!1:Fe.working?Fe(Ie):Ie instanceof Set}de.isSet=Ge;function Be(Ie){return re(Ie)==="[object WeakMap]"}Be.working=typeof WeakMap!="undefined"&&Be(new WeakMap);function tt(Ie){return typeof WeakMap=="undefined"?!1:Be.working?Be(Ie):Ie instanceof WeakMap}de.isWeakMap=tt;function Ye(Ie){return re(Ie)==="[object WeakSet]"}Ye.working=typeof WeakSet!="undefined"&&Ye(new WeakSet);function Ve(Ie){return Ye(Ie)}de.isWeakSet=Ve;function Xe(Ie){return re(Ie)==="[object ArrayBuffer]"}Xe.working=typeof ArrayBuffer!="undefined"&&Xe(new ArrayBuffer);function Ze(Ie){return typeof ArrayBuffer=="undefined"?!1:Xe.working?Xe(Ie):Ie instanceof ArrayBuffer}de.isArrayBuffer=Ze;function ke(Ie){return re(Ie)==="[object DataView]"}ke.working=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"&&ke(new DataView(new ArrayBuffer(1),0,1));function ze(Ie){return typeof DataView=="undefined"?!1:ke.working?ke(Ie):Ie instanceof DataView}de.isDataView=ze;var et=typeof SharedArrayBuffer!="undefined"?SharedArrayBuffer:void 0;function Je(Ie){return re(Ie)==="[object SharedArrayBuffer]"}function ut(Ie){return typeof et=="undefined"?!1:(typeof Je.working=="undefined"&&(Je.working=Je(new et)),Je.working?Je(Ie):Ie instanceof et)}de.isSharedArrayBuffer=ut;function Qe(Ie){return re(Ie)==="[object AsyncFunction]"}de.isAsyncFunction=Qe;function Ue(Ie){return re(Ie)==="[object Map Iterator]"}de.isMapIterator=Ue;function Re(Ie){return re(Ie)==="[object Set Iterator]"}de.isSetIterator=Re;function $e(Ie){return re(Ie)==="[object Generator]"}de.isGeneratorObject=$e;function Le(Ie){return re(Ie)==="[object WebAssembly.Module]"}de.isWebAssemblyCompiledModule=Le;function Ne(Ie){return ee(Ie,z)}de.isNumberObject=Ne;function qe(Ie){return ee(Ie,a)}de.isStringObject=qe;function We(Ie){return ee(Ie,y)}de.isBooleanObject=We;function Me(Ie){return ae&&ee(Ie,x)}de.isBigIntObject=Me;function Te(Ie){return oe&&ee(Ie,b)}de.isSymbolObject=Te;function Oe(Ie){return Ne(Ie)||qe(Ie)||We(Ie)||Me(Ie)||Te(Ie)}de.isBoxedPrimitive=Oe;function Ee(Ie){return typeof Uint8Array!="undefined"&&(Ze(Ie)||ut(Ie))}de.isAnyArrayBuffer=Ee,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Ie){Object.defineProperty(de,Ie,{enumerable:!1,value:function(){throw new Error(Ie+" is not supported in userland")}})})},{"is-arguments":365,"is-generator-function":368,"is-typed-array":369,"which-typed-array":420}],419:[function(E,pe,de){(function(se){(function(){var ne=Object.getOwnPropertyDescriptors||function(et){for(var Je=Object.keys(et),ut={},Qe=0;Qe<Je.length;Qe++)ut[Je[Qe]]=Object.getOwnPropertyDescriptor(et,Je[Qe]);return ut},ie=/%[sdj%]/g;de.format=function(ze){if(!ye(ze)){for(var et=[],Je=0;Je<arguments.length;Je++)et.push(oe(arguments[Je]));return et.join(" ")}for(var Je=1,ut=arguments,Qe=ut.length,Ue=String(ze).replace(ie,function($e){if($e==="%%")return"%";if(Je>=Qe)return $e;switch($e){case"%s":return String(ut[Je++]);case"%d":return Number(ut[Je++]);case"%j":try{return JSON.stringify(ut[Je++])}catch(Le){return"[Circular]"}default:return $e}}),Re=ut[Je];Je<Qe;Re=ut[++Je])me(Re)||!xe(Re)?Ue+=" "+Re:Ue+=" "+oe(Re);return Ue},de.deprecate=function(ze,et){if(typeof se!="undefined"&&se.noDeprecation===!0)return ze;if(typeof se=="undefined")return function(){return de.deprecate(ze,et).apply(this,arguments)};var Je=!1;function ut(){if(!Je){if(se.throwDeprecation)throw new Error(et);se.traceDeprecation?console.trace(et):console.error(et),Je=!0}return ze.apply(this,arguments)}return ut};var ce={},ue=/^$/;if(se.env.NODE_DEBUG){var ae=se.env.NODE_DEBUG;ae=ae.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),ue=new RegExp("^"+ae+"$","i")}de.debuglog=function(ze){if(ze=ze.toUpperCase(),!ce[ze])if(ue.test(ze)){var et=se.pid;ce[ze]=function(){var Je=de.format.apply(de,arguments);console.error("%s %d: %s",ze,et,Je)}}else ce[ze]=function(){};return ce[ze]};function oe(ze,et){var Je={seen:[],stylize:z};return arguments.length>=3&&(Je.depth=arguments[2]),arguments.length>=4&&(Je.colors=arguments[3]),ge(et)?Je.showHidden=et:et&&de._extend(Je,et),we(Je.showHidden)&&(Je.showHidden=!1),we(Je.depth)&&(Je.depth=2),we(Je.colors)&&(Je.colors=!1),we(Je.customInspect)&&(Je.customInspect=!0),Je.colors&&(Je.stylize=re),y(Je,ze,Je.depth)}de.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 re(ze,et){var Je=oe.styles[et];return Je?"\x1B["+oe.colors[Je][0]+"m"+ze+"\x1B["+oe.colors[Je][1]+"m":ze}function z(ze,et){return ze}function a(ze){var et={};return ze.forEach(function(Je,ut){et[Je]=!0}),et}function y(ze,et,Je){if(ze.customInspect&&et&&je(et.inspect)&&et.inspect!==de.inspect&&!(et.constructor&&et.constructor.prototype===et)){var ut=et.inspect(Je,ze);return ye(ut)||(ut=y(ze,ut,Je)),ut}var Qe=x(ze,et);if(Qe)return Qe;var Ue=Object.keys(et),Re=a(Ue);if(ze.showHidden&&(Ue=Object.getOwnPropertyNames(et)),Ce(et)&&(Ue.indexOf("message")>=0||Ue.indexOf("description")>=0))return b(et);if(Ue.length===0){if(je(et)){var $e=et.name?": "+et.name:"";return ze.stylize("[Function"+$e+"]","special")}if(De(et))return ze.stylize(RegExp.prototype.toString.call(et),"regexp");if(Ae(et))return ze.stylize(Date.prototype.toString.call(et),"date");if(Ce(et))return b(et)}var Le="",Ne=!1,qe=["{","}"];if(fe(et)&&(Ne=!0,qe=["[","]"]),je(et)){var We=et.name?": "+et.name:"";Le=" [Function"+We+"]"}if(De(et)&&(Le=" "+RegExp.prototype.toString.call(et)),Ae(et)&&(Le=" "+Date.prototype.toUTCString.call(et)),Ce(et)&&(Le=" "+b(et)),Ue.length===0&&(!Ne||et.length==0))return qe[0]+Le+qe[1];if(Je<0)return De(et)?ze.stylize(RegExp.prototype.toString.call(et),"regexp"):ze.stylize("[Object]","special");ze.seen.push(et);var Me;return Ne?Me=ee(ze,et,Je,Re,Ue):Me=Ue.map(function(Te){return te(ze,et,Je,Re,Te,Ne)}),ze.seen.pop(),le(Me,Le,qe)}function x(ze,et){if(we(et))return ze.stylize("undefined","undefined");if(ye(et)){var Je="'"+JSON.stringify(et).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ze.stylize(Je,"string")}if(Se(et))return ze.stylize(""+et,"number");if(ge(et))return ze.stylize(""+et,"boolean");if(me(et))return ze.stylize("null","null")}function b(ze){return"["+Error.prototype.toString.call(ze)+"]"}function ee(ze,et,Je,ut,Qe){for(var Ue=[],Re=0,$e=et.length;Re<$e;++Re)Ve(et,String(Re))?Ue.push(te(ze,et,Je,ut,String(Re),!0)):Ue.push("");return Qe.forEach(function(Le){Le.match(/^\d+$/)||Ue.push(te(ze,et,Je,ut,Le,!0))}),Ue}function te(ze,et,Je,ut,Qe,Ue){var Re,$e,Le;if(Le=Object.getOwnPropertyDescriptor(et,Qe)||{value:et[Qe]},Le.get?Le.set?$e=ze.stylize("[Getter/Setter]","special"):$e=ze.stylize("[Getter]","special"):Le.set&&($e=ze.stylize("[Setter]","special")),Ve(ut,Qe)||(Re="["+Qe+"]"),$e||(ze.seen.indexOf(Le.value)<0?(me(Je)?$e=y(ze,Le.value,null):$e=y(ze,Le.value,Je-1),$e.indexOf(`
|
|
|
`)>-1&&(Ue?$e=$e.split(`
|
|
|
`).map(function(Ne){return" "+Ne}).join(`
|
|
|
`).slice(2):$e=`
|
|
|
`+$e.split(`
|
|
|
`).map(function(Ne){return" "+Ne}).join(`
|
|
|
`))):$e=ze.stylize("[Circular]","special")),we(Re)){if(Ue&&Qe.match(/^\d+$/))return $e;Re=JSON.stringify(""+Qe),Re.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Re=Re.slice(1,-1),Re=ze.stylize(Re,"name")):(Re=Re.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Re=ze.stylize(Re,"string"))}return Re+": "+$e}function le(ze,et,Je){var ut=0,Qe=ze.reduce(function(Ue,Re){return ut++,Re.indexOf(`
|
|
|
`)>=0&&ut++,Ue+Re.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Qe>60?Je[0]+(et===""?"":et+`
|
|
|
`)+" "+ze.join(`,
|
|
|
`)+" "+Je[1]:Je[0]+et+" "+ze.join(", ")+" "+Je[1]}de.types=E("./support/types");function fe(ze){return Array.isArray(ze)}de.isArray=fe;function ge(ze){return typeof ze=="boolean"}de.isBoolean=ge;function me(ze){return ze===null}de.isNull=me;function he(ze){return ze==null}de.isNullOrUndefined=he;function Se(ze){return typeof ze=="number"}de.isNumber=Se;function ye(ze){return typeof ze=="string"}de.isString=ye;function Pe(ze){return typeof ze=="symbol"}de.isSymbol=Pe;function we(ze){return ze===void 0}de.isUndefined=we;function De(ze){return xe(ze)&&Ge(ze)==="[object RegExp]"}de.isRegExp=De,de.types.isRegExp=De;function xe(ze){return typeof ze=="object"&&ze!==null}de.isObject=xe;function Ae(ze){return xe(ze)&&Ge(ze)==="[object Date]"}de.isDate=Ae,de.types.isDate=Ae;function Ce(ze){return xe(ze)&&(Ge(ze)==="[object Error]"||ze instanceof Error)}de.isError=Ce,de.types.isNativeError=Ce;function je(ze){return typeof ze=="function"}de.isFunction=je;function Fe(ze){return ze===null||typeof ze=="boolean"||typeof ze=="number"||typeof ze=="string"||typeof ze=="symbol"||typeof ze=="undefined"}de.isPrimitive=Fe,de.isBuffer=E("./support/isBuffer");function Ge(ze){return Object.prototype.toString.call(ze)}function Be(ze){return ze<10?"0"+ze.toString(10):ze.toString(10)}var tt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Ye(){var ze=new Date,et=[Be(ze.getHours()),Be(ze.getMinutes()),Be(ze.getSeconds())].join(":");return[ze.getDate(),tt[ze.getMonth()],et].join(" ")}de.log=function(){console.log("%s - %s",Ye(),de.format.apply(de,arguments))},de.inherits=E("inherits"),de._extend=function(ze,et){if(!et||!xe(et))return ze;for(var Je=Object.keys(et),ut=Je.length;ut--;)ze[Je[ut]]=et[Je[ut]];return ze};function Ve(ze,et){return Object.prototype.hasOwnProperty.call(ze,et)}var Xe=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;de.promisify=function(et){if(typeof et!="function")throw new TypeError('The "original" argument must be of type Function');if(Xe&&et[Xe]){var Je=et[Xe];if(typeof Je!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Je,Xe,{value:Je,enumerable:!1,writable:!1,configurable:!0}),Je}function Je(){for(var ut,Qe,Ue=new Promise(function(Le,Ne){ut=Le,Qe=Ne}),Re=[],$e=0;$e<arguments.length;$e++)Re.push(arguments[$e]);Re.push(function(Le,Ne){Le?Qe(Le):ut(Ne)});try{et.apply(this,Re)}catch(Le){Qe(Le)}return Ue}return Object.setPrototypeOf(Je,Object.getPrototypeOf(et)),Xe&&Object.defineProperty(Je,Xe,{value:Je,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(Je,ne(et))},de.promisify.custom=Xe;function Ze(ze,et){if(!ze){var Je=new Error("Promise was rejected with a falsy value");Je.reason=ze,ze=Je}return et(ze)}function ke(ze){if(typeof ze!="function")throw new TypeError('The "original" argument must be of type Function');function et(){for(var Je=[],ut=0;ut<arguments.length;ut++)Je.push(arguments[ut]);var Qe=Je.pop();if(typeof Qe!="function")throw new TypeError("The last argument must be of type Function");var Ue=this,Re=function(){return Qe.apply(Ue,arguments)};ze.apply(this,Je).then(function($e){se.nextTick(Re.bind(null,null,$e))},function($e){se.nextTick(Ze.bind(null,$e,Re))})}return Object.setPrototypeOf(et,Object.getPrototypeOf(ze)),Object.defineProperties(et,ne(ze)),et}de.callbackify=ke}).call(this)}).call(this,E("_process"))},{"./support/isBuffer":417,"./support/types":418,_process:467,inherits:364}],420:[function(E,pe,de){(function(se){(function(){"use strict";var ne=E("for-each"),ie=E("available-typed-arrays"),ce=E("call-bind"),ue=E("call-bind/callBound"),ae=E("gopd"),oe=ue("Object.prototype.toString"),re=E("has-tostringtag/shams")(),z=typeof globalThis=="undefined"?se:globalThis,a=ie(),y=ue("String.prototype.slice"),x=Object.getPrototypeOf,b=ue("Array.prototype.indexOf",!0)||function(ge,me){for(var he=0;he<ge.length;he+=1)if(ge[he]===me)return he;return-1},ee={__proto__:null};re&&ae&&x?ne(a,function(fe){var ge=new z[fe];if(Symbol.toStringTag in ge){var me=x(ge),he=ae(me,Symbol.toStringTag);if(!he){var Se=x(me);he=ae(Se,Symbol.toStringTag)}ee["$"+fe]=ce(he.get)}}):ne(a,function(fe){var ge=new z[fe];ee["$"+fe]=ce(ge.slice)});var te=function(ge){var me=!1;return ne(ee,function(he,Se){if(!me)try{"$"+he(ge)===Se&&(me=y(Se,1))}catch(ye){}}),me},le=function(ge){var me=!1;return ne(ee,function(he,Se){if(!me)try{he(ge),me=y(Se,1)}catch(ye){}}),me};pe.exports=function(ge){if(!ge||typeof ge!="object")return!1;if(!re){var me=y(oe(ge),8,-1);return b(a,me)>-1?me:me!=="Object"?!1:le(ge)}return ae?te(ge):null}}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"available-typed-arrays":86,"call-bind":93,"call-bind/callBound":92,"for-each":345,gopd:349,"has-tostringtag/shams":353}],421:[function(E,pe,de){(function(){"use strict";de.stripBOM=function(se){return se[0]==="\uFEFF"?se.substring(1):se}}).call(this)},{}],422:[function(E,pe,de){(function(){"use strict";var se,ne,ie,ce,ue,ae={}.hasOwnProperty;se=E("xmlbuilder"),ne=E("./defaults").defaults,ce=function(oe){return typeof oe=="string"&&(oe.indexOf("&")>=0||oe.indexOf(">")>=0||oe.indexOf("<")>=0)},ue=function(oe){return"<![CDATA["+ie(oe)+"]]>"},ie=function(oe){return oe.replace("]]>","]]]]><![CDATA[>")},de.Builder=function(){function oe(re){var z,a,y;this.options={},a=ne["0.2"];for(z in a)ae.call(a,z)&&(y=a[z],this.options[z]=y);for(z in re)ae.call(re,z)&&(y=re[z],this.options[z]=y)}return oe.prototype.buildObject=function(re){var z,a,y,x,b;return z=this.options.attrkey,a=this.options.charkey,Object.keys(re).length===1&&this.options.rootName===ne["0.2"].rootName?(b=Object.keys(re)[0],re=re[b]):b=this.options.rootName,y=function(ee){return function(te,le){var fe,ge,me,he,Se,ye;if(typeof le!="object")ee.options.cdata&&ce(le)?te.raw(ue(le)):te.txt(le);else if(Array.isArray(le)){for(he in le)if(ae.call(le,he)){ge=le[he];for(Se in ge)me=ge[Se],te=y(te.ele(Se),me).up()}}else for(Se in le)if(ae.call(le,Se))if(ge=le[Se],Se===z){if(typeof ge=="object")for(fe in ge)ye=ge[fe],te=te.att(fe,ye)}else if(Se===a)ee.options.cdata&&ce(ge)?te=te.raw(ue(ge)):te=te.txt(ge);else if(Array.isArray(ge))for(he in ge)ae.call(ge,he)&&(me=ge[he],typeof me=="string"?ee.options.cdata&&ce(me)?te=te.ele(Se).raw(ue(me)).up():te=te.ele(Se,me).up():te=y(te.ele(Se),me).up());else typeof ge=="object"?te=y(te.ele(Se),ge).up():typeof ge=="string"&&ee.options.cdata&&ce(ge)?te=te.ele(Se).raw(ue(ge)).up():(ge==null&&(ge=""),te=te.ele(Se,ge.toString()).up());return te}}(this),x=se.create(b,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),y(x,re).end(this.options.renderOpts)},oe}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(E,pe,de){(function(){de.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:`
|
|
|
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},{}],424:[function(E,pe,de){(function(){"use strict";var se,ne,ie,ce,ue,ae,oe,re,z,a=function(b,ee){return function(){return b.apply(ee,arguments)}},y=function(b,ee){for(var te in ee)x.call(ee,te)&&(b[te]=ee[te]);function le(){this.constructor=b}return le.prototype=ee.prototype,b.prototype=new le,b.__super__=ee.prototype,b},x={}.hasOwnProperty;re=E("sax"),ce=E("events"),se=E("./bom"),oe=E("./processors"),z=E("timers").setImmediate,ne=E("./defaults").defaults,ue=function(b){return typeof b=="object"&&b!=null&&Object.keys(b).length===0},ae=function(b,ee,te){var le,fe,ge;for(le=0,fe=b.length;le<fe;le++)ge=b[le],ee=ge(ee,te);return ee},ie=function(b,ee,te){var le;return le=Object.create(null),le.value=te,le.writable=!0,le.enumerable=!0,le.configurable=!0,Object.defineProperty(b,ee,le)},de.Parser=function(b){y(ee,b);function ee(te){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 le,fe,ge;if(!(this instanceof de.Parser))return new de.Parser(te);this.options={},fe=ne["0.2"];for(le in fe)x.call(fe,le)&&(ge=fe[le],this.options[le]=ge);for(le in te)x.call(te,le)&&(ge=te[le],this.options[le]=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 ee.prototype.processAsync=function(){var te,le;try{return this.remaining.length<=this.options.chunkSize?(te=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(te),this.saxParser.close()):(te=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(te),z(this.processAsync))}catch(fe){if(le=fe,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(le)}},ee.prototype.assignOrPush=function(te,le,fe){return le in te?(te[le]instanceof Array||ie(te,le,[te[le]]),te[le].push(fe)):this.options.explicitArray?ie(te,le,[fe]):ie(te,le,fe)},ee.prototype.reset=function(){var te,le,fe,ge;return this.removeAllListeners(),this.saxParser=re.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(me){return function(he){if(me.saxParser.resume(),!me.saxParser.errThrown)return me.saxParser.errThrown=!0,me.emit("error",he)}}(this),this.saxParser.onend=function(me){return function(){if(!me.saxParser.ended)return me.saxParser.ended=!0,me.emit("end",me.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,ge=[],te=this.options.attrkey,le=this.options.charkey,this.saxParser.onopentag=function(me){return function(he){var Se,ye,Pe,we,De;if(Pe={},Pe[le]="",!me.options.ignoreAttrs){De=he.attributes;for(Se in De)x.call(De,Se)&&(!(te in Pe)&&!me.options.mergeAttrs&&(Pe[te]={}),ye=me.options.attrValueProcessors?ae(me.options.attrValueProcessors,he.attributes[Se],Se):he.attributes[Se],we=me.options.attrNameProcessors?ae(me.options.attrNameProcessors,Se):Se,me.options.mergeAttrs?me.assignOrPush(Pe,we,ye):ie(Pe[te],we,ye))}return Pe["#name"]=me.options.tagNameProcessors?ae(me.options.tagNameProcessors,he.name):he.name,me.options.xmlns&&(Pe[me.options.xmlnskey]={uri:he.uri,local:he.local}),ge.push(Pe)}}(this),this.saxParser.onclosetag=function(me){return function(){var he,Se,ye,Pe,we,De,xe,Ae,Ce,je;if(De=ge.pop(),we=De["#name"],(!me.options.explicitChildren||!me.options.preserveChildrenOrder)&&delete De["#name"],De.cdata===!0&&(he=De.cdata,delete De.cdata),Ce=ge[ge.length-1],De[le].match(/^\s*$/)&&!he?(Se=De[le],delete De[le]):(me.options.trim&&(De[le]=De[le].trim()),me.options.normalize&&(De[le]=De[le].replace(/\s{2,}/g," ").trim()),De[le]=me.options.valueProcessors?ae(me.options.valueProcessors,De[le],we):De[le],Object.keys(De).length===1&&le in De&&!me.EXPLICIT_CHARKEY&&(De=De[le])),ue(De)&&(typeof me.options.emptyTag=="function"?De=me.options.emptyTag():De=me.options.emptyTag!==""?me.options.emptyTag:Se),me.options.validator!=null&&(je="/"+function(){var Fe,Ge,Be;for(Be=[],Fe=0,Ge=ge.length;Fe<Ge;Fe++)Pe=ge[Fe],Be.push(Pe["#name"]);return Be}().concat(we).join("/"),function(){var Fe;try{return De=me.options.validator(je,Ce&&Ce[we],De)}catch(Ge){return Fe=Ge,me.emit("error",Fe)}}()),me.options.explicitChildren&&!me.options.mergeAttrs&&typeof De=="object"){if(!me.options.preserveChildrenOrder)Pe={},me.options.attrkey in De&&(Pe[me.options.attrkey]=De[me.options.attrkey],delete De[me.options.attrkey]),!me.options.charsAsChildren&&me.options.charkey in De&&(Pe[me.options.charkey]=De[me.options.charkey],delete De[me.options.charkey]),Object.getOwnPropertyNames(De).length>0&&(Pe[me.options.childkey]=De),De=Pe;else if(Ce){Ce[me.options.childkey]=Ce[me.options.childkey]||[],xe={};for(ye in De)x.call(De,ye)&&ie(xe,ye,De[ye]);Ce[me.options.childkey].push(xe),delete De["#name"],Object.keys(De).length===1&&le in De&&!me.EXPLICIT_CHARKEY&&(De=De[le])}}return ge.length>0?me.assignOrPush(Ce,we,De):(me.options.explicitRoot&&(Ae=De,De={},ie(De,we,Ae)),me.resultObject=De,me.saxParser.ended=!0,me.emit("end",me.resultObject))}}(this),fe=function(me){return function(he){var Se,ye;if(ye=ge[ge.length-1],ye)return ye[le]+=he,me.options.explicitChildren&&me.options.preserveChildrenOrder&&me.options.charsAsChildren&&(me.options.includeWhiteChars||he.replace(/\\n/g,"").trim()!=="")&&(ye[me.options.childkey]=ye[me.options.childkey]||[],Se={"#name":"__text__"},Se[le]=he,me.options.normalize&&(Se[le]=Se[le].replace(/\s{2,}/g," ").trim()),ye[me.options.childkey].push(Se)),ye}}(this),this.saxParser.ontext=fe,this.saxParser.oncdata=function(me){return function(he){var Se;if(Se=fe(he),Se)return Se.cdata=!0}}(this)},ee.prototype.parseString=function(te,le){var fe;le!=null&&typeof le=="function"&&(this.on("end",function(ge){return this.reset(),le(null,ge)}),this.on("error",function(ge){return this.reset(),le(ge)}));try{return te=te.toString(),te.trim()===""?(this.emit("end",null),!0):(te=se.stripBOM(te),this.options.async?(this.remaining=te,z(this.processAsync),this.saxParser):this.saxParser.write(te).close())}catch(ge){if(fe=ge,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw fe}else return this.emit("error",fe),this.saxParser.errThrown=!0}},ee.prototype.parseStringPromise=function(te){return new Promise(function(le){return function(fe,ge){return le.parseString(te,function(me,he){return me?ge(me):fe(he)})}}(this))},ee}(ce),de.parseString=function(b,ee,te){var le,fe,ge;return te!=null?(typeof te=="function"&&(le=te),typeof ee=="object"&&(fe=ee)):(typeof ee=="function"&&(le=ee),fe={}),ge=new de.Parser(fe),ge.parseString(b,le)},de.parseStringPromise=function(b,ee){var te,le;return typeof ee=="object"&&(te=ee),le=new de.Parser(te),le.parseStringPromise(b)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(E,pe,de){(function(){"use strict";var se;se=new RegExp(/(?!xmlns)^.*:/),de.normalize=function(ne){return ne.toLowerCase()},de.firstCharLowerCase=function(ne){return ne.charAt(0).toLowerCase()+ne.slice(1)},de.stripPrefix=function(ne){return ne.replace(se,"")},de.parseNumbers=function(ne){return isNaN(ne)||(ne=ne%1===0?parseInt(ne,10):parseFloat(ne)),ne},de.parseBooleans=function(ne){return/^(?:true|false)$/i.test(ne)&&(ne=ne.toLowerCase()==="true"),ne}}).call(this)},{}],426:[function(E,pe,de){(function(){"use strict";var se,ne,ie,ce,ue=function(oe,re){for(var z in re)ae.call(re,z)&&(oe[z]=re[z]);function a(){this.constructor=oe}return a.prototype=re.prototype,oe.prototype=new a,oe.__super__=re.prototype,oe},ae={}.hasOwnProperty;ne=E("./defaults"),se=E("./builder"),ie=E("./parser"),ce=E("./processors"),de.defaults=ne.defaults,de.processors=ce,de.ValidationError=function(oe){ue(re,oe);function re(z){this.message=z}return re}(Error),de.Builder=se.Builder,de.Parser=ie.Parser,de.parseString=ie.parseString,de.parseStringPromise=ie.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(E,pe,de){(function(){pe.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(E,pe,de){(function(){pe.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},{}],429:[function(E,pe,de){(function(){var se,ne,ie,ce,ue,ae,oe,re=[].slice,z={}.hasOwnProperty;se=function(){var a,y,x,b,ee,te;if(te=arguments[0],ee=2<=arguments.length?re.call(arguments,1):[],ue(Object.assign))Object.assign.apply(null,arguments);else for(a=0,x=ee.length;a<x;a++)if(b=ee[a],b!=null)for(y in b)z.call(b,y)&&(te[y]=b[y]);return te},ue=function(a){return!!a&&Object.prototype.toString.call(a)==="[object Function]"},ae=function(a){var y;return!!a&&((y=typeof a)=="function"||y==="object")},ie=function(a){return ue(Array.isArray)?Array.isArray(a):Object.prototype.toString.call(a)==="[object Array]"},ce=function(a){var y;if(ie(a))return!a.length;for(y in a)if(z.call(a,y))return!1;return!0},oe=function(a){var y,x;return ae(a)&&(x=Object.getPrototypeOf(a))&&(y=x.constructor)&&typeof y=="function"&&y instanceof y&&Function.prototype.toString.call(y)===Function.prototype.toString.call(Object)},ne=function(a){return ue(a.valueOf)?a.valueOf():a},pe.exports.assign=se,pe.exports.isFunction=ue,pe.exports.isObject=ae,pe.exports.isArray=ie,pe.exports.isEmpty=ce,pe.exports.isPlainObject=oe,pe.exports.getValue=ne}).call(this)},{}],430:[function(E,pe,de){(function(){pe.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},{}],431:[function(E,pe,de){(function(){var se,ne,ie;se=E("./NodeType"),ie=E("./XMLNode"),pe.exports=ne=function(){function ce(ue,ae,oe){if(this.parent=ue,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),ae==null)throw new Error("Missing attribute name. "+this.debugInfo(ae));this.name=this.stringify.name(ae),this.value=this.stringify.attValue(oe),this.type=se.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(ce.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(ce.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(ce.prototype,"textContent",{get:function(){return this.value},set:function(ue){return this.value=ue||""}}),Object.defineProperty(ce.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(ce.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(ce.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(ce.prototype,"specified",{get:function(){return!0}}),ce.prototype.clone=function(){return Object.create(this)},ce.prototype.toString=function(ue){return this.options.writer.attribute(this,this.options.writer.filterOptions(ue))},ce.prototype.debugInfo=function(ue){return ue=ue||this.name,ue==null?"parent: <"+this.parent.name+">":"attribute: {"+ue+"}, parent: <"+this.parent.name+">"},ce.prototype.isEqualNode=function(ue){return!(ue.namespaceURI!==this.namespaceURI||ue.prefix!==this.prefix||ue.localName!==this.localName||ue.value!==this.value)},ce}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(E,pe,de){(function(){var se,ne,ie,ce=function(ae,oe){for(var re in oe)ue.call(oe,re)&&(ae[re]=oe[re]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;se=E("./NodeType"),ie=E("./XMLCharacterData"),pe.exports=ne=function(ae){ce(oe,ae);function oe(re,z){if(oe.__super__.constructor.call(this,re),z==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=se.CData,this.value=this.stringify.cdata(z)}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(re){return this.options.writer.cdata(this,this.options.writer.filterOptions(re))},oe}(ie)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(E,pe,de){(function(){var se,ne,ie=function(ue,ae){for(var oe in ae)ce.call(ae,oe)&&(ue[oe]=ae[oe]);function re(){this.constructor=ue}return re.prototype=ae.prototype,ue.prototype=new re,ue.__super__=ae.prototype,ue},ce={}.hasOwnProperty;ne=E("./XMLNode"),pe.exports=se=function(ue){ie(ae,ue);function ae(oe){ae.__super__.constructor.call(this,oe),this.value=""}return Object.defineProperty(ae.prototype,"data",{get:function(){return this.value},set:function(oe){return this.value=oe||""}}),Object.defineProperty(ae.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(ae.prototype,"textContent",{get:function(){return this.value},set:function(oe){return this.value=oe||""}}),ae.prototype.clone=function(){return Object.create(this)},ae.prototype.substringData=function(oe,re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.appendData=function(oe){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.insertData=function(oe,re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.deleteData=function(oe,re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.replaceData=function(oe,re,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.isEqualNode=function(oe){return!(!ae.__super__.isEqualNode.apply(this,arguments).isEqualNode(oe)||oe.data!==this.data)},ae}(ne)}).call(this)},{"./XMLNode":450}],434:[function(E,pe,de){(function(){var se,ne,ie,ce=function(ae,oe){for(var re in oe)ue.call(oe,re)&&(ae[re]=oe[re]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;se=E("./NodeType"),ne=E("./XMLCharacterData"),pe.exports=ie=function(ae){ce(oe,ae);function oe(re,z){if(oe.__super__.constructor.call(this,re),z==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=se.Comment,this.value=this.stringify.comment(z)}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(re){return this.options.writer.comment(this,this.options.writer.filterOptions(re))},oe}(ne)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(E,pe,de){(function(){var se,ne,ie;ne=E("./XMLDOMErrorHandler"),ie=E("./XMLDOMStringList"),pe.exports=se=function(){function ce(){var ue;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new ne,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=ue=Object.create(this.defaultParams)}return Object.defineProperty(ce.prototype,"parameterNames",{get:function(){return new ie(Object.keys(this.defaultParams))}}),ce.prototype.getParameter=function(ue){return this.params.hasOwnProperty(ue)?this.params[ue]:null},ce.prototype.canSetParameter=function(ue,ae){return!0},ce.prototype.setParameter=function(ue,ae){return ae!=null?this.params[ue]=ae:delete this.params[ue]},ce}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(E,pe,de){(function(){var se;pe.exports=se=function(){function ne(){}return ne.prototype.handleError=function(ie){throw new Error(ie)},ne}()}).call(this)},{}],437:[function(E,pe,de){(function(){var se;pe.exports=se=function(){function ne(){}return ne.prototype.hasFeature=function(ie,ce){return!0},ne.prototype.createDocumentType=function(ie,ce,ue){throw new Error("This DOM method is not implemented.")},ne.prototype.createDocument=function(ie,ce,ue){throw new Error("This DOM method is not implemented.")},ne.prototype.createHTMLDocument=function(ie){throw new Error("This DOM method is not implemented.")},ne.prototype.getFeature=function(ie,ce){throw new Error("This DOM method is not implemented.")},ne}()}).call(this)},{}],438:[function(E,pe,de){(function(){var se;pe.exports=se=function(){function ne(ie){this.arr=ie||[]}return Object.defineProperty(ne.prototype,"length",{get:function(){return this.arr.length}}),ne.prototype.item=function(ie){return this.arr[ie]||null},ne.prototype.contains=function(ie){return this.arr.indexOf(ie)!==-1},ne}()}).call(this)},{}],439:[function(E,pe,de){(function(){var se,ne,ie,ce=function(ae,oe){for(var re in oe)ue.call(oe,re)&&(ae[re]=oe[re]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;ie=E("./XMLNode"),se=E("./NodeType"),pe.exports=ne=function(ae){ce(oe,ae);function oe(re,z,a,y,x,b){if(oe.__super__.constructor.call(this,re),z==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(a==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(z));if(!y)throw new Error("Missing DTD attribute type. "+this.debugInfo(z));if(!x)throw new Error("Missing DTD attribute default. "+this.debugInfo(z));if(x.indexOf("#")!==0&&(x="#"+x),!x.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(z));if(b&&!x.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(z));this.elementName=this.stringify.name(z),this.type=se.AttributeDeclaration,this.attributeName=this.stringify.name(a),this.attributeType=this.stringify.dtdAttType(y),b&&(this.defaultValue=this.stringify.dtdAttDefault(b)),this.defaultValueType=x}return oe.prototype.toString=function(re){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(re))},oe}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(E,pe,de){(function(){var se,ne,ie,ce=function(ae,oe){for(var re in oe)ue.call(oe,re)&&(ae[re]=oe[re]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;ie=E("./XMLNode"),se=E("./NodeType"),pe.exports=ne=function(ae){ce(oe,ae);function oe(re,z,a){if(oe.__super__.constructor.call(this,re),z==null)throw new Error("Missing DTD element name. "+this.debugInfo());a||(a="(#PCDATA)"),Array.isArray(a)&&(a="("+a.join(",")+")"),this.name=this.stringify.name(z),this.type=se.ElementDeclaration,this.value=this.stringify.dtdElementValue(a)}return oe.prototype.toString=function(re){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(re))},oe}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(E,pe,de){(function(){var se,ne,ie,ce,ue=function(oe,re){for(var z in re)ae.call(re,z)&&(oe[z]=re[z]);function a(){this.constructor=oe}return a.prototype=re.prototype,oe.prototype=new a,oe.__super__=re.prototype,oe},ae={}.hasOwnProperty;ce=E("./Utility").isObject,ie=E("./XMLNode"),se=E("./NodeType"),pe.exports=ne=function(oe){ue(re,oe);function re(z,a,y,x){if(re.__super__.constructor.call(this,z),y==null)throw new Error("Missing DTD entity name. "+this.debugInfo(y));if(x==null)throw new Error("Missing DTD entity value. "+this.debugInfo(y));if(this.pe=!!a,this.name=this.stringify.name(y),this.type=se.EntityDeclaration,!ce(x))this.value=this.stringify.dtdEntityValue(x),this.internal=!0;else{if(!x.pubID&&!x.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(y));if(x.pubID&&!x.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(y));if(this.internal=!1,x.pubID!=null&&(this.pubID=this.stringify.dtdPubID(x.pubID)),x.sysID!=null&&(this.sysID=this.stringify.dtdSysID(x.sysID)),x.nData!=null&&(this.nData=this.stringify.dtdNData(x.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(y))}}return Object.defineProperty(re.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(re.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(re.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(re.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(re.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(re.prototype,"xmlVersion",{get:function(){return null}}),re.prototype.toString=function(z){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(z))},re}(ie)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(E,pe,de){(function(){var se,ne,ie,ce=function(ae,oe){for(var re in oe)ue.call(oe,re)&&(ae[re]=oe[re]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;ie=E("./XMLNode"),se=E("./NodeType"),pe.exports=ne=function(ae){ce(oe,ae);function oe(re,z,a){if(oe.__super__.constructor.call(this,re),z==null)throw new Error("Missing DTD notation name. "+this.debugInfo(z));if(!a.pubID&&!a.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(z));this.name=this.stringify.name(z),this.type=se.NotationDeclaration,a.pubID!=null&&(this.pubID=this.stringify.dtdPubID(a.pubID)),a.sysID!=null&&(this.sysID=this.stringify.dtdSysID(a.sysID))}return Object.defineProperty(oe.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(oe.prototype,"systemId",{get:function(){return this.sysID}}),oe.prototype.toString=function(re){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(re))},oe}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(E,pe,de){(function(){var se,ne,ie,ce,ue=function(oe,re){for(var z in re)ae.call(re,z)&&(oe[z]=re[z]);function a(){this.constructor=oe}return a.prototype=re.prototype,oe.prototype=new a,oe.__super__=re.prototype,oe},ae={}.hasOwnProperty;ce=E("./Utility").isObject,ie=E("./XMLNode"),se=E("./NodeType"),pe.exports=ne=function(oe){ue(re,oe);function re(z,a,y,x){var b;re.__super__.constructor.call(this,z),ce(a)&&(b=a,a=b.version,y=b.encoding,x=b.standalone),a||(a="1.0"),this.type=se.Declaration,this.version=this.stringify.xmlVersion(a),y!=null&&(this.encoding=this.stringify.xmlEncoding(y)),x!=null&&(this.standalone=this.stringify.xmlStandalone(x))}return re.prototype.toString=function(z){return this.options.writer.declaration(this,this.options.writer.filterOptions(z))},re}(ie)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(E,pe,de){(function(){var se,ne,ie,ce,ue,ae,oe,re,z,a=function(x,b){for(var ee in b)y.call(b,ee)&&(x[ee]=b[ee]);function te(){this.constructor=x}return te.prototype=b.prototype,x.prototype=new te,x.__super__=b.prototype,x},y={}.hasOwnProperty;z=E("./Utility").isObject,re=E("./XMLNode"),se=E("./NodeType"),ne=E("./XMLDTDAttList"),ce=E("./XMLDTDEntity"),ie=E("./XMLDTDElement"),ue=E("./XMLDTDNotation"),oe=E("./XMLNamedNodeMap"),pe.exports=ae=function(x){a(b,x);function b(ee,te,le){var fe,ge,me,he,Se,ye;if(b.__super__.constructor.call(this,ee),this.type=se.DocType,ee.children){for(he=ee.children,ge=0,me=he.length;ge<me;ge++)if(fe=he[ge],fe.type===se.Element){this.name=fe.name;break}}this.documentObject=ee,z(te)&&(Se=te,te=Se.pubID,le=Se.sysID),le==null&&(ye=[te,le],le=ye[0],te=ye[1]),te!=null&&(this.pubID=this.stringify.dtdPubID(te)),le!=null&&(this.sysID=this.stringify.dtdSysID(le))}return Object.defineProperty(b.prototype,"entities",{get:function(){var ee,te,le,fe,ge;for(fe={},ge=this.children,te=0,le=ge.length;te<le;te++)ee=ge[te],ee.type===se.EntityDeclaration&&!ee.pe&&(fe[ee.name]=ee);return new oe(fe)}}),Object.defineProperty(b.prototype,"notations",{get:function(){var ee,te,le,fe,ge;for(fe={},ge=this.children,te=0,le=ge.length;te<le;te++)ee=ge[te],ee.type===se.NotationDeclaration&&(fe[ee.name]=ee);return new oe(fe)}}),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(ee,te){var le;return le=new ie(this,ee,te),this.children.push(le),this},b.prototype.attList=function(ee,te,le,fe,ge){var me;return me=new ne(this,ee,te,le,fe,ge),this.children.push(me),this},b.prototype.entity=function(ee,te){var le;return le=new ce(this,!1,ee,te),this.children.push(le),this},b.prototype.pEntity=function(ee,te){var le;return le=new ce(this,!0,ee,te),this.children.push(le),this},b.prototype.notation=function(ee,te){var le;return le=new ue(this,ee,te),this.children.push(le),this},b.prototype.toString=function(ee){return this.options.writer.docType(this,this.options.writer.filterOptions(ee))},b.prototype.ele=function(ee,te){return this.element(ee,te)},b.prototype.att=function(ee,te,le,fe,ge){return this.attList(ee,te,le,fe,ge)},b.prototype.ent=function(ee,te){return this.entity(ee,te)},b.prototype.pent=function(ee,te){return this.pEntity(ee,te)},b.prototype.not=function(ee,te){return this.notation(ee,te)},b.prototype.up=function(){return this.root()||this.documentObject},b.prototype.isEqualNode=function(ee){return!(!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(ee)||ee.name!==this.name||ee.publicId!==this.publicId||ee.systemId!==this.systemId)},b}(re)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLNamedNodeMap":449,"./XMLNode":450}],445:[function(E,pe,de){(function(){var se,ne,ie,ce,ue,ae,oe,re,z=function(y,x){for(var b in x)a.call(x,b)&&(y[b]=x[b]);function ee(){this.constructor=y}return ee.prototype=x.prototype,y.prototype=new ee,y.__super__=x.prototype,y},a={}.hasOwnProperty;re=E("./Utility").isPlainObject,ie=E("./XMLDOMImplementation"),ne=E("./XMLDOMConfiguration"),ue=E("./XMLNode"),se=E("./NodeType"),oe=E("./XMLStringifier"),ae=E("./XMLStringWriter"),pe.exports=ce=function(y){z(x,y);function x(b){x.__super__.constructor.call(this,null),this.name="#document",this.type=se.Document,this.documentURI=null,this.domConfig=new ne,b||(b={}),b.writer||(b.writer=new ae),this.options=b,this.stringify=new oe(b)}return Object.defineProperty(x.prototype,"implementation",{value:new ie}),Object.defineProperty(x.prototype,"doctype",{get:function(){var b,ee,te,le;for(le=this.children,ee=0,te=le.length;ee<te;ee++)if(b=le[ee],b.type===se.DocType)return b;return null}}),Object.defineProperty(x.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(x.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(x.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(x.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===se.Declaration?this.children[0].encoding:null}}),Object.defineProperty(x.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===se.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(x.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===se.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(x.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(x.prototype,"origin",{get:function(){return null}}),Object.defineProperty(x.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(x.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(x.prototype,"contentType",{get:function(){return null}}),x.prototype.end=function(b){var ee;return ee={},b?re(b)&&(ee=b,b=this.options.writer):b=this.options.writer,b.document(this,b.filterOptions(ee))},x.prototype.toString=function(b){return this.options.writer.document(this,this.options.writer.filterOptions(b))},x.prototype.createElement=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createTextNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createComment=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createCDATASection=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createProcessingInstruction=function(b,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createAttribute=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createEntityReference=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementsByTagName=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.importNode=function(b,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createElementNS=function(b,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createAttributeNS=function(b,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementsByTagNameNS=function(b,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementById=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.adoptNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.renameNode=function(b,ee,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementsByClassName=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createEvent=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createNodeIterator=function(b,ee,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createTreeWalker=function(b,ee,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},x}(ue)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDOMConfiguration":435,"./XMLDOMImplementation":437,"./XMLNode":450,"./XMLStringWriter":455,"./XMLStringifier":456}],446:[function(E,pe,de){(function(){var se,ne,ie,ce,ue,ae,oe,re,z,a,y,x,b,ee,te,le,fe,ge,me,he,Se,ye,Pe,we,De={}.hasOwnProperty;we=E("./Utility"),ye=we.isObject,Se=we.isFunction,Pe=we.isPlainObject,he=we.getValue,se=E("./NodeType"),x=E("./XMLDocument"),ee=E("./XMLElement"),ce=E("./XMLCData"),ue=E("./XMLComment"),le=E("./XMLRaw"),me=E("./XMLText"),te=E("./XMLProcessingInstruction"),a=E("./XMLDeclaration"),y=E("./XMLDocType"),ae=E("./XMLDTDAttList"),re=E("./XMLDTDEntity"),oe=E("./XMLDTDElement"),z=E("./XMLDTDNotation"),ie=E("./XMLAttribute"),ge=E("./XMLStringifier"),fe=E("./XMLStringWriter"),ne=E("./WriterState"),pe.exports=b=function(){function xe(Ae,Ce,je){var Fe;this.name="?xml",this.type=se.Document,Ae||(Ae={}),Fe={},Ae.writer?Pe(Ae.writer)&&(Fe=Ae.writer,Ae.writer=new fe):Ae.writer=new fe,this.options=Ae,this.writer=Ae.writer,this.writerOptions=this.writer.filterOptions(Fe),this.stringify=new ge(Ae),this.onDataCallback=Ce||function(){},this.onEndCallback=je||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return xe.prototype.createChildNode=function(Ae){var Ce,je,Fe,Ge,Be,tt,Ye,Ve;switch(Ae.type){case se.CData:this.cdata(Ae.value);break;case se.Comment:this.comment(Ae.value);break;case se.Element:Fe={},Ye=Ae.attribs;for(je in Ye)De.call(Ye,je)&&(Ce=Ye[je],Fe[je]=Ce.value);this.node(Ae.name,Fe);break;case se.Dummy:this.dummy();break;case se.Raw:this.raw(Ae.value);break;case se.Text:this.text(Ae.value);break;case se.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(Ve=Ae.children,Be=0,tt=Ve.length;Be<tt;Be++)Ge=Ve[Be],this.createChildNode(Ge),Ge.type===se.Element&&this.up();return this},xe.prototype.dummy=function(){return this},xe.prototype.node=function(Ae,Ce,je){var Fe;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=he(Ae),Ce==null&&(Ce={}),Ce=he(Ce),ye(Ce)||(Fe=[Ce,je],je=Fe[0],Ce=Fe[1]),this.currentNode=new ee(this,Ae,Ce),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,je!=null&&this.text(je),this},xe.prototype.element=function(Ae,Ce,je){var Fe,Ge,Be,tt,Ye,Ve;if(this.currentNode&&this.currentNode.type===se.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(Ae)||ye(Ae)||Se(Ae))for(tt=this.options.noValidation,this.options.noValidation=!0,Ve=new x(this.options).element("TEMP_ROOT"),Ve.element(Ae),this.options.noValidation=tt,Ye=Ve.children,Ge=0,Be=Ye.length;Ge<Be;Ge++)Fe=Ye[Ge],this.createChildNode(Fe),Fe.type===se.Element&&this.up();else this.node(Ae,Ce,je);return this},xe.prototype.attribute=function(Ae,Ce){var je,Fe;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=he(Ae)),ye(Ae))for(je in Ae)De.call(Ae,je)&&(Fe=Ae[je],this.attribute(je,Fe));else Se(Ce)&&(Ce=Ce.apply()),this.options.keepNullAttributes&&Ce==null?this.currentNode.attribs[Ae]=new ie(this,Ae,""):Ce!=null&&(this.currentNode.attribs[Ae]=new ie(this,Ae,Ce));return this},xe.prototype.text=function(Ae){var Ce;return this.openCurrent(),Ce=new me(this,Ae),this.onData(this.writer.text(Ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},xe.prototype.cdata=function(Ae){var Ce;return this.openCurrent(),Ce=new ce(this,Ae),this.onData(this.writer.cdata(Ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},xe.prototype.comment=function(Ae){var Ce;return this.openCurrent(),Ce=new ue(this,Ae),this.onData(this.writer.comment(Ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},xe.prototype.raw=function(Ae){var Ce;return this.openCurrent(),Ce=new le(this,Ae),this.onData(this.writer.raw(Ce,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},xe.prototype.instruction=function(Ae,Ce){var je,Fe,Ge,Be,tt;if(this.openCurrent(),Ae!=null&&(Ae=he(Ae)),Ce!=null&&(Ce=he(Ce)),Array.isArray(Ae))for(je=0,Be=Ae.length;je<Be;je++)Fe=Ae[je],this.instruction(Fe);else if(ye(Ae))for(Fe in Ae)De.call(Ae,Fe)&&(Ge=Ae[Fe],this.instruction(Fe,Ge));else Se(Ce)&&(Ce=Ce.apply()),tt=new te(this,Ae,Ce),this.onData(this.writer.processingInstruction(tt,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},xe.prototype.declaration=function(Ae,Ce,je){var Fe;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return Fe=new a(this,Ae,Ce,je),this.onData(this.writer.declaration(Fe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},xe.prototype.doctype=function(Ae,Ce,je){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,Ce,je),this.currentNode.rootNodeName=Ae,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},xe.prototype.dtdElement=function(Ae,Ce){var je;return this.openCurrent(),je=new oe(this,Ae,Ce),this.onData(this.writer.dtdElement(je,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},xe.prototype.attList=function(Ae,Ce,je,Fe,Ge){var Be;return this.openCurrent(),Be=new ae(this,Ae,Ce,je,Fe,Ge),this.onData(this.writer.dtdAttList(Be,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},xe.prototype.entity=function(Ae,Ce){var je;return this.openCurrent(),je=new re(this,!1,Ae,Ce),this.onData(this.writer.dtdEntity(je,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},xe.prototype.pEntity=function(Ae,Ce){var je;return this.openCurrent(),je=new re(this,!0,Ae,Ce),this.onData(this.writer.dtdEntity(je,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},xe.prototype.notation=function(Ae,Ce){var je;return this.openCurrent(),je=new z(this,Ae,Ce),this.onData(this.writer.dtdNotation(je,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},xe.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},xe.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},xe.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},xe.prototype.openNode=function(Ae){var Ce,je,Fe,Ge;if(!Ae.isOpen){if(!this.root&&this.currentLevel===0&&Ae.type===se.Element&&(this.root=Ae),je="",Ae.type===se.Element){this.writerOptions.state=ne.OpenTag,je=this.writer.indent(Ae,this.writerOptions,this.currentLevel)+"<"+Ae.name,Ge=Ae.attribs;for(Fe in Ge)De.call(Ge,Fe)&&(Ce=Ge[Fe],je+=this.writer.attribute(Ce,this.writerOptions,this.currentLevel));je+=(Ae.children?">":"/>")+this.writer.endline(Ae,this.writerOptions,this.currentLevel),this.writerOptions.state=ne.InsideTag}else this.writerOptions.state=ne.OpenTag,je=this.writer.indent(Ae,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+Ae.rootNodeName,Ae.pubID&&Ae.sysID?je+=' PUBLIC "'+Ae.pubID+'" "'+Ae.sysID+'"':Ae.sysID&&(je+=' SYSTEM "'+Ae.sysID+'"'),Ae.children?(je+=" [",this.writerOptions.state=ne.InsideTag):(this.writerOptions.state=ne.CloseTag,je+=">"),je+=this.writer.endline(Ae,this.writerOptions,this.currentLevel);return this.onData(je,this.currentLevel),Ae.isOpen=!0}},xe.prototype.closeNode=function(Ae){var Ce;if(!Ae.isClosed)return Ce="",this.writerOptions.state=ne.CloseTag,Ae.type===se.Element?Ce=this.writer.indent(Ae,this.writerOptions,this.currentLevel)+"</"+Ae.name+">"+this.writer.endline(Ae,this.writerOptions,this.currentLevel):Ce=this.writer.indent(Ae,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(Ae,this.writerOptions,this.currentLevel),this.writerOptions.state=ne.None,this.onData(Ce,this.currentLevel),Ae.isClosed=!0},xe.prototype.onData=function(Ae,Ce){return this.documentStarted=!0,this.onDataCallback(Ae,Ce+1)},xe.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},xe.prototype.debugInfo=function(Ae){return Ae==null?"":"node: <"+Ae+">"},xe.prototype.ele=function(){return this.element.apply(this,arguments)},xe.prototype.nod=function(Ae,Ce,je){return this.node(Ae,Ce,je)},xe.prototype.txt=function(Ae){return this.text(Ae)},xe.prototype.dat=function(Ae){return this.cdata(Ae)},xe.prototype.com=function(Ae){return this.comment(Ae)},xe.prototype.ins=function(Ae,Ce){return this.instruction(Ae,Ce)},xe.prototype.dec=function(Ae,Ce,je){return this.declaration(Ae,Ce,je)},xe.prototype.dtd=function(Ae,Ce,je){return this.doctype(Ae,Ce,je)},xe.prototype.e=function(Ae,Ce,je){return this.element(Ae,Ce,je)},xe.prototype.n=function(Ae,Ce,je){return this.node(Ae,Ce,je)},xe.prototype.t=function(Ae){return this.text(Ae)},xe.prototype.d=function(Ae){return this.cdata(Ae)},xe.prototype.c=function(Ae){return this.comment(Ae)},xe.prototype.r=function(Ae){return this.raw(Ae)},xe.prototype.i=function(Ae,Ce){return this.instruction(Ae,Ce)},xe.prototype.att=function(){return this.currentNode&&this.currentNode.type===se.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},xe.prototype.a=function(){return this.currentNode&&this.currentNode.type===se.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},xe.prototype.ent=function(Ae,Ce){return this.entity(Ae,Ce)},xe.prototype.pent=function(Ae,Ce){return this.pEntity(Ae,Ce)},xe.prototype.not=function(Ae,Ce){return this.notation(Ae,Ce)},xe}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLAttribute":431,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDocument":445,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLStringWriter":455,"./XMLStringifier":456,"./XMLText":457}],447:[function(E,pe,de){(function(){var se,ne,ie,ce=function(ae,oe){for(var re in oe)ue.call(oe,re)&&(ae[re]=oe[re]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;ie=E("./XMLNode"),se=E("./NodeType"),pe.exports=ne=function(ae){ce(oe,ae);function oe(re){oe.__super__.constructor.call(this,re),this.type=se.Dummy}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(re){return""},oe}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(E,pe,de){(function(){var se,ne,ie,ce,ue,ae,oe,re,z,a=function(x,b){for(var ee in b)y.call(b,ee)&&(x[ee]=b[ee]);function te(){this.constructor=x}return te.prototype=b.prototype,x.prototype=new te,x.__super__=b.prototype,x},y={}.hasOwnProperty;z=E("./Utility"),re=z.isObject,oe=z.isFunction,ae=z.getValue,ue=E("./XMLNode"),se=E("./NodeType"),ne=E("./XMLAttribute"),ce=E("./XMLNamedNodeMap"),pe.exports=ie=function(x){a(b,x);function b(ee,te,le){var fe,ge,me,he;if(b.__super__.constructor.call(this,ee),te==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(te),this.type=se.Element,this.attribs={},this.schemaTypeInfo=null,le!=null&&this.attribute(le),ee.type===se.Document&&(this.isRoot=!0,this.documentObject=ee,ee.rootObject=this,ee.children)){for(he=ee.children,ge=0,me=he.length;ge<me;ge++)if(fe=he[ge],fe.type===se.DocType){fe.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 ce(this.attribs)),this.attributeMap}}),b.prototype.clone=function(){var ee,te,le,fe;le=Object.create(this),le.isRoot&&(le.documentObject=null),le.attribs={},fe=this.attribs;for(te in fe)y.call(fe,te)&&(ee=fe[te],le.attribs[te]=ee.clone());return le.children=[],this.children.forEach(function(ge){var me;return me=ge.clone(),me.parent=le,le.children.push(me)}),le},b.prototype.attribute=function(ee,te){var le,fe;if(ee!=null&&(ee=ae(ee)),re(ee))for(le in ee)y.call(ee,le)&&(fe=ee[le],this.attribute(le,fe));else oe(te)&&(te=te.apply()),this.options.keepNullAttributes&&te==null?this.attribs[ee]=new ne(this,ee,""):te!=null&&(this.attribs[ee]=new ne(this,ee,te));return this},b.prototype.removeAttribute=function(ee){var te,le,fe;if(ee==null)throw new Error("Missing attribute name. "+this.debugInfo());if(ee=ae(ee),Array.isArray(ee))for(le=0,fe=ee.length;le<fe;le++)te=ee[le],delete this.attribs[te];else delete this.attribs[ee];return this},b.prototype.toString=function(ee){return this.options.writer.element(this,this.options.writer.filterOptions(ee))},b.prototype.att=function(ee,te){return this.attribute(ee,te)},b.prototype.a=function(ee,te){return this.attribute(ee,te)},b.prototype.getAttribute=function(ee){return this.attribs.hasOwnProperty(ee)?this.attribs[ee].value:null},b.prototype.setAttribute=function(ee,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNode=function(ee){return this.attribs.hasOwnProperty(ee)?this.attribs[ee]:null},b.prototype.setAttributeNode=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeAttributeNode=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNS=function(ee,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setAttributeNS=function(ee,te,le){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeAttributeNS=function(ee,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNodeNS=function(ee,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setAttributeNodeNS=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(ee,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.hasAttribute=function(ee){return this.attribs.hasOwnProperty(ee)},b.prototype.hasAttributeNS=function(ee,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setIdAttribute=function(ee,te){return this.attribs.hasOwnProperty(ee)?this.attribs[ee].isId:te},b.prototype.setIdAttributeNS=function(ee,te,le){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setIdAttributeNode=function(ee,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(ee,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByClassName=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.isEqualNode=function(ee){var te,le,fe;if(!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(ee)||ee.namespaceURI!==this.namespaceURI||ee.prefix!==this.prefix||ee.localName!==this.localName||ee.attribs.length!==this.attribs.length)return!1;for(te=le=0,fe=this.attribs.length-1;0<=fe?le<=fe:le>=fe;te=0<=fe?++le:--le)if(!this.attribs[te].isEqualNode(ee.attribs[te]))return!1;return!0},b}(ue)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(E,pe,de){(function(){var se;pe.exports=se=function(){function ne(ie){this.nodes=ie}return Object.defineProperty(ne.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),ne.prototype.clone=function(){return this.nodes=null},ne.prototype.getNamedItem=function(ie){return this.nodes[ie]},ne.prototype.setNamedItem=function(ie){var ce;return ce=this.nodes[ie.nodeName],this.nodes[ie.nodeName]=ie,ce||null},ne.prototype.removeNamedItem=function(ie){var ce;return ce=this.nodes[ie],delete this.nodes[ie],ce||null},ne.prototype.item=function(ie){return this.nodes[Object.keys(this.nodes)[ie]]||null},ne.prototype.getNamedItemNS=function(ie,ce){throw new Error("This DOM method is not implemented.")},ne.prototype.setNamedItemNS=function(ie){throw new Error("This DOM method is not implemented.")},ne.prototype.removeNamedItemNS=function(ie,ce){throw new Error("This DOM method is not implemented.")},ne}()}).call(this)},{}],450:[function(E,pe,de){(function(){var se,ne,ie,ce,ue,ae,oe,re,z,a,y,x,b,ee,te,le,fe,ge,me,he={}.hasOwnProperty;me=E("./Utility"),ge=me.isObject,fe=me.isFunction,le=me.isEmpty,te=me.getValue,re=null,ie=null,ce=null,ue=null,ae=null,b=null,ee=null,x=null,oe=null,ne=null,y=null,z=null,se=null,pe.exports=a=function(){function Se(ye){this.parent=ye,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,re||(re=E("./XMLElement"),ie=E("./XMLCData"),ce=E("./XMLComment"),ue=E("./XMLDeclaration"),ae=E("./XMLDocType"),b=E("./XMLRaw"),ee=E("./XMLText"),x=E("./XMLProcessingInstruction"),oe=E("./XMLDummy"),ne=E("./NodeType"),y=E("./XMLNodeList"),z=E("./XMLNamedNodeMap"),se=E("./DocumentPosition"))}return Object.defineProperty(Se.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(Se.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(Se.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(Se.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(Se.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new y(this.children)),this.childNodeList}}),Object.defineProperty(Se.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(Se.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(Se.prototype,"previousSibling",{get:function(){var ye;return ye=this.parent.children.indexOf(this),this.parent.children[ye-1]||null}}),Object.defineProperty(Se.prototype,"nextSibling",{get:function(){var ye;return ye=this.parent.children.indexOf(this),this.parent.children[ye+1]||null}}),Object.defineProperty(Se.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(Se.prototype,"textContent",{get:function(){var ye,Pe,we,De,xe;if(this.nodeType===ne.Element||this.nodeType===ne.DocumentFragment){for(xe="",De=this.children,Pe=0,we=De.length;Pe<we;Pe++)ye=De[Pe],ye.textContent&&(xe+=ye.textContent);return xe}else return null},set:function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Se.prototype.setParent=function(ye){var Pe,we,De,xe,Ae;for(this.parent=ye,ye&&(this.options=ye.options,this.stringify=ye.stringify),xe=this.children,Ae=[],we=0,De=xe.length;we<De;we++)Pe=xe[we],Ae.push(Pe.setParent(this));return Ae},Se.prototype.element=function(ye,Pe,we){var De,xe,Ae,Ce,je,Fe,Ge,Be,tt,Ye,Ve;if(Fe=null,Pe===null&&we==null&&(tt=[{},null],Pe=tt[0],we=tt[1]),Pe==null&&(Pe={}),Pe=te(Pe),ge(Pe)||(Ye=[Pe,we],we=Ye[0],Pe=Ye[1]),ye!=null&&(ye=te(ye)),Array.isArray(ye))for(Ae=0,Ge=ye.length;Ae<Ge;Ae++)xe=ye[Ae],Fe=this.element(xe);else if(fe(ye))Fe=this.element(ye.apply());else if(ge(ye)){for(je in ye)if(he.call(ye,je))if(Ve=ye[je],fe(Ve)&&(Ve=Ve.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&je.indexOf(this.stringify.convertAttKey)===0)Fe=this.attribute(je.substr(this.stringify.convertAttKey.length),Ve);else if(!this.options.separateArrayItems&&Array.isArray(Ve)&&le(Ve))Fe=this.dummy();else if(ge(Ve)&&le(Ve))Fe=this.element(je);else if(!this.options.keepNullNodes&&Ve==null)Fe=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(Ve))for(Ce=0,Be=Ve.length;Ce<Be;Ce++)xe=Ve[Ce],De={},De[je]=xe,Fe=this.element(De);else ge(Ve)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&je.indexOf(this.stringify.convertTextKey)===0?Fe=this.element(Ve):(Fe=this.element(je),Fe.element(Ve)):Fe=this.element(je,Ve)}else!this.options.keepNullNodes&&we===null?Fe=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&ye.indexOf(this.stringify.convertTextKey)===0?Fe=this.text(we):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&ye.indexOf(this.stringify.convertCDataKey)===0?Fe=this.cdata(we):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&ye.indexOf(this.stringify.convertCommentKey)===0?Fe=this.comment(we):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&ye.indexOf(this.stringify.convertRawKey)===0?Fe=this.raw(we):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&ye.indexOf(this.stringify.convertPIKey)===0?Fe=this.instruction(ye.substr(this.stringify.convertPIKey.length),we):Fe=this.node(ye,Pe,we);if(Fe==null)throw new Error("Could not create any elements with: "+ye+". "+this.debugInfo());return Fe},Se.prototype.insertBefore=function(ye,Pe,we){var De,xe,Ae,Ce,je;if(ye!=null&&ye.type)return Ae=ye,Ce=Pe,Ae.setParent(this),Ce?(xe=children.indexOf(Ce),je=children.splice(xe),children.push(Ae),Array.prototype.push.apply(children,je)):children.push(Ae),Ae;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(ye));return xe=this.parent.children.indexOf(this),je=this.parent.children.splice(xe),De=this.parent.element(ye,Pe,we),Array.prototype.push.apply(this.parent.children,je),De},Se.prototype.insertAfter=function(ye,Pe,we){var De,xe,Ae;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(ye));return xe=this.parent.children.indexOf(this),Ae=this.parent.children.splice(xe+1),De=this.parent.element(ye,Pe,we),Array.prototype.push.apply(this.parent.children,Ae),De},Se.prototype.remove=function(){var ye,Pe;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return ye=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[ye,ye-ye+1].concat(Pe=[])),this.parent},Se.prototype.node=function(ye,Pe,we){var De,xe;return ye!=null&&(ye=te(ye)),Pe||(Pe={}),Pe=te(Pe),ge(Pe)||(xe=[Pe,we],we=xe[0],Pe=xe[1]),De=new re(this,ye,Pe),we!=null&&De.text(we),this.children.push(De),De},Se.prototype.text=function(ye){var Pe;return ge(ye)&&this.element(ye),Pe=new ee(this,ye),this.children.push(Pe),this},Se.prototype.cdata=function(ye){var Pe;return Pe=new ie(this,ye),this.children.push(Pe),this},Se.prototype.comment=function(ye){var Pe;return Pe=new ce(this,ye),this.children.push(Pe),this},Se.prototype.commentBefore=function(ye){var Pe,we,De;return we=this.parent.children.indexOf(this),De=this.parent.children.splice(we),Pe=this.parent.comment(ye),Array.prototype.push.apply(this.parent.children,De),this},Se.prototype.commentAfter=function(ye){var Pe,we,De;return we=this.parent.children.indexOf(this),De=this.parent.children.splice(we+1),Pe=this.parent.comment(ye),Array.prototype.push.apply(this.parent.children,De),this},Se.prototype.raw=function(ye){var Pe;return Pe=new b(this,ye),this.children.push(Pe),this},Se.prototype.dummy=function(){var ye;return ye=new oe(this),ye},Se.prototype.instruction=function(ye,Pe){var we,De,xe,Ae,Ce;if(ye!=null&&(ye=te(ye)),Pe!=null&&(Pe=te(Pe)),Array.isArray(ye))for(Ae=0,Ce=ye.length;Ae<Ce;Ae++)we=ye[Ae],this.instruction(we);else if(ge(ye))for(we in ye)he.call(ye,we)&&(De=ye[we],this.instruction(we,De));else fe(Pe)&&(Pe=Pe.apply()),xe=new x(this,ye,Pe),this.children.push(xe);return this},Se.prototype.instructionBefore=function(ye,Pe){var we,De,xe;return De=this.parent.children.indexOf(this),xe=this.parent.children.splice(De),we=this.parent.instruction(ye,Pe),Array.prototype.push.apply(this.parent.children,xe),this},Se.prototype.instructionAfter=function(ye,Pe){var we,De,xe;return De=this.parent.children.indexOf(this),xe=this.parent.children.splice(De+1),we=this.parent.instruction(ye,Pe),Array.prototype.push.apply(this.parent.children,xe),this},Se.prototype.declaration=function(ye,Pe,we){var De,xe;return De=this.document(),xe=new ue(De,ye,Pe,we),De.children.length===0?De.children.unshift(xe):De.children[0].type===ne.Declaration?De.children[0]=xe:De.children.unshift(xe),De.root()||De},Se.prototype.dtd=function(ye,Pe){var we,De,xe,Ae,Ce,je,Fe,Ge,Be,tt;for(De=this.document(),xe=new ae(De,ye,Pe),Be=De.children,Ae=Ce=0,Fe=Be.length;Ce<Fe;Ae=++Ce)if(we=Be[Ae],we.type===ne.DocType)return De.children[Ae]=xe,xe;for(tt=De.children,Ae=je=0,Ge=tt.length;je<Ge;Ae=++je)if(we=tt[Ae],we.isRoot)return De.children.splice(Ae,0,xe),xe;return De.children.push(xe),xe},Se.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},Se.prototype.root=function(){var ye;for(ye=this;ye;){if(ye.type===ne.Document)return ye.rootObject;if(ye.isRoot)return ye;ye=ye.parent}},Se.prototype.document=function(){var ye;for(ye=this;ye;){if(ye.type===ne.Document)return ye;ye=ye.parent}},Se.prototype.end=function(ye){return this.document().end(ye)},Se.prototype.prev=function(){var ye;if(ye=this.parent.children.indexOf(this),ye<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[ye-1]},Se.prototype.next=function(){var ye;if(ye=this.parent.children.indexOf(this),ye===-1||ye===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[ye+1]},Se.prototype.importDocument=function(ye){var Pe;return Pe=ye.root().clone(),Pe.parent=this,Pe.isRoot=!1,this.children.push(Pe),this},Se.prototype.debugInfo=function(ye){var Pe,we;return ye=ye||this.name,ye==null&&!((Pe=this.parent)!=null&&Pe.name)?"":ye==null?"parent: <"+this.parent.name+">":(we=this.parent)!=null&&we.name?"node: <"+ye+">, parent: <"+this.parent.name+">":"node: <"+ye+">"},Se.prototype.ele=function(ye,Pe,we){return this.element(ye,Pe,we)},Se.prototype.nod=function(ye,Pe,we){return this.node(ye,Pe,we)},Se.prototype.txt=function(ye){return this.text(ye)},Se.prototype.dat=function(ye){return this.cdata(ye)},Se.prototype.com=function(ye){return this.comment(ye)},Se.prototype.ins=function(ye,Pe){return this.instruction(ye,Pe)},Se.prototype.doc=function(){return this.document()},Se.prototype.dec=function(ye,Pe,we){return this.declaration(ye,Pe,we)},Se.prototype.e=function(ye,Pe,we){return this.element(ye,Pe,we)},Se.prototype.n=function(ye,Pe,we){return this.node(ye,Pe,we)},Se.prototype.t=function(ye){return this.text(ye)},Se.prototype.d=function(ye){return this.cdata(ye)},Se.prototype.c=function(ye){return this.comment(ye)},Se.prototype.r=function(ye){return this.raw(ye)},Se.prototype.i=function(ye,Pe){return this.instruction(ye,Pe)},Se.prototype.u=function(){return this.up()},Se.prototype.importXMLBuilder=function(ye){return this.importDocument(ye)},Se.prototype.replaceChild=function(ye,Pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.removeChild=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.appendChild=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.hasChildNodes=function(){return this.children.length!==0},Se.prototype.cloneNode=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.isSupported=function(ye,Pe){return!0},Se.prototype.hasAttributes=function(){return this.attribs.length!==0},Se.prototype.compareDocumentPosition=function(ye){var Pe,we;return Pe=this,Pe===ye?0:this.document()!==ye.document()?(we=se.Disconnected|se.ImplementationSpecific,Math.random()<.5?we|=se.Preceding:we|=se.Following,we):Pe.isAncestor(ye)?se.Contains|se.Preceding:Pe.isDescendant(ye)?se.Contains|se.Following:Pe.isPreceding(ye)?se.Preceding:se.Following},Se.prototype.isSameNode=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.lookupPrefix=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.isDefaultNamespace=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.lookupNamespaceURI=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.isEqualNode=function(ye){var Pe,we,De;if(ye.nodeType!==this.nodeType||ye.children.length!==this.children.length)return!1;for(Pe=we=0,De=this.children.length-1;0<=De?we<=De:we>=De;Pe=0<=De?++we:--we)if(!this.children[Pe].isEqualNode(ye.children[Pe]))return!1;return!0},Se.prototype.getFeature=function(ye,Pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.setUserData=function(ye,Pe,we){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.getUserData=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},Se.prototype.contains=function(ye){return ye?ye===this||this.isDescendant(ye):!1},Se.prototype.isDescendant=function(ye){var Pe,we,De,xe,Ae;for(Ae=this.children,De=0,xe=Ae.length;De<xe;De++)if(Pe=Ae[De],ye===Pe||(we=Pe.isDescendant(ye),we))return!0;return!1},Se.prototype.isAncestor=function(ye){return ye.isDescendant(this)},Se.prototype.isPreceding=function(ye){var Pe,we;return Pe=this.treePosition(ye),we=this.treePosition(this),Pe===-1||we===-1?!1:Pe<we},Se.prototype.isFollowing=function(ye){var Pe,we;return Pe=this.treePosition(ye),we=this.treePosition(this),Pe===-1||we===-1?!1:Pe>we},Se.prototype.treePosition=function(ye){var Pe,we;return we=0,Pe=!1,this.foreachTreeNode(this.document(),function(De){if(we++,!Pe&&De===ye)return Pe=!0}),Pe?we:-1},Se.prototype.foreachTreeNode=function(ye,Pe){var we,De,xe,Ae,Ce;for(ye||(ye=this.document()),Ae=ye.children,De=0,xe=Ae.length;De<xe;De++){if(we=Ae[De],Ce=Pe(we))return Ce;if(Ce=this.foreachTreeNode(we,Pe),Ce)return Ce}},Se}()}).call(this)},{"./DocumentPosition":427,"./NodeType":428,"./Utility":429,"./XMLCData":432,"./XMLComment":434,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLNamedNodeMap":449,"./XMLNodeList":451,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],451:[function(E,pe,de){(function(){var se;pe.exports=se=function(){function ne(ie){this.nodes=ie}return Object.defineProperty(ne.prototype,"length",{get:function(){return this.nodes.length||0}}),ne.prototype.clone=function(){return this.nodes=null},ne.prototype.item=function(ie){return this.nodes[ie]||null},ne}()}).call(this)},{}],452:[function(E,pe,de){(function(){var se,ne,ie,ce=function(ae,oe){for(var re in oe)ue.call(oe,re)&&(ae[re]=oe[re]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;se=E("./NodeType"),ne=E("./XMLCharacterData"),pe.exports=ie=function(ae){ce(oe,ae);function oe(re,z,a){if(oe.__super__.constructor.call(this,re),z==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=se.ProcessingInstruction,this.target=this.stringify.insTarget(z),this.name=this.target,a&&(this.value=this.stringify.insValue(a))}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(re){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(re))},oe.prototype.isEqualNode=function(re){return!(!oe.__super__.isEqualNode.apply(this,arguments).isEqualNode(re)||re.target!==this.target)},oe}(ne)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],453:[function(E,pe,de){(function(){var se,ne,ie,ce=function(ae,oe){for(var re in oe)ue.call(oe,re)&&(ae[re]=oe[re]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;se=E("./NodeType"),ne=E("./XMLNode"),pe.exports=ie=function(ae){ce(oe,ae);function oe(re,z){if(oe.__super__.constructor.call(this,re),z==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=se.Raw,this.value=this.stringify.raw(z)}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(re){return this.options.writer.raw(this,this.options.writer.filterOptions(re))},oe}(ne)}).call(this)},{"./NodeType":428,"./XMLNode":450}],454:[function(E,pe,de){(function(){var se,ne,ie,ce,ue=function(oe,re){for(var z in re)ae.call(re,z)&&(oe[z]=re[z]);function a(){this.constructor=oe}return a.prototype=re.prototype,oe.prototype=new a,oe.__super__=re.prototype,oe},ae={}.hasOwnProperty;se=E("./NodeType"),ce=E("./XMLWriterBase"),ne=E("./WriterState"),pe.exports=ie=function(oe){ue(re,oe);function re(z,a){this.stream=z,re.__super__.constructor.call(this,a)}return re.prototype.endline=function(z,a,y){return z.isLastRootNode&&a.state===ne.CloseTag?"":re.__super__.endline.call(this,z,a,y)},re.prototype.document=function(z,a){var y,x,b,ee,te,le,fe,ge,me;for(fe=z.children,x=b=0,te=fe.length;b<te;x=++b)y=fe[x],y.isLastRootNode=x===z.children.length-1;for(a=this.filterOptions(a),ge=z.children,me=[],ee=0,le=ge.length;ee<le;ee++)y=ge[ee],me.push(this.writeChildNode(y,a,0));return me},re.prototype.attribute=function(z,a,y){return this.stream.write(re.__super__.attribute.call(this,z,a,y))},re.prototype.cdata=function(z,a,y){return this.stream.write(re.__super__.cdata.call(this,z,a,y))},re.prototype.comment=function(z,a,y){return this.stream.write(re.__super__.comment.call(this,z,a,y))},re.prototype.declaration=function(z,a,y){return this.stream.write(re.__super__.declaration.call(this,z,a,y))},re.prototype.docType=function(z,a,y){var x,b,ee,te;if(y||(y=0),this.openNode(z,a,y),a.state=ne.OpenTag,this.stream.write(this.indent(z,a,y)),this.stream.write("<!DOCTYPE "+z.root().name),z.pubID&&z.sysID?this.stream.write(' PUBLIC "'+z.pubID+'" "'+z.sysID+'"'):z.sysID&&this.stream.write(' SYSTEM "'+z.sysID+'"'),z.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(z,a,y)),a.state=ne.InsideTag,te=z.children,b=0,ee=te.length;b<ee;b++)x=te[b],this.writeChildNode(x,a,y+1);a.state=ne.CloseTag,this.stream.write("]")}return a.state=ne.CloseTag,this.stream.write(a.spaceBeforeSlash+">"),this.stream.write(this.endline(z,a,y)),a.state=ne.None,this.closeNode(z,a,y)},re.prototype.element=function(z,a,y){var x,b,ee,te,le,fe,ge,me,he,Se;y||(y=0),this.openNode(z,a,y),a.state=ne.OpenTag,this.stream.write(this.indent(z,a,y)+"<"+z.name),he=z.attribs;for(ge in he)ae.call(he,ge)&&(x=he[ge],this.attribute(x,a,y));if(ee=z.children.length,te=ee===0?null:z.children[0],ee===0||z.children.every(function(ye){return(ye.type===se.Text||ye.type===se.Raw)&&ye.value===""}))a.allowEmpty?(this.stream.write(">"),a.state=ne.CloseTag,this.stream.write("</"+z.name+">")):(a.state=ne.CloseTag,this.stream.write(a.spaceBeforeSlash+"/>"));else if(a.pretty&&ee===1&&(te.type===se.Text||te.type===se.Raw)&&te.value!=null)this.stream.write(">"),a.state=ne.InsideTag,a.suppressPrettyCount++,me=!0,this.writeChildNode(te,a,y+1),a.suppressPrettyCount--,me=!1,a.state=ne.CloseTag,this.stream.write("</"+z.name+">");else{for(this.stream.write(">"+this.endline(z,a,y)),a.state=ne.InsideTag,Se=z.children,le=0,fe=Se.length;le<fe;le++)b=Se[le],this.writeChildNode(b,a,y+1);a.state=ne.CloseTag,this.stream.write(this.indent(z,a,y)+"</"+z.name+">")}return this.stream.write(this.endline(z,a,y)),a.state=ne.None,this.closeNode(z,a,y)},re.prototype.processingInstruction=function(z,a,y){return this.stream.write(re.__super__.processingInstruction.call(this,z,a,y))},re.prototype.raw=function(z,a,y){return this.stream.write(re.__super__.raw.call(this,z,a,y))},re.prototype.text=function(z,a,y){return this.stream.write(re.__super__.text.call(this,z,a,y))},re.prototype.dtdAttList=function(z,a,y){return this.stream.write(re.__super__.dtdAttList.call(this,z,a,y))},re.prototype.dtdElement=function(z,a,y){return this.stream.write(re.__super__.dtdElement.call(this,z,a,y))},re.prototype.dtdEntity=function(z,a,y){return this.stream.write(re.__super__.dtdEntity.call(this,z,a,y))},re.prototype.dtdNotation=function(z,a,y){return this.stream.write(re.__super__.dtdNotation.call(this,z,a,y))},re}(ce)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(E,pe,de){(function(){var se,ne,ie=function(ue,ae){for(var oe in ae)ce.call(ae,oe)&&(ue[oe]=ae[oe]);function re(){this.constructor=ue}return re.prototype=ae.prototype,ue.prototype=new re,ue.__super__=ae.prototype,ue},ce={}.hasOwnProperty;ne=E("./XMLWriterBase"),pe.exports=se=function(ue){ie(ae,ue);function ae(oe){ae.__super__.constructor.call(this,oe)}return ae.prototype.document=function(oe,re){var z,a,y,x,b;for(re=this.filterOptions(re),x="",b=oe.children,a=0,y=b.length;a<y;a++)z=b[a],x+=this.writeChildNode(z,re,0);return re.pretty&&x.slice(-re.newline.length)===re.newline&&(x=x.slice(0,-re.newline.length)),x},ae}(ne)}).call(this)},{"./XMLWriterBase":458}],456:[function(E,pe,de){(function(){var se,ne=function(ce,ue){return function(){return ce.apply(ue,arguments)}},ie={}.hasOwnProperty;pe.exports=se=function(){function ce(ue){this.assertLegalName=ne(this.assertLegalName,this),this.assertLegalChar=ne(this.assertLegalChar,this);var ae,oe,re;ue||(ue={}),this.options=ue,this.options.version||(this.options.version="1.0"),oe=ue.stringify||{};for(ae in oe)ie.call(oe,ae)&&(re=oe[ae],this[ae]=re)}return ce.prototype.name=function(ue){return this.options.noValidation?ue:this.assertLegalName(""+ue||"")},ce.prototype.text=function(ue){return this.options.noValidation?ue:this.assertLegalChar(this.textEscape(""+ue||""))},ce.prototype.cdata=function(ue){return this.options.noValidation?ue:(ue=""+ue||"",ue=ue.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(ue))},ce.prototype.comment=function(ue){if(this.options.noValidation)return ue;if(ue=""+ue||"",ue.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+ue);return this.assertLegalChar(ue)},ce.prototype.raw=function(ue){return this.options.noValidation?ue:""+ue||""},ce.prototype.attValue=function(ue){return this.options.noValidation?ue:this.assertLegalChar(this.attEscape(ue=""+ue||""))},ce.prototype.insTarget=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ce.prototype.insValue=function(ue){if(this.options.noValidation)return ue;if(ue=""+ue||"",ue.match(/\?>/))throw new Error("Invalid processing instruction value: "+ue);return this.assertLegalChar(ue)},ce.prototype.xmlVersion=function(ue){if(this.options.noValidation)return ue;if(ue=""+ue||"",!ue.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+ue);return ue},ce.prototype.xmlEncoding=function(ue){if(this.options.noValidation)return ue;if(ue=""+ue||"",!ue.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+ue);return this.assertLegalChar(ue)},ce.prototype.xmlStandalone=function(ue){return this.options.noValidation?ue:ue?"yes":"no"},ce.prototype.dtdPubID=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ce.prototype.dtdSysID=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ce.prototype.dtdElementValue=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ce.prototype.dtdAttType=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ce.prototype.dtdAttDefault=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ce.prototype.dtdEntityValue=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ce.prototype.dtdNData=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ce.prototype.convertAttKey="@",ce.prototype.convertPIKey="?",ce.prototype.convertTextKey="#text",ce.prototype.convertCDataKey="#cdata",ce.prototype.convertCommentKey="#comment",ce.prototype.convertRawKey="#raw",ce.prototype.assertLegalChar=function(ue){var ae,oe;if(this.options.noValidation)return ue;if(ae="",this.options.version==="1.0"){if(ae=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,oe=ue.match(ae))throw new Error("Invalid character in string: "+ue+" at index "+oe.index)}else if(this.options.version==="1.1"&&(ae=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,oe=ue.match(ae)))throw new Error("Invalid character in string: "+ue+" at index "+oe.index);return ue},ce.prototype.assertLegalName=function(ue){var ae;if(this.options.noValidation)return ue;if(this.assertLegalChar(ue),ae=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!ue.match(ae))throw new Error("Invalid character in name");return ue},ce.prototype.textEscape=function(ue){var ae;return this.options.noValidation?ue:(ae=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ue.replace(ae,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},ce.prototype.attEscape=function(ue){var ae;return this.options.noValidation?ue:(ae=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ue.replace(ae,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},ce}()}).call(this)},{}],457:[function(E,pe,de){(function(){var se,ne,ie,ce=function(ae,oe){for(var re in oe)ue.call(oe,re)&&(ae[re]=oe[re]);function z(){this.constructor=ae}return z.prototype=oe.prototype,ae.prototype=new z,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;se=E("./NodeType"),ne=E("./XMLCharacterData"),pe.exports=ie=function(ae){ce(oe,ae);function oe(re,z){if(oe.__super__.constructor.call(this,re),z==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=se.Text,this.value=this.stringify.text(z)}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 re,z,a;for(a="",z=this.previousSibling;z;)a=z.data+a,z=z.previousSibling;for(a+=this.data,re=this.nextSibling;re;)a=a+re.data,re=re.nextSibling;return a}}),oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(re){return this.options.writer.text(this,this.options.writer.filterOptions(re))},oe.prototype.splitText=function(re){throw new Error("This DOM method is not implemented."+this.debugInfo())},oe.prototype.replaceWholeText=function(re){throw new Error("This DOM method is not implemented."+this.debugInfo())},oe}(ne)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],458:[function(E,pe,de){(function(){var se,ne,ie,ce,ue,ae,oe,re,z,a,y,x,b,ee,te,le,fe,ge={}.hasOwnProperty;fe=E("./Utility").assign,se=E("./NodeType"),z=E("./XMLDeclaration"),a=E("./XMLDocType"),ie=E("./XMLCData"),ce=E("./XMLComment"),x=E("./XMLElement"),ee=E("./XMLRaw"),te=E("./XMLText"),b=E("./XMLProcessingInstruction"),y=E("./XMLDummy"),ue=E("./XMLDTDAttList"),ae=E("./XMLDTDElement"),oe=E("./XMLDTDEntity"),re=E("./XMLDTDNotation"),ne=E("./WriterState"),pe.exports=le=function(){function me(he){var Se,ye,Pe;he||(he={}),this.options=he,ye=he.writer||{};for(Se in ye)ge.call(ye,Se)&&(Pe=ye[Se],this["_"+Se]=this[Se],this[Se]=Pe)}return me.prototype.filterOptions=function(he){var Se,ye,Pe,we,De,xe,Ae,Ce;return he||(he={}),he=fe({},this.options,he),Se={writer:this},Se.pretty=he.pretty||!1,Se.allowEmpty=he.allowEmpty||!1,Se.indent=(ye=he.indent)!=null?ye:" ",Se.newline=(Pe=he.newline)!=null?Pe:`
|
|
|
`,Se.offset=(we=he.offset)!=null?we:0,Se.dontPrettyTextNodes=(De=(xe=he.dontPrettyTextNodes)!=null?xe:he.dontprettytextnodes)!=null?De:0,Se.spaceBeforeSlash=(Ae=(Ce=he.spaceBeforeSlash)!=null?Ce:he.spacebeforeslash)!=null?Ae:"",Se.spaceBeforeSlash===!0&&(Se.spaceBeforeSlash=" "),Se.suppressPrettyCount=0,Se.user={},Se.state=ne.None,Se},me.prototype.indent=function(he,Se,ye){var Pe;return!Se.pretty||Se.suppressPrettyCount?"":Se.pretty&&(Pe=(ye||0)+Se.offset+1,Pe>0)?new Array(Pe).join(Se.indent):""},me.prototype.endline=function(he,Se,ye){return!Se.pretty||Se.suppressPrettyCount?"":Se.newline},me.prototype.attribute=function(he,Se,ye){var Pe;return this.openAttribute(he,Se,ye),Pe=" "+he.name+'="'+he.value+'"',this.closeAttribute(he,Se,ye),Pe},me.prototype.cdata=function(he,Se,ye){var Pe;return this.openNode(he,Se,ye),Se.state=ne.OpenTag,Pe=this.indent(he,Se,ye)+"<![CDATA[",Se.state=ne.InsideTag,Pe+=he.value,Se.state=ne.CloseTag,Pe+="]]>"+this.endline(he,Se,ye),Se.state=ne.None,this.closeNode(he,Se,ye),Pe},me.prototype.comment=function(he,Se,ye){var Pe;return this.openNode(he,Se,ye),Se.state=ne.OpenTag,Pe=this.indent(he,Se,ye)+"<!-- ",Se.state=ne.InsideTag,Pe+=he.value,Se.state=ne.CloseTag,Pe+=" -->"+this.endline(he,Se,ye),Se.state=ne.None,this.closeNode(he,Se,ye),Pe},me.prototype.declaration=function(he,Se,ye){var Pe;return this.openNode(he,Se,ye),Se.state=ne.OpenTag,Pe=this.indent(he,Se,ye)+"<?xml",Se.state=ne.InsideTag,Pe+=' version="'+he.version+'"',he.encoding!=null&&(Pe+=' encoding="'+he.encoding+'"'),he.standalone!=null&&(Pe+=' standalone="'+he.standalone+'"'),Se.state=ne.CloseTag,Pe+=Se.spaceBeforeSlash+"?>",Pe+=this.endline(he,Se,ye),Se.state=ne.None,this.closeNode(he,Se,ye),Pe},me.prototype.docType=function(he,Se,ye){var Pe,we,De,xe,Ae;if(ye||(ye=0),this.openNode(he,Se,ye),Se.state=ne.OpenTag,xe=this.indent(he,Se,ye),xe+="<!DOCTYPE "+he.root().name,he.pubID&&he.sysID?xe+=' PUBLIC "'+he.pubID+'" "'+he.sysID+'"':he.sysID&&(xe+=' SYSTEM "'+he.sysID+'"'),he.children.length>0){for(xe+=" [",xe+=this.endline(he,Se,ye),Se.state=ne.InsideTag,Ae=he.children,we=0,De=Ae.length;we<De;we++)Pe=Ae[we],xe+=this.writeChildNode(Pe,Se,ye+1);Se.state=ne.CloseTag,xe+="]"}return Se.state=ne.CloseTag,xe+=Se.spaceBeforeSlash+">",xe+=this.endline(he,Se,ye),Se.state=ne.None,this.closeNode(he,Se,ye),xe},me.prototype.element=function(he,Se,ye){var Pe,we,De,xe,Ae,Ce,je,Fe,Ge,Be,tt,Ye,Ve,Xe;ye||(ye=0),Be=!1,tt="",this.openNode(he,Se,ye),Se.state=ne.OpenTag,tt+=this.indent(he,Se,ye)+"<"+he.name,Ye=he.attribs;for(Ge in Ye)ge.call(Ye,Ge)&&(Pe=Ye[Ge],tt+=this.attribute(Pe,Se,ye));if(De=he.children.length,xe=De===0?null:he.children[0],De===0||he.children.every(function(Ze){return(Ze.type===se.Text||Ze.type===se.Raw)&&Ze.value===""}))Se.allowEmpty?(tt+=">",Se.state=ne.CloseTag,tt+="</"+he.name+">"+this.endline(he,Se,ye)):(Se.state=ne.CloseTag,tt+=Se.spaceBeforeSlash+"/>"+this.endline(he,Se,ye));else if(Se.pretty&&De===1&&(xe.type===se.Text||xe.type===se.Raw)&&xe.value!=null)tt+=">",Se.state=ne.InsideTag,Se.suppressPrettyCount++,Be=!0,tt+=this.writeChildNode(xe,Se,ye+1),Se.suppressPrettyCount--,Be=!1,Se.state=ne.CloseTag,tt+="</"+he.name+">"+this.endline(he,Se,ye);else{if(Se.dontPrettyTextNodes){for(Ve=he.children,Ae=0,je=Ve.length;Ae<je;Ae++)if(we=Ve[Ae],(we.type===se.Text||we.type===se.Raw)&&we.value!=null){Se.suppressPrettyCount++,Be=!0;break}}for(tt+=">"+this.endline(he,Se,ye),Se.state=ne.InsideTag,Xe=he.children,Ce=0,Fe=Xe.length;Ce<Fe;Ce++)we=Xe[Ce],tt+=this.writeChildNode(we,Se,ye+1);Se.state=ne.CloseTag,tt+=this.indent(he,Se,ye)+"</"+he.name+">",Be&&Se.suppressPrettyCount--,tt+=this.endline(he,Se,ye),Se.state=ne.None}return this.closeNode(he,Se,ye),tt},me.prototype.writeChildNode=function(he,Se,ye){switch(he.type){case se.CData:return this.cdata(he,Se,ye);case se.Comment:return this.comment(he,Se,ye);case se.Element:return this.element(he,Se,ye);case se.Raw:return this.raw(he,Se,ye);case se.Text:return this.text(he,Se,ye);case se.ProcessingInstruction:return this.processingInstruction(he,Se,ye);case se.Dummy:return"";case se.Declaration:return this.declaration(he,Se,ye);case se.DocType:return this.docType(he,Se,ye);case se.AttributeDeclaration:return this.dtdAttList(he,Se,ye);case se.ElementDeclaration:return this.dtdElement(he,Se,ye);case se.EntityDeclaration:return this.dtdEntity(he,Se,ye);case se.NotationDeclaration:return this.dtdNotation(he,Se,ye);default:throw new Error("Unknown XML node type: "+he.constructor.name)}},me.prototype.processingInstruction=function(he,Se,ye){var Pe;return this.openNode(he,Se,ye),Se.state=ne.OpenTag,Pe=this.indent(he,Se,ye)+"<?",Se.state=ne.InsideTag,Pe+=he.target,he.value&&(Pe+=" "+he.value),Se.state=ne.CloseTag,Pe+=Se.spaceBeforeSlash+"?>",Pe+=this.endline(he,Se,ye),Se.state=ne.None,this.closeNode(he,Se,ye),Pe},me.prototype.raw=function(he,Se,ye){var Pe;return this.openNode(he,Se,ye),Se.state=ne.OpenTag,Pe=this.indent(he,Se,ye),Se.state=ne.InsideTag,Pe+=he.value,Se.state=ne.CloseTag,Pe+=this.endline(he,Se,ye),Se.state=ne.None,this.closeNode(he,Se,ye),Pe},me.prototype.text=function(he,Se,ye){var Pe;return this.openNode(he,Se,ye),Se.state=ne.OpenTag,Pe=this.indent(he,Se,ye),Se.state=ne.InsideTag,Pe+=he.value,Se.state=ne.CloseTag,Pe+=this.endline(he,Se,ye),Se.state=ne.None,this.closeNode(he,Se,ye),Pe},me.prototype.dtdAttList=function(he,Se,ye){var Pe;return this.openNode(he,Se,ye),Se.state=ne.OpenTag,Pe=this.indent(he,Se,ye)+"<!ATTLIST",Se.state=ne.InsideTag,Pe+=" "+he.elementName+" "+he.attributeName+" "+he.attributeType,he.defaultValueType!=="#DEFAULT"&&(Pe+=" "+he.defaultValueType),he.defaultValue&&(Pe+=' "'+he.defaultValue+'"'),Se.state=ne.CloseTag,Pe+=Se.spaceBeforeSlash+">"+this.endline(he,Se,ye),Se.state=ne.None,this.closeNode(he,Se,ye),Pe},me.prototype.dtdElement=function(he,Se,ye){var Pe;return this.openNode(he,Se,ye),Se.state=ne.OpenTag,Pe=this.indent(he,Se,ye)+"<!ELEMENT",Se.state=ne.InsideTag,Pe+=" "+he.name+" "+he.value,Se.state=ne.CloseTag,Pe+=Se.spaceBeforeSlash+">"+this.endline(he,Se,ye),Se.state=ne.None,this.closeNode(he,Se,ye),Pe},me.prototype.dtdEntity=function(he,Se,ye){var Pe;return this.openNode(he,Se,ye),Se.state=ne.OpenTag,Pe=this.indent(he,Se,ye)+"<!ENTITY",Se.state=ne.InsideTag,he.pe&&(Pe+=" %"),Pe+=" "+he.name,he.value?Pe+=' "'+he.value+'"':(he.pubID&&he.sysID?Pe+=' PUBLIC "'+he.pubID+'" "'+he.sysID+'"':he.sysID&&(Pe+=' SYSTEM "'+he.sysID+'"'),he.nData&&(Pe+=" NDATA "+he.nData)),Se.state=ne.CloseTag,Pe+=Se.spaceBeforeSlash+">"+this.endline(he,Se,ye),Se.state=ne.None,this.closeNode(he,Se,ye),Pe},me.prototype.dtdNotation=function(he,Se,ye){var Pe;return this.openNode(he,Se,ye),Se.state=ne.OpenTag,Pe=this.indent(he,Se,ye)+"<!NOTATION",Se.state=ne.InsideTag,Pe+=" "+he.name,he.pubID&&he.sysID?Pe+=' PUBLIC "'+he.pubID+'" "'+he.sysID+'"':he.pubID?Pe+=' PUBLIC "'+he.pubID+'"':he.sysID&&(Pe+=' SYSTEM "'+he.sysID+'"'),Se.state=ne.CloseTag,Pe+=Se.spaceBeforeSlash+">"+this.endline(he,Se,ye),Se.state=ne.None,this.closeNode(he,Se,ye),Pe},me.prototype.openNode=function(he,Se,ye){},me.prototype.closeNode=function(he,Se,ye){},me.prototype.openAttribute=function(he,Se,ye){},me.prototype.closeAttribute=function(he,Se,ye){},me}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],459:[function(E,pe,de){(function(){var se,ne,ie,ce,ue,ae,oe,re,z,a;a=E("./Utility"),re=a.assign,z=a.isFunction,ie=E("./XMLDOMImplementation"),ce=E("./XMLDocument"),ue=E("./XMLDocumentCB"),oe=E("./XMLStringWriter"),ae=E("./XMLStreamWriter"),se=E("./NodeType"),ne=E("./WriterState"),pe.exports.create=function(y,x,b,ee){var te,le;if(y==null)throw new Error("Root element needs a name.");return ee=re({},x,b,ee),te=new ce(ee),le=te.element(y),ee.headless||(te.declaration(ee),(ee.pubID!=null||ee.sysID!=null)&&te.dtd(ee)),le},pe.exports.begin=function(y,x,b){var ee;return z(y)&&(ee=[y,x],x=ee[0],b=ee[1],y={}),x?new ue(y,x,b):new ce(y)},pe.exports.stringWriter=function(y){return new oe(y)},pe.exports.streamWriter=function(y,x){return new ae(y,x)},pe.exports.implementation=new ie,pe.exports.nodeType=se,pe.exports.writerState=ne}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(E,pe,de){pe.exports=ne;var se=Object.prototype.hasOwnProperty;function ne(){for(var ie={},ce=0;ce<arguments.length;ce++){var ue=arguments[ce];for(var ae in ue)se.call(ue,ae)&&(ie[ae]=ue[ae])}return ie}},{}],461:[function(E,pe,de){"use strict";E("core-js/modules/es.array.fill.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.array.slice.js");var se=E("buffer").Buffer,ne=E("./sha"),ie=E("./md5"),ce={sha1:ne,md5:ie},ue=64,ae=se.alloc(ue);ae.fill(0);function oe(a,y,x){se.isBuffer(y)||(y=se.from(y)),se.isBuffer(x)||(x=se.from(x)),y.length>ue?y=a(y):y.length<ue&&(y=se.concat([y,ae],ue));for(var b=se.alloc(ue),ee=se.alloc(ue),te=0;te<ue;te++)b[te]=y[te]^54,ee[te]=y[te]^92;var le=a(se.concat([b,x]));return a(se.concat([ee,le]))}function re(a,y){a=a||"sha1";var x=ce[a],b=[],ee=0;return x||z("algorithm:",a,"is not yet supported"),{update:function(le){return se.isBuffer(le)||(le=se.from(le)),b.push(le),ee+=le.length,this},digest:function(le){var fe=se.concat(b),ge=y?oe(x,y,fe):x(fe);return b=null,le?ge.toString(le):ge}}}function z(){var a=[].slice.call(arguments).join(" ");throw new Error([a,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
|
|
|
`))}de.createHash=function(a){return re(a)},de.createHmac=function(a,y){return re(a,y)},de.createCredentials=function(){z("sorry,createCredentials is not implemented yet")},de.createCipher=function(){z("sorry,createCipher is not implemented yet")},de.createCipheriv=function(){z("sorry,createCipheriv is not implemented yet")},de.createDecipher=function(){z("sorry,createDecipher is not implemented yet")},de.createDecipheriv=function(){z("sorry,createDecipheriv is not implemented yet")},de.createSign=function(){z("sorry,createSign is not implemented yet")},de.createVerify=function(){z("sorry,createVerify is not implemented yet")},de.createDiffieHellman=function(){z("sorry,createDiffieHellman is not implemented yet")},de.pbkdf2=function(){z("sorry,pbkdf2 is not implemented yet")}},{"./md5":463,"./sha":464,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],462:[function(E,pe,de){"use strict";E("core-js/modules/es.array.fill.js"),E("core-js/modules/es.array.concat.js");var se=E("buffer").Buffer,ne=4,ie=se.alloc(ne);ie.fill(0);var ce=8;function ue(re,z){if(re.length%ne!==0){var a=re.length+(ne-re.length%ne);re=se.concat([re,ie],a)}for(var y=[],x=z?re.readInt32BE:re.readInt32LE,b=0;b<re.length;b+=ne)y.push(x.call(re,b));return y}function ae(re,z,a){for(var y=se.alloc(z),x=a?y.writeInt32BE:y.writeInt32LE,b=0;b<re.length;b++)x.call(y,re[b],b*4,!0);return y}function oe(re,z,a,y){se.isBuffer(re)||(re=se.from(re));var x=z(ue(re,y),re.length*ce);return ae(x,a,y)}pe.exports={hash:oe}},{buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273}],463:[function(E,pe,de){"use strict";var se=E("./helpers");function ne(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function ie(y,x){y[x>>5]|=128<<x%32,y[(x+64>>>9<<4)+14]=x;for(var b=1732584193,ee=-271733879,te=-1732584194,le=271733878,fe=0;fe<y.length;fe+=16){var ge=b,me=ee,he=te,Se=le;b=ue(b,ee,te,le,y[fe+0],7,-680876936),le=ue(le,b,ee,te,y[fe+1],12,-389564586),te=ue(te,le,b,ee,y[fe+2],17,606105819),ee=ue(ee,te,le,b,y[fe+3],22,-1044525330),b=ue(b,ee,te,le,y[fe+4],7,-176418897),le=ue(le,b,ee,te,y[fe+5],12,1200080426),te=ue(te,le,b,ee,y[fe+6],17,-1473231341),ee=ue(ee,te,le,b,y[fe+7],22,-45705983),b=ue(b,ee,te,le,y[fe+8],7,1770035416),le=ue(le,b,ee,te,y[fe+9],12,-1958414417),te=ue(te,le,b,ee,y[fe+10],17,-42063),ee=ue(ee,te,le,b,y[fe+11],22,-1990404162),b=ue(b,ee,te,le,y[fe+12],7,1804603682),le=ue(le,b,ee,te,y[fe+13],12,-40341101),te=ue(te,le,b,ee,y[fe+14],17,-1502002290),ee=ue(ee,te,le,b,y[fe+15],22,1236535329),b=ae(b,ee,te,le,y[fe+1],5,-165796510),le=ae(le,b,ee,te,y[fe+6],9,-1069501632),te=ae(te,le,b,ee,y[fe+11],14,643717713),ee=ae(ee,te,le,b,y[fe+0],20,-373897302),b=ae(b,ee,te,le,y[fe+5],5,-701558691),le=ae(le,b,ee,te,y[fe+10],9,38016083),te=ae(te,le,b,ee,y[fe+15],14,-660478335),ee=ae(ee,te,le,b,y[fe+4],20,-405537848),b=ae(b,ee,te,le,y[fe+9],5,568446438),le=ae(le,b,ee,te,y[fe+14],9,-1019803690),te=ae(te,le,b,ee,y[fe+3],14,-187363961),ee=ae(ee,te,le,b,y[fe+8],20,1163531501),b=ae(b,ee,te,le,y[fe+13],5,-1444681467),le=ae(le,b,ee,te,y[fe+2],9,-51403784),te=ae(te,le,b,ee,y[fe+7],14,1735328473),ee=ae(ee,te,le,b,y[fe+12],20,-1926607734),b=oe(b,ee,te,le,y[fe+5],4,-378558),le=oe(le,b,ee,te,y[fe+8],11,-2022574463),te=oe(te,le,b,ee,y[fe+11],16,1839030562),ee=oe(ee,te,le,b,y[fe+14],23,-35309556),b=oe(b,ee,te,le,y[fe+1],4,-1530992060),le=oe(le,b,ee,te,y[fe+4],11,1272893353),te=oe(te,le,b,ee,y[fe+7],16,-155497632),ee=oe(ee,te,le,b,y[fe+10],23,-1094730640),b=oe(b,ee,te,le,y[fe+13],4,681279174),le=oe(le,b,ee,te,y[fe+0],11,-358537222),te=oe(te,le,b,ee,y[fe+3],16,-722521979),ee=oe(ee,te,le,b,y[fe+6],23,76029189),b=oe(b,ee,te,le,y[fe+9],4,-640364487),le=oe(le,b,ee,te,y[fe+12],11,-421815835),te=oe(te,le,b,ee,y[fe+15],16,530742520),ee=oe(ee,te,le,b,y[fe+2],23,-995338651),b=re(b,ee,te,le,y[fe+0],6,-198630844),le=re(le,b,ee,te,y[fe+7],10,1126891415),te=re(te,le,b,ee,y[fe+14],15,-1416354905),ee=re(ee,te,le,b,y[fe+5],21,-57434055),b=re(b,ee,te,le,y[fe+12],6,1700485571),le=re(le,b,ee,te,y[fe+3],10,-1894986606),te=re(te,le,b,ee,y[fe+10],15,-1051523),ee=re(ee,te,le,b,y[fe+1],21,-2054922799),b=re(b,ee,te,le,y[fe+8],6,1873313359),le=re(le,b,ee,te,y[fe+15],10,-30611744),te=re(te,le,b,ee,y[fe+6],15,-1560198380),ee=re(ee,te,le,b,y[fe+13],21,1309151649),b=re(b,ee,te,le,y[fe+4],6,-145523070),le=re(le,b,ee,te,y[fe+11],10,-1120210379),te=re(te,le,b,ee,y[fe+2],15,718787259),ee=re(ee,te,le,b,y[fe+9],21,-343485551),b=z(b,ge),ee=z(ee,me),te=z(te,he),le=z(le,Se)}return Array(b,ee,te,le)}function ce(y,x,b,ee,te,le){return z(a(z(z(x,y),z(ee,le)),te),b)}function ue(y,x,b,ee,te,le,fe){return ce(x&b|~x&ee,y,x,te,le,fe)}function ae(y,x,b,ee,te,le,fe){return ce(x&ee|b&~ee,y,x,te,le,fe)}function oe(y,x,b,ee,te,le,fe){return ce(x^b^ee,y,x,te,le,fe)}function re(y,x,b,ee,te,le,fe){return ce(b^(x|~ee),y,x,te,le,fe)}function z(y,x){var b=(y&65535)+(x&65535),ee=(y>>16)+(x>>16)+(b>>16);return ee<<16|b&65535}function a(y,x){return y<<x|y>>>32-x}pe.exports=function(x){return se.hash(x,ie,16)}},{"./helpers":462}],464:[function(E,pe,de){"use strict";var se=E("./helpers");function ne(oe,re){oe[re>>5]|=128<<24-re%32,oe[(re+64>>9<<4)+15]=re;for(var z=Array(80),a=1732584193,y=-271733879,x=-1732584194,b=271733878,ee=-1009589776,te=0;te<oe.length;te+=16){for(var le=a,fe=y,ge=x,me=b,he=ee,Se=0;Se<80;Se++){Se<16?z[Se]=oe[te+Se]:z[Se]=ae(z[Se-3]^z[Se-8]^z[Se-14]^z[Se-16],1);var ye=ue(ue(ae(a,5),ie(Se,y,x,b)),ue(ue(ee,z[Se]),ce(Se)));ee=b,b=x,x=ae(y,30),y=a,a=ye}a=ue(a,le),y=ue(y,fe),x=ue(x,ge),b=ue(b,me),ee=ue(ee,he)}return Array(a,y,x,b,ee)}function ie(oe,re,z,a){return oe<20?re&z|~re&a:oe<40?re^z^a:oe<60?re&z|re&a|z&a:re^z^a}function ce(oe){return oe<20?1518500249:oe<40?1859775393:oe<60?-1894007588:-899497514}function ue(oe,re){var z=(oe&65535)+(re&65535),a=(oe>>16)+(re>>16)+(z>>16);return a<<16|z&65535}function ae(oe,re){return oe<<re|oe>>>32-re}pe.exports=function(re){return se.hash(re,ne,20,!0)}},{"./helpers":462}],465:[function(E,pe,de){"use strict";pe.exports=function(){return function(){}}},{}],466:[function(E,pe,de){(function(se){(function(){"use strict";var ne=E("@babel/runtime/helpers/interopRequireDefault"),ie=ne(E("@babel/runtime/helpers/typeof")),ce=E("stream"),ue=ce.Stream,ae=E("../lib/common/utils/isArray"),oe=ae.isArray;pe.exports.string=function(a){return typeof a=="string"},pe.exports.array=oe,pe.exports.buffer=se.isBuffer;function re(z){return z instanceof ue}pe.exports.writableStream=function(a){return re(a)&&typeof a._write=="function"&&(0,ie.default)(a._writableState)==="object"}}).call(this)}).call(this,{isBuffer:E("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":63,"../node_modules/is-buffer/index.js":366,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,stream:398}],467:[function(E,pe,de){"use strict";var se=E("immediate"),ne=pe.exports={};ne.nextTick=se,ne.title="browser",ne.browser=!0,ne.env={},ne.argv=[],ne.version="",ne.versions={};function ie(){}ne.on=ie,ne.addListener=ie,ne.once=ie,ne.off=ie,ne.removeListener=ie,ne.removeAllListeners=ie,ne.emit=ie,ne.prependListener=ie,ne.prependOnceListener=ie,ne.listeners=function(ce){return[]},ne.binding=function(ce){throw new Error("process.binding is not supported")},ne.cwd=function(){return"/"},ne.chdir=function(ce){throw new Error("process.chdir is not supported")},ne.umask=function(){return 0}},{immediate:358}],468:[function(E,pe,de){(function(se){(function(){"use strict";E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js");var ne=E("./lib/request"),ie=E("./lib/response"),ce=E("xtend"),ue=E("builtin-status-codes"),ae=E("url"),oe=de;oe.request=function(re,z){typeof re=="string"?re=ae.parse(re):re=ce(re);var a=se.location.protocol.search(/^https?:$/)===-1?"http:":"",y=re.protocol||a,x=re.hostname||re.host,b=re.port,ee=re.path||"/";x&&x.indexOf(":")!==-1&&(x="["+x+"]"),re.url=(x?y+"//"+x:"")+(b?":"+b:"")+ee,re.method=(re.method||"GET").toUpperCase(),re.headers=re.headers||{};var te=new ne(re);return z&&te.on("response",z),te},oe.get=function(z,a){var y=oe.request(z,a);return y.end(),y},oe.ClientRequest=ne,oe.IncomingMessage=ie.IncomingMessage,oe.Agent=function(){},oe.Agent.defaultMaxSockets=4,oe.globalAgent=new oe.Agent,oe.STATUS_CODES=ue,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 dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":470,"./lib/response":471,"builtin-status-codes":91,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.search.js":306,url:472,xtend:460}],469:[function(E,pe,de){(function(se){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array-buffer.constructor.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.array.slice.js"),de.fetch=oe(se.fetch)&&oe(se.ReadableStream),de.writableStream=oe(se.WritableStream),de.abortController=oe(se.AbortController),de.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),de.blobConstructor=!0}catch(re){}var ne;function ie(){if(ne!==void 0)return ne;if(se.XMLHttpRequest){ne=new se.XMLHttpRequest;try{ne.open("GET",se.XDomainRequest?"/":"https://example.com")}catch(re){ne=null}}else ne=null;return ne}function ce(re){var z=ie();if(!z)return!1;try{return z.responseType=re,z.responseType===re}catch(a){}return!1}var ue=typeof se.ArrayBuffer!="undefined",ae=ue&&oe(se.ArrayBuffer.prototype.slice);de.arraybuffer=de.fetch||ue&&ce("arraybuffer"),de.msstream=!de.fetch&&ae&&ce("ms-stream"),de.mozchunkedarraybuffer=!de.fetch&&ue&&ce("moz-chunked-arraybuffer"),de.overrideMimeType=de.fetch||(ie()?oe(ie().overrideMimeType):!1),de.vbArray=oe(se.VBArray);function oe(re){return typeof re=="function"}ne=null}).call(this)}).call(this,typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"core-js/modules/es.array-buffer.constructor.js":270,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],470:[function(E,pe,de){(function(se,ne,ie){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js");var ce=E("./capability"),ue=E("inherits"),ae=E("./response"),oe=E("readable-stream"),re=E("to-arraybuffer"),z=ae.IncomingMessage,a=ae.readyStates;function y(te,le){return ce.fetch&&le?"fetch":ce.mozchunkedarraybuffer?"moz-chunked-arraybuffer":ce.msstream?"ms-stream":ce.arraybuffer&&te?"arraybuffer":ce.vbArray&&te?"text:vbarray":"text"}var x=pe.exports=function(te){var le=this;oe.Writable.call(le),le._opts=te,le._body=[],le._headers={},te.auth&&le.setHeader("Authorization","Basic "+new ie(te.auth).toString("base64")),Object.keys(te.headers).forEach(function(me){le.setHeader(me,te.headers[me])});var fe,ge=!0;if(te.mode==="disable-fetch"||"requestTimeout"in te&&!ce.abortController)ge=!1,fe=!0;else if(te.mode==="prefer-streaming")fe=!1;else if(te.mode==="allow-wrong-content-type")fe=!ce.overrideMimeType;else if(!te.mode||te.mode==="default"||te.mode==="prefer-fast")fe=!0;else throw new Error("Invalid value for opts.mode");le._mode=y(fe,ge),le._fetchTimer=null,le.on("finish",function(){le._onFinish()})};ue(x,oe.Writable),x.prototype.setHeader=function(te,le){var fe=this,ge=te.toLowerCase();ee.indexOf(ge)===-1&&(fe._headers[ge]={name:te,value:le})},x.prototype.getHeader=function(te){var le=this._headers[te.toLowerCase()];return le?le.value:null},x.prototype.removeHeader=function(te){var le=this;delete le._headers[te.toLowerCase()]},x.prototype._onFinish=function(){var te=this;if(!te._destroyed){var le=te._opts,fe=te._headers,ge=null;le.method!=="GET"&&le.method!=="HEAD"&&(ce.arraybuffer?ge=re(ie.concat(te._body)):ce.blobConstructor?ge=new ne.Blob(te._body.map(function(we){return re(we)}),{type:(fe["content-type"]||{}).value||""}):ge=ie.concat(te._body).toString());var me=[];if(Object.keys(fe).forEach(function(we){var De=fe[we].name,xe=fe[we].value;Array.isArray(xe)?xe.forEach(function(Ae){me.push([De,Ae])}):me.push([De,xe])}),te._mode==="fetch"){var he=null,Se=null;if(ce.abortController){var ye=new AbortController;he=ye.signal,te._fetchAbortController=ye,"requestTimeout"in le&&le.requestTimeout!==0&&(te._fetchTimer=ne.setTimeout(function(){te.emit("requestTimeout"),te._fetchAbortController&&te._fetchAbortController.abort()},le.requestTimeout))}ne.fetch(te._opts.url,{method:te._opts.method,headers:me,body:ge||void 0,mode:"cors",credentials:le.withCredentials?"include":"same-origin",signal:he}).then(function(we){te._fetchResponse=we,te._connect()},function(we){ne.clearTimeout(te._fetchTimer),te._destroyed||te.emit("error",we)})}else{var Pe=te._xhr=new ne.XMLHttpRequest;try{Pe.open(te._opts.method,te._opts.url,!0)}catch(we){se.nextTick(function(){te.emit("error",we)});return}"responseType"in Pe&&(Pe.responseType=te._mode.split(":")[0]),"withCredentials"in Pe&&(Pe.withCredentials=!!le.withCredentials),te._mode==="text"&&"overrideMimeType"in Pe&&Pe.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in le&&(Pe.timeout=le.requestTimeout,Pe.ontimeout=function(){te.emit("requestTimeout")}),me.forEach(function(we){Pe.setRequestHeader(we[0],we[1])}),te._response=null,Pe.onreadystatechange=function(){switch(Pe.readyState){case a.LOADING:case a.DONE:te._onXHRProgress();break}},te._mode==="moz-chunked-arraybuffer"&&(Pe.onprogress=function(){te._onXHRProgress()}),Pe.onerror=function(){te._destroyed||te.emit("error",new Error("XHR error"))};try{Pe.send(ge)}catch(we){se.nextTick(function(){te.emit("error",we)});return}}}};function b(te){try{var le=te.status;return le!==null&&le!==0}catch(fe){return!1}}x.prototype._onXHRProgress=function(){var te=this;!b(te._xhr)||te._destroyed||(te._response||te._connect(),te._response._onXHRProgress())},x.prototype._connect=function(){var te=this;te._destroyed||(te._response=new z(te._xhr,te._fetchResponse,te._mode,te._fetchTimer),te._response.on("error",function(le){te.emit("error",le)}),te.emit("response",te._response))},x.prototype._write=function(te,le,fe){var ge=this;ge._body.push(te),fe()},x.prototype.abort=x.prototype.destroy=function(){var te=this;te._destroyed=!0,ne.clearTimeout(te._fetchTimer),te._response&&(te._response._destroyed=!0),te._xhr?te._xhr.abort():te._fetchAbortController&&te._fetchAbortController.abort()},x.prototype.end=function(te,le,fe){var ge=this;typeof te=="function"&&(fe=te,te=void 0),oe.Writable.prototype.end.call(ge,te,le,fe)},x.prototype.flushHeaders=function(){},x.prototype.setTimeout=function(){},x.prototype.setNoDelay=function(){},x.prototype.setSocketKeepAlive=function(){};var ee=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("buffer").Buffer)},{"./capability":469,"./response":471,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.split.js":307,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394,"to-arraybuffer":415}],471:[function(E,pe,de){(function(se,ne,ie){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.string.match.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.typed-array.uint8-array.js"),E("core-js/modules/es.typed-array.copy-within.js"),E("core-js/modules/es.typed-array.every.js"),E("core-js/modules/es.typed-array.fill.js"),E("core-js/modules/es.typed-array.filter.js"),E("core-js/modules/es.typed-array.find.js"),E("core-js/modules/es.typed-array.find-index.js"),E("core-js/modules/es.typed-array.for-each.js"),E("core-js/modules/es.typed-array.includes.js"),E("core-js/modules/es.typed-array.index-of.js"),E("core-js/modules/es.typed-array.iterator.js"),E("core-js/modules/es.typed-array.join.js"),E("core-js/modules/es.typed-array.last-index-of.js"),E("core-js/modules/es.typed-array.map.js"),E("core-js/modules/es.typed-array.reduce.js"),E("core-js/modules/es.typed-array.reduce-right.js"),E("core-js/modules/es.typed-array.reverse.js"),E("core-js/modules/es.typed-array.set.js"),E("core-js/modules/es.typed-array.slice.js"),E("core-js/modules/es.typed-array.some.js"),E("core-js/modules/es.typed-array.sort.js"),E("core-js/modules/es.typed-array.subarray.js"),E("core-js/modules/es.typed-array.to-locale-string.js"),E("core-js/modules/es.typed-array.to-string.js"),E("core-js/modules/es.array.slice.js");var ce=E("./capability"),ue=E("inherits"),ae=E("readable-stream"),oe=de.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},re=de.IncomingMessage=function(z,a,y,x){var b=this;if(ae.Readable.call(b),b._mode=y,b.headers={},b.rawHeaders=[],b.trailers={},b.rawTrailers=[],b.on("end",function(){se.nextTick(function(){b.emit("close")})}),y==="fetch"){var ee=function he(){le.read().then(function(Se){if(!b._destroyed){if(Se.done){ne.clearTimeout(x),b.push(null);return}b.push(new ie(Se.value)),he()}}).catch(function(Se){ne.clearTimeout(x),b._destroyed||b.emit("error",Se)})};if(b._fetchResponse=a,b.url=a.url,b.statusCode=a.status,b.statusMessage=a.statusText,a.headers.forEach(function(he,Se){b.headers[Se.toLowerCase()]=he,b.rawHeaders.push(Se,he)}),ce.writableStream){var te=new WritableStream({write:function(Se){return new Promise(function(ye,Pe){b._destroyed?Pe():b.push(new ie(Se))?ye():b._resumeFetch=ye})},close:function(){ne.clearTimeout(x),b._destroyed||b.push(null)},abort:function(Se){b._destroyed||b.emit("error",Se)}});try{a.body.pipeTo(te).catch(function(he){ne.clearTimeout(x),b._destroyed||b.emit("error",he)});return}catch(he){}}var le=a.body.getReader();ee()}else{b._xhr=z,b._pos=0,b.url=z.responseURL,b.statusCode=z.status,b.statusMessage=z.statusText;var fe=z.getAllResponseHeaders().split(/\r?\n/);if(fe.forEach(function(he){var Se=he.match(/^([^:]+):\s*(.*)/);if(Se){var ye=Se[1].toLowerCase();ye==="set-cookie"?(b.headers[ye]===void 0&&(b.headers[ye]=[]),b.headers[ye].push(Se[2])):b.headers[ye]!==void 0?b.headers[ye]+=", "+Se[2]:b.headers[ye]=Se[2],b.rawHeaders.push(Se[1],Se[2])}}),b._charset="x-user-defined",!ce.overrideMimeType){var ge=b.rawHeaders["mime-type"];if(ge){var me=ge.match(/;\s*charset=([^;])(;|$)/);me&&(b._charset=me[1].toLowerCase())}b._charset||(b._charset="utf-8")}}};ue(re,ae.Readable),re.prototype._read=function(){var z=this,a=z._resumeFetch;a&&(z._resumeFetch=null,a())},re.prototype._onXHRProgress=function(){var z=this,a=z._xhr,y=null;switch(z._mode){case"text:vbarray":if(a.readyState!==oe.DONE)break;try{y=new ne.VBArray(a.responseBody).toArray()}catch(le){}if(y!==null){z.push(new ie(y));break}case"text":try{y=a.responseText}catch(le){z._mode="text:vbarray";break}if(y.length>z._pos){var x=y.substr(z._pos);if(z._charset==="x-user-defined"){for(var b=new ie(x.length),ee=0;ee<x.length;ee++)b[ee]=x.charCodeAt(ee)&255;z.push(b)}else z.push(x,z._charset);z._pos=y.length}break;case"arraybuffer":if(a.readyState!==oe.DONE||!a.response)break;y=a.response,z.push(new ie(new Uint8Array(y)));break;case"moz-chunked-arraybuffer":if(y=a.response,a.readyState!==oe.LOADING||!y)break;z.push(new ie(new Uint8Array(y)));break;case"ms-stream":if(y=a.response,a.readyState!==oe.LOADING)break;var te=new ne.MSStreamReader;te.onprogress=function(){te.result.byteLength>z._pos&&(z.push(new ie(new Uint8Array(te.result.slice(z._pos)))),z._pos=te.result.byteLength)},te.onload=function(){z.push(null)},te.readAsArrayBuffer(y);break}z._xhr.readyState===oe.DONE&&z._mode!=="ms-stream"&&z.push(null)}}).call(this)}).call(this,E("_process"),typeof dt!="undefined"?dt:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("buffer").Buffer)},{"./capability":469,_process:467,buffer:90,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.split.js":307,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394}],472:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/helpers/typeof"));E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.string.match.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.splice.js");var ie=E("punycode"),ce=E("./util");de.parse=Se,de.resolve=Pe,de.resolveObject=we,de.format=ye,de.Url=ue;function ue(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var ae=/^([a-z0-9.+-]+:)/i,oe=/:[0-9]*$/,re=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,z=["<",">",'"',"`"," ","\r",`
|
|
|
`," "],a=["{","}","|","\\","^","`"].concat(z),y=["'"].concat(a),x=["%","/","?",";","#"].concat(y),b=["/","?","#"],ee=255,te=/^[+a-z0-9A-Z_-]{0,63}$/,le=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,fe={javascript:!0,"javascript:":!0},ge={javascript:!0,"javascript:":!0},me={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},he=E("querystring");function Se(De,xe,Ae){if(De&&ce.isObject(De)&&De instanceof ue)return De;var Ce=new ue;return Ce.parse(De,xe,Ae),Ce}ue.prototype.parse=function(De,xe,Ae){if(!ce.isString(De))throw new TypeError("Parameter 'url' must be a string, not "+(0,ne.default)(De));var Ce=De.indexOf("?"),je=Ce!==-1&&Ce<De.indexOf("#")?"?":"#",Fe=De.split(je),Ge=/\\/g;Fe[0]=Fe[0].replace(Ge,"/"),De=Fe.join(je);var Be=De;if(Be=Be.trim(),!Ae&&De.split("#").length===1){var tt=re.exec(Be);if(tt)return this.path=Be,this.href=Be,this.pathname=tt[1],tt[2]?(this.search=tt[2],xe?this.query=he.parse(this.search.substr(1)):this.query=this.search.substr(1)):xe&&(this.search="",this.query={}),this}var Ye=ae.exec(Be);if(Ye){Ye=Ye[0];var Ve=Ye.toLowerCase();this.protocol=Ve,Be=Be.substr(Ye.length)}if(Ae||Ye||Be.match(/^\/\/[^@\/]+@[^@\/]+/)){var Xe=Be.substr(0,2)==="//";Xe&&!(Ye&&ge[Ye])&&(Be=Be.substr(2),this.slashes=!0)}if(!ge[Ye]&&(Xe||Ye&&!me[Ye])){for(var Ze=-1,ke=0;ke<b.length;ke++){var ze=Be.indexOf(b[ke]);ze!==-1&&(Ze===-1||ze<Ze)&&(Ze=ze)}var et,Je;Ze===-1?Je=Be.lastIndexOf("@"):Je=Be.lastIndexOf("@",Ze),Je!==-1&&(et=Be.slice(0,Je),Be=Be.slice(Je+1),this.auth=decodeURIComponent(et)),Ze=-1;for(var ke=0;ke<x.length;ke++){var ze=Be.indexOf(x[ke]);ze!==-1&&(Ze===-1||ze<Ze)&&(Ze=ze)}Ze===-1&&(Ze=Be.length),this.host=Be.slice(0,Ze),Be=Be.slice(Ze),this.parseHost(),this.hostname=this.hostname||"";var ut=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!ut)for(var Qe=this.hostname.split("."),ke=0,Ue=Qe.length;ke<Ue;ke++){var Re=Qe[ke];if(Re&&!Re.match(te)){for(var $e="",Le=0,Ne=Re.length;Le<Ne;Le++)Re.charCodeAt(Le)>127?$e+="x":$e+=Re[Le];if(!$e.match(te)){var qe=Qe.slice(0,ke),We=Qe.slice(ke+1),Me=Re.match(le);Me&&(qe.push(Me[1]),We.unshift(Me[2])),We.length&&(Be="/"+We.join(".")+Be),this.hostname=qe.join(".");break}}}this.hostname.length>ee?this.hostname="":this.hostname=this.hostname.toLowerCase(),ut||(this.hostname=ie.toASCII(this.hostname));var Te=this.port?":"+this.port:"",Oe=this.hostname||"";this.host=Oe+Te,this.href+=this.host,ut&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Be[0]!=="/"&&(Be="/"+Be))}if(!fe[Ve])for(var ke=0,Ue=y.length;ke<Ue;ke++){var Ee=y[ke];if(Be.indexOf(Ee)!==-1){var Ie=encodeURIComponent(Ee);Ie===Ee&&(Ie=escape(Ee)),Be=Be.split(Ee).join(Ie)}}var Ke=Be.indexOf("#");Ke!==-1&&(this.hash=Be.substr(Ke),Be=Be.slice(0,Ke));var at=Be.indexOf("?");if(at!==-1?(this.search=Be.substr(at),this.query=Be.substr(at+1),xe&&(this.query=he.parse(this.query)),Be=Be.slice(0,at)):xe&&(this.search="",this.query={}),Be&&(this.pathname=Be),me[Ve]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Te=this.pathname||"",He=this.search||"";this.path=Te+He}return this.href=this.format(),this};function ye(De){return ce.isString(De)&&(De=Se(De)),De instanceof ue?De.format():ue.prototype.format.call(De)}ue.prototype.format=function(){var De=this.auth||"";De&&(De=encodeURIComponent(De),De=De.replace(/%3A/i,":"),De+="@");var xe=this.protocol||"",Ae=this.pathname||"",Ce=this.hash||"",je=!1,Fe="";this.host?je=De+this.host:this.hostname&&(je=De+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(je+=":"+this.port)),this.query&&ce.isObject(this.query)&&Object.keys(this.query).length&&(Fe=he.stringify(this.query));var Ge=this.search||Fe&&"?"+Fe||"";return xe&&xe.substr(-1)!==":"&&(xe+=":"),this.slashes||(!xe||me[xe])&&je!==!1?(je="//"+(je||""),Ae&&Ae.charAt(0)!=="/"&&(Ae="/"+Ae)):je||(je=""),Ce&&Ce.charAt(0)!=="#"&&(Ce="#"+Ce),Ge&&Ge.charAt(0)!=="?"&&(Ge="?"+Ge),Ae=Ae.replace(/[?#]/g,function(Be){return encodeURIComponent(Be)}),Ge=Ge.replace("#","%23"),xe+je+Ae+Ge+Ce};function Pe(De,xe){return Se(De,!1,!0).resolve(xe)}ue.prototype.resolve=function(De){return this.resolveObject(Se(De,!1,!0)).format()};function we(De,xe){return De?Se(De,!1,!0).resolveObject(xe):xe}ue.prototype.resolveObject=function(De){if(ce.isString(De)){var xe=new ue;xe.parse(De,!1,!0),De=xe}for(var Ae=new ue,Ce=Object.keys(this),je=0;je<Ce.length;je++){var Fe=Ce[je];Ae[Fe]=this[Fe]}if(Ae.hash=De.hash,De.href==="")return Ae.href=Ae.format(),Ae;if(De.slashes&&!De.protocol){for(var Ge=Object.keys(De),Be=0;Be<Ge.length;Be++){var tt=Ge[Be];tt!=="protocol"&&(Ae[tt]=De[tt])}return me[Ae.protocol]&&Ae.hostname&&!Ae.pathname&&(Ae.path=Ae.pathname="/"),Ae.href=Ae.format(),Ae}if(De.protocol&&De.protocol!==Ae.protocol){if(!me[De.protocol]){for(var Ye=Object.keys(De),Ve=0;Ve<Ye.length;Ve++){var Xe=Ye[Ve];Ae[Xe]=De[Xe]}return Ae.href=Ae.format(),Ae}if(Ae.protocol=De.protocol,!De.host&&!ge[De.protocol]){for(var Ue=(De.pathname||"").split("/");Ue.length&&!(De.host=Ue.shift()););De.host||(De.host=""),De.hostname||(De.hostname=""),Ue[0]!==""&&Ue.unshift(""),Ue.length<2&&Ue.unshift(""),Ae.pathname=Ue.join("/")}else Ae.pathname=De.pathname;if(Ae.search=De.search,Ae.query=De.query,Ae.host=De.host||"",Ae.auth=De.auth,Ae.hostname=De.hostname||De.host,Ae.port=De.port,Ae.pathname||Ae.search){var Ze=Ae.pathname||"",ke=Ae.search||"";Ae.path=Ze+ke}return Ae.slashes=Ae.slashes||De.slashes,Ae.href=Ae.format(),Ae}var ze=Ae.pathname&&Ae.pathname.charAt(0)==="/",et=De.host||De.pathname&&De.pathname.charAt(0)==="/",Je=et||ze||Ae.host&&De.pathname,ut=Je,Qe=Ae.pathname&&Ae.pathname.split("/")||[],Ue=De.pathname&&De.pathname.split("/")||[],Re=Ae.protocol&&!me[Ae.protocol];if(Re&&(Ae.hostname="",Ae.port=null,Ae.host&&(Qe[0]===""?Qe[0]=Ae.host:Qe.unshift(Ae.host)),Ae.host="",De.protocol&&(De.hostname=null,De.port=null,De.host&&(Ue[0]===""?Ue[0]=De.host:Ue.unshift(De.host)),De.host=null),Je=Je&&(Ue[0]===""||Qe[0]==="")),et)Ae.host=De.host||De.host===""?De.host:Ae.host,Ae.hostname=De.hostname||De.hostname===""?De.hostname:Ae.hostname,Ae.search=De.search,Ae.query=De.query,Qe=Ue;else if(Ue.length)Qe||(Qe=[]),Qe.pop(),Qe=Qe.concat(Ue),Ae.search=De.search,Ae.query=De.query;else if(!ce.isNullOrUndefined(De.search)){if(Re){Ae.hostname=Ae.host=Qe.shift();var $e=Ae.host&&Ae.host.indexOf("@")>0?Ae.host.split("@"):!1;$e&&(Ae.auth=$e.shift(),Ae.host=Ae.hostname=$e.shift())}return Ae.search=De.search,Ae.query=De.query,(!ce.isNull(Ae.pathname)||!ce.isNull(Ae.search))&&(Ae.path=(Ae.pathname?Ae.pathname:"")+(Ae.search?Ae.search:"")),Ae.href=Ae.format(),Ae}if(!Qe.length)return Ae.pathname=null,Ae.search?Ae.path="/"+Ae.search:Ae.path=null,Ae.href=Ae.format(),Ae;for(var Le=Qe.slice(-1)[0],Ne=(Ae.host||De.host||Qe.length>1)&&(Le==="."||Le==="..")||Le==="",qe=0,We=Qe.length;We>=0;We--)Le=Qe[We],Le==="."?Qe.splice(We,1):Le===".."?(Qe.splice(We,1),qe++):qe&&(Qe.splice(We,1),qe--);if(!Je&&!ut)for(;qe--;qe)Qe.unshift("..");Je&&Qe[0]!==""&&(!Qe[0]||Qe[0].charAt(0)!=="/")&&Qe.unshift(""),Ne&&Qe.join("/").substr(-1)!=="/"&&Qe.push("");var Me=Qe[0]===""||Qe[0]&&Qe[0].charAt(0)==="/";if(Re){Ae.hostname=Ae.host=Me?"":Qe.length?Qe.shift():"";var $e=Ae.host&&Ae.host.indexOf("@")>0?Ae.host.split("@"):!1;$e&&(Ae.auth=$e.shift(),Ae.host=Ae.hostname=$e.shift())}return Je=Je||Ae.host&&Qe.length,Je&&!Me&&Qe.unshift(""),Qe.length?Ae.pathname=Qe.join("/"):(Ae.pathname=null,Ae.path=null),(!ce.isNull(Ae.pathname)||!ce.isNull(Ae.search))&&(Ae.path=(Ae.pathname?Ae.pathname:"")+(Ae.search?Ae.search:"")),Ae.auth=De.auth||Ae.auth,Ae.slashes=Ae.slashes||De.slashes,Ae.href=Ae.format(),Ae},ue.prototype.parseHost=function(){var De=this.host,xe=oe.exec(De);xe&&(xe=xe[0],xe!==":"&&(this.port=xe.substr(1)),De=De.substr(0,De.length-xe.length)),De&&(this.hostname=De)}},{"./util":473,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.array.splice.js":283,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.search.js":306,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,punycode:382,querystring:385}],473:[function(E,pe,de){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ne=se(E("@babel/runtime/helpers/typeof"));pe.exports={isString:function(ce){return typeof ce=="string"},isObject:function(ce){return(0,ne.default)(ce)==="object"&&ce!==null},isNull:function(ce){return ce===null},isNullOrUndefined:function(ce){return ce==null}}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79}],474:[function(E,pe,de){"use strict";E("core-js/modules/es.number.constructor.js"),de.encodeURIComponent=function(se){try{return encodeURIComponent(se)}catch(ne){return se}},de.escape=E("escape-html"),de.timestamp=function(ne){if(ne){var ie=ne;return typeof ie=="string"&&(ie=Number(ie)),String(ne).length===10&&(ie*=1e3),new Date(ie)}return Math.round(Date.now()/1e3)}},{"core-js/modules/es.number.constructor.js":286,"escape-html":343}],475:[function(E,pe,de){(function(se,ne){(function(){"use strict";var ie=E("@babel/runtime/helpers/interopRequireDefault"),ce=ie(E("@babel/runtime/helpers/typeof"));E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.array.concat.js");var ue=E("util"),ae=E("url"),oe=E("http"),re=E("https"),z=E("debug")("urllib"),a=E("humanize-ms"),y=0,x=Math.pow(2,31)-10,b=/^https?:\/\//i;function ee(ge,me){return ge===void 0?me:ge}function te(ge){return ge?ge.split(";")[0].trim().toLowerCase():""}function le(ge,me){return function(he,Se,ye){if(he)return me(he);ge({data:Se,status:ye.statusCode,headers:ye.headers,res:ye})}}de.TIMEOUTS=[a("300s"),a("300s")];var fe=["json","text"];de.request=function(me,he,Se){return arguments.length===2&&typeof he=="function"&&(Se=he,he=null),typeof Se=="function"?de.requestWithCallback(me,he,Se):new Promise(function(ye,Pe){de.requestWithCallback(me,he,le(ye,Pe))})},de.requestWithCallback=function(me,he,Se){if(!me||typeof me!="string"&&(0,ce.default)(me)!=="object"){var ye=ue.format("expect request url to be a string or a http request options, but got %j",me);throw new Error(ye)}arguments.length===2&&typeof he=="function"&&(Se=he,he=null),he=he||{},y>=x&&(y=0);var Pe=++y;he.requestUrls=he.requestUrls||[];var we={requestId:Pe,url:me,args:he,ctx:he.ctx};he.emitter&&he.emitter.emit("request",we),he.timeout=he.timeout||de.TIMEOUTS,he.maxRedirects=he.maxRedirects||10,he.streaming=he.streaming||he.customResponse;var De=Date.now(),xe;typeof me=="string"?(b.test(me)||(me="https://"+me),xe=ae.parse(me)):xe=me;var Ae=(he.type||he.method||xe.method||"GET").toUpperCase(),Ce=xe.port||80,je=oe,Fe=ee(he.agent,de.agent),Ge=he.fixJSONCtlChars;xe.protocol==="https:"&&(je=re,Fe=ee(he.httpsAgent,de.httpsAgent),xe.port||(Ce=443));var Be={host:xe.hostname||xe.host||"localhost",path:xe.path||"/",method:Ae,port:Ce,agent:Fe,headers:he.headers||{},lookup:he.lookup};Array.isArray(he.timeout)?Be.requestTimeout=he.timeout[he.timeout.length-1]:typeof he.timeout!="undefined"&&(Be.requestTimeout=he.timeout);var tt=he.auth||xe.auth;tt&&(Be.auth=tt);var Ye=he.content||he.data,Ve=Ae==="GET"||Ae==="HEAD"||he.dataAsQueryString;if(!he.content&&Ye&&!(typeof Ye=="string"||ne.isBuffer(Ye)))if(Ve)Ye=he.nestedQuerystring?qs.stringify(Ye):querystring.stringify(Ye);else{var Xe=Be.headers["Content-Type"]||Be.headers["content-type"];Xe||(he.contentType==="json"?Xe="application/json":Xe="application/x-www-form-urlencoded",Be.headers["Content-Type"]=Xe),te(Xe)==="application/json"?Ye=JSON.stringify(Ye):Ye=he.nestedQuerystring?qs.stringify(Ye):querystring.stringify(Ye)}Ve&&Ye&&(Be.path+=(xe.query?"&":"?")+Ye,Ye=null);var Ze=0;if(Ye){var ke=Ye.length;ne.isBuffer(Ye)||(ke=ne.byteLength(Ye)),Ze=Be.headers["Content-Length"]=ke}he.dataType==="json"&&(Be.headers.Accept="application/json"),typeof he.beforeRequest=="function"&&he.beforeRequest(Be);var ze=null,et=null,Je=null,ut=!1,Qe=!1,Ue=0,Re=-1,$e=!1,Le="",Ne="",qe=null;he.timing&&(qe={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function We(){ze&&(clearTimeout(ze),ze=null)}function Me(){et&&(clearTimeout(et),et=null)}function Te(ct,vt,ot){if(Me(),!Se){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),Pe,se.pid,Be.method,me),ct&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
|
|
|
stack: %s`,Date(),Pe,se.pid,ct.name,ct.message,ct.stack);return}var st=Se;Se=null;var ht={};ot&&(Re=ot.statusCode,ht=ot.headers);var mt=Date.now()-De;qe&&(qe.contentDownload=mt),z("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",mt,Ue,Re,Be.method,Be.host,Be.path,Qe,qe);var bt={status:Re,statusCode:Re,headers:ht,size:Ue,aborted:$e,rt:mt,keepAliveSocket:Qe,data:vt,requestUrls:he.requestUrls,timing:qe,remoteAddress:Le,remotePort:Ne};if(ct){var xt="";Fe&&typeof Fe.getCurrentStatus=="function"&&(xt=", agent status: "+JSON.stringify(Fe.getCurrentStatus())),ct.message+=", "+Be.method+" "+me+" "+Re+" (connected: "+ut+", keepalive socket: "+Qe+xt+`)
|
|
|
headers: `+JSON.stringify(ht),ct.data=vt,ct.path=Be.path,ct.status=Re,ct.headers=ht,ct.res=bt}st(ct,vt,he.streaming?ot:bt),he.emitter&&(we.url=me,we.socket=lt&<.connection,we.options=Be,we.size=Ze,he.emitter.emit("response",{requestId:Pe,error:ct,ctx:he.ctx,req:we,res:bt}))}function Oe(ct){var vt=null;if(he.followRedirect&&statuses.redirect[ct.statusCode]){he._followRedirectCount=(he._followRedirectCount||0)+1;var ot=ct.headers.location;if(!ot)vt=new Error("Got statusCode "+ct.statusCode+" but cannot resolve next location from headers"),vt.name="FollowRedirectError";else if(he._followRedirectCount>he.maxRedirects)vt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+me),vt.name="MaxRedirectError";else{var st=he.formatRedirectUrl?he.formatRedirectUrl(me,ot):ae.resolve(me,ot);z("Request#%d %s: `redirected` from %s to %s",Pe,Be.path,me,st),Me(),he.headers&&he.headers.Host&&b.test(ot)&&(he.headers.Host=null);var ht=Se;return Se=null,de.requestWithCallback(st,he,ht),{redirect:!0,error:null}}}return{redirect:!1,error:vt}}he.gzip&&!Be.headers["Accept-Encoding"]&&!Be.headers["accept-encoding"]&&(Be.headers["Accept-Encoding"]="gzip");function Ee(ct,vt,ot){var st=ct.headers["content-encoding"];return ot(null,vt,st)}var Ie=he.writeStream;z("Request#%d %s %s with headers %j, options.path: %s",Pe,Ae,me,Be.headers,Be.path),he.requestUrls.push(me);function Ke(ct){if(qe&&(qe.waiting=Date.now()-De),z("Request#%d %s `req response` event emit: status %d, headers: %j",Pe,me,ct.statusCode,ct.headers),he.streaming){var vt=Oe(ct);if(vt.redirect){ct.resume();return}return vt.error?(ct.resume(),Te(vt.error,null,ct)):Te(null,null,ct)}if(ct.on("close",function(){z("Request#%d %s: `res close` event emit, total size %d",Pe,me,Ue)}),ct.on("error",function(){z("Request#%d %s: `res error` event emit, total size %d",Pe,me,Ue)}),ct.on("aborted",function(){$e=!0,z("Request#%d %s: `res aborted` event emit, total size %d",Pe,me,Ue)}),Ie){var ot=Oe(ct);if(ot.redirect){ct.resume();return}return ot.error?(ct.resume(),Ie.end(),Te(ot.error,null,ct)):(he.consumeWriteStream===!1?ct.on("end",Te.bind(null,null,null,ct)):Ie.on("close",function(){z("Request#%d %s: writeStream close event emitted",Pe,me),Te(Je||null,null,ct)}),ct.pipe(Ie))}var st=[];ct.on("data",function(ht){z("Request#%d %s: `res data` event emit, size %d",Pe,me,ht.length),Ue+=ht.length,st.push(ht)}),ct.on("end",function(){var ht=ne.concat(st,Ue);if(z("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",Pe,me,Ue,ct._dumped),Je)return Te(Je,ht,ct);var mt=Oe(ct);if(mt.error)return Te(mt.error,ht,ct);mt.redirect||Ee(ct,ht,function(bt,xt,Ft){if(bt)return Te(bt,ht,ct);if(!Ft&&fe.indexOf(he.dataType)>=0){try{xt=decodeBodyByCharset(xt,ct)}catch($t){return z("decodeBodyByCharset error: %s",$t),Te(null,xt,ct)}if(he.dataType==="json")if(Ue===0)xt=null;else{var Dt=parseJSON(xt,Ge);Dt.error?bt=Dt.error:xt=Dt.data}}$e&&z("Request#%d %s: Remote socket was terminated before `response.end()` was called",Pe,me),Te(bt,xt,ct)})})}var at,He;Array.isArray(he.timeout)?(at=a(he.timeout[0]),He=a(he.timeout[1])):at=He=a(he.timeout),z("ConnectTimeout: %d, ResponseTimeout: %d",at,He);function nt(){z("Connect timer ticking, timeout: %d",at),ze=setTimeout(function(){ze=null,Re===-1&&(Re=-2);var ct="Connect timeout for "+at+"ms",vt="ConnectionTimeoutError";lt.socket||(vt="SocketAssignTimeoutError",ct+=", working sockets is full"),Je=new Error(ct),Je.name=vt,Je.requestId=Pe,z("ConnectTimeout: Request#%d %s %s: %s, connected: %s",Pe,me,Je.name,ct,ut),pt()},at)}function ft(){z("Response timer ticking, timeout: %d",He),et=setTimeout(function(){et=null;var ct="Response timeout for "+He+"ms",vt="ResponseTimeoutError";Je=new Error(ct),Je.name=vt,Je.requestId=Pe,z("ResponseTimeout: Request#%d %s %s: %s, connected: %s",Pe,me,Je.name,ct,ut),pt()},He)}var lt;Be.mode=he.mode?he.mode:"";try{lt=je.request(Be,Ke)}catch(ct){return Te(ct)}typeof window=="undefined"?nt():lt.on("requestTimeout",function(){Re===-1&&(Re=-2);var ct="Connect timeout for "+at+"ms",vt="ConnectionTimeoutError";Je=new Error(ct),Je.name=vt,Je.requestId=Pe,pt()});function pt(){z("Request#%d %s abort, connected: %s",Pe,me,ut),lt.socket||(Je.noSocket=!0,Te(Je)),lt.abort()}return qe&<.on("finish",function(){qe.requestSent=Date.now()-De}),lt.once("socket",function(ct){qe&&(qe.queuing=Date.now()-De);var vt=ct.readyState;if(vt==="opening"){ct.once("lookup",function(ot,st,ht){z("Request#%d %s lookup: %s, %s, %s",Pe,me,ot,st,ht),qe&&(qe.dnslookup=Date.now()-De),st&&(Le=st)}),ct.once("connect",function(){qe&&(qe.connected=Date.now()-De),We(),ft(),z("Request#%d %s new socket connected",Pe,me),ut=!0,Le||(Le=ct.remoteAddress),Ne=ct.remotePort});return}z("Request#%d %s reuse socket connected, readyState: %s",Pe,me,vt),ut=!0,Qe=!0,Le||(Le=ct.remoteAddress),Ne=ct.remotePort,We(),ft()}),lt.on("error",function(ct){(ct.name==="Error"||ct.name==="TypeError")&&(ct.name=ut?"ResponseError":"RequestError"),ct.message+=' (req "error")',z("Request#%d %s `req error` event emit, %s: %s",Pe,me,ct.name,ct.message),Te(Je||ct)}),Ie&&Ie.once("error",function(ct){ct.message+=' (writeStream "error")',Je=ct,z("Request#%d %s `writeStream error` event emit, %s: %s",Pe,me,ct.name,ct.message),pt()}),he.stream?(he.stream.pipe(lt),he.stream.once("error",function(ct){ct.message+=' (stream "error")',Je=ct,z("Request#%d %s `readStream error` event emit, %s: %s",Pe,me,ct.name,ct.message),pt()})):lt.end(Ye),lt.requestId=Pe,lt}}).call(this)}).call(this,E("_process"),E("buffer").Buffer)},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,debug:465,http:468,https:355,"humanize-ms":356,url:472,util:419}]},{},[1])(1)})})(window)},50371:function(Et,dt){"use strict";function ve(){const be=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let _e=1;_e<arguments.length;_e++){const E=_e<0||arguments.length<=_e?void 0:arguments[_e];E&&Object.keys(E).forEach(pe=>{const de=E[pe];de!==void 0&&(be[pe]=de)})}return be}dt.Z=ve},77578:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return be}});const be=_e=>_e?typeof _e=="function"?_e():_e:null},13845:function(Et,dt,ve){"use strict";ve.d(dt,{F:function(){return be},Z:function(){return _e}});function be(E){return E!=null&&E===E.window}function _e(E,pe){var de,se;if(typeof window=="undefined")return 0;const ne=pe?"scrollTop":"scrollLeft";let ie=0;return be(E)?ie=E[pe?"pageYOffset":"pageXOffset"]:E instanceof Document?ie=E.documentElement[ne]:(E instanceof HTMLElement||E)&&(ie=E[ne]),E&&!be(E)&&typeof ie!="number"&&(ie=(se=((de=E.ownerDocument)!==null&&de!==void 0?de:E).documentElement)===null||se===void 0?void 0:se[ne]),ie}},56762:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return _e}});var be=ve(59301);function _e(){const[,E]=be.useReducer(pe=>pe+1,0);return E}},68031:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return pe}});var be=ve(16089);function _e(de,se,ne,ie){const ce=ne-se;return de/=ie/2,de<1?ce/2*de*de*de+se:ce/2*((de-=2)*de*de+2)+se}var E=ve(13845);function pe(de){let se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ne=()=>window,callback:ie,duration:ce=450}=se,ue=ne(),ae=(0,E.Z)(ue,!0),oe=Date.now(),re=()=>{const a=Date.now()-oe,y=_e(a>ce?ce:a,ae,de,ce);(0,E.F)(ue)?ue.scrollTo(window.pageXOffset,y):ue instanceof Document||ue.constructor.name==="HTMLDocument"?ue.documentElement.scrollTop=y:ue.scrollTop=y,a<ce?(0,be.Z)(re):typeof ie=="function"&&ie()};(0,be.Z)(re)}},24905:function(Et,dt,ve){"use strict";ve.d(dt,{default:function(){return me}});var be=ve(92310),_e=ve.n(be),E=ve(5630),pe=ve(59301),de=ve(36355),se=ve(1684),ne=ve(32441),ce=pe.createContext(null),ue=ve(98447),ae=ve(14088),oe=ve(4572),re=function(he,Se){var ye={};for(var Pe in he)Object.prototype.hasOwnProperty.call(he,Pe)&&Se.indexOf(Pe)<0&&(ye[Pe]=he[Pe]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Pe=Object.getOwnPropertySymbols(he);we<Pe.length;we++)Se.indexOf(Pe[we])<0&&Object.prototype.propertyIsEnumerable.call(he,Pe[we])&&(ye[Pe[we]]=he[Pe[we]]);return ye};const z=(he,Se)=>{var ye;const{prefixCls:Pe,className:we,rootClassName:De,children:xe,indeterminate:Ae=!1,style:Ce,onMouseEnter:je,onMouseLeave:Fe,skipGroup:Ge=!1,disabled:Be}=he,tt=re(he,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Ye,direction:Ve,checkbox:Xe}=pe.useContext(de.E_),Ze=pe.useContext(ce),{isFormItemInput:ke}=pe.useContext(ne.aM),ze=pe.useContext(se.Z),et=(ye=(Ze==null?void 0:Ze.disabled)||Be)!==null&&ye!==void 0?ye:ze,Je=pe.useRef(tt.value);pe.useEffect(()=>{Ze==null||Ze.registerValue(tt.value)},[]),pe.useEffect(()=>{if(!Ge)return tt.value!==Je.current&&(Ze==null||Ze.cancelValue(Je.current),Ze==null||Ze.registerValue(tt.value),Je.current=tt.value),()=>Ze==null?void 0:Ze.cancelValue(tt.value)},[tt.value]);const ut=Ye("checkbox",Pe),[Qe,Ue]=(0,ue.ZP)(ut),Re=Object.assign({},tt);Ze&&!Ge&&(Re.onChange=function(){tt.onChange&&tt.onChange.apply(tt,arguments),Ze.toggleOption&&Ze.toggleOption({label:xe,value:tt.value})},Re.name=Ze.name,Re.checked=Ze.value.includes(tt.value));const $e=_e()(`${ut}-wrapper`,{[`${ut}-rtl`]:Ve==="rtl",[`${ut}-wrapper-checked`]:Re.checked,[`${ut}-wrapper-disabled`]:et,[`${ut}-wrapper-in-form-item`]:ke},Xe==null?void 0:Xe.className,we,De,Ue),Le=_e()({[`${ut}-indeterminate`]:Ae},oe.A,Ue),Ne=Ae?"mixed":void 0;return Qe(pe.createElement(ae.Z,{component:"Checkbox",disabled:et},pe.createElement("label",{className:$e,style:Object.assign(Object.assign({},Xe==null?void 0:Xe.style),Ce),onMouseEnter:je,onMouseLeave:Fe},pe.createElement(E.Z,Object.assign({"aria-checked":Ne},Re,{prefixCls:ut,className:Le,disabled:et,ref:Se})),xe!==void 0&&pe.createElement("span",null,xe))))};var y=pe.forwardRef(z),x=ve(94480),b=ve(2738),ee=function(he,Se){var ye={};for(var Pe in he)Object.prototype.hasOwnProperty.call(he,Pe)&&Se.indexOf(Pe)<0&&(ye[Pe]=he[Pe]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Pe=Object.getOwnPropertySymbols(he);we<Pe.length;we++)Se.indexOf(Pe[we])<0&&Object.prototype.propertyIsEnumerable.call(he,Pe[we])&&(ye[Pe[we]]=he[Pe[we]]);return ye};const te=(he,Se)=>{const{defaultValue:ye,children:Pe,options:we=[],prefixCls:De,className:xe,rootClassName:Ae,style:Ce,onChange:je}=he,Fe=ee(he,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Ge,direction:Be}=pe.useContext(de.E_),[tt,Ye]=pe.useState(Fe.value||ye||[]),[Ve,Xe]=pe.useState([]);pe.useEffect(()=>{"value"in Fe&&Ye(Fe.value||[])},[Fe.value]);const Ze=pe.useMemo(()=>we.map(qe=>typeof qe=="string"||typeof qe=="number"?{label:qe,value:qe}:qe),[we]),ke=qe=>{Xe(We=>We.filter(Me=>Me!==qe))},ze=qe=>{Xe(We=>[].concat((0,x.Z)(We),[qe]))},et=qe=>{const We=tt.indexOf(qe.value),Me=(0,x.Z)(tt);We===-1?Me.push(qe.value):Me.splice(We,1),"value"in Fe||Ye(Me),je==null||je(Me.filter(Te=>Ve.includes(Te)).sort((Te,Oe)=>{const Ee=Ze.findIndex(Ke=>Ke.value===Te),Ie=Ze.findIndex(Ke=>Ke.value===Oe);return Ee-Ie}))},Je=Ge("checkbox",De),ut=`${Je}-group`,[Qe,Ue]=(0,ue.ZP)(Je),Re=(0,b.Z)(Fe,["value","disabled"]),$e=we.length?Ze.map(qe=>pe.createElement(y,{prefixCls:Je,key:qe.value.toString(),disabled:"disabled"in qe?qe.disabled:Fe.disabled,value:qe.value,checked:tt.includes(qe.value),onChange:qe.onChange,className:`${ut}-item`,style:qe.style,title:qe.title},qe.label)):Pe,Le={toggleOption:et,value:tt,disabled:Fe.disabled,name:Fe.name,registerValue:ze,cancelValue:ke},Ne=_e()(ut,{[`${ut}-rtl`]:Be==="rtl"},xe,Ae,Ue);return Qe(pe.createElement("div",Object.assign({className:Ne,style:Ce},Re,{ref:Se}),pe.createElement(ce.Provider,{value:Le},$e)))},le=pe.forwardRef(te);var fe=pe.memo(le);const ge=y;ge.Group=fe,ge.__ANT_CHECKBOX=!0;var me=ge},98447:function(Et,dt,ve){"use strict";ve.d(dt,{C2:function(){return de}});var be=ve(17313),_e=ve(37613),E=ve(83116);const pe=se=>{const{checkboxCls:ne}=se,ie=`${ne}-wrapper`;return[{[`${ne}-group`]:Object.assign(Object.assign({},(0,be.Wf)(se)),{display:"inline-flex",flexWrap:"wrap",columnGap:se.marginXS,[`> ${se.antCls}-row`]:{flex:1}}),[ie]:Object.assign(Object.assign({},(0,be.Wf)(se)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ie}`]:{marginInlineStart:0},[`&${ie}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ne]:Object.assign(Object.assign({},(0,be.Wf)(se)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:se.borderRadiusSM,alignSelf:"center",[`${ne}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ne}-inner`]:Object.assign({},(0,be.oN)(se))},[`${ne}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:se.checkboxSize,height:se.checkboxSize,direction:"ltr",backgroundColor:se.colorBgContainer,border:`${se.lineWidth}px ${se.lineType} ${se.colorBorder}`,borderRadius:se.borderRadiusSM,borderCollapse:"separate",transition:`all ${se.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:se.checkboxSize/14*5,height:se.checkboxSize/14*8,border:`${se.lineWidthBold}px solid ${se.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${se.motionDurationFast} ${se.motionEaseInBack}, opacity ${se.motionDurationFast}`}},"& + span":{paddingInlineStart:se.paddingXS,paddingInlineEnd:se.paddingXS}})},{[`
|
|
|
${ie}:not(${ie}-disabled),
|
|
|
${ne}:not(${ne}-disabled)
|
|
|
`]:{[`&:hover ${ne}-inner`]:{borderColor:se.colorPrimary}},[`${ie}:not(${ie}-disabled)`]:{[`&:hover ${ne}-checked:not(${ne}-disabled) ${ne}-inner`]:{backgroundColor:se.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ne}-checked:not(${ne}-disabled):after`]:{borderColor:se.colorPrimaryHover}}},{[`${ne}-checked`]:{[`${ne}-inner`]:{backgroundColor:se.colorPrimary,borderColor:se.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${se.motionDurationMid} ${se.motionEaseOutBack} ${se.motionDurationFast}`}}},[`
|
|
|
${ie}-checked:not(${ie}-disabled),
|
|
|
${ne}-checked:not(${ne}-disabled)
|
|
|
`]:{[`&:hover ${ne}-inner`]:{backgroundColor:se.colorPrimaryHover,borderColor:"transparent"}}},{[ne]:{"&-indeterminate":{[`${ne}-inner`]:{backgroundColor:se.colorBgContainer,borderColor:se.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:se.fontSizeLG/2,height:se.fontSizeLG/2,backgroundColor:se.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${ie}-disabled`]:{cursor:"not-allowed"},[`${ne}-disabled`]:{[`&, ${ne}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ne}-inner`]:{background:se.colorBgContainerDisabled,borderColor:se.colorBorder,"&:after":{borderColor:se.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:se.colorTextDisabled},[`&${ne}-indeterminate ${ne}-inner::after`]:{background:se.colorTextDisabled}}}]};function de(se,ne){const ie=(0,_e.TS)(ne,{checkboxCls:`.${se}`,checkboxSize:ne.controlInteractiveSize});return[pe(ie)]}dt.ZP=(0,E.Z)("Checkbox",(se,ne)=>{let{prefixCls:ie}=ne;return[de(ie,se)]})},36381:function(Et,dt,ve){"use strict";ve.d(dt,{default:function(){return Re}});var be=ve(38819),_e=ve(92310),E=ve.n(_e),pe=ve(54476),de=ve(94480),se=ve(42978),ne=ve(76190),ie=ve(18929),ce=ve(48736),ue=ve(59301),ae=ve(75931),oe=ve(11592),re=ve(20068),z=ve(77900),a=ve(10228),y=ue.forwardRef(function($e,Le){var Ne=$e.prefixCls,qe=$e.forceRender,We=$e.className,Me=$e.style,Te=$e.children,Oe=$e.isActive,Ee=$e.role,Ie=ue.useState(Oe||qe),Ke=(0,se.Z)(Ie,2),at=Ke[0],He=Ke[1];return ue.useEffect(function(){(qe||Oe)&&He(!0)},[qe,Oe]),at?ue.createElement("div",{ref:Le,className:E()("".concat(Ne,"-content"),(0,re.Z)((0,re.Z)({},"".concat(Ne,"-content-active"),Oe),"".concat(Ne,"-content-inactive"),!Oe),We),style:Me,role:Ee},ue.createElement("div",{className:"".concat(Ne,"-content-box")},Te)):null});y.displayName="PanelContent";var x=y,b=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],ee=ue.forwardRef(function($e,Le){var Ne=$e.showArrow,qe=Ne===void 0?!0:Ne,We=$e.headerClass,Me=$e.isActive,Te=$e.onItemClick,Oe=$e.forceRender,Ee=$e.className,Ie=$e.prefixCls,Ke=$e.collapsible,at=$e.accordion,He=$e.panelKey,nt=$e.extra,ft=$e.header,lt=$e.expandIcon,pt=$e.openMotion,ct=$e.destroyInactivePanel,vt=$e.children,ot=(0,ae.Z)($e,b),st=Ke==="disabled",ht=Ke==="header",mt=Ke==="icon",bt=nt!=null&&typeof nt!="boolean",xt=function(){Te==null||Te(He)},Ft=function(wn){(wn.key==="Enter"||wn.keyCode===a.Z.ENTER||wn.which===a.Z.ENTER)&&xt()},Dt=typeof lt=="function"?lt($e):ue.createElement("i",{className:"arrow"});Dt&&(Dt=ue.createElement("div",{className:"".concat(Ie,"-expand-icon"),onClick:["header","icon"].includes(Ke)?xt:void 0},Dt));var $t=E()((0,re.Z)((0,re.Z)((0,re.Z)({},"".concat(Ie,"-item"),!0),"".concat(Ie,"-item-active"),Me),"".concat(Ie,"-item-disabled"),st),Ee),dn=E()(We,(0,re.Z)((0,re.Z)((0,re.Z)({},"".concat(Ie,"-header"),!0),"".concat(Ie,"-header-collapsible-only"),ht),"".concat(Ie,"-icon-collapsible-only"),mt)),en={className:dn,"aria-expanded":Me,"aria-disabled":st,onKeyDown:Ft};return!ht&&!mt&&(en.onClick=xt,en.role=at?"tab":"button",en.tabIndex=st?-1:0),ue.createElement("div",(0,pe.Z)({},ot,{ref:Le,className:$t}),ue.createElement("div",en,qe&&Dt,ue.createElement("span",{className:"".concat(Ie,"-header-text"),onClick:Ke==="header"?xt:void 0},ft),bt&&ue.createElement("div",{className:"".concat(Ie,"-extra")},nt)),ue.createElement(z.default,(0,pe.Z)({visible:Me,leavedClassName:"".concat(Ie,"-content-hidden")},pt,{forceRender:Oe,removeOnLeave:ct}),function(Jt,wn){var Tn=Jt.className,fn=Jt.style;return ue.createElement(x,{ref:wn,prefixCls:Ie,className:Tn,style:fn,isActive:Me,forceRender:Oe,role:at?"tabpanel":void 0},vt)}))}),te=ee,le=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],fe=function(Le,Ne){var qe=Ne.prefixCls,We=Ne.accordion,Me=Ne.collapsible,Te=Ne.destroyInactivePanel,Oe=Ne.onItemClick,Ee=Ne.activeKey,Ie=Ne.openMotion,Ke=Ne.expandIcon;return Le.map(function(at,He){var nt=at.children,ft=at.label,lt=at.key,pt=at.collapsible,ct=at.onItemClick,vt=at.destroyInactivePanel,ot=(0,ae.Z)(at,le),st=String(lt!=null?lt:He),ht=pt!=null?pt:Me,mt=vt!=null?vt:Te,bt=function(Dt){ht!=="disabled"&&(Oe(Dt),ct==null||ct(Dt))},xt=!1;return We?xt=Ee[0]===st:xt=Ee.indexOf(st)>-1,ue.createElement(te,(0,pe.Z)({},ot,{prefixCls:qe,key:st,panelKey:st,isActive:xt,accordion:We,openMotion:Ie,expandIcon:Ke,header:ft,collapsible:ht,onItemClick:bt,destroyInactivePanel:mt}),nt)})},ge=function(Le,Ne,qe){if(!Le)return null;var We=qe.prefixCls,Me=qe.accordion,Te=qe.collapsible,Oe=qe.destroyInactivePanel,Ee=qe.onItemClick,Ie=qe.activeKey,Ke=qe.openMotion,at=qe.expandIcon,He=Le.key||String(Ne),nt=Le.props,ft=nt.header,lt=nt.headerClass,pt=nt.destroyInactivePanel,ct=nt.collapsible,vt=nt.onItemClick,ot=!1;Me?ot=Ie[0]===He:ot=Ie.indexOf(He)>-1;var st=ct!=null?ct:Te,ht=function(xt){st!=="disabled"&&(Ee(xt),vt==null||vt(xt))},mt={key:He,panelKey:He,header:ft,headerClass:lt,isActive:ot,prefixCls:We,destroyInactivePanel:pt!=null?pt:Oe,openMotion:Ke,accordion:Me,children:Le.props.children,onItemClick:ht,expandIcon:at,collapsible:st};return typeof Le.type=="string"?Le:(Object.keys(mt).forEach(function(bt){typeof mt[bt]=="undefined"&&delete mt[bt]}),ue.cloneElement(Le,mt))};function me($e,Le,Ne){return Array.isArray($e)?fe($e,Ne):(0,oe.Z)(Le).map(function(qe,We){return ge(qe,We,Ne)})}var he=me,Se=ve(26112);function ye($e){var Le=$e;if(!Array.isArray(Le)){var Ne=(0,ne.Z)(Le);Le=Ne==="number"||Ne==="string"?[Le]:[]}return Le.map(function(qe){return String(qe)})}var Pe=ue.forwardRef(function($e,Le){var Ne=$e.prefixCls,qe=Ne===void 0?"rc-collapse":Ne,We=$e.destroyInactivePanel,Me=We===void 0?!1:We,Te=$e.style,Oe=$e.accordion,Ee=$e.className,Ie=$e.children,Ke=$e.collapsible,at=$e.openMotion,He=$e.expandIcon,nt=$e.activeKey,ft=$e.defaultActiveKey,lt=$e.onChange,pt=$e.items,ct=E()(qe,Ee),vt=(0,ie.Z)([],{value:nt,onChange:function(Ft){return lt==null?void 0:lt(Ft)},defaultValue:ft,postState:ye}),ot=(0,se.Z)(vt,2),st=ot[0],ht=ot[1],mt=function(Ft){return ht(function(){if(Oe)return st[0]===Ft?[]:[Ft];var Dt=st.indexOf(Ft),$t=Dt>-1;return $t?st.filter(function(dn){return dn!==Ft}):[].concat((0,de.Z)(st),[Ft])})};(0,ce.ZP)(!Ie,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var bt=he(pt,Ie,{prefixCls:qe,accordion:Oe,openMotion:at,expandIcon:He,collapsible:Ke,destroyInactivePanel:Me,onItemClick:mt,activeKey:st});return ue.createElement("div",(0,pe.Z)({ref:Le,className:ct,style:Te,role:Oe?"tablist":void 0},(0,Se.Z)($e,{aria:!0,data:!0})),bt)}),we=Object.assign(Pe,{Panel:te}),De=we,xe=we.Panel,Ae=ve(2738),Ce=ve(62892),je=ve(92343),Fe=ve(36355),Ge=ve(19716),tt=ue.forwardRef(($e,Le)=>{const{getPrefixCls:Ne}=ue.useContext(Fe.E_),{prefixCls:qe,className:We,showArrow:Me=!0}=$e,Te=Ne("collapse",qe),Oe=E()({[`${Te}-no-arrow`]:!Me},We);return ue.createElement(De.Panel,Object.assign({ref:Le},$e,{prefixCls:Te,className:Oe}))}),Ye=ve(17313),Ve=ve(8378),Xe=ve(83116),Ze=ve(37613);const ke=$e=>{const{componentCls:Le,contentBg:Ne,padding:qe,headerBg:We,headerPadding:Me,collapseHeaderPaddingSM:Te,collapseHeaderPaddingLG:Oe,collapsePanelBorderRadius:Ee,lineWidth:Ie,lineType:Ke,colorBorder:at,colorText:He,colorTextHeading:nt,colorTextDisabled:ft,fontSize:lt,fontSizeLG:pt,lineHeight:ct,marginSM:vt,paddingSM:ot,paddingLG:st,paddingXS:ht,motionDurationSlow:mt,fontSizeIcon:bt,contentPadding:xt}=$e,Ft=`${Ie}px ${Ke} ${at}`;return{[Le]:Object.assign(Object.assign({},(0,Ye.Wf)($e)),{backgroundColor:We,border:Ft,borderBottom:0,borderRadius:`${Ee}px`,"&-rtl":{direction:"rtl"},[`& > ${Le}-item`]:{borderBottom:Ft,"&:last-child":{[`
|
|
|
&,
|
|
|
& > ${Le}-header`]:{borderRadius:`0 0 ${Ee}px ${Ee}px`}},[`> ${Le}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:Me,color:nt,lineHeight:ct,cursor:"pointer",transition:`all ${mt}, visibility 0s`,[`> ${Le}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Le}-expand-icon`]:{height:lt*ct,display:"flex",alignItems:"center",paddingInlineEnd:vt},[`${Le}-arrow`]:Object.assign(Object.assign({},(0,Ye.Ro)()),{fontSize:bt,svg:{transition:`transform ${mt}`}}),[`${Le}-header-text`]:{marginInlineEnd:"auto"}},[`${Le}-header-collapsible-only`]:{cursor:"default",[`${Le}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Le}-icon-collapsible-only`]:{cursor:"default",[`${Le}-expand-icon`]:{cursor:"pointer"}}},[`${Le}-content`]:{color:He,backgroundColor:Ne,borderTop:Ft,[`& > ${Le}-content-box`]:{padding:xt},"&-hidden":{display:"none"}},"&-small":{[`> ${Le}-item`]:{[`> ${Le}-header`]:{padding:Te,paddingInlineStart:ht,[`> ${Le}-expand-icon`]:{marginInlineStart:ot-ht}},[`> ${Le}-content > ${Le}-content-box`]:{padding:ot}}},"&-large":{[`> ${Le}-item`]:{fontSize:pt,[`> ${Le}-header`]:{padding:Oe,paddingInlineStart:qe,[`> ${Le}-expand-icon`]:{height:pt*ct,marginInlineStart:st-qe}},[`> ${Le}-content > ${Le}-content-box`]:{padding:st}}},[`${Le}-item:last-child`]:{[`> ${Le}-content`]:{borderRadius:`0 0 ${Ee}px ${Ee}px`}},[`& ${Le}-item-disabled > ${Le}-header`]:{"\n &,\n & > .arrow\n ":{color:ft,cursor:"not-allowed"}},[`&${Le}-icon-position-end`]:{[`& > ${Le}-item`]:{[`> ${Le}-header`]:{[`${Le}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:vt}}}}})}},ze=$e=>{const{componentCls:Le}=$e,Ne=`> ${Le}-item > ${Le}-header ${Le}-arrow svg`;return{[`${Le}-rtl`]:{[Ne]:{transform:"rotate(180deg)"}}}},et=$e=>{const{componentCls:Le,headerBg:Ne,paddingXXS:qe,colorBorder:We}=$e;return{[`${Le}-borderless`]:{backgroundColor:Ne,border:0,[`> ${Le}-item`]:{borderBottom:`1px solid ${We}`},[`
|
|
|
> ${Le}-item:last-child,
|
|
|
> ${Le}-item:last-child ${Le}-header
|
|
|
`]:{borderRadius:0},[`> ${Le}-item:last-child`]:{borderBottom:0},[`> ${Le}-item > ${Le}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Le}-item > ${Le}-content > ${Le}-content-box`]:{paddingTop:qe}}}},Je=$e=>{const{componentCls:Le,paddingSM:Ne}=$e;return{[`${Le}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Le}-item`]:{borderBottom:0,[`> ${Le}-content`]:{backgroundColor:"transparent",border:0,[`> ${Le}-content-box`]:{paddingBlock:Ne}}}}}};var ut=(0,Xe.Z)("Collapse",$e=>{const Le=(0,Ze.TS)($e,{collapseHeaderPaddingSM:`${$e.paddingXS}px ${$e.paddingSM}px`,collapseHeaderPaddingLG:`${$e.padding}px ${$e.paddingLG}px`,collapsePanelBorderRadius:$e.borderRadiusLG});return[ke(Le),et(Le),Je(Le),ze(Le),(0,Ve.Z)(Le)]},$e=>({headerPadding:`${$e.paddingSM}px ${$e.padding}px`,headerBg:$e.colorFillAlter,contentPadding:`${$e.padding}px 16px`,contentBg:$e.colorBgContainer})),Ue=Object.assign(ue.forwardRef(($e,Le)=>{const{getPrefixCls:Ne,direction:qe,collapse:We}=ue.useContext(Fe.E_),{prefixCls:Me,className:Te,rootClassName:Oe,style:Ee,bordered:Ie=!0,ghost:Ke,size:at,expandIconPosition:He="start",children:nt,expandIcon:ft}=$e,lt=(0,Ge.Z)(Ft=>{var Dt;return(Dt=at!=null?at:Ft)!==null&&Dt!==void 0?Dt:"middle"}),pt=Ne("collapse",Me),ct=Ne(),[vt,ot]=ut(pt),st=ue.useMemo(()=>He==="left"?"start":He==="right"?"end":He,[He]),ht=function(){let Ft=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Dt=ft?ft(Ft):ue.createElement(be.Z,{rotate:Ft.isActive?90:void 0});return(0,je.Tm)(Dt,()=>({className:E()(Dt.props.className,`${pt}-arrow`)}))},mt=E()(`${pt}-icon-position-${st}`,{[`${pt}-borderless`]:!Ie,[`${pt}-rtl`]:qe==="rtl",[`${pt}-ghost`]:!!Ke,[`${pt}-${lt}`]:lt!=="middle"},We==null?void 0:We.className,Te,Oe,ot),bt=Object.assign(Object.assign({},(0,Ce.Z)(ct)),{motionAppear:!1,leavedClassName:`${pt}-content-hidden`}),xt=ue.useMemo(()=>nt?(0,oe.Z)(nt).map((Ft,Dt)=>{var $t,dn;if(!(($t=Ft.props)===null||$t===void 0)&&$t.disabled){const en=(dn=Ft.key)!==null&&dn!==void 0?dn:String(Dt),{disabled:Jt,collapsible:wn}=Ft.props,Tn=Object.assign(Object.assign({},(0,Ae.Z)(Ft.props,["disabled"])),{key:en,collapsible:wn!=null?wn:Jt?"disabled":void 0});return(0,je.Tm)(Ft,Tn)}return Ft}):null,[nt]);return vt(ue.createElement(De,Object.assign({ref:Le,openMotion:bt},(0,Ae.Z)($e,["rootClassName"]),{expandIcon:ht,prefixCls:pt,className:mt,style:Object.assign(Object.assign({},We==null?void 0:We.style),Ee)}),xt))}),{Panel:tt}),Re=Ue},43428:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return Qe}});var be=ve(92310),_e=ve.n(be),E=ve(33885),pe=ve(42978),de=ve(43403),se=ve(34280),ne=ve(59301),ie=ne.createContext(null),ce=ne.createContext({}),ue=ie,ae=ve(20068),oe=ve(54476),re=ve(77900),z=ve(10228),a=ve(26112),y=ve(70425),x=function(Re){var $e=Re.prefixCls,Le=Re.className,Ne=Re.style,qe=Re.children,We=Re.containerRef,Me=Re.id,Te=Re.onMouseEnter,Oe=Re.onMouseOver,Ee=Re.onMouseLeave,Ie=Re.onClick,Ke=Re.onKeyDown,at=Re.onKeyUp,He={onMouseEnter:Te,onMouseOver:Oe,onMouseLeave:Ee,onClick:Ie,onKeyDown:Ke,onKeyUp:at},nt=ne.useContext(ce),ft=nt.panel,lt=(0,y.useComposeRef)(ft,We);return ne.createElement(ne.Fragment,null,ne.createElement("div",(0,oe.Z)({id:Me,className:_e()("".concat($e,"-content"),Le),style:(0,E.Z)({},Ne),"aria-modal":"true",role:"dialog",ref:lt},He),qe))},b=x,ee=ve(48736);function te(Ue){return typeof Ue=="string"&&String(Number(Ue))===Ue?((0,ee.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Ue)):Ue}function le(Ue){warning(!("wrapperClassName"in Ue),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Ue.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var fe={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ge(Ue,Re){var $e,Le,Ne,qe,We=Ue.prefixCls,Me=Ue.open,Te=Ue.placement,Oe=Ue.inline,Ee=Ue.push,Ie=Ue.forceRender,Ke=Ue.autoFocus,at=Ue.keyboard,He=Ue.rootClassName,nt=Ue.rootStyle,ft=Ue.zIndex,lt=Ue.className,pt=Ue.id,ct=Ue.style,vt=Ue.motion,ot=Ue.width,st=Ue.height,ht=Ue.children,mt=Ue.contentWrapperStyle,bt=Ue.mask,xt=Ue.maskClosable,Ft=Ue.maskMotion,Dt=Ue.maskClassName,$t=Ue.maskStyle,dn=Ue.afterOpenChange,en=Ue.onClose,Jt=Ue.onMouseEnter,wn=Ue.onMouseOver,Tn=Ue.onMouseLeave,fn=Ue.onClick,zn=Ue.onKeyDown,Un=Ue.onKeyUp,Nn=ne.useRef(),On=ne.useRef(),Mn=ne.useRef();ne.useImperativeHandle(Re,function(){return Nn.current});var Wn=function(Lt){var rn=Lt.keyCode,jt=Lt.shiftKey;switch(rn){case z.Z.TAB:{if(rn===z.Z.TAB){if(!jt&&document.activeElement===Mn.current){var un;(un=On.current)===null||un===void 0||un.focus({preventScroll:!0})}else if(jt&&document.activeElement===On.current){var En;(En=Mn.current)===null||En===void 0||En.focus({preventScroll:!0})}}break}case z.Z.ESC:{en&&at&&(Lt.stopPropagation(),en(Lt));break}}};ne.useEffect(function(){if(Me&&Ke){var Ht;(Ht=Nn.current)===null||Ht===void 0||Ht.focus({preventScroll:!0})}},[Me]);var qn=ne.useState(!1),Nr=(0,pe.Z)(qn,2),er=Nr[0],jr=Nr[1],sr=ne.useContext(ue),hr;Ee===!1?hr={distance:0}:Ee===!0?hr={}:hr=Ee||{};var Ot=($e=(Le=(Ne=hr)===null||Ne===void 0?void 0:Ne.distance)!==null&&Le!==void 0?Le:sr==null?void 0:sr.pushDistance)!==null&&$e!==void 0?$e:180,It=ne.useMemo(function(){return{pushDistance:Ot,push:function(){jr(!0)},pull:function(){jr(!1)}}},[Ot]);ne.useEffect(function(){if(Me){var Ht;sr==null||(Ht=sr.push)===null||Ht===void 0||Ht.call(sr)}else{var Lt;sr==null||(Lt=sr.pull)===null||Lt===void 0||Lt.call(sr)}},[Me]),ne.useEffect(function(){return function(){var Ht;sr==null||(Ht=sr.pull)===null||Ht===void 0||Ht.call(sr)}},[]);var _t=bt&&ne.createElement(re.default,(0,oe.Z)({key:"mask"},Ft,{visible:Me}),function(Ht,Lt){var rn=Ht.className,jt=Ht.style;return ne.createElement("div",{className:_e()("".concat(We,"-mask"),rn,Dt),style:(0,E.Z)((0,E.Z)({},jt),$t),onClick:xt&&Me?en:void 0,ref:Lt})}),tn=typeof vt=="function"?vt(Te):vt,Fn={};if(er&&Ot)switch(Te){case"top":Fn.transform="translateY(".concat(Ot,"px)");break;case"bottom":Fn.transform="translateY(".concat(-Ot,"px)");break;case"left":Fn.transform="translateX(".concat(Ot,"px)");break;default:Fn.transform="translateX(".concat(-Ot,"px)");break}Te==="left"||Te==="right"?Fn.width=te(ot):Fn.height=te(st);var Cn={onMouseEnter:Jt,onMouseOver:wn,onMouseLeave:Tn,onClick:fn,onKeyDown:zn,onKeyUp:Un},Br=ne.createElement(re.default,(0,oe.Z)({key:"panel"},tn,{visible:Me,forceRender:Ie,onVisibleChanged:function(Lt){dn==null||dn(Lt)},removeOnLeave:!1,leavedClassName:"".concat(We,"-content-wrapper-hidden")}),function(Ht,Lt){var rn=Ht.className,jt=Ht.style;return ne.createElement("div",(0,oe.Z)({className:_e()("".concat(We,"-content-wrapper"),rn),style:(0,E.Z)((0,E.Z)((0,E.Z)({},Fn),jt),mt)},(0,a.Z)(Ue,{data:!0})),ne.createElement(b,(0,oe.Z)({id:pt,containerRef:Lt,prefixCls:We,className:lt,style:ct},Cn),ht))}),or=(0,E.Z)({},nt);return ft&&(or.zIndex=ft),ne.createElement(ue.Provider,{value:It},ne.createElement("div",{className:_e()(We,"".concat(We,"-").concat(Te),He,(qe={},(0,ae.Z)(qe,"".concat(We,"-open"),Me),(0,ae.Z)(qe,"".concat(We,"-inline"),Oe),qe)),style:or,tabIndex:-1,ref:Nn,onKeyDown:Wn},_t,ne.createElement("div",{tabIndex:0,ref:On,style:fe,"aria-hidden":"true","data-sentinel":"start"}),Br,ne.createElement("div",{tabIndex:0,ref:Mn,style:fe,"aria-hidden":"true","data-sentinel":"end"})))}var me=ne.forwardRef(ge),he=me,Se=function(Re){var $e=Re.open,Le=$e===void 0?!1:$e,Ne=Re.prefixCls,qe=Ne===void 0?"rc-drawer":Ne,We=Re.placement,Me=We===void 0?"right":We,Te=Re.autoFocus,Oe=Te===void 0?!0:Te,Ee=Re.keyboard,Ie=Ee===void 0?!0:Ee,Ke=Re.width,at=Ke===void 0?378:Ke,He=Re.mask,nt=He===void 0?!0:He,ft=Re.maskClosable,lt=ft===void 0?!0:ft,pt=Re.getContainer,ct=Re.forceRender,vt=Re.afterOpenChange,ot=Re.destroyOnClose,st=Re.onMouseEnter,ht=Re.onMouseOver,mt=Re.onMouseLeave,bt=Re.onClick,xt=Re.onKeyDown,Ft=Re.onKeyUp,Dt=Re.panelRef,$t=ne.useState(!1),dn=(0,pe.Z)($t,2),en=dn[0],Jt=dn[1],wn=ne.useState(!1),Tn=(0,pe.Z)(wn,2),fn=Tn[0],zn=Tn[1];(0,se.Z)(function(){zn(!0)},[]);var Un=fn?Le:!1,Nn=ne.useRef(),On=ne.useRef();(0,se.Z)(function(){Un&&(On.current=document.activeElement)},[Un]);var Mn=function(jr){var sr;if(Jt(jr),vt==null||vt(jr),!jr&&On.current&&!((sr=Nn.current)!==null&&sr!==void 0&&sr.contains(On.current))){var hr;(hr=On.current)===null||hr===void 0||hr.focus({preventScroll:!0})}},Wn=ne.useMemo(function(){return{panel:Dt}},[Dt]);if(!ct&&!en&&!Un&&ot)return null;var qn={onMouseEnter:st,onMouseOver:ht,onMouseLeave:mt,onClick:bt,onKeyDown:xt,onKeyUp:Ft},Nr=(0,E.Z)((0,E.Z)({},Re),{},{open:Un,prefixCls:qe,placement:Me,autoFocus:Oe,keyboard:Ie,width:at,mask:nt,maskClosable:lt,inline:pt===!1,afterOpenChange:Mn,ref:Nn},qn);return ne.createElement(ce.Provider,{value:Wn},ne.createElement(de.Z,{open:Un||ct||en,autoDestroy:!1,getContainer:pt,autoLock:nt&&(Un||en)},ne.createElement(he,Nr)))},ye=Se,Pe=ye,we=ve(62892),De=ve(36355),xe=ve(32441),Ae=ve(47729),je=Ue=>{const{prefixCls:Re,title:$e,footer:Le,extra:Ne,closeIcon:qe,closable:We,onClose:Me,headerStyle:Te,drawerStyle:Oe,bodyStyle:Ee,footerStyle:Ie,children:Ke}=Ue,at=ne.useCallback(pt=>ne.createElement("button",{type:"button",onClick:Me,"aria-label":"Close",className:`${Re}-close`},pt),[Me]),[He,nt]=(0,Ae.Z)(We,qe,at,void 0,!0),ft=ne.useMemo(()=>!$e&&!He?null:ne.createElement("div",{style:Te,className:_e()(`${Re}-header`,{[`${Re}-header-close-only`]:He&&!$e&&!Ne})},ne.createElement("div",{className:`${Re}-header-title`},nt,$e&&ne.createElement("div",{className:`${Re}-title`},$e)),Ne&&ne.createElement("div",{className:`${Re}-extra`},Ne)),[He,nt,Ne,Te,Re,$e]),lt=ne.useMemo(()=>{if(!Le)return null;const pt=`${Re}-footer`;return ne.createElement("div",{className:pt,style:Ie},Le)},[Le,Ie,Re]);return ne.createElement("div",{className:`${Re}-wrapper-body`,style:Oe},ft,ne.createElement("div",{className:`${Re}-body`,style:Ee},Ke),lt)},Fe=ve(33234),Ge=ve(83116),Be=ve(37613),Ye=Ue=>{const{componentCls:Re,motionDurationSlow:$e}=Ue,Le={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${$e}`}}};return{[Re]:{[`${Re}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${$e}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Re}-panel-motion`]:{"&-left":[Le,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[Le,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[Le,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[Le,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Ve=Ue=>{const{componentCls:Re,zIndexPopup:$e,colorBgMask:Le,colorBgElevated:Ne,motionDurationSlow:qe,motionDurationMid:We,padding:Me,paddingLG:Te,fontSizeLG:Oe,lineHeightLG:Ee,lineWidth:Ie,lineType:Ke,colorSplit:at,marginSM:He,colorIcon:nt,colorIconHover:ft,colorText:lt,fontWeightStrong:pt,footerPaddingBlock:ct,footerPaddingInline:vt}=Ue,ot=`${Re}-content-wrapper`;return{[Re]:{position:"fixed",inset:0,zIndex:$e,pointerEvents:"none","&-pure":{position:"relative",background:Ne,[`&${Re}-left`]:{boxShadow:Ue.boxShadowDrawerLeft},[`&${Re}-right`]:{boxShadow:Ue.boxShadowDrawerRight},[`&${Re}-top`]:{boxShadow:Ue.boxShadowDrawerUp},[`&${Re}-bottom`]:{boxShadow:Ue.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Re}-mask`]:{position:"absolute",inset:0,zIndex:$e,background:Le,pointerEvents:"auto"},[ot]:{position:"absolute",zIndex:$e,maxWidth:"100vw",transition:`all ${qe}`,"&-hidden":{display:"none"}},[`&-left > ${ot}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Ue.boxShadowDrawerLeft},[`&-right > ${ot}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Ue.boxShadowDrawerRight},[`&-top > ${ot}`]:{top:0,insetInline:0,boxShadow:Ue.boxShadowDrawerUp},[`&-bottom > ${ot}`]:{bottom:0,insetInline:0,boxShadow:Ue.boxShadowDrawerDown},[`${Re}-content`]:{width:"100%",height:"100%",overflow:"auto",background:Ne,pointerEvents:"auto"},[`${Re}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Re}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Me}px ${Te}px`,fontSize:Oe,lineHeight:Ee,borderBottom:`${Ie}px ${Ke} ${at}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Re}-extra`]:{flex:"none"},[`${Re}-close`]:{display:"inline-block",marginInlineEnd:He,color:nt,fontWeight:pt,fontSize:Oe,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:ft,textDecoration:"none"}},[`${Re}-title`]:{flex:1,margin:0,color:lt,fontWeight:Ue.fontWeightStrong,fontSize:Oe,lineHeight:Ee},[`${Re}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Te,overflow:"auto"},[`${Re}-footer`]:{flexShrink:0,padding:`${ct}px ${vt}px`,borderTop:`${Ie}px ${Ke} ${at}`},"&-rtl":{direction:"rtl"}}}};var Xe=(0,Ge.Z)("Drawer",Ue=>{const Re=(0,Be.TS)(Ue,{});return[Ve(Re),Ye(Re)]},Ue=>({zIndexPopup:Ue.zIndexPopupBase,footerPaddingBlock:Ue.paddingXS,footerPaddingInline:Ue.padding})),Ze=ve(11575),ke=function(Ue,Re){var $e={};for(var Le in Ue)Object.prototype.hasOwnProperty.call(Ue,Le)&&Re.indexOf(Le)<0&&($e[Le]=Ue[Le]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,Le=Object.getOwnPropertySymbols(Ue);Ne<Le.length;Ne++)Re.indexOf(Le[Ne])<0&&Object.prototype.propertyIsEnumerable.call(Ue,Le[Ne])&&($e[Le[Ne]]=Ue[Le[Ne]]);return $e};const ze=null,et={distance:180},Je=Ue=>{var Re;const{rootClassName:$e,width:Le,height:Ne,size:qe="default",mask:We=!0,push:Me=et,open:Te,afterOpenChange:Oe,onClose:Ee,prefixCls:Ie,getContainer:Ke,style:at,className:He,visible:nt,afterVisibleChange:ft}=Ue,lt=ke(Ue,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:pt,getPrefixCls:ct,direction:vt,drawer:ot}=ne.useContext(De.E_),st=ct("drawer",Ie),[ht,mt]=Xe(st),bt=Ke===void 0&&pt?()=>pt(document.body):Ke,xt=_e()({"no-mask":!We,[`${st}-rtl`]:vt==="rtl"},$e,mt),Ft=ne.useMemo(()=>Le!=null?Le:qe==="large"?736:378,[Le,qe]),Dt=ne.useMemo(()=>Ne!=null?Ne:qe==="large"?736:378,[Ne,qe]),$t={motionName:(0,we.m)(st,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},dn=Jt=>({motionName:(0,we.m)(st,`panel-motion-${Jt}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),en=(0,Ze.H)();return ht(ne.createElement(Fe.BR,null,ne.createElement(xe.Ux,{status:!0,override:!0},ne.createElement(Pe,Object.assign({prefixCls:st,onClose:Ee,maskMotion:$t,motion:dn},lt,{open:Te!=null?Te:nt,mask:We,push:Me,width:Ft,height:Dt,style:Object.assign(Object.assign({},ot==null?void 0:ot.style),at),className:_e()(ot==null?void 0:ot.className,He),rootClassName:xt,getContainer:bt,afterOpenChange:Oe!=null?Oe:ft,panelRef:en}),ne.createElement(je,Object.assign({prefixCls:st},lt,{onClose:Ee}))))))},ut=Ue=>{const{prefixCls:Re,style:$e,className:Le,placement:Ne="right"}=Ue,qe=ke(Ue,["prefixCls","style","className","placement"]),{getPrefixCls:We}=ne.useContext(De.E_),Me=We("drawer",Re),[Te,Oe]=Xe(Me),Ee=_e()(Me,`${Me}-pure`,`${Me}-${Ne}`,Oe,Le);return Te(ne.createElement("div",{className:Ee,style:$e},ne.createElement(je,Object.assign({prefixCls:Me},qe))))};Je._InternalPanelDoNotUseOrYouWillBeFired=ut;var Qe=Je},91857:function(Et,dt,ve){"use strict";var be=ve(59301),_e=ve(38819),E=ve(92310),pe=ve.n(E),de=ve(31561),se=ve(70425),ne=ve(18929),ie=ve(2738),ce=ve(79676),ue=ve(53487),ae=ve(92343),oe=ve(36355),re=ve(20834),z=ve(40875),a=ve(88088),y=ve(47211);const x=null,b=fe=>{const{menu:ge,arrow:me,prefixCls:he,children:Se,trigger:ye,disabled:Pe,dropdownRender:we,getPopupContainer:De,overlayClassName:xe,rootClassName:Ae,open:Ce,onOpenChange:je,visible:Fe,onVisibleChange:Ge,mouseEnterDelay:Be=.15,mouseLeaveDelay:tt=.1,autoAdjustOverflow:Ye=!0,placement:Ve="",overlay:Xe,transitionName:Ze}=fe,{getPopupContainer:ke,getPrefixCls:ze,direction:et}=be.useContext(oe.E_),Je=be.useMemo(()=>{const He=ze();return Ze!==void 0?Ze:Ve.includes("top")?`${He}-slide-down`:`${He}-slide-up`},[ze,Ve,Ze]),ut=be.useMemo(()=>Ve?Ve.includes("Center")?Ve.slice(0,Ve.indexOf("Center")):Ve:et==="rtl"?"bottomRight":"bottomLeft",[Ve,et]),Qe=ze("dropdown",he),[Ue,Re]=(0,y.Z)(Qe),[,$e]=(0,a.Z)(),Le=be.Children.only(Se),Ne=(0,ae.Tm)(Le,{className:pe()(`${Qe}-trigger`,{[`${Qe}-rtl`]:et==="rtl"},Le.props.className),disabled:Pe}),qe=Pe?[]:ye;let We;qe&&qe.includes("contextMenu")&&(We=!0);const[Me,Te]=(0,ne.Z)(!1,{value:Ce!=null?Ce:Fe}),Oe=(0,se.useEvent)(He=>{je==null||je(He),Ge==null||Ge(He),Te(He)}),Ee=pe()(xe,Ae,Re,{[`${Qe}-rtl`]:et==="rtl"}),Ie=(0,ce.Z)({arrowPointAtCenter:typeof me=="object"&&me.pointAtCenter,autoAdjustOverflow:Ye,offset:$e.marginXXS,arrowWidth:me?$e.sizePopupArrow:0,borderRadius:$e.borderRadius}),Ke=be.useCallback(()=>{Te(!1)},[]),at=()=>{let He;return ge!=null&&ge.items?He=be.createElement(re.default,Object.assign({},ge)):typeof Xe=="function"?He=Xe():He=Xe,we&&(He=we(He)),He=be.Children.only(typeof He=="string"?be.createElement("span",null,He):He),be.createElement(z.J,{prefixCls:`${Qe}-menu`,expandIcon:be.createElement("span",{className:`${Qe}-menu-submenu-arrow`},be.createElement(_e.Z,{className:`${Qe}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Ke,validator:nt=>{let{mode:ft}=nt}},He)};return Ue(be.createElement(de.Z,Object.assign({alignPoint:We},(0,ie.Z)(fe,["rootClassName"]),{mouseEnterDelay:Be,mouseLeaveDelay:tt,visible:Me,builtinPlacements:Ie,arrow:!!me,overlayClassName:Ee,prefixCls:Qe,getPopupContainer:De||ke,transitionName:Je,trigger:qe,overlay:at,placement:ut,onVisibleChange:Oe}),Ne))};function ee(fe){return Object.assign(Object.assign({},fe),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const te=(0,ue.Z)(b,"dropdown",fe=>fe,ee),le=fe=>be.createElement(te,Object.assign({},fe),be.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=le,dt.Z=b},38854:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return a}});var be=ve(91857),_e=ve(92310),E=ve.n(_e),pe=ve(59301),de=ve(18785),se=ve(3113),ne=ve(36355),ie=ve(81327),ce=ve(33234),ue=ve(47211),ae=function(y,x){var b={};for(var ee in y)Object.prototype.hasOwnProperty.call(y,ee)&&x.indexOf(ee)<0&&(b[ee]=y[ee]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,ee=Object.getOwnPropertySymbols(y);te<ee.length;te++)x.indexOf(ee[te])<0&&Object.prototype.propertyIsEnumerable.call(y,ee[te])&&(b[ee[te]]=y[ee[te]]);return b};const oe=y=>{const{getPopupContainer:x,getPrefixCls:b,direction:ee}=pe.useContext(ne.E_),{prefixCls:te,type:le="default",danger:fe,disabled:ge,loading:me,onClick:he,htmlType:Se,children:ye,className:Pe,menu:we,arrow:De,autoFocus:xe,overlay:Ae,trigger:Ce,align:je,open:Fe,onOpenChange:Ge,placement:Be,getPopupContainer:tt,href:Ye,icon:Ve=pe.createElement(de.Z,null),title:Xe,buttonsRender:Ze=at=>at,mouseEnterDelay:ke,mouseLeaveDelay:ze,overlayClassName:et,overlayStyle:Je,destroyPopupOnHide:ut,dropdownRender:Qe}=y,Ue=ae(y,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Re=b("dropdown",te),$e=`${Re}-button`,[Le,Ne]=(0,ue.Z)(Re),qe={menu:we,arrow:De,autoFocus:xe,align:je,disabled:ge,trigger:ge?[]:Ce,onOpenChange:Ge,getPopupContainer:tt||x,mouseEnterDelay:ke,mouseLeaveDelay:ze,overlayClassName:et,overlayStyle:Je,destroyPopupOnHide:ut,dropdownRender:Qe},{compactSize:We,compactItemClassnames:Me}=(0,ce.ri)(Re,ee),Te=E()($e,Me,Pe,Ne);"overlay"in y&&(qe.overlay=Ae),"open"in y&&(qe.open=Fe),"placement"in y?qe.placement=Be:qe.placement=ee==="rtl"?"bottomLeft":"bottomRight";const Oe=pe.createElement(se.ZP,{type:le,danger:fe,disabled:ge,loading:me,onClick:he,htmlType:Se,href:Ye,title:Xe},ye),Ee=pe.createElement(se.ZP,{type:le,danger:fe,icon:Ve}),[Ie,Ke]=Ze([Oe,Ee]);return Le(pe.createElement(ie.Z.Compact,Object.assign({className:Te,size:We,block:!0},Ue),Ie,pe.createElement(be.Z,Object.assign({},qe),Ke)))};oe.__ANT_BUTTON=!0;var re=oe;const z=be.Z;z.Button=re;var a=z},47211:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return ae}});var be=ve(17313),_e=ve(13826),E=ve(92899),pe=ve(29878),de=ve(19447),se=ve(83116),ne=ve(37613),ce=oe=>{const{componentCls:re,menuCls:z,colorError:a,colorTextLightSolid:y}=oe,x=`${z}-item`;return{[`${re}, ${re}-menu-submenu`]:{[`${z} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const ue=oe=>{const{componentCls:re,menuCls:z,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:x,antCls:b,iconCls:ee,motionDurationMid:te,dropdownPaddingVertical:le,fontSize:fe,dropdownEdgeChildPadding:ge,colorTextDisabled:me,fontSizeIcon:he,controlPaddingHorizontal:Se,colorBgElevated:ye}=oe;return[{[re]:Object.assign(Object.assign({},(0,be.Wf)(oe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:a,display:"block","&::before":{position:"absolute",insetBlock:-y+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${ee}-down, & > ${b}-btn-icon > ${ee}-down`]:{fontSize:he}},[`${re}-wrap`]:{position:"relative",[`${b}-btn > ${ee}-down`]:{fontSize:he},[`${ee}-down::before`]:{transition:`transform ${te}`}},[`${re}-wrap-open`]:{[`${ee}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${b}-slide-down-enter${b}-slide-down-enter-active${re}-placement-bottomLeft,
|
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${re}-placement-bottomLeft,
|
|
|
&${b}-slide-down-enter${b}-slide-down-enter-active${re}-placement-bottom,
|
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${re}-placement-bottom,
|
|
|
&${b}-slide-down-enter${b}-slide-down-enter-active${re}-placement-bottomRight,
|
|
|
&${b}-slide-down-appear${b}-slide-down-appear-active${re}-placement-bottomRight`]:{animationName:_e.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${re}-placement-topLeft,
|
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${re}-placement-topLeft,
|
|
|
&${b}-slide-up-enter${b}-slide-up-enter-active${re}-placement-top,
|
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${re}-placement-top,
|
|
|
&${b}-slide-up-enter${b}-slide-up-enter-active${re}-placement-topRight,
|
|
|
&${b}-slide-up-appear${b}-slide-up-appear-active${re}-placement-topRight`]:{animationName:_e.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${re}-placement-bottomLeft,
|
|
|
&${b}-slide-down-leave${b}-slide-down-leave-active${re}-placement-bottom,
|
|
|
&${b}-slide-down-leave${b}-slide-down-leave-active${re}-placement-bottomRight`]:{animationName:_e.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${re}-placement-topLeft,
|
|
|
&${b}-slide-up-leave${b}-slide-up-leave-active${re}-placement-top,
|
|
|
&${b}-slide-up-leave${b}-slide-up-leave-active${re}-placement-topRight`]:{animationName:_e.ly}})},(0,de.ZP)(oe,{colorBg:ye,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${re} ${z}`]:{position:"relative",margin:0},[`${z}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${re}, ${re}-menu-submenu`]:{[z]:Object.assign(Object.assign({padding:ge,listStyleType:"none",backgroundColor:ye,backgroundClip:"padding-box",borderRadius:oe.borderRadiusLG,outline:"none",boxShadow:oe.boxShadowSecondary},(0,be.Qy)(oe)),{[`${z}-item-group-title`]:{padding:`${le}px ${Se}px`,color:oe.colorTextDescription,transition:`all ${te}`},[`${z}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${z}-item-icon`]:{minWidth:fe,marginInlineEnd:oe.marginXS,fontSize:oe.fontSizeSM},[`${z}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${z}-item, ${z}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${le}px ${Se}px`,color:oe.colorText,fontWeight:"normal",fontSize:fe,lineHeight:oe.lineHeight,cursor:"pointer",transition:`all ${te}`,borderRadius:oe.borderRadiusSM,"&:hover, &-active":{backgroundColor:oe.controlItemBgHover}},(0,be.Qy)(oe)),{"&-selected":{color:oe.colorPrimary,backgroundColor:oe.controlItemBgActive,"&:hover, &-active":{backgroundColor:oe.controlItemBgActiveHover}},"&-disabled":{color:me,cursor:"not-allowed","&:hover":{color:me,backgroundColor:ye,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${oe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:oe.colorSplit},[`${re}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:oe.paddingXS,[`${re}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:oe.colorTextDescription,fontSize:he,fontStyle:"normal"}}}),[`${z}-item-group-list`]:{margin:`0 ${oe.marginXS}px`,padding:0,listStyle:"none"},[`${z}-submenu-title`]:{paddingInlineEnd:Se+oe.fontSizeSM},[`${z}-submenu-vertical`]:{position:"relative"},[`${z}-submenu${z}-submenu-disabled ${re}-menu-submenu-title`]:{[`&, ${re}-menu-submenu-arrow-icon`]:{color:me,backgroundColor:ye,cursor:"not-allowed"}},[`${z}-submenu-selected ${re}-menu-submenu-title`]:{color:oe.colorPrimary}})}},[(0,_e.oN)(oe,"slide-up"),(0,_e.oN)(oe,"slide-down"),(0,E.Fm)(oe,"move-up"),(0,E.Fm)(oe,"move-down"),(0,pe._y)(oe,"zoom-big")]]};var ae=(0,se.Z)("Dropdown",(oe,re)=>{let{rootPrefixCls:z}=re;const{marginXXS:a,sizePopupArrow:y,controlHeight:x,fontSize:b,lineHeight:ee,paddingXXS:te,componentCls:le,borderRadiusLG:fe}=oe,ge=(x-b*ee)/2,{dropdownArrowOffset:me}=(0,de.fS)({contentRadius:fe}),he=(0,ne.TS)(oe,{menuCls:`${le}-menu`,rootPrefixCls:z,dropdownArrowDistance:y/2+a,dropdownArrowOffset:me,dropdownPaddingVertical:ge,dropdownEdgeChildPadding:te});return[ue(he),ce(he)]},oe=>({zIndexPopup:oe.zIndexPopupBase+50}))},8628:function(Et,dt,ve){"use strict";var be=ve(59301),_e=ve(34280),E=ve(56762),pe=ve(69507);function de(){let se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ne=(0,be.useRef)({}),ie=(0,E.Z)(),ce=(0,pe.ZP)();return(0,_e.Z)(()=>{const ue=ce.subscribe(ae=>{ne.current=ae,se&&ie()});return()=>ce.unsubscribe(ue)},[]),ne.current}dt.Z=de},11611:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return or}});var be=ve(59301),_e=ve(15277),E=ve(92310),pe=ve.n(E),de=ve(54476),se=ve(33885),ne=ve(20068),ie=ve(42978),ce=ve(76190),ue=ve(75931),ae=ve(55468),oe=ve(18929),re=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],z=be.createContext(null),a=0;function y(Ht,Lt){var rn=be.useState(function(){return a+=1,String(a)}),jt=(0,ie.Z)(rn,1),un=jt[0],En=be.useContext(z),jn={data:Lt,canPreview:Ht};return be.useEffect(function(){if(En)return En.register(un,jn)},[]),be.useEffect(function(){En&&En.register(un,jn)},[Ht,Lt]),un}function x(Ht){return new Promise(function(Lt){var rn=document.createElement("img");rn.onerror=function(){return Lt(!1)},rn.onload=function(){return Lt(!0)},rn.src=Ht})}function b(Ht){var Lt=Ht.src,rn=Ht.isCustomPlaceholder,jt=Ht.fallback,un=(0,be.useState)(rn?"loading":"normal"),En=(0,ie.Z)(un,2),jn=En[0],Sn=En[1],St=(0,be.useRef)(!1),Bt=jn==="error";(0,be.useEffect)(function(){x(Lt).then(function(Vt){Vt||Sn("error")})},[Lt]),(0,be.useEffect)(function(){rn&&!St.current?Sn("loading"):Bt&&Sn("normal")},[Lt]);var Nt=function(){Sn("normal")},Ct=function(Wt){St.current=!1,jn==="loading"&&Wt!=null&&Wt.complete&&(Wt.naturalWidth||Wt.naturalHeight)&&(St.current=!0,Nt())},Xt=Bt&&jt?{src:jt}:{onLoad:Nt,src:Lt};return[Ct,Xt,jn]}var ee=ve(86923),te=ve(8224),le=ve(10228),fe=ve(48736);function ge(Ht,Lt,rn,jt){var un=Lt+rn,En=(rn-jt)/2;if(rn>jt){if(Lt>0)return(0,ne.Z)({},Ht,En);if(Lt<0&&un<jt)return(0,ne.Z)({},Ht,-En)}else if(Lt<0||un>jt)return(0,ne.Z)({},Ht,Lt<0?En:-En);return{}}function me(Ht,Lt,rn,jt){var un=(0,ae.g1)(),En=un.width,jn=un.height,Sn=null;return Ht<=En&&Lt<=jn?Sn={x:0,y:0}:(Ht>En||Lt>jn)&&(Sn=(0,se.Z)((0,se.Z)({},ge("x",rn,Ht,En)),ge("y",jt,Lt,jn))),Sn}var he=ve(13697),Se=ve(16089),ye={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Pe(Ht,Lt,rn,jt){var un=(0,be.useRef)(null),En=(0,be.useRef)([]),jn=(0,be.useState)(ye),Sn=(0,ie.Z)(jn,2),St=Sn[0],Bt=Sn[1],Nt=function(Wt){Bt(ye),jt&&!(0,he.Z)(ye,St)&&jt({transform:ye,action:Wt})},Ct=function(Wt,Kt){un.current===null&&(En.current=[],un.current=(0,Se.Z)(function(){Bt(function(In){var Rn=In;return En.current.forEach(function(kt){Rn=(0,se.Z)((0,se.Z)({},Rn),kt)}),un.current=null,jt==null||jt({transform:Rn,action:Kt}),Rn})})),En.current.push((0,se.Z)((0,se.Z)({},St),Wt))},Xt=function(Wt,Kt,In,Rn){var kt=Ht.current,yr=kt.width,nr=kt.height,rr=kt.offsetWidth,Kr=kt.offsetHeight,gn=kt.offsetLeft,vn=kt.offsetTop,Zn=Wt,Pn=St.scale*Wt;Pn>rn?(Zn=rn/St.scale,Pn=rn):Pn<Lt&&(Zn=Lt/St.scale,Pn=Lt);var Sr=In!=null?In:innerWidth/2,dr=Rn!=null?Rn:innerHeight/2,Yn=Zn-1,kr=Yn*yr*.5,Cr=Yn*nr*.5,Po=Yn*(Sr-St.x-gn),po=Yn*(dr-St.y-vn),io=St.x-(Po-kr),ko=St.y-(po-Cr);if(Wt<1&&Pn===1){var Io=rr*Pn,pn=Kr*Pn,Ro=(0,ae.g1)(),mo=Ro.width,zr=Ro.height;Io<=mo&&pn<=zr&&(io=0,ko=0)}Ct({x:io,y:ko,scale:Pn},Kt)};return{transform:St,resetTransform:Nt,updateTransform:Ct,dispatchZoomChange:Xt}}var we=ve(43403),De=ve(77900),xe=function(Lt){var rn=Lt.visible,jt=Lt.maskTransitionName,un=Lt.getContainer,En=Lt.prefixCls,jn=Lt.rootClassName,Sn=Lt.icons,St=Lt.countRender,Bt=Lt.showSwitch,Nt=Lt.showProgress,Ct=Lt.current,Xt=Lt.transform,Vt=Lt.count,Wt=Lt.scale,Kt=Lt.minScale,In=Lt.maxScale,Rn=Lt.closeIcon,kt=Lt.onSwitchLeft,yr=Lt.onSwitchRight,nr=Lt.onClose,rr=Lt.onZoomIn,Kr=Lt.onZoomOut,gn=Lt.onRotateRight,vn=Lt.onRotateLeft,Zn=Lt.onFlipX,Pn=Lt.onFlipY,Sr=Lt.toolbarRender,dr=(0,be.useContext)(z),Yn=Sn.rotateLeft,kr=Sn.rotateRight,Cr=Sn.zoomIn,Po=Sn.zoomOut,po=Sn.close,io=Sn.left,ko=Sn.right,Io=Sn.flipX,pn=Sn.flipY,Ro="".concat(En,"-operations-operation");be.useEffect(function(){var to=function(vo){vo.keyCode===le.Z.ESC&&nr()};return rn&&window.addEventListener("keydown",to),function(){window.removeEventListener("keydown",to)}},[rn]);var mo=[{icon:pn,onClick:Pn,type:"flipY"},{icon:Io,onClick:Zn,type:"flipX"},{icon:Yn,onClick:vn,type:"rotateLeft"},{icon:kr,onClick:gn,type:"rotateRight"},{icon:Po,onClick:Kr,type:"zoomOut",disabled:Wt===Kt},{icon:Cr,onClick:rr,type:"zoomIn",disabled:Wt===In}],zr=mo.map(function(to){var lo,vo=to.icon,fr=to.onClick,wr=to.type,Er=to.disabled;return be.createElement("div",{className:pe()(Ro,(lo={},(0,ne.Z)(lo,"".concat(En,"-operations-operation-").concat(wr),!0),(0,ne.Z)(lo,"".concat(En,"-operations-operation-disabled"),!!Er),lo)),onClick:fr,key:wr},vo)}),bo=be.createElement("div",{className:"".concat(En,"-operations")},zr);return be.createElement(De.default,{visible:rn,motionName:jt},function(to){var lo=to.className,vo=to.style;return be.createElement(we.Z,{open:!0,getContainer:un!=null?un:document.body},be.createElement("div",{className:pe()("".concat(En,"-operations-wrapper"),lo,jn),style:vo},Rn===null?null:be.createElement("button",{className:"".concat(En,"-close"),onClick:nr},Rn||po),Bt&&be.createElement(be.Fragment,null,be.createElement("div",{className:pe()("".concat(En,"-switch-left"),(0,ne.Z)({},"".concat(En,"-switch-left-disabled"),Ct===0)),onClick:kt},io),be.createElement("div",{className:pe()("".concat(En,"-switch-right"),(0,ne.Z)({},"".concat(En,"-switch-right-disabled"),Ct===Vt-1)),onClick:yr},ko)),be.createElement("div",{className:"".concat(En,"-footer")},Nt&&be.createElement("div",{className:"".concat(En,"-progress")},St?St(Ct+1,Vt):"".concat(Ct+1," / ").concat(Vt)),Sr?Sr(bo,(0,se.Z)({icons:{flipYIcon:zr[0],flipXIcon:zr[1],rotateLeftIcon:zr[2],rotateRightIcon:zr[3],zoomOutIcon:zr[4],zoomInIcon:zr[5]},actions:{onFlipY:Pn,onFlipX:Zn,onRotateLeft:vn,onRotateRight:gn,onZoomOut:Kr,onZoomIn:rr},transform:Xt},dr?{current:Ct,total:Vt}:{})):bo)))})},Ae=xe,Ce=1,je=1,Fe=["fallback","src","imgRef"],Ge=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],Be=function(Lt){var rn=Lt.fallback,jt=Lt.src,un=Lt.imgRef,En=(0,ue.Z)(Lt,Fe),jn=b({src:jt,fallback:rn}),Sn=(0,ie.Z)(jn,2),St=Sn[0],Bt=Sn[1];return be.createElement("img",(0,de.Z)({ref:function(Ct){un.current=Ct,St(Ct)}},En,Bt))},tt=function(Lt){var rn=Lt.prefixCls,jt=Lt.src,un=Lt.alt,En=Lt.fallback,jn=Lt.movable,Sn=jn===void 0?!0:jn,St=Lt.onClose,Bt=Lt.visible,Nt=Lt.icons,Ct=Nt===void 0?{}:Nt,Xt=Lt.rootClassName,Vt=Lt.closeIcon,Wt=Lt.getContainer,Kt=Lt.current,In=Kt===void 0?0:Kt,Rn=Lt.count,kt=Rn===void 0?1:Rn,yr=Lt.countRender,nr=Lt.scaleStep,rr=nr===void 0?.5:nr,Kr=Lt.minScale,gn=Kr===void 0?1:Kr,vn=Lt.maxScale,Zn=vn===void 0?50:vn,Pn=Lt.transitionName,Sr=Pn===void 0?"zoom":Pn,dr=Lt.maskTransitionName,Yn=dr===void 0?"fade":dr,kr=Lt.imageRender,Cr=Lt.imgCommonProps,Po=Lt.toolbarRender,po=Lt.onTransform,io=Lt.onChange,ko=(0,ue.Z)(Lt,Ge),Io=(0,be.useRef)(),pn=(0,be.useRef)({deltaX:0,deltaY:0,transformX:0,transformY:0}),Ro=(0,be.useState)(!1),mo=(0,ie.Z)(Ro,2),zr=mo[0],bo=mo[1],to=(0,be.useContext)(z),lo=to&&kt>1,vo=to&&kt>=1,fr=Pe(Io,gn,Zn,po),wr=fr.transform,Er=fr.resetTransform,xr=fr.updateTransform,ao=fr.dispatchZoomChange,To=(0,be.useState)(!0),wo=(0,ie.Z)(To,2),Lo=wo[0],Yo=wo[1],Mo=wr.rotate,$r=wr.scale,no=wr.x,zo=wr.y,Tt=pe()((0,ne.Z)({},"".concat(rn,"-moving"),zr));(0,be.useEffect)(function(){Lo||Yo(!0)},[Lo]);var Gt=function(){Er("close")},on=function(){ao(Ce+rr,"zoomIn")},ln=function(){ao(Ce/(Ce+rr),"zoomOut")},Qt=function(){xr({rotate:Mo+90},"rotateRight")},Yt=function(){xr({rotate:Mo-90},"rotateLeft")},qt=function(){xr({flipX:!wr.flipX},"flipX")},an=function(){xr({flipY:!wr.flipY},"flipY")},hn=function(An){An==null||An.preventDefault(),An==null||An.stopPropagation(),In>0&&(Yo(!1),Er("prev"),io==null||io(In-1,In))},Ln=function(An){An==null||An.preventDefault(),An==null||An.stopPropagation(),In<kt-1&&(Yo(!1),Er("next"),io==null||io(In+1,In))},mn=function(){if(Bt&&zr){bo(!1);var An=pn.current,Or=An.transformX,Gr=An.transformY,Tr=no!==Or&&zo!==Gr;if(!Tr)return;var mr=Io.current.offsetWidth*$r,Fr=Io.current.offsetHeight*$r,co=Io.current.getBoundingClientRect(),ho=co.left,Uo=co.top,yo=Mo%180!==0,Ho=me(yo?Fr:mr,yo?mr:Fr,ho,Uo);Ho&&xr((0,se.Z)({},Ho),"dragRebound")}},_r=function(An){!Sn||An.button!==0||(An.preventDefault(),An.stopPropagation(),pn.current={deltaX:An.pageX-wr.x,deltaY:An.pageY-wr.y,transformX:wr.x,transformY:wr.y},bo(!0))},Kn=function(An){Bt&&zr&&xr({x:An.pageX-pn.current.deltaX,y:An.pageY-pn.current.deltaY},"move")},Jr=function(An){if(!(!Bt||An.deltaY==0)){var Or=Math.abs(An.deltaY/100),Gr=Math.min(Or,je),Tr=Ce+Gr*rr;An.deltaY>0&&(Tr=Ce/Tr),ao(Tr,"wheel",An.clientX,An.clientY)}},lr=function(An){!Bt||!lo||(An.keyCode===le.Z.LEFT?hn():An.keyCode===le.Z.RIGHT&&Ln())},kn=function(An){Bt&&($r!==1?xr({x:0,y:0,scale:1},"doubleClick"):ao(Ce+rr,"doubleClick",An.clientX,An.clientY))};(0,be.useEffect)(function(){var br,An,Or,Gr;if(Sn){Or=(0,te.Z)(window,"mouseup",mn,!1),Gr=(0,te.Z)(window,"mousemove",Kn,!1);try{window.top!==window.self&&(br=(0,te.Z)(window.top,"mouseup",mn,!1),An=(0,te.Z)(window.top,"mousemove",Kn,!1))}catch(Tr){(0,fe.Kp)(!1,"[rc-image] ".concat(Tr))}}return function(){var Tr,mr,Fr,co;(Tr=Or)===null||Tr===void 0||Tr.remove(),(mr=Gr)===null||mr===void 0||mr.remove(),(Fr=br)===null||Fr===void 0||Fr.remove(),(co=An)===null||co===void 0||co.remove()}},[Bt,zr,no,zo,Mo,Sn]),(0,be.useEffect)(function(){var br=(0,te.Z)(window,"keydown",lr,!1);return function(){br.remove()}},[Bt,lo,In]);var pr=be.createElement(Be,(0,de.Z)({},Cr,{width:Lt.width,height:Lt.height,imgRef:Io,className:"".concat(rn,"-img"),alt:un,style:{transform:"translate3d(".concat(wr.x,"px, ").concat(wr.y,"px, 0) scale3d(").concat(wr.flipX?"-":"").concat($r,", ").concat(wr.flipY?"-":"").concat($r,", 1) rotate(").concat(Mo,"deg)"),transitionDuration:!Lo&&"0s"},fallback:En,src:jt,onWheel:Jr,onMouseDown:_r,onDoubleClick:kn}));return be.createElement(be.Fragment,null,be.createElement(ee.Z,(0,de.Z)({transitionName:Sr,maskTransitionName:Yn,closable:!1,keyboard:!0,prefixCls:rn,onClose:St,visible:Bt,wrapClassName:Tt,rootClassName:Xt,getContainer:Wt},ko,{afterClose:Gt}),be.createElement("div",{className:"".concat(rn,"-img-wrapper")},kr?kr(pr,(0,se.Z)({transform:wr},to?{current:In}:{})):pr)),be.createElement(Ae,{visible:Bt,transform:wr,maskTransitionName:Yn,closeIcon:Vt,getContainer:Wt,prefixCls:rn,rootClassName:Xt,icons:Ct,countRender:yr,showSwitch:lo,showProgress:vo,current:In,count:kt,scale:$r,minScale:gn,maxScale:Zn,toolbarRender:Po,onSwitchLeft:hn,onSwitchRight:Ln,onZoomIn:on,onZoomOut:ln,onRotateRight:Qt,onRotateLeft:Yt,onFlipX:qt,onFlipY:an,onClose:St}))},Ye=tt,Ve=ve(94480);function Xe(Ht){var Lt=be.useState({}),rn=(0,ie.Z)(Lt,2),jt=rn[0],un=rn[1],En=be.useCallback(function(Sn,St){return un(function(Bt){return(0,se.Z)((0,se.Z)({},Bt),{},(0,ne.Z)({},Sn,St))}),function(){un(function(Bt){var Nt=(0,se.Z)({},Bt);return delete Nt[Sn],Nt})}},[]),jn=be.useMemo(function(){return Ht?Ht.map(function(Sn){if(typeof Sn=="string")return{data:{src:Sn}};var St={};return Object.keys(Sn).forEach(function(Bt){["src"].concat((0,Ve.Z)(re)).includes(Bt)&&(St[Bt]=Sn[Bt])}),{data:St}}):Object.keys(jt).reduce(function(Sn,St){var Bt=jt[St],Nt=Bt.canPreview,Ct=Bt.data;return Nt&&Sn.push({data:Ct,id:St}),Sn},[])},[Ht,jt]);return[jn,En]}var Ze=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],ke=["src"],ze=function(Lt){var rn,jt=Lt.previewPrefixCls,un=jt===void 0?"rc-image-preview":jt,En=Lt.children,jn=Lt.icons,Sn=jn===void 0?{}:jn,St=Lt.items,Bt=Lt.preview,Nt=Lt.fallback,Ct=(0,ce.Z)(Bt)==="object"?Bt:{},Xt=Ct.visible,Vt=Ct.onVisibleChange,Wt=Ct.getContainer,Kt=Ct.current,In=Ct.movable,Rn=Ct.minScale,kt=Ct.maxScale,yr=Ct.countRender,nr=Ct.closeIcon,rr=Ct.onChange,Kr=Ct.onTransform,gn=Ct.toolbarRender,vn=Ct.imageRender,Zn=(0,ue.Z)(Ct,Ze),Pn=Xe(St),Sr=(0,ie.Z)(Pn,2),dr=Sr[0],Yn=Sr[1],kr=(0,oe.Z)(0,{value:Kt}),Cr=(0,ie.Z)(kr,2),Po=Cr[0],po=Cr[1],io=(0,be.useState)(!1),ko=(0,ie.Z)(io,2),Io=ko[0],pn=ko[1],Ro=((rn=dr[Po])===null||rn===void 0?void 0:rn.data)||{},mo=Ro.src,zr=(0,ue.Z)(Ro,ke),bo=(0,oe.Z)(!!Xt,{value:Xt,onChange:function(Mo,$r){Vt==null||Vt(Mo,$r,Po)}}),to=(0,ie.Z)(bo,2),lo=to[0],vo=to[1],fr=(0,be.useState)(null),wr=(0,ie.Z)(fr,2),Er=wr[0],xr=wr[1],ao=be.useCallback(function(Yo,Mo,$r){var no=dr.findIndex(function(zo){return zo.id===Yo});vo(!0),xr({x:Mo,y:$r}),po(no<0?0:no),pn(!0)},[dr]);be.useEffect(function(){lo?Io||po(0):pn(!1)},[lo]);var To=function(Mo,$r){po(Mo),rr==null||rr(Mo,$r)},wo=function(){vo(!1),xr(null)},Lo=be.useMemo(function(){return{register:Yn,onPreview:ao}},[Yn,ao]);return be.createElement(z.Provider,{value:Lo},En,be.createElement(Ye,(0,de.Z)({"aria-hidden":!lo,movable:In,visible:lo,prefixCls:un,closeIcon:nr,onClose:wo,mousePosition:Er,imgCommonProps:zr,src:mo,fallback:Nt,icons:Sn,minScale:Rn,maxScale:kt,getContainer:Wt,current:Po,count:dr.length,countRender:yr,onTransform:Kr,toolbarRender:gn,imageRender:vn,onChange:To},Zn)))},et=ze,Je=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],ut=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Qe=function(Lt){var rn=Lt.src,jt=Lt.alt,un=Lt.onPreviewClose,En=Lt.prefixCls,jn=En===void 0?"rc-image":En,Sn=Lt.previewPrefixCls,St=Sn===void 0?"".concat(jn,"-preview"):Sn,Bt=Lt.placeholder,Nt=Lt.fallback,Ct=Lt.width,Xt=Lt.height,Vt=Lt.style,Wt=Lt.preview,Kt=Wt===void 0?!0:Wt,In=Lt.className,Rn=Lt.onClick,kt=Lt.onError,yr=Lt.wrapperClassName,nr=Lt.wrapperStyle,rr=Lt.rootClassName,Kr=(0,ue.Z)(Lt,Je),gn=Bt&&Bt!==!0,vn=(0,ce.Z)(Kt)==="object"?Kt:{},Zn=vn.src,Pn=vn.visible,Sr=Pn===void 0?void 0:Pn,dr=vn.onVisibleChange,Yn=dr===void 0?un:dr,kr=vn.getContainer,Cr=kr===void 0?void 0:kr,Po=vn.mask,po=vn.maskClassName,io=vn.movable,ko=vn.icons,Io=vn.scaleStep,pn=vn.minScale,Ro=vn.maxScale,mo=vn.imageRender,zr=vn.toolbarRender,bo=(0,ue.Z)(vn,ut),to=Zn!=null?Zn:rn,lo=(0,oe.Z)(!!Sr,{value:Sr,onChange:Yn}),vo=(0,ie.Z)(lo,2),fr=vo[0],wr=vo[1],Er=b({src:rn,isCustomPlaceholder:gn,fallback:Nt}),xr=(0,ie.Z)(Er,3),ao=xr[0],To=xr[1],wo=xr[2],Lo=(0,be.useState)(null),Yo=(0,ie.Z)(Lo,2),Mo=Yo[0],$r=Yo[1],no=(0,be.useContext)(z),zo=!!Kt,Tt=function(){wr(!1),$r(null)},Gt=pe()(jn,yr,rr,(0,ne.Z)({},"".concat(jn,"-error"),wo==="error")),on=(0,be.useMemo)(function(){var qt={};return re.forEach(function(an){Lt[an]!==void 0&&(qt[an]=Lt[an])}),qt},re.map(function(qt){return Lt[qt]})),ln=(0,be.useMemo)(function(){return(0,se.Z)((0,se.Z)({},on),{},{src:to})},[to,on]),Qt=y(zo,ln),Yt=function(an){var hn=(0,ae.os)(an.target),Ln=hn.left,mn=hn.top;no?no.onPreview(Qt,Ln,mn):($r({x:Ln,y:mn}),wr(!0)),Rn==null||Rn(an)};return be.createElement(be.Fragment,null,be.createElement("div",(0,de.Z)({},Kr,{className:Gt,onClick:zo?Yt:Rn,style:(0,se.Z)({width:Ct,height:Xt},nr)}),be.createElement("img",(0,de.Z)({},on,{className:pe()("".concat(jn,"-img"),(0,ne.Z)({},"".concat(jn,"-img-placeholder"),Bt===!0),In),style:(0,se.Z)({height:Xt},Vt),ref:ao},To,{width:Ct,height:Xt,onError:kt})),wo==="loading"&&be.createElement("div",{"aria-hidden":"true",className:"".concat(jn,"-placeholder")},Bt),Po&&zo&&be.createElement("div",{className:pe()("".concat(jn,"-mask"),po),style:{display:(Vt==null?void 0:Vt.display)==="none"?"none":void 0}},Po)),!no&&zo&&be.createElement(Ye,(0,de.Z)({"aria-hidden":!fr,visible:fr,prefixCls:St,onClose:Tt,mousePosition:Mo,src:to,alt:jt,fallback:Nt,getContainer:Cr,icons:ko,movable:io,scaleStep:Io,minScale:pn,maxScale:Ro,rootClassName:rr,imageRender:mo,imgCommonProps:on,toolbarRender:zr},bo)))};Qe.PreviewGroup=et,Qe.displayName="Image";var Ue=Qe,Re=Ue,$e=ve(62892),Le=ve(36355),Ne=ve(31724),qe=ve(99267),We=ve(33853),Me=ve(38819),Te={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},Oe=Te,Ee=ve(7657),Ie=function(Lt,rn){return be.createElement(Ee.Z,(0,de.Z)({},Lt,{ref:rn,icon:Oe}))},Ke=be.forwardRef(Ie),at=Ke,He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},nt=He,ft=function(Lt,rn){return be.createElement(Ee.Z,(0,de.Z)({},Lt,{ref:rn,icon:nt}))},lt=be.forwardRef(ft),pt=lt,ct={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},vt=ct,ot=function(Lt,rn){return be.createElement(Ee.Z,(0,de.Z)({},Lt,{ref:rn,icon:vt}))},st=be.forwardRef(ot),ht=st,mt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},bt=mt,xt=function(Lt,rn){return be.createElement(Ee.Z,(0,de.Z)({},Lt,{ref:rn,icon:bt}))},Ft=be.forwardRef(xt),Dt=Ft,$t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},dn=$t,en=function(Lt,rn){return be.createElement(Ee.Z,(0,de.Z)({},Lt,{ref:rn,icon:dn}))},Jt=be.forwardRef(en),wn=Jt,Tn=ve(64993),fn=ve(73819),zn=ve(17313),Un=ve(29878),Nn=ve(1950),On=ve(83116),Mn=ve(37613);const Wn=Ht=>({position:Ht||"absolute",inset:0}),qn=Ht=>{const{iconCls:Lt,motionDurationSlow:rn,paddingXXS:jt,marginXXS:un,prefixCls:En,colorTextLightSolid:jn}=Ht;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:jn,background:new Tn.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${rn}`,[`.${En}-mask-info`]:Object.assign(Object.assign({},zn.vS),{padding:`0 ${jt}px`,[Lt]:{marginInlineEnd:un,svg:{verticalAlign:"baseline"}}})}},Nr=Ht=>{const{previewCls:Lt,modalMaskBg:rn,paddingSM:jt,marginXL:un,margin:En,paddingLG:jn,previewOperationColorDisabled:Sn,previewOperationHoverColor:St,motionDurationSlow:Bt,iconCls:Nt,colorTextLightSolid:Ct}=Ht,Xt=new Tn.C(rn).setAlpha(.1),Vt=Xt.clone().setAlpha(.2);return{[`${Lt}-footer`]:{position:"fixed",bottom:un,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:Ht.previewOperationColor},[`${Lt}-progress`]:{marginBottom:En},[`${Lt}-close`]:{position:"fixed",top:un,right:{_skip_check_:!0,value:un},display:"flex",color:Ct,backgroundColor:Xt.toRgbString(),borderRadius:"50%",padding:jt,outline:0,border:0,cursor:"pointer",transition:`all ${Bt}`,"&:hover":{backgroundColor:Vt.toRgbString()},[`& > ${Nt}`]:{fontSize:Ht.previewOperationSize}},[`${Lt}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${jn}px`,backgroundColor:Xt.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:jt,padding:jt,cursor:"pointer",transition:`all ${Bt}`,userSelect:"none",[`&:not(${Lt}-operations-operation-disabled):hover > ${Nt}`]:{color:St},"&-disabled":{color:Sn,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Nt}`]:{fontSize:Ht.previewOperationSize}}}}},er=Ht=>{const{modalMaskBg:Lt,iconCls:rn,previewOperationColorDisabled:jt,previewCls:un,zIndexPopup:En,motionDurationSlow:jn}=Ht,Sn=new Tn.C(Lt).setAlpha(.1),St=Sn.clone().setAlpha(.2);return{[`${un}-switch-left, ${un}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:En+1,display:"flex",alignItems:"center",justifyContent:"center",width:Ht.imagePreviewSwitchSize,height:Ht.imagePreviewSwitchSize,marginTop:-Ht.imagePreviewSwitchSize/2,color:Ht.previewOperationColor,background:Sn.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${jn}`,userSelect:"none","&:hover":{background:St.toRgbString()},"&-disabled":{"&, &:hover":{color:jt,background:"transparent",cursor:"not-allowed",[`> ${rn}`]:{cursor:"not-allowed"}}},[`> ${rn}`]:{fontSize:Ht.previewOperationSize}},[`${un}-switch-left`]:{insetInlineStart:Ht.marginSM},[`${un}-switch-right`]:{insetInlineEnd:Ht.marginSM}}},jr=Ht=>{const{motionEaseOut:Lt,previewCls:rn,motionDurationSlow:jt,componentCls:un}=Ht;return[{[`${un}-preview-root`]:{[rn]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${rn}-body`]:Object.assign(Object.assign({},Wn()),{overflow:"hidden"}),[`${rn}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${jt} ${Lt} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Wn()),{transition:`transform ${jt} ${Lt} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${rn}-moving`]:{[`${rn}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${un}-preview-root`]:{[`${rn}-wrap`]:{zIndex:Ht.zIndexPopup}}},{[`${un}-preview-operations-wrapper`]:{position:"fixed",zIndex:Ht.zIndexPopup+1},"&":[Nr(Ht),er(Ht)]}]},sr=Ht=>{const{componentCls:Lt}=Ht;return{[Lt]:{position:"relative",display:"inline-block",[`${Lt}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${Lt}-img-placeholder`]:{backgroundColor:Ht.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${Lt}-mask`]:Object.assign({},qn(Ht)),[`${Lt}-mask:hover`]:{opacity:1},[`${Lt}-placeholder`]:Object.assign({},Wn())}}},hr=Ht=>{const{previewCls:Lt}=Ht;return{[`${Lt}-root`]:(0,Un._y)(Ht,"zoom"),"&":(0,Nn.J$)(Ht,!0)}};var Ot=(0,On.Z)("Image",Ht=>{const Lt=`${Ht.componentCls}-preview`,rn=(0,Mn.TS)(Ht,{previewCls:Lt,modalMaskBg:new Tn.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:Ht.controlHeightLG});return[sr(rn),jr(rn),(0,fn.QA)((0,Mn.TS)(rn,{componentCls:Lt})),hr(rn)]},Ht=>({zIndexPopup:Ht.zIndexPopupBase+80,previewOperationColor:new Tn.C(Ht.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Tn.C(Ht.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Tn.C(Ht.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:Ht.fontSizeIcon*1.5})),It=function(Ht,Lt){var rn={};for(var jt in Ht)Object.prototype.hasOwnProperty.call(Ht,jt)&&Lt.indexOf(jt)<0&&(rn[jt]=Ht[jt]);if(Ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var un=0,jt=Object.getOwnPropertySymbols(Ht);un<jt.length;un++)Lt.indexOf(jt[un])<0&&Object.prototype.propertyIsEnumerable.call(Ht,jt[un])&&(rn[jt[un]]=Ht[jt[un]]);return rn};const _t={rotateLeft:be.createElement(at,null),rotateRight:be.createElement(pt,null),zoomIn:be.createElement(Dt,null),zoomOut:be.createElement(wn,null),close:be.createElement(qe.Z,null),left:be.createElement(We.Z,null),right:be.createElement(Me.Z,null),flipX:be.createElement(ht,null),flipY:be.createElement(ht,{rotate:90})};var Fn=Ht=>{var{previewPrefixCls:Lt,preview:rn}=Ht,jt=It(Ht,["previewPrefixCls","preview"]);const{getPrefixCls:un}=be.useContext(Le.E_),En=un("image",Lt),jn=`${En}-preview`,Sn=un(),[St,Bt]=Ot(En),Nt=be.useMemo(()=>{var Ct;if(rn===!1)return rn;const Xt=typeof rn=="object"?rn:{},Vt=pe()(Bt,(Ct=Xt.rootClassName)!==null&&Ct!==void 0?Ct:"");return Object.assign(Object.assign({},Xt),{transitionName:(0,$e.m)(Sn,"zoom",Xt.transitionName),maskTransitionName:(0,$e.m)(Sn,"fade",Xt.maskTransitionName),rootClassName:Vt})},[rn]);return St(be.createElement(Re.PreviewGroup,Object.assign({preview:Nt,previewPrefixCls:jn,icons:_t},jt)))},Cn=function(Ht,Lt){var rn={};for(var jt in Ht)Object.prototype.hasOwnProperty.call(Ht,jt)&&Lt.indexOf(jt)<0&&(rn[jt]=Ht[jt]);if(Ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var un=0,jt=Object.getOwnPropertySymbols(Ht);un<jt.length;un++)Lt.indexOf(jt[un])<0&&Object.prototype.propertyIsEnumerable.call(Ht,jt[un])&&(rn[jt[un]]=Ht[jt[un]]);return rn};const Br=Ht=>{const{prefixCls:Lt,preview:rn,className:jt,rootClassName:un,style:En}=Ht,jn=Cn(Ht,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:Sn,locale:St=Ne.Z,getPopupContainer:Bt,image:Nt}=be.useContext(Le.E_),Ct=Sn("image",Lt),Xt=Sn(),Vt=St.Image||Ne.Z.Image,[Wt,Kt]=Ot(Ct),In=pe()(un,Kt),Rn=pe()(jt,Kt,Nt==null?void 0:Nt.className),kt=be.useMemo(()=>{if(rn===!1)return rn;const nr=typeof rn=="object"?rn:{},{getContainer:rr}=nr,Kr=Cn(nr,["getContainer"]);return Object.assign(Object.assign({mask:be.createElement("div",{className:`${Ct}-mask-info`},be.createElement(_e.Z,null),Vt==null?void 0:Vt.preview),icons:_t},Kr),{getContainer:rr||Bt,transitionName:(0,$e.m)(Xt,"zoom",nr.transitionName),maskTransitionName:(0,$e.m)(Xt,"fade",nr.maskTransitionName)})},[rn,Vt]),yr=Object.assign(Object.assign({},Nt==null?void 0:Nt.style),En);return Wt(be.createElement(Re,Object.assign({prefixCls:Ct,preview:kt,rootClassName:In,className:Rn,style:yr},jn)))};Br.PreviewGroup=Fn;var or=Br},45818:function(Et,dt,ve){"use strict";ve.d(dt,{D:function(){return te},Z:function(){return ge}});var be=ve(54476),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},pe=E,de=ve(7657),se=function(he,Se){return _e.createElement(de.Z,(0,be.Z)({},he,{ref:Se,icon:pe}))},ne=_e.forwardRef(se),ie=ne,ce=ve(33853),ue=ve(38819),ae=ve(92310),oe=ve.n(ae),re=ve(2738),a=me=>!isNaN(parseFloat(me))&&isFinite(me),y=ve(36355),x=ve(84966),b=function(me,he){var Se={};for(var ye in me)Object.prototype.hasOwnProperty.call(me,ye)&&he.indexOf(ye)<0&&(Se[ye]=me[ye]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,ye=Object.getOwnPropertySymbols(me);Pe<ye.length;Pe++)he.indexOf(ye[Pe])<0&&Object.prototype.propertyIsEnumerable.call(me,ye[Pe])&&(Se[ye[Pe]]=me[ye[Pe]]);return Se};const ee={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},te=_e.createContext({}),le=(()=>{let me=0;return function(){let he=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return me+=1,`${he}${me}`}})();var ge=_e.forwardRef((me,he)=>{const{prefixCls:Se,className:ye,trigger:Pe,children:we,defaultCollapsed:De=!1,theme:xe="dark",style:Ae={},collapsible:Ce=!1,reverseArrow:je=!1,width:Fe=200,collapsedWidth:Ge=80,zeroWidthTriggerStyle:Be,breakpoint:tt,onCollapse:Ye,onBreakpoint:Ve}=me,Xe=b(me,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ze}=(0,_e.useContext)(x.Gs),[ke,ze]=(0,_e.useState)("collapsed"in me?me.collapsed:De),[et,Je]=(0,_e.useState)(!1);(0,_e.useEffect)(()=>{"collapsed"in me&&ze(me.collapsed)},[me.collapsed]);const ut=(Ne,qe)=>{"collapsed"in me||ze(Ne),Ye==null||Ye(Ne,qe)},Qe=(0,_e.useRef)();Qe.current=Ne=>{Je(Ne.matches),Ve==null||Ve(Ne.matches),ke!==Ne.matches&&ut(Ne.matches,"responsive")},(0,_e.useEffect)(()=>{function Ne(We){return Qe.current(We)}let qe;if(typeof window!="undefined"){const{matchMedia:We}=window;if(We&&tt&&tt in ee){qe=We(`(max-width: ${ee[tt]})`);try{qe.addEventListener("change",Ne)}catch(Me){qe.addListener(Ne)}Ne(qe)}}return()=>{try{qe==null||qe.removeEventListener("change",Ne)}catch(We){qe==null||qe.removeListener(Ne)}}},[tt]),(0,_e.useEffect)(()=>{const Ne=le("ant-sider-");return Ze.addSider(Ne),()=>Ze.removeSider(Ne)},[]);const Ue=()=>{ut(!ke,"clickTrigger")},{getPrefixCls:Re}=(0,_e.useContext)(y.E_),$e=()=>{const Ne=Re("layout-sider",Se),qe=(0,re.Z)(Xe,["collapsed"]),We=ke?Ge:Fe,Me=a(We)?`${We}px`:String(We),Te=parseFloat(String(Ge||0))===0?_e.createElement("span",{onClick:Ue,className:oe()(`${Ne}-zero-width-trigger`,`${Ne}-zero-width-trigger-${je?"right":"left"}`),style:Be},Pe||_e.createElement(ie,null)):null,Ie={expanded:je?_e.createElement(ue.Z,null):_e.createElement(ce.Z,null),collapsed:je?_e.createElement(ce.Z,null):_e.createElement(ue.Z,null)}[ke?"collapsed":"expanded"],Ke=Pe!==null?Te||_e.createElement("div",{className:`${Ne}-trigger`,onClick:Ue,style:{width:Me}},Pe||Ie):null,at=Object.assign(Object.assign({},Ae),{flex:`0 0 ${Me}`,maxWidth:Me,minWidth:Me,width:Me}),He=oe()(Ne,`${Ne}-${xe}`,{[`${Ne}-collapsed`]:!!ke,[`${Ne}-has-trigger`]:Ce&&Pe!==null&&!Te,[`${Ne}-below`]:!!et,[`${Ne}-zero-width`]:parseFloat(Me)===0},ye);return _e.createElement("aside",Object.assign({className:He},qe,{style:at,ref:he}),_e.createElement("div",{className:`${Ne}-children`},we),Ce||et&&Te?Ke:null)},Le=_e.useMemo(()=>({siderCollapsed:ke}),[ke]);return _e.createElement(te.Provider,{value:Le},$e())})},84966:function(Et,dt,ve){"use strict";ve.d(dt,{VY:function(){return te},$_:function(){return ee},h4:function(){return b},Gs:function(){return re},ZP:function(){return le}});var be=ve(94480),_e=ve(92310),E=ve.n(_e),pe=ve(2738),de=ve(59301),se=ve(36355),ne=ve(83116),ce=fe=>{const{componentCls:ge,bodyBg:me,lightSiderBg:he,lightTriggerBg:Se,lightTriggerColor:ye}=fe;return{[`${ge}-sider-light`]:{background:he,[`${ge}-sider-trigger`]:{color:ye,background:Se},[`${ge}-sider-zero-width-trigger`]:{color:ye,background:Se,border:`1px solid ${me}`,borderInlineStart:0}}}};const ue=fe=>{const{antCls:ge,componentCls:me,colorText:he,triggerColor:Se,footerBg:ye,triggerBg:Pe,headerHeight:we,headerPadding:De,headerColor:xe,footerPadding:Ae,triggerHeight:Ce,zeroTriggerHeight:je,zeroTriggerWidth:Fe,motionDurationMid:Ge,motionDurationSlow:Be,fontSize:tt,borderRadius:Ye,bodyBg:Ve,headerBg:Xe,siderBg:Ze}=fe;return{[me]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Ve,"&, *":{boxSizing:"border-box"},[`&${me}-has-sider`]:{flexDirection:"row",[`> ${me}, > ${me}-content`]:{width:0}},[`${me}-header, &${me}-footer`]:{flex:"0 0 auto"},[`${me}-sider`]:{position:"relative",minWidth:0,background:Ze,transition:`all ${Ge}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ge}-menu${ge}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ce},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ce,color:Se,lineHeight:`${Ce}px`,textAlign:"center",background:Pe,cursor:"pointer",transition:`all ${Ge}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:we,insetInlineEnd:-Fe,zIndex:1,width:Fe,height:je,color:Se,fontSize:fe.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ze,borderStartStartRadius:0,borderStartEndRadius:Ye,borderEndEndRadius:Ye,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Be} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Be}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Fe,borderStartStartRadius:Ye,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Ye}}}}},ce(fe)),{"&-rtl":{direction:"rtl"}}),[`${me}-header`]:{height:we,padding:De,color:xe,lineHeight:`${we}px`,background:Xe,[`${ge}-menu`]:{lineHeight:"inherit"}},[`${me}-footer`]:{padding:Ae,color:he,fontSize:tt,background:ye},[`${me}-content`]:{flex:"auto",minHeight:0}}};var ae=(0,ne.Z)("Layout",fe=>[ue(fe)],fe=>{const{colorBgLayout:ge,controlHeight:me,controlHeightLG:he,colorText:Se,controlHeightSM:ye,marginXXS:Pe,colorTextLightSolid:we,colorBgContainer:De}=fe,xe=he*1.25;return{colorBgHeader:"#001529",colorBgBody:ge,colorBgTrigger:"#002140",bodyBg:ge,headerBg:"#001529",headerHeight:me*2,headerPadding:`0 ${xe}px`,headerColor:Se,footerPadding:`${ye}px ${xe}px`,footerBg:ge,siderBg:"#001529",triggerHeight:he+Pe*2,triggerBg:"#002140",triggerColor:we,zeroTriggerWidth:he,zeroTriggerHeight:he,lightSiderBg:De,lightTriggerBg:De,lightTriggerColor:Se}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),oe=function(fe,ge){var me={};for(var he in fe)Object.prototype.hasOwnProperty.call(fe,he)&&ge.indexOf(he)<0&&(me[he]=fe[he]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,he=Object.getOwnPropertySymbols(fe);Se<he.length;Se++)ge.indexOf(he[Se])<0&&Object.prototype.propertyIsEnumerable.call(fe,he[Se])&&(me[he[Se]]=fe[he[Se]]);return me};const re=de.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function z(fe){let{suffixCls:ge,tagName:me,displayName:he}=fe;return Se=>de.forwardRef((Pe,we)=>de.createElement(Se,Object.assign({ref:we,suffixCls:ge,tagName:me},Pe)))}const a=de.forwardRef((fe,ge)=>{const{prefixCls:me,suffixCls:he,className:Se,tagName:ye}=fe,Pe=oe(fe,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:we}=de.useContext(se.E_),De=we("layout",me),[xe,Ae]=ae(De),Ce=he?`${De}-${he}`:De;return xe(de.createElement(ye,Object.assign({className:E()(me||Ce,Se,Ae),ref:ge},Pe)))}),y=de.forwardRef((fe,ge)=>{const{direction:me}=de.useContext(se.E_),[he,Se]=de.useState([]),{prefixCls:ye,className:Pe,rootClassName:we,children:De,hasSider:xe,tagName:Ae,style:Ce}=fe,je=oe(fe,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Fe=(0,pe.Z)(je,["suffixCls"]),{getPrefixCls:Ge,layout:Be}=de.useContext(se.E_),tt=Ge("layout",ye),[Ye,Ve]=ae(tt),Xe=E()(tt,{[`${tt}-has-sider`]:typeof xe=="boolean"?xe:he.length>0,[`${tt}-rtl`]:me==="rtl"},Be==null?void 0:Be.className,Pe,we,Ve),Ze=de.useMemo(()=>({siderHook:{addSider:ke=>{Se(ze=>[].concat((0,be.Z)(ze),[ke]))},removeSider:ke=>{Se(ze=>ze.filter(et=>et!==ke))}}}),[]);return Ye(de.createElement(re.Provider,{value:Ze},de.createElement(Ae,Object.assign({ref:ge,className:Xe,style:Object.assign(Object.assign({},Be==null?void 0:Be.style),Ce)},Fe),De)))}),x=z({tagName:"div",displayName:"Layout"})(y),b=z({suffixCls:"header",tagName:"header",displayName:"Header"})(a),ee=z({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),te=z({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var le=x},40875:function(Et,dt,ve){"use strict";ve.d(dt,{J:function(){return se}});var be=ve(59301),_e=ve(33234),E=ve(70425),pe=function(ne,ie){var ce={};for(var ue in ne)Object.prototype.hasOwnProperty.call(ne,ue)&&ie.indexOf(ue)<0&&(ce[ue]=ne[ue]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,ue=Object.getOwnPropertySymbols(ne);ae<ue.length;ae++)ie.indexOf(ue[ae])<0&&Object.prototype.propertyIsEnumerable.call(ne,ue[ae])&&(ce[ue[ae]]=ne[ue[ae]]);return ce};const de=be.createContext(null),se=be.forwardRef((ne,ie)=>{const{children:ce}=ne,ue=pe(ne,["children"]),ae=be.useContext(de),oe=be.useMemo(()=>Object.assign(Object.assign({},ae),ue),[ae,ue.prefixCls,ue.mode,ue.selectable]);return be.createElement(de.Provider,{value:oe},be.createElement(_e.BR,null,(0,E.supportNodeRef)(ce)?be.cloneElement(ce,{ref:ie}):ce))});dt.Z=de},20834:function(Et,dt,ve){"use strict";ve.d(dt,{default:function(){return Le}});var be=ve(15285),_e=ve(59301),E=ve(45818),pe=ve(92310),de=ve.n(pe),se=ve(36355),ne=function(Ne,qe){var We={};for(var Me in Ne)Object.prototype.hasOwnProperty.call(Ne,Me)&&qe.indexOf(Me)<0&&(We[Me]=Ne[Me]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Me=Object.getOwnPropertySymbols(Ne);Te<Me.length;Te++)qe.indexOf(Me[Te])<0&&Object.prototype.propertyIsEnumerable.call(Ne,Me[Te])&&(We[Me[Te]]=Ne[Me[Te]]);return We},ce=Ne=>{const{prefixCls:qe,className:We,dashed:Me}=Ne,Te=ne(Ne,["prefixCls","className","dashed"]),{getPrefixCls:Oe}=_e.useContext(se.E_),Ee=Oe("menu",qe),Ie=de()({[`${Ee}-item-divider-dashed`]:!!Me},We);return _e.createElement(be.iz,Object.assign({className:Ie},Te))},ue=ve(11592),ae=ve(2738),oe=ve(6848),re=ve(92343),a=(0,_e.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=Ne=>{var qe;const{className:We,children:Me,icon:Te,title:Oe,danger:Ee}=Ne,{prefixCls:Ie,firstLevel:Ke,direction:at,disableMenuItemTitleTooltip:He,inlineCollapsed:nt}=_e.useContext(a),ft=st=>{const ht=_e.createElement("span",{className:`${Ie}-title-content`},Me);return(!Te||(0,re.l$)(Me)&&Me.type==="span")&&Me&&st&&Ke&&typeof Me=="string"?_e.createElement("div",{className:`${Ie}-inline-collapsed-noicon`},Me.charAt(0)):ht},{siderCollapsed:lt}=_e.useContext(E.D);let pt=Oe;typeof Oe=="undefined"?pt=Ke?Me:"":Oe===!1&&(pt="");const ct={title:pt};!lt&&!nt&&(ct.title=null,ct.open=!1);const vt=(0,ue.Z)(Me).length;let ot=_e.createElement(be.ck,Object.assign({},(0,ae.Z)(Ne,["title","icon","danger"]),{className:de()({[`${Ie}-item-danger`]:Ee,[`${Ie}-item-only-child`]:(Te?vt+1:vt)===1},We),title:typeof Oe=="string"?Oe:void 0}),(0,re.Tm)(Te,{className:de()((0,re.l$)(Te)?(qe=Te.props)===null||qe===void 0?void 0:qe.className:"",`${Ie}-item-icon`)}),ft(nt));return He||(ot=_e.createElement(oe.Z,Object.assign({},ct,{placement:at==="rtl"?"left":"right",overlayClassName:`${Ie}-inline-collapsed-tooltip`}),ot)),ot},ee=Ne=>{var qe;const{popupClassName:We,icon:Me,title:Te,theme:Oe}=Ne,Ee=_e.useContext(a),{prefixCls:Ie,inlineCollapsed:Ke,theme:at}=Ee,He=(0,be.Xl)();let nt;if(!Me)nt=Ke&&!He.length&&Te&&typeof Te=="string"?_e.createElement("div",{className:`${Ie}-inline-collapsed-noicon`},Te.charAt(0)):_e.createElement("span",{className:`${Ie}-title-content`},Te);else{const lt=(0,re.l$)(Te)&&Te.type==="span";nt=_e.createElement(_e.Fragment,null,(0,re.Tm)(Me,{className:de()((0,re.l$)(Me)?(qe=Me.props)===null||qe===void 0?void 0:qe.className:"",`${Ie}-item-icon`)}),lt?Te:_e.createElement("span",{className:`${Ie}-title-content`},Te))}const ft=_e.useMemo(()=>Object.assign(Object.assign({},Ee),{firstLevel:!1}),[Ee]);return _e.createElement(a.Provider,{value:ft},_e.createElement(be.Wd,Object.assign({},(0,ae.Z)(Ne,["icon"]),{title:nt,popupClassName:de()(Ie,We,`${Ie}-${Oe||at}`)})))},te=ve(18785),le=ve(70425),fe=ve(62892),ge=ve(40875),me=function(Ne,qe){var We={};for(var Me in Ne)Object.prototype.hasOwnProperty.call(Ne,Me)&&qe.indexOf(Me)<0&&(We[Me]=Ne[Me]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Me=Object.getOwnPropertySymbols(Ne);Te<Me.length;Te++)qe.indexOf(Me[Te])<0&&Object.prototype.propertyIsEnumerable.call(Ne,Me[Te])&&(We[Me[Te]]=Ne[Me[Te]]);return We};function he(Ne){return(Ne||[]).map((qe,We)=>{if(qe&&typeof qe=="object"){const Me=qe,{label:Te,children:Oe,key:Ee,type:Ie}=Me,Ke=me(Me,["label","children","key","type"]),at=Ee!=null?Ee:`tmp-${We}`;return Oe||Ie==="group"?Ie==="group"?_e.createElement(be.BW,Object.assign({key:at},Ke,{title:Te}),he(Oe)):_e.createElement(ee,Object.assign({key:at},Ke,{title:Te}),he(Oe)):Ie==="divider"?_e.createElement(ce,Object.assign({key:at},Ke)):_e.createElement(x,Object.assign({key:at},Ke),Te)}return null}).filter(qe=>qe)}function Se(Ne){return _e.useMemo(()=>Ne&&he(Ne),[Ne])}var ye=ve(64993),Pe=ve(17313),we=ve(8378),De=ve(13826),xe=ve(29878),Ae=ve(83116),Ce=ve(37613),Fe=Ne=>{const{componentCls:qe,motionDurationSlow:We,horizontalLineHeight:Me,colorSplit:Te,lineWidth:Oe,lineType:Ee,itemPaddingInline:Ie}=Ne;return{[`${qe}-horizontal`]:{lineHeight:Me,border:0,borderBottom:`${Oe}px ${Ee} ${Te}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${qe}-item, ${qe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ie},[`> ${qe}-item:hover,
|
|
|
> ${qe}-item-active,
|
|
|
> ${qe}-submenu ${qe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${qe}-item, ${qe}-submenu-title`]:{transition:[`border-color ${We}`,`background ${We}`].join(",")},[`${qe}-submenu-arrow`]:{display:"none"}}}},Be=Ne=>{let{componentCls:qe,menuArrowOffset:We}=Ne;return{[`${qe}-rtl`]:{direction:"rtl"},[`${qe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${qe}-rtl${qe}-vertical,
|
|
|
${qe}-submenu-rtl ${qe}-vertical`]:{[`${qe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${We})`},"&::after":{transform:`rotate(45deg) translateY(${We})`}}}}};const tt=Ne=>Object.assign({},(0,Pe.oN)(Ne));var Ve=(Ne,qe)=>{const{componentCls:We,itemColor:Me,itemSelectedColor:Te,groupTitleColor:Oe,itemBg:Ee,subMenuItemBg:Ie,itemSelectedBg:Ke,activeBarHeight:at,activeBarWidth:He,activeBarBorderWidth:nt,motionDurationSlow:ft,motionEaseInOut:lt,motionEaseOut:pt,itemPaddingInline:ct,motionDurationMid:vt,itemHoverColor:ot,lineType:st,colorSplit:ht,itemDisabledColor:mt,dangerItemColor:bt,dangerItemHoverColor:xt,dangerItemSelectedColor:Ft,dangerItemActiveBg:Dt,dangerItemSelectedBg:$t,itemHoverBg:dn,itemActiveBg:en,menuSubMenuBg:Jt,horizontalItemSelectedColor:wn,horizontalItemSelectedBg:Tn,horizontalItemBorderRadius:fn,horizontalItemHoverBg:zn,popupBg:Un}=Ne;return{[`${We}-${qe}, ${We}-${qe} > ${We}`]:{color:Me,background:Ee,[`&${We}-root:focus-visible`]:Object.assign({},tt(Ne)),[`${We}-item-group-title`]:{color:Oe},[`${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:ot}},[`&:not(${We}-horizontal)`]:{[`${We}-item:not(${We}-item-selected)`]:{"&:hover":{backgroundColor:dn},"&:active":{backgroundColor:en}},[`${We}-submenu-title`]:{"&:hover":{backgroundColor:dn},"&:active":{backgroundColor:en}}},[`${We}-item-danger`]:{color:bt,[`&${We}-item:hover`]:{[`&:not(${We}-item-selected):not(${We}-submenu-selected)`]:{color:xt}},[`&${We}-item:active`]:{background:Dt}},[`${We}-item a`]:{"&, &:hover":{color:"inherit"}},[`${We}-item-selected`]:{color:Te,[`&${We}-item-danger`]:{color:Ft},"a, a:hover":{color:"inherit"}},[`& ${We}-item-selected`]:{backgroundColor:Ke,[`&${We}-item-danger`]:{backgroundColor:$t}},[`${We}-item, ${We}-submenu-title`]:{[`&:not(${We}-item-disabled):focus-visible`]:Object.assign({},tt(Ne))},[`&${We}-submenu > ${We}`]:{backgroundColor:Jt},[`&${We}-popup > ${We}`]:{backgroundColor:Un},[`&${We}-horizontal`]:Object.assign(Object.assign({},qe==="dark"?{borderBottom:0}:{}),{[`> ${We}-item, > ${We}-submenu`]:{top:nt,marginTop:-nt,marginBottom:0,borderRadius:fn,"&::after":{position:"absolute",insetInline:ct,bottom:0,borderBottom:`${at}px solid transparent`,transition:`border-color ${ft} ${lt}`,content:'""'},"&:hover, &-active, &-open":{background:zn,"&::after":{borderBottomWidth:at,borderBottomColor:wn}},"&-selected":{color:wn,backgroundColor:Tn,"&:hover":{backgroundColor:Tn},"&::after":{borderBottomWidth:at,borderBottomColor:wn}}}}),[`&${We}-root`]:{[`&${We}-inline, &${We}-vertical`]:{borderInlineEnd:`${nt}px ${st} ${ht}`}},[`&${We}-inline`]:{[`${We}-sub${We}-inline`]:{background:Ie},[`${We}-item, ${We}-submenu-title`]:nt&&He?{width:`calc(100% + ${nt}px)`}:{},[`${We}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${He}px solid ${Te}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${vt} ${pt}`,`opacity ${vt} ${pt}`].join(","),content:'""'},[`&${We}-item-danger`]:{"&::after":{borderInlineEndColor:Ft}}},[`${We}-selected, ${We}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${vt} ${lt}`,`opacity ${vt} ${lt}`].join(",")}}}}}};const Xe=Ne=>{const{componentCls:qe,itemHeight:We,itemMarginInline:Me,padding:Te,menuArrowSize:Oe,marginXS:Ee,itemMarginBlock:Ie}=Ne,Ke=Te+Oe+Ee;return{[`${qe}-item`]:{position:"relative",overflow:"hidden"},[`${qe}-item, ${qe}-submenu-title`]:{height:We,lineHeight:`${We}px`,paddingInline:Te,overflow:"hidden",textOverflow:"ellipsis",marginInline:Me,marginBlock:Ie,width:`calc(100% - ${Me*2}px)`},[`> ${qe}-item,
|
|
|
> ${qe}-submenu > ${qe}-submenu-title`]:{height:We,lineHeight:`${We}px`},[`${qe}-item-group-list ${qe}-submenu-title,
|
|
|
${qe}-submenu-title`]:{paddingInlineEnd:Ke}}};var ke=Ne=>{const{componentCls:qe,iconCls:We,itemHeight:Me,colorTextLightSolid:Te,dropdownWidth:Oe,controlHeightLG:Ee,motionDurationMid:Ie,motionEaseOut:Ke,paddingXL:at,itemMarginInline:He,fontSizeLG:nt,motionDurationSlow:ft,paddingXS:lt,boxShadowSecondary:pt,collapsedWidth:ct,collapsedIconSize:vt}=Ne,ot={height:Me,lineHeight:`${Me}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[qe]:{"&-inline, &-vertical":Object.assign({[`&${qe}-root`]:{boxShadow:"none"}},Xe(Ne))},[`${qe}-submenu-popup`]:{[`${qe}-vertical`]:Object.assign(Object.assign({},Xe(Ne)),{boxShadow:pt})}},{[`${qe}-submenu-popup ${qe}-vertical${qe}-sub`]:{minWidth:Oe,maxHeight:`calc(100vh - ${Ee*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${qe}-inline`]:{width:"100%",[`&${qe}-root`]:{[`${qe}-item, ${qe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${ft}`,`background ${ft}`,`padding ${Ie} ${Ke}`].join(","),[`> ${qe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${qe}-sub${qe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${qe}-submenu > ${qe}-submenu-title`]:ot,[`& ${qe}-item-group-title`]:{paddingInlineStart:at}},[`${qe}-item`]:ot}},{[`${qe}-inline-collapsed`]:{width:ct,[`&${qe}-root`]:{[`${qe}-item, ${qe}-submenu ${qe}-submenu-title`]:{[`> ${qe}-inline-collapsed-noicon`]:{fontSize:nt,textAlign:"center"}}},[`> ${qe}-item,
|
|
|
> ${qe}-item-group > ${qe}-item-group-list > ${qe}-item,
|
|
|
> ${qe}-item-group > ${qe}-item-group-list > ${qe}-submenu > ${qe}-submenu-title,
|
|
|
> ${qe}-submenu > ${qe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${nt/2}px - ${He}px)`,textOverflow:"clip",[`
|
|
|
${qe}-submenu-arrow,
|
|
|
${qe}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${qe}-item-icon, ${We}`]:{margin:0,fontSize:vt,lineHeight:`${Me}px`,"+ span":{display:"inline-block",opacity:0}}},[`${qe}-item-icon, ${We}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${qe}-item-icon, ${We}`]:{display:"none"},"a, a:hover":{color:Te}},[`${qe}-item-group-title`]:Object.assign(Object.assign({},Pe.vS),{paddingInline:lt})}}]};const ze=Ne=>{const{componentCls:qe,motionDurationSlow:We,motionDurationMid:Me,motionEaseInOut:Te,motionEaseOut:Oe,iconCls:Ee,iconSize:Ie,iconMarginInlineEnd:Ke}=Ne;return{[`${qe}-item, ${qe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${We}`,`background ${We}`,`padding ${We} ${Te}`].join(","),[`${qe}-item-icon, ${Ee}`]:{minWidth:Ie,fontSize:Ie,transition:[`font-size ${Me} ${Oe}`,`margin ${We} ${Te}`,`color ${We}`].join(","),"+ span":{marginInlineStart:Ke,opacity:1,transition:[`opacity ${We} ${Te}`,`margin ${We}`,`color ${We}`].join(",")}},[`${qe}-item-icon`]:Object.assign({},(0,Pe.Ro)()),[`&${qe}-item-only-child`]:{[`> ${Ee}, > ${qe}-item-icon`]:{marginInlineEnd:0}}},[`${qe}-item-disabled, ${qe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${qe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},et=Ne=>{const{componentCls:qe,motionDurationSlow:We,motionEaseInOut:Me,borderRadius:Te,menuArrowSize:Oe,menuArrowOffset:Ee}=Ne;return{[`${qe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ne.margin,width:Oe,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${We} ${Me}, opacity ${We}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Oe*.6,height:Oe*.15,backgroundColor:"currentcolor",borderRadius:Te,transition:[`background ${We} ${Me}`,`transform ${We} ${Me}`,`top ${We} ${Me}`,`color ${We} ${Me}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Ee})`},"&::after":{transform:`rotate(-45deg) translateY(${Ee})`}}}}},Je=Ne=>{const{antCls:qe,componentCls:We,fontSize:Me,motionDurationSlow:Te,motionDurationMid:Oe,motionEaseInOut:Ee,paddingXS:Ie,padding:Ke,colorSplit:at,lineWidth:He,zIndexPopup:nt,borderRadiusLG:ft,subMenuItemBorderRadius:lt,menuArrowSize:pt,menuArrowOffset:ct,lineType:vt,menuPanelMaskInset:ot,groupTitleLineHeight:st,groupTitleFontSize:ht}=Ne;return[{"":{[`${We}`]:Object.assign(Object.assign({},(0,Pe.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,Pe.Wf)(Ne)),(0,Pe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Me,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:Ne.itemBorderRadius},[`${We}-item-group-title`]:{padding:`${Ie}px ${Ke}px`,fontSize:ht,lineHeight:st,transition:`all ${Te}`},[`&-horizontal ${We}-submenu`]:{transition:[`border-color ${Te} ${Ee}`,`background ${Te} ${Ee}`].join(",")},[`${We}-submenu, ${We}-submenu-inline`]:{transition:[`border-color ${Te} ${Ee}`,`background ${Te} ${Ee}`,`padding ${Oe} ${Ee}`].join(",")},[`${We}-submenu ${We}-sub`]:{cursor:"initial",transition:[`background ${Te} ${Ee}`,`padding ${Te} ${Ee}`].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:vt,borderWidth:0,borderTopWidth:He,marginBlock:He,padding:0,"&-dashed":{borderStyle:"dashed"}}}),ze(Ne)),{[`${We}-item-group`]:{[`${We}-item-group-list`]:{margin:0,padding:0,[`${We}-item, ${We}-submenu-title`]:{paddingInline:`${Me*2}px ${Ke}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:nt,borderRadius:ft,boxShadow:"none",transformOrigin:"0 0",[`&${We}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ot}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ot},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:Ne.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Ne.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Ne.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Ne.paddingXS},[`> ${We}`]:Object.assign(Object.assign(Object.assign({borderRadius:ft},ze(Ne)),et(Ne)),{[`${We}-item, ${We}-submenu > ${We}-submenu-title`]:{borderRadius:lt},[`${We}-submenu-title::after`]:{transition:`transform ${Te} ${Ee}`}})}}),et(Ne)),{[`&-inline-collapsed ${We}-submenu-arrow,
|
|
|
&-inline ${We}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${ct})`},"&::after":{transform:`rotate(45deg) translateX(-${ct})`}},[`${We}-submenu-open${We}-submenu-inline > ${We}-submenu-title > ${We}-submenu-arrow`]:{transform:`translateY(-${pt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${ct})`},"&::before":{transform:`rotate(45deg) translateX(${ct})`}}})},{[`${qe}-layout-header`]:{[We]:{lineHeight:"inherit"}}}]};var ut=(Ne,qe)=>(0,Ae.Z)("Menu",Me=>{if(qe===!1)return[];const{colorBgElevated:Te,colorPrimary:Oe,colorTextLightSolid:Ee,controlHeightLG:Ie,fontSize:Ke,darkItemColor:at,darkDangerItemColor:He,darkItemBg:nt,darkSubMenuItemBg:ft,darkItemSelectedColor:lt,darkItemSelectedBg:pt,darkDangerItemSelectedBg:ct,darkItemHoverBg:vt,darkGroupTitleColor:ot,darkItemHoverColor:st,darkItemDisabledColor:ht,darkDangerItemHoverColor:mt,darkDangerItemSelectedColor:bt,darkDangerItemActiveBg:xt}=Me,Ft=Ke/7*5,Dt=(0,Ce.TS)(Me,{menuArrowSize:Ft,menuHorizontalHeight:Ie*1.15,menuArrowOffset:`${Ft*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Te}),$t=(0,Ce.TS)(Dt,{itemColor:at,itemHoverColor:st,groupTitleColor:ot,itemSelectedColor:lt,itemBg:nt,popupBg:nt,subMenuItemBg:ft,itemActiveBg:"transparent",itemSelectedBg:pt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:vt,itemDisabledColor:ht,dangerItemColor:He,dangerItemHoverColor:mt,dangerItemSelectedColor:bt,dangerItemActiveBg:xt,dangerItemSelectedBg:ct,menuSubMenuBg:ft,horizontalItemSelectedColor:Ee,horizontalItemSelectedBg:Oe});return[Je(Dt),Fe(Dt),ke(Dt),Ve(Dt,"light"),Ve($t,"dark"),Be(Dt),(0,we.Z)(Dt),(0,De.oN)(Dt,"slide-up"),(0,De.oN)(Dt,"slide-down"),(0,xe._y)(Dt,"zoom-big")]},Me=>{const{colorPrimary:Te,colorError:Oe,colorTextDisabled:Ee,colorErrorBg:Ie,colorText:Ke,colorTextDescription:at,colorBgContainer:He,colorFillAlter:nt,colorFillContent:ft,lineWidth:lt,lineWidthBold:pt,controlItemBgActive:ct,colorBgTextHover:vt,controlHeightLG:ot,lineHeight:st,colorBgElevated:ht,marginXXS:mt,padding:bt,fontSize:xt,controlHeightSM:Ft,fontSizeLG:Dt,colorTextLightSolid:$t,colorErrorHover:dn}=Me,en=new ye.C($t).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Me.zIndexPopupBase+50,radiusItem:Me.borderRadiusLG,itemBorderRadius:Me.borderRadiusLG,radiusSubMenuItem:Me.borderRadiusSM,subMenuItemBorderRadius:Me.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:He,itemBg:He,colorItemBgHover:vt,itemHoverBg:vt,colorItemBgActive:ft,itemActiveBg:ct,colorSubItemBg:nt,subMenuItemBg:nt,colorItemBgSelected:ct,itemSelectedBg:ct,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:pt,activeBarHeight:pt,colorActiveBarBorderSize:lt,activeBarBorderWidth:lt,colorItemTextDisabled:Ee,itemDisabledColor:Ee,colorDangerItemText:Oe,dangerItemColor:Oe,colorDangerItemTextHover:Oe,dangerItemHoverColor:Oe,colorDangerItemTextSelected:Oe,dangerItemSelectedColor:Oe,colorDangerItemBgActive:Ie,dangerItemActiveBg:Ie,colorDangerItemBgSelected:Ie,dangerItemSelectedBg:Ie,itemMarginInline:Me.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ot,groupTitleLineHeight:st,collapsedWidth:ot*2,popupBg:ht,itemMarginBlock:mt,itemPaddingInline:bt,horizontalLineHeight:`${ot*1.15}px`,iconSize:xt,iconMarginInlineEnd:Ft-xt,collapsedIconSize:Dt,groupTitleFontSize:xt,darkItemDisabledColor:new ye.C($t).setAlpha(.25).toRgbString(),darkItemColor:en,darkDangerItemColor:Oe,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:$t,darkItemSelectedBg:Te,darkDangerItemSelectedBg:Oe,darkItemHoverBg:"transparent",darkGroupTitleColor:en,darkItemHoverColor:$t,darkDangerItemHoverColor:dn,darkDangerItemSelectedColor:$t,darkDangerItemActiveBg:Oe}},{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"]]})(Ne),Qe=function(Ne,qe){var We={};for(var Me in Ne)Object.prototype.hasOwnProperty.call(Ne,Me)&&qe.indexOf(Me)<0&&(We[Me]=Ne[Me]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Me=Object.getOwnPropertySymbols(Ne);Te<Me.length;Te++)qe.indexOf(Me[Te])<0&&Object.prototype.propertyIsEnumerable.call(Ne,Me[Te])&&(We[Me[Te]]=Ne[Me[Te]]);return We},Re=(0,_e.forwardRef)((Ne,qe)=>{var We,Me;const Te=_e.useContext(ge.Z),Oe=Te||{},{getPrefixCls:Ee,getPopupContainer:Ie,direction:Ke,menu:at}=_e.useContext(se.E_),He=Ee(),{prefixCls:nt,className:ft,style:lt,theme:pt="light",expandIcon:ct,_internalDisableMenuItemTitleTooltip:vt,inlineCollapsed:ot,siderCollapsed:st,items:ht,children:mt,rootClassName:bt,mode:xt,selectable:Ft,onClick:Dt,overflowedIndicatorPopupClassName:$t}=Ne,dn=Qe(Ne,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),en=(0,ae.Z)(dn,["collapsedWidth"]),Jt=Se(ht)||mt;(We=Oe.validator)===null||We===void 0||We.call(Oe,{mode:xt});const wn=(0,le.useEvent)(function(){var er;Dt==null||Dt.apply(void 0,arguments),(er=Oe.onClick)===null||er===void 0||er.call(Oe)}),Tn=Oe.mode||xt,fn=Ft!=null?Ft:Oe.selectable,zn=_e.useMemo(()=>st!==void 0?st:ot,[ot,st]),Un={horizontal:{motionName:`${He}-slide-up`},inline:(0,fe.Z)(He),other:{motionName:`${He}-zoom-big`}},Nn=Ee("menu",nt||Oe.prefixCls),[On,Mn]=ut(Nn,!Te),Wn=de()(`${Nn}-${pt}`,at==null?void 0:at.className,ft);let qn;if(typeof ct=="function")qn=ct;else if(ct===null||ct===!1)qn=null;else if(Oe.expandIcon===null||Oe.expandIcon===!1)qn=null;else{const er=ct!=null?ct:Oe.expandIcon;qn=(0,re.Tm)(er,{className:de()(`${Nn}-submenu-expand-icon`,(0,re.l$)(er)?(Me=er.props)===null||Me===void 0?void 0:Me.className:"")})}const Nr=_e.useMemo(()=>({prefixCls:Nn,inlineCollapsed:zn||!1,direction:Ke,firstLevel:!0,theme:pt,mode:Tn,disableMenuItemTitleTooltip:vt}),[Nn,zn,Ke,vt,pt]);return On(_e.createElement(ge.Z.Provider,{value:null},_e.createElement(a.Provider,{value:Nr},_e.createElement(be.ZP,Object.assign({getPopupContainer:Ie,overflowedIndicator:_e.createElement(te.Z,null),overflowedIndicatorPopupClassName:de()(Nn,`${Nn}-${pt}`,$t),mode:Tn,selectable:fn,onClick:wn},en,{inlineCollapsed:zn,style:Object.assign(Object.assign({},at==null?void 0:at.style),lt),className:Wn,prefixCls:Nn,direction:Ke,defaultMotions:Un,expandIcon:qn,ref:qe,rootClassName:de()(bt,Mn)}),Jt))))});const $e=(0,_e.forwardRef)((Ne,qe)=>{const We=(0,_e.useRef)(null),Me=_e.useContext(E.D);return(0,_e.useImperativeHandle)(qe,()=>({menu:We.current,focus:Te=>{var Oe;(Oe=We.current)===null||Oe===void 0||Oe.focus(Te)}})),_e.createElement(Re,Object.assign({ref:We},Ne,Me))});$e.Item=x,$e.SubMenu=ee,$e.Divider=ce,$e.ItemGroup=be.BW;var Le=$e},58421:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return Oe}});var be=ve(54476),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},pe=E,de=ve(7657),se=function(Ie,Ke){return _e.createElement(de.Z,(0,be.Z)({},Ie,{ref:Ke,icon:pe}))},ne=_e.forwardRef(se),ie=ne,ce=ve(49198),ue=ve(33853),ae=ve(38819),oe=ve(92310),re=ve.n(oe),z=ve(20068),a=ve(33885),y=ve(67732),x=ve(83652),b=ve(42403),ee=ve(158),te=ve(26112),le={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},fe=le,ge=ve(91735),me=function(Ee){(0,b.Z)(Ke,Ee);var Ie=(0,ee.Z)(Ke);function Ke(){var at;(0,y.Z)(this,Ke);for(var He=arguments.length,nt=new Array(He),ft=0;ft<He;ft++)nt[ft]=arguments[ft];return at=Ie.call.apply(Ie,[this].concat(nt)),at.state={goInputText:""},at.getValidValue=function(){var lt=at.state.goInputText;return!lt||Number.isNaN(lt)?void 0:Number(lt)},at.buildOptionText=function(lt){return"".concat(lt," ").concat(at.props.locale.items_per_page)},at.changeSize=function(lt){at.props.changeSize(Number(lt))},at.handleChange=function(lt){at.setState({goInputText:lt.target.value})},at.handleBlur=function(lt){var pt=at.props,ct=pt.goButton,vt=pt.quickGo,ot=pt.rootPrefixCls,st=at.state.goInputText;ct||st===""||(at.setState({goInputText:""}),!(lt.relatedTarget&&(lt.relatedTarget.className.indexOf("".concat(ot,"-item-link"))>=0||lt.relatedTarget.className.indexOf("".concat(ot,"-item"))>=0))&&vt(at.getValidValue()))},at.go=function(lt){var pt=at.state.goInputText;pt!==""&&(lt.keyCode===fe.ENTER||lt.type==="click")&&(at.setState({goInputText:""}),at.props.quickGo(at.getValidValue()))},at}return(0,x.Z)(Ke,[{key:"getPageSizeOptions",value:function(){var He=this.props,nt=He.pageSize,ft=He.pageSizeOptions;return ft.some(function(lt){return lt.toString()===nt.toString()})?ft:ft.concat([nt.toString()]).sort(function(lt,pt){var ct=Number.isNaN(Number(lt))?0:Number(lt),vt=Number.isNaN(Number(pt))?0:Number(pt);return ct-vt})}},{key:"render",value:function(){var He=this,nt=this.props,ft=nt.pageSize,lt=nt.locale,pt=nt.rootPrefixCls,ct=nt.changeSize,vt=nt.quickGo,ot=nt.goButton,st=nt.selectComponentClass,ht=nt.buildOptionText,mt=nt.selectPrefixCls,bt=nt.disabled,xt=this.state.goInputText,Ft="".concat(pt,"-options"),Dt=st,$t=null,dn=null,en=null;if(!ct&&!vt)return null;var Jt=this.getPageSizeOptions();if(ct&&Dt){var wn=Jt.map(function(Tn,fn){return _e.createElement(Dt.Option,{key:fn,value:Tn.toString()},(ht||He.buildOptionText)(Tn))});$t=_e.createElement(Dt,{disabled:bt,prefixCls:mt,showSearch:!1,className:"".concat(Ft,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(ft||Jt[0]).toString(),onChange:this.changeSize,getPopupContainer:function(fn){return fn.parentNode},"aria-label":lt.page_size,defaultOpen:!1},wn)}return vt&&(ot&&(en=typeof ot=="boolean"?_e.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:bt,className:"".concat(Ft,"-quick-jumper-button")},lt.jump_to_confirm):_e.createElement("span",{onClick:this.go,onKeyUp:this.go},ot)),dn=_e.createElement("div",{className:"".concat(Ft,"-quick-jumper")},lt.jump_to,_e.createElement("input",{disabled:bt,type:"text",value:xt,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":lt.page}),lt.page,en)),_e.createElement("li",{className:"".concat(Ft)},$t,dn)}}]),Ke}(_e.Component);me.defaultProps={pageSizeOptions:["10","20","50","100"]};var he=me,Se=function(Ie){var Ke,at=Ie.rootPrefixCls,He=Ie.page,nt=Ie.active,ft=Ie.className,lt=Ie.showTitle,pt=Ie.onClick,ct=Ie.onKeyPress,vt=Ie.itemRender,ot="".concat(at,"-item"),st=re()(ot,"".concat(ot,"-").concat(He),(Ke={},(0,z.Z)(Ke,"".concat(ot,"-active"),nt),(0,z.Z)(Ke,"".concat(ot,"-disabled"),!He),(0,z.Z)(Ke,Ie.className,ft),Ke)),ht=function(){pt(He)},mt=function(Ft){ct(Ft,pt,He)},bt=vt(He,"page",_e.createElement("a",{rel:"nofollow"},He));return bt?_e.createElement("li",{title:lt?He.toString():null,className:st,onClick:ht,onKeyPress:mt,tabIndex:0},bt):null},ye=Se;function Pe(){}function we(Ee){var Ie=Number(Ee);return typeof Ie=="number"&&!Number.isNaN(Ie)&&isFinite(Ie)&&Math.floor(Ie)===Ie}var De=function(Ie,Ke,at){return at};function xe(Ee,Ie,Ke){var at=typeof Ee=="undefined"?Ie.pageSize:Ee;return Math.floor((Ke.total-1)/at)+1}var Ae=function(Ee){(0,b.Z)(Ke,Ee);var Ie=(0,ee.Z)(Ke);function Ke(at){var He;(0,y.Z)(this,Ke),He=Ie.call(this,at),He.paginationNode=_e.createRef(),He.getJumpPrevPage=function(){return Math.max(1,He.state.current-(He.props.showLessItems?3:5))},He.getJumpNextPage=function(){return Math.min(xe(void 0,He.state,He.props),He.state.current+(He.props.showLessItems?3:5))},He.getItemIcon=function(ct,vt){var ot=He.props.prefixCls,st=ct||_e.createElement("button",{type:"button","aria-label":vt,className:"".concat(ot,"-item-link")});return typeof ct=="function"&&(st=_e.createElement(ct,(0,a.Z)({},He.props))),st},He.isValid=function(ct){var vt=He.props.total;return we(ct)&&ct!==He.state.current&&we(vt)&&vt>0},He.shouldDisplayQuickJumper=function(){var ct=He.props,vt=ct.showQuickJumper,ot=ct.total,st=He.state.pageSize;return ot<=st?!1:vt},He.handleKeyDown=function(ct){(ct.keyCode===fe.ARROW_UP||ct.keyCode===fe.ARROW_DOWN)&&ct.preventDefault()},He.handleKeyUp=function(ct){var vt=He.getValidValue(ct),ot=He.state.currentInputValue;vt!==ot&&He.setState({currentInputValue:vt}),ct.keyCode===fe.ENTER?He.handleChange(vt):ct.keyCode===fe.ARROW_UP?He.handleChange(vt-1):ct.keyCode===fe.ARROW_DOWN&&He.handleChange(vt+1)},He.handleBlur=function(ct){var vt=He.getValidValue(ct);He.handleChange(vt)},He.changePageSize=function(ct){var vt=He.state.current,ot=xe(ct,He.state,He.props);vt=vt>ot?ot:vt,ot===0&&(vt=He.state.current),typeof ct=="number"&&("pageSize"in He.props||He.setState({pageSize:ct}),"current"in He.props||He.setState({current:vt,currentInputValue:vt})),He.props.onShowSizeChange(vt,ct),"onChange"in He.props&&He.props.onChange&&He.props.onChange(vt,ct)},He.handleChange=function(ct){var vt=He.props,ot=vt.disabled,st=vt.onChange,ht=He.state,mt=ht.pageSize,bt=ht.current,xt=ht.currentInputValue;if(He.isValid(ct)&&!ot){var Ft=xe(void 0,He.state,He.props),Dt=ct;return ct>Ft?Dt=Ft:ct<1&&(Dt=1),"current"in He.props||He.setState({current:Dt}),Dt!==xt&&He.setState({currentInputValue:Dt}),st(Dt,mt),Dt}return bt},He.prev=function(){He.hasPrev()&&He.handleChange(He.state.current-1)},He.next=function(){He.hasNext()&&He.handleChange(He.state.current+1)},He.jumpPrev=function(){He.handleChange(He.getJumpPrevPage())},He.jumpNext=function(){He.handleChange(He.getJumpNextPage())},He.hasPrev=function(){return He.state.current>1},He.hasNext=function(){return He.state.current<xe(void 0,He.state,He.props)},He.runIfEnter=function(ct,vt){if(ct.key==="Enter"||ct.charCode===13){for(var ot=arguments.length,st=new Array(ot>2?ot-2:0),ht=2;ht<ot;ht++)st[ht-2]=arguments[ht];vt.apply(void 0,st)}},He.runIfEnterPrev=function(ct){He.runIfEnter(ct,He.prev)},He.runIfEnterNext=function(ct){He.runIfEnter(ct,He.next)},He.runIfEnterJumpPrev=function(ct){He.runIfEnter(ct,He.jumpPrev)},He.runIfEnterJumpNext=function(ct){He.runIfEnter(ct,He.jumpNext)},He.handleGoTO=function(ct){(ct.keyCode===fe.ENTER||ct.type==="click")&&He.handleChange(He.state.currentInputValue)},He.renderPrev=function(ct){var vt=He.props,ot=vt.prevIcon,st=vt.itemRender,ht=st(ct,"prev",He.getItemIcon(ot,"prev page")),mt=!He.hasPrev();return(0,_e.isValidElement)(ht)?(0,_e.cloneElement)(ht,{disabled:mt}):ht},He.renderNext=function(ct){var vt=He.props,ot=vt.nextIcon,st=vt.itemRender,ht=st(ct,"next",He.getItemIcon(ot,"next page")),mt=!He.hasNext();return(0,_e.isValidElement)(ht)?(0,_e.cloneElement)(ht,{disabled:mt}):ht};var nt=at.onChange!==Pe,ft="current"in at;ft&&!nt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var lt=at.defaultCurrent;"current"in at&&(lt=at.current);var pt=at.defaultPageSize;return"pageSize"in at&&(pt=at.pageSize),lt=Math.min(lt,xe(pt,void 0,at)),He.state={current:lt,currentInputValue:lt,pageSize:pt},He}return(0,x.Z)(Ke,[{key:"componentDidUpdate",value:function(He,nt){var ft=this.props.prefixCls;if(nt.current!==this.state.current&&this.paginationNode.current){var lt=this.paginationNode.current.querySelector(".".concat(ft,"-item-").concat(nt.current));if(lt&&document.activeElement===lt){var pt;lt==null||(pt=lt.blur)===null||pt===void 0||pt.call(lt)}}}},{key:"getValidValue",value:function(He){var nt=He.target.value,ft=xe(void 0,this.state,this.props),lt=this.state.currentInputValue,pt;return nt===""?pt=nt:Number.isNaN(Number(nt))?pt=lt:nt>=ft?pt=ft:pt=Number(nt),pt}},{key:"getShowSizeChanger",value:function(){var He=this.props,nt=He.showSizeChanger,ft=He.total,lt=He.totalBoundaryShowSizeChanger;return typeof nt!="undefined"?nt:ft>lt}},{key:"render",value:function(){var He=this.props,nt=He.prefixCls,ft=He.className,lt=He.style,pt=He.disabled,ct=He.hideOnSinglePage,vt=He.total,ot=He.locale,st=He.showQuickJumper,ht=He.showLessItems,mt=He.showTitle,bt=He.showTotal,xt=He.simple,Ft=He.itemRender,Dt=He.showPrevNextJumpers,$t=He.jumpPrevIcon,dn=He.jumpNextIcon,en=He.selectComponentClass,Jt=He.selectPrefixCls,wn=He.pageSizeOptions,Tn=this.state,fn=Tn.current,zn=Tn.pageSize,Un=Tn.currentInputValue;if(ct===!0&&vt<=zn)return null;var Nn=xe(void 0,this.state,this.props),On=[],Mn=null,Wn=null,qn=null,Nr=null,er=null,jr=st&&st.goButton,sr=ht?1:2,hr=fn-1>0?fn-1:0,Ot=fn+1<Nn?fn+1:Nn,It=(0,te.Z)(this.props,{aria:!0,data:!0}),_t=bt&&_e.createElement("li",{className:"".concat(nt,"-total-text")},bt(vt,[vt===0?0:(fn-1)*zn+1,fn*zn>vt?vt:fn*zn]));if(xt){jr&&(typeof jr=="boolean"?er=_e.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ot.jump_to_confirm):er=_e.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},jr),er=_e.createElement("li",{title:mt?"".concat(ot.jump_to).concat(fn,"/").concat(Nn):null,className:"".concat(nt,"-simple-pager")},er));var tn=this.renderPrev(hr);return _e.createElement("ul",(0,be.Z)({className:re()(nt,"".concat(nt,"-simple"),(0,z.Z)({},"".concat(nt,"-disabled"),pt),ft),style:lt,ref:this.paginationNode},It),_t,tn?_e.createElement("li",{title:mt?ot.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:re()("".concat(nt,"-prev"),(0,z.Z)({},"".concat(nt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},tn):null,_e.createElement("li",{title:mt?"".concat(fn,"/").concat(Nn):null,className:"".concat(nt,"-simple-pager")},_e.createElement("input",{type:"text",value:Un,disabled:pt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),_e.createElement("span",{className:"".concat(nt,"-slash")},"/"),Nn),_e.createElement("li",{title:mt?ot.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:re()("".concat(nt,"-next"),(0,z.Z)({},"".concat(nt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Ot)),er)}if(Nn<=3+sr*2){var Fn={locale:ot,rootPrefixCls:nt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:mt,itemRender:Ft};Nn||On.push(_e.createElement(ye,(0,be.Z)({},Fn,{key:"noPager",page:1,className:"".concat(nt,"-item-disabled")})));for(var Cn=1;Cn<=Nn;Cn+=1){var Br=fn===Cn;On.push(_e.createElement(ye,(0,be.Z)({},Fn,{key:Cn,page:Cn,active:Br})))}}else{var or=ht?ot.prev_3:ot.prev_5,Ht=ht?ot.next_3:ot.next_5,Lt=Ft(this.getJumpPrevPage(),"jump-prev",this.getItemIcon($t,"prev page")),rn=Ft(this.getJumpNextPage(),"jump-next",this.getItemIcon(dn,"next page"));Dt&&(Mn=Lt?_e.createElement("li",{title:mt?or:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:re()("".concat(nt,"-jump-prev"),(0,z.Z)({},"".concat(nt,"-jump-prev-custom-icon"),!!$t))},Lt):null,Wn=rn?_e.createElement("li",{title:mt?Ht:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:re()("".concat(nt,"-jump-next"),(0,z.Z)({},"".concat(nt,"-jump-next-custom-icon"),!!dn))},rn):null),Nr=_e.createElement(ye,{locale:ot,last:!0,rootPrefixCls:nt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Nn,page:Nn,active:!1,showTitle:mt,itemRender:Ft}),qn=_e.createElement(ye,{locale:ot,rootPrefixCls:nt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:mt,itemRender:Ft});var jt=Math.max(1,fn-sr),un=Math.min(fn+sr,Nn);fn-1<=sr&&(un=1+sr*2),Nn-fn<=sr&&(jt=Nn-sr*2);for(var En=jt;En<=un;En+=1){var jn=fn===En;On.push(_e.createElement(ye,{locale:ot,rootPrefixCls:nt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:En,page:En,active:jn,showTitle:mt,itemRender:Ft}))}fn-1>=sr*2&&fn!==3&&(On[0]=(0,_e.cloneElement)(On[0],{className:"".concat(nt,"-item-after-jump-prev")}),On.unshift(Mn)),Nn-fn>=sr*2&&fn!==Nn-2&&(On[On.length-1]=(0,_e.cloneElement)(On[On.length-1],{className:"".concat(nt,"-item-before-jump-next")}),On.push(Wn)),jt!==1&&On.unshift(qn),un!==Nn&&On.push(Nr)}var Sn=!this.hasPrev()||!Nn,St=!this.hasNext()||!Nn,Bt=this.renderPrev(hr),Nt=this.renderNext(Ot);return _e.createElement("ul",(0,be.Z)({className:re()(nt,ft,(0,z.Z)({},"".concat(nt,"-disabled"),pt)),style:lt,ref:this.paginationNode},It),_t,Bt?_e.createElement("li",{title:mt?ot.prev_page:null,onClick:this.prev,tabIndex:Sn?null:0,onKeyPress:this.runIfEnterPrev,className:re()("".concat(nt,"-prev"),(0,z.Z)({},"".concat(nt,"-disabled"),Sn)),"aria-disabled":Sn},Bt):null,On,Nt?_e.createElement("li",{title:mt?ot.next_page:null,onClick:this.next,tabIndex:St?null:0,onKeyPress:this.runIfEnterNext,className:re()("".concat(nt,"-next"),(0,z.Z)({},"".concat(nt,"-disabled"),St)),"aria-disabled":St},Nt):null,_e.createElement(he,{disabled:pt,locale:ot,rootPrefixCls:nt,selectComponentClass:en,selectPrefixCls:Jt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:fn,pageSize:zn,pageSizeOptions:wn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:jr}))}}],[{key:"getDerivedStateFromProps",value:function(He,nt){var ft={};if("current"in He&&(ft.current=He.current,He.current!==nt.current&&(ft.currentInputValue=ft.current)),"pageSize"in He&&He.pageSize!==nt.pageSize){var lt=nt.current,pt=xe(He.pageSize,nt,He);lt=lt>pt?pt:lt,"current"in He||(ft.current=lt,ft.currentInputValue=lt),ft.pageSize=He.pageSize}return ft}}]),Ke}(_e.Component);Ae.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Pe,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Pe,locale:ge.Z,style:{},itemRender:De,totalBoundaryShowSizeChanger:50};var Ce=Ae,je=ve(22075),Fe=ve(36355),Ge=ve(19716),Be=ve(8628),tt=ve(9763),Ye=ve(57809);const Ve=Ee=>_e.createElement(Ye.default,Object.assign({},Ee,{showSearch:!0,size:"small"})),Xe=Ee=>_e.createElement(Ye.default,Object.assign({},Ee,{showSearch:!0,size:"middle"}));Ve.Option=Ye.default.Option,Xe.Option=Ye.default.Option;var Ze=ve(9937),ke=ve(17313),ze=ve(83116),et=ve(37613);const Je=Ee=>{const{componentCls:Ie}=Ee;return{[`${Ie}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Ie}-item-link`]:{color:Ee.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Ie}-item-link`]:{color:Ee.colorTextDisabled,cursor:"not-allowed"}}},[`&${Ie}-disabled`]:{cursor:"not-allowed",[`${Ie}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Ee.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Ee.colorBorder,backgroundColor:Ee.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Ee.itemActiveBgDisabled},a:{color:Ee.itemActiveColorDisabled}}},[`${Ie}-item-link`]:{color:Ee.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Ie}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Ie}-simple-pager`]:{color:Ee.colorTextDisabled},[`${Ie}-jump-prev, ${Ie}-jump-next`]:{[`${Ie}-item-link-icon`]:{opacity:0},[`${Ie}-item-ellipsis`]:{opacity:1}}},[`&${Ie}-simple`]:{[`${Ie}-prev, ${Ie}-next`]:{[`&${Ie}-disabled ${Ie}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},ut=Ee=>{const{componentCls:Ie}=Ee;return{[`&${Ie}-mini ${Ie}-total-text, &${Ie}-mini ${Ie}-simple-pager`]:{height:Ee.itemSizeSM,lineHeight:`${Ee.itemSizeSM}px`},[`&${Ie}-mini ${Ie}-item`]:{minWidth:Ee.itemSizeSM,height:Ee.itemSizeSM,margin:0,lineHeight:`${Ee.itemSizeSM-2}px`},[`&${Ie}-mini:not(${Ie}-disabled) ${Ie}-item:not(${Ie}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Ee.colorBgTextHover},"&:active":{backgroundColor:Ee.colorBgTextActive}},[`&${Ie}-mini ${Ie}-prev, &${Ie}-mini ${Ie}-next`]:{minWidth:Ee.itemSizeSM,height:Ee.itemSizeSM,margin:0,lineHeight:`${Ee.itemSizeSM}px`},[`&${Ie}-mini:not(${Ie}-disabled)`]:{[`${Ie}-prev, ${Ie}-next`]:{[`&:hover ${Ie}-item-link`]:{backgroundColor:Ee.colorBgTextHover},[`&:active ${Ie}-item-link`]:{backgroundColor:Ee.colorBgTextActive},[`&${Ie}-disabled:hover ${Ie}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
|
&${Ie}-mini ${Ie}-prev ${Ie}-item-link,
|
|
|
&${Ie}-mini ${Ie}-next ${Ie}-item-link
|
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Ee.itemSizeSM,lineHeight:`${Ee.itemSizeSM}px`}},[`&${Ie}-mini ${Ie}-jump-prev, &${Ie}-mini ${Ie}-jump-next`]:{height:Ee.itemSizeSM,marginInlineEnd:0,lineHeight:`${Ee.itemSizeSM}px`},[`&${Ie}-mini ${Ie}-options`]:{marginInlineStart:Ee.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Ee.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Ee.itemSizeSM,lineHeight:`${Ee.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Ze.x0)(Ee)),{width:Ee.paginationMiniQuickJumperInputWidth,height:Ee.controlHeightSM})}}}},Qe=Ee=>{const{componentCls:Ie}=Ee;return{[`
|
|
|
&${Ie}-simple ${Ie}-prev,
|
|
|
&${Ie}-simple ${Ie}-next
|
|
|
`]:{height:Ee.itemSizeSM,lineHeight:`${Ee.itemSizeSM}px`,verticalAlign:"top",[`${Ie}-item-link`]:{height:Ee.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Ee.colorBgTextHover},"&:active":{backgroundColor:Ee.colorBgTextActive},"&::after":{height:Ee.itemSizeSM,lineHeight:`${Ee.itemSizeSM}px`}}},[`&${Ie}-simple ${Ie}-simple-pager`]:{display:"inline-block",height:Ee.itemSizeSM,marginInlineEnd:Ee.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Ee.marginXS,padding:`0 ${Ee.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Ee.itemInputBg,border:`${Ee.lineWidth}px ${Ee.lineType} ${Ee.colorBorder}`,borderRadius:Ee.borderRadius,outline:"none",transition:`border-color ${Ee.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Ee.colorPrimary},"&:focus":{borderColor:Ee.colorPrimaryHover,boxShadow:`${Ee.inputOutlineOffset}px 0 ${Ee.controlOutlineWidth}px ${Ee.controlOutline}`},"&[disabled]":{color:Ee.colorTextDisabled,backgroundColor:Ee.colorBgContainerDisabled,borderColor:Ee.colorBorder,cursor:"not-allowed"}}}}},Ue=Ee=>{const{componentCls:Ie}=Ee;return{[`${Ie}-jump-prev, ${Ie}-jump-next`]:{outline:0,[`${Ie}-item-container`]:{position:"relative",[`${Ie}-item-link-icon`]:{color:Ee.colorPrimary,fontSize:Ee.fontSizeSM,opacity:0,transition:`all ${Ee.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Ie}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Ee.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Ee.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Ee.paginationEllipsisTextIndent,opacity:1,transition:`all ${Ee.motionDurationMid}`}},"&:hover":{[`${Ie}-item-link-icon`]:{opacity:1},[`${Ie}-item-ellipsis`]:{opacity:0}}},[`
|
|
|
${Ie}-prev,
|
|
|
${Ie}-jump-prev,
|
|
|
${Ie}-jump-next
|
|
|
`]:{marginInlineEnd:Ee.marginXS},[`
|
|
|
${Ie}-prev,
|
|
|
${Ie}-next,
|
|
|
${Ie}-jump-prev,
|
|
|
${Ie}-jump-next
|
|
|
`]:{display:"inline-block",minWidth:Ee.itemSize,height:Ee.itemSize,color:Ee.colorText,fontFamily:Ee.fontFamily,lineHeight:`${Ee.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Ee.borderRadius,cursor:"pointer",transition:`all ${Ee.motionDurationMid}`},[`${Ie}-prev, ${Ie}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Ee.colorText,cursor:"pointer",userSelect:"none"},[`${Ie}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Ee.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Ee.lineWidth}px ${Ee.lineType} transparent`,borderRadius:Ee.borderRadius,outline:"none",transition:`all ${Ee.motionDurationMid}`},[`&:hover ${Ie}-item-link`]:{backgroundColor:Ee.colorBgTextHover},[`&:active ${Ie}-item-link`]:{backgroundColor:Ee.colorBgTextActive},[`&${Ie}-disabled:hover`]:{[`${Ie}-item-link`]:{backgroundColor:"transparent"}}},[`${Ie}-slash`]:{marginInlineEnd:Ee.paginationSlashMarginInlineEnd,marginInlineStart:Ee.paginationSlashMarginInlineStart},[`${Ie}-options`]:{display:"inline-block",marginInlineStart:Ee.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Ee.controlHeight,marginInlineStart:Ee.marginXS,lineHeight:`${Ee.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Ze.ik)(Ee)),{width:Ee.controlHeightLG*1.25,height:Ee.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Ee.marginXS,marginInlineEnd:Ee.marginXS})}}}},Re=Ee=>{const{componentCls:Ie}=Ee;return{[`${Ie}-item`]:{display:"inline-block",minWidth:Ee.itemSize,height:Ee.itemSize,marginInlineEnd:Ee.marginXS,fontFamily:Ee.fontFamily,lineHeight:`${Ee.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Ee.lineWidth}px ${Ee.lineType} transparent`,borderRadius:Ee.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Ee.paginationItemPaddingInline}px`,color:Ee.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Ie}-item-active)`]:{"&:hover":{transition:`all ${Ee.motionDurationMid}`,backgroundColor:Ee.colorBgTextHover},"&:active":{backgroundColor:Ee.colorBgTextActive}},"&-active":{fontWeight:Ee.fontWeightStrong,backgroundColor:Ee.itemActiveBg,borderColor:Ee.colorPrimary,a:{color:Ee.colorPrimary},"&:hover":{borderColor:Ee.colorPrimaryHover},"&:hover a":{color:Ee.colorPrimaryHover}}}}},$e=Ee=>{const{componentCls:Ie}=Ee;return{[Ie]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ke.Wf)(Ee)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Ie}-total-text`]:{display:"inline-block",height:Ee.itemSize,marginInlineEnd:Ee.marginXS,lineHeight:`${Ee.itemSize-2}px`,verticalAlign:"middle"}}),Re(Ee)),Ue(Ee)),Qe(Ee)),ut(Ee)),Je(Ee)),{[`@media only screen and (max-width: ${Ee.screenLG}px)`]:{[`${Ie}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Ee.screenSM}px)`]:{[`${Ie}-options`]:{display:"none"}}}),[`&${Ee.componentCls}-rtl`]:{direction:"rtl"}}},Le=Ee=>{const{componentCls:Ie}=Ee;return{[`${Ie}${Ie}-disabled:not(${Ie}-mini)`]:{"&, &:hover":{[`${Ie}-item-link`]:{borderColor:Ee.colorBorder}},"&:focus-visible":{[`${Ie}-item-link`]:{borderColor:Ee.colorBorder}},[`${Ie}-item, ${Ie}-item-link`]:{backgroundColor:Ee.colorBgContainerDisabled,borderColor:Ee.colorBorder,[`&:hover:not(${Ie}-item-active)`]:{backgroundColor:Ee.colorBgContainerDisabled,borderColor:Ee.colorBorder,a:{color:Ee.colorTextDisabled}},[`&${Ie}-item-active`]:{backgroundColor:Ee.itemActiveBgDisabled}},[`${Ie}-prev, ${Ie}-next`]:{"&:hover button":{backgroundColor:Ee.colorBgContainerDisabled,borderColor:Ee.colorBorder,color:Ee.colorTextDisabled},[`${Ie}-item-link`]:{backgroundColor:Ee.colorBgContainerDisabled,borderColor:Ee.colorBorder}}},[`${Ie}:not(${Ie}-mini)`]:{[`${Ie}-prev, ${Ie}-next`]:{"&:hover button":{borderColor:Ee.colorPrimaryHover,backgroundColor:Ee.itemBg},[`${Ie}-item-link`]:{backgroundColor:Ee.itemLinkBg,borderColor:Ee.colorBorder},[`&:hover ${Ie}-item-link`]:{borderColor:Ee.colorPrimary,backgroundColor:Ee.itemBg,color:Ee.colorPrimary},[`&${Ie}-disabled`]:{[`${Ie}-item-link`]:{borderColor:Ee.colorBorder,color:Ee.colorTextDisabled}}},[`${Ie}-item`]:{backgroundColor:Ee.itemBg,border:`${Ee.lineWidth}px ${Ee.lineType} ${Ee.colorBorder}`,[`&:hover:not(${Ie}-item-active)`]:{borderColor:Ee.colorPrimary,backgroundColor:Ee.itemBg,a:{color:Ee.colorPrimary}},"&-active":{borderColor:Ee.colorPrimary}}}}},Ne=Ee=>{const{componentCls:Ie}=Ee;return{[`${Ie}:not(${Ie}-disabled)`]:{[`${Ie}-item`]:Object.assign({},(0,ke.Qy)(Ee)),[`${Ie}-jump-prev, ${Ie}-jump-next`]:{"&:focus-visible":Object.assign({[`${Ie}-item-link-icon`]:{opacity:1},[`${Ie}-item-ellipsis`]:{opacity:0}},(0,ke.oN)(Ee))},[`${Ie}-prev, ${Ie}-next`]:{[`&:focus-visible ${Ie}-item-link`]:Object.assign({},(0,ke.oN)(Ee))}}}};var qe=(0,ze.Z)("Pagination",Ee=>{const Ie=(0,et.TS)(Ee,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Ee.marginXXS/2,paginationMiniQuickJumperInputWidth:Ee.controlHeightLG*1.1,paginationItemPaddingInline:Ee.marginXXS*1.5,paginationEllipsisLetterSpacing:Ee.marginXXS/2,paginationSlashMarginInlineStart:Ee.marginXXS,paginationSlashMarginInlineEnd:Ee.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Ze.e5)(Ee),(0,Ze.TM)(Ee));return[$e(Ie),Ne(Ie),Ee.wireframe&&Le(Ie)]},Ee=>({itemBg:Ee.colorBgContainer,itemSize:Ee.controlHeight,itemSizeSM:Ee.controlHeightSM,itemActiveBg:Ee.colorBgContainer,itemLinkBg:Ee.colorBgContainer,itemActiveColorDisabled:Ee.colorTextDisabled,itemActiveBgDisabled:Ee.controlItemBgActiveDisabled,itemInputBg:Ee.colorBgContainer,miniOptionsSizeChangerTop:0})),We=function(Ee,Ie){var Ke={};for(var at in Ee)Object.prototype.hasOwnProperty.call(Ee,at)&&Ie.indexOf(at)<0&&(Ke[at]=Ee[at]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,at=Object.getOwnPropertySymbols(Ee);He<at.length;He++)Ie.indexOf(at[He])<0&&Object.prototype.propertyIsEnumerable.call(Ee,at[He])&&(Ke[at[He]]=Ee[at[He]]);return Ke},Te=Ee=>{const{prefixCls:Ie,selectPrefixCls:Ke,className:at,rootClassName:He,style:nt,size:ft,locale:lt,selectComponentClass:pt,responsive:ct,showSizeChanger:vt}=Ee,ot=We(Ee,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:st}=(0,Be.Z)(ct),{getPrefixCls:ht,direction:mt,pagination:bt={}}=_e.useContext(Fe.E_),xt=ht("pagination",Ie),[Ft,Dt]=qe(xt),$t=vt!=null?vt:bt.showSizeChanger,dn=_e.useMemo(()=>{const Nn=_e.createElement("span",{className:`${xt}-item-ellipsis`},"\u2022\u2022\u2022"),On=_e.createElement("button",{className:`${xt}-item-link`,type:"button",tabIndex:-1},mt==="rtl"?_e.createElement(ae.Z,null):_e.createElement(ue.Z,null)),Mn=_e.createElement("button",{className:`${xt}-item-link`,type:"button",tabIndex:-1},mt==="rtl"?_e.createElement(ue.Z,null):_e.createElement(ae.Z,null)),Wn=_e.createElement("a",{className:`${xt}-item-link`},_e.createElement("div",{className:`${xt}-item-container`},mt==="rtl"?_e.createElement(ce.Z,{className:`${xt}-item-link-icon`}):_e.createElement(ie,{className:`${xt}-item-link-icon`}),Nn)),qn=_e.createElement("a",{className:`${xt}-item-link`},_e.createElement("div",{className:`${xt}-item-container`},mt==="rtl"?_e.createElement(ie,{className:`${xt}-item-link-icon`}):_e.createElement(ce.Z,{className:`${xt}-item-link-icon`}),Nn));return{prevIcon:On,nextIcon:Mn,jumpPrevIcon:Wn,jumpNextIcon:qn}},[mt,xt]),[en]=(0,tt.Z)("Pagination",je.Z),Jt=Object.assign(Object.assign({},en),lt),wn=(0,Ge.Z)(ft),Tn=wn==="small"||!!(st&&!wn&&ct),fn=ht("select",Ke),zn=re()({[`${xt}-mini`]:Tn,[`${xt}-rtl`]:mt==="rtl"},bt==null?void 0:bt.className,at,He,Dt),Un=Object.assign(Object.assign({},bt==null?void 0:bt.style),nt);return Ft(_e.createElement(Ce,Object.assign({},dn,ot,{style:Un,prefixCls:xt,selectPrefixCls:fn,className:zn,selectComponentClass:pt||(Tn?Ve:Xe),locale:Jt,showSizeChanger:$t})))},Oe=Te},39722:function(Et,dt,ve){"use strict";ve.d(dt,{t5:function(){return ue}});var be=ve(92310),_e=ve.n(be),E=ve(55477),pe=ve(59301),de=ve(36355),se=ve(77578),ne=ve(17356),ie=function(oe,re){var z={};for(var a in oe)Object.prototype.hasOwnProperty.call(oe,a)&&re.indexOf(a)<0&&(z[a]=oe[a]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,a=Object.getOwnPropertySymbols(oe);y<a.length;y++)re.indexOf(a[y])<0&&Object.prototype.propertyIsEnumerable.call(oe,a[y])&&(z[a[y]]=oe[a[y]]);return z};const ce=(oe,re,z)=>{if(!(!re&&!z))return pe.createElement(pe.Fragment,null,re&&pe.createElement("div",{className:`${oe}-title`},(0,se.Z)(re)),pe.createElement("div",{className:`${oe}-inner-content`},(0,se.Z)(z)))},ue=oe=>{const{hashId:re,prefixCls:z,className:a,style:y,placement:x="top",title:b,content:ee,children:te}=oe;return pe.createElement("div",{className:_e()(re,z,`${z}-pure`,`${z}-placement-${x}`,a),style:y},pe.createElement("div",{className:`${z}-arrow`}),pe.createElement(E.G,Object.assign({},oe,{className:re,prefixCls:z}),te||ce(z,b,ee)))},ae=oe=>{const{prefixCls:re}=oe,z=ie(oe,["prefixCls"]),{getPrefixCls:a}=pe.useContext(de.E_),y=a("popover",re),[x,b]=(0,ne.Z)(y);return x(pe.createElement(ue,Object.assign({},z,{prefixCls:y,hashId:b})))};dt.ZP=ae},17356:function(Et,dt,ve){"use strict";var be=ve(17313),_e=ve(29878),E=ve(19447),pe=ve(33166),de=ve(83116),se=ve(37613);const ne=ue=>{const{componentCls:ae,popoverColor:oe,minWidth:re,fontWeightStrong:z,popoverPadding:a,boxShadowSecondary:y,colorTextHeading:x,borderRadiusLG:b,zIndexPopup:ee,marginXS:te,colorBgElevated:le,popoverBg:fe}=ue;return[{[ae]:Object.assign(Object.assign({},(0,be.Wf)(ue)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:ee,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":le,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${ae}-content`]:{position:"relative"},[`${ae}-inner`]:{backgroundColor:fe,backgroundClip:"padding-box",borderRadius:b,boxShadow:y,padding:a},[`${ae}-title`]:{minWidth:re,marginBottom:te,color:x,fontWeight:z},[`${ae}-inner-content`]:{color:oe}})},(0,E.ZP)(ue,{colorBg:"var(--antd-arrow-background-color)"}),{[`${ae}-pure`]:{position:"relative",maxWidth:"none",margin:ue.sizePopupArrow,display:"inline-block",[`${ae}-content`]:{display:"inline-block"}}}]},ie=ue=>{const{componentCls:ae}=ue;return{[ae]:pe.i.map(oe=>{const re=ue[`${oe}6`];return{[`&${ae}-${oe}`]:{"--antd-arrow-background-color":re,[`${ae}-inner`]:{backgroundColor:re},[`${ae}-arrow`]:{background:"transparent"}}}})}},ce=ue=>{const{componentCls:ae,lineWidth:oe,lineType:re,colorSplit:z,paddingSM:a,controlHeight:y,fontSize:x,lineHeight:b,padding:ee}=ue,te=y-Math.round(x*b),le=te/2,fe=te/2-oe,ge=ee;return{[ae]:{[`${ae}-inner`]:{padding:0},[`${ae}-title`]:{margin:0,padding:`${le}px ${ge}px ${fe}px`,borderBottom:`${oe}px ${re} ${z}`},[`${ae}-inner-content`]:{padding:`${a}px ${ge}px`}}}};dt.Z=(0,de.Z)("Popover",ue=>{const{colorBgElevated:ae,colorText:oe,wireframe:re}=ue,z=(0,se.TS)(ue,{popoverPadding:12,popoverBg:ae,popoverColor:oe});return[ne(z),ie(z),re&&ce(z),(0,_e._y)(z,"zoom-big")]},ue=>({width:177,minWidth:177,zIndexPopup:ue.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return vt}});var be=ve(59301),_e=ve(29679),E=ve(40001),pe=ve(19248),de=ve(99267),se=ve(92310),ne=ve.n(se),ie=ve(2738),ce=ve(36355),ue=ve(54476),ae=ve(33885),oe=ve(75931),re={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},z=function(){var st=(0,be.useRef)([]),ht=(0,be.useRef)(null);return(0,be.useEffect)(function(){var mt=Date.now(),bt=!1;st.current.forEach(function(xt){if(xt){bt=!0;var Ft=xt.style;Ft.transitionDuration=".3s, .3s, .3s, .06s",ht.current&&mt-ht.current<100&&(Ft.transitionDuration="0s, 0s")}}),bt&&(ht.current=Date.now())}),st.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(st){var ht=(0,ae.Z)((0,ae.Z)({},re),st),mt=ht.className,bt=ht.percent,xt=ht.prefixCls,Ft=ht.strokeColor,Dt=ht.strokeLinecap,$t=ht.strokeWidth,dn=ht.style,en=ht.trailColor,Jt=ht.trailWidth,wn=ht.transition,Tn=(0,oe.Z)(ht,a);delete Tn.gapPosition;var fn=Array.isArray(bt)?bt:[bt],zn=Array.isArray(Ft)?Ft:[Ft],Un=z(),Nn=$t/2,On=100-$t/2,Mn="M ".concat(Dt==="round"?Nn:0,",").concat(Nn,`
|
|
|
L `).concat(Dt==="round"?On:100,",").concat(Nn),Wn="0 0 100 ".concat($t),qn=0;return be.createElement("svg",(0,ue.Z)({className:ne()("".concat(xt,"-line"),mt),viewBox:Wn,preserveAspectRatio:"none",style:dn},Tn),be.createElement("path",{className:"".concat(xt,"-line-trail"),d:Mn,strokeLinecap:Dt,stroke:en,strokeWidth:Jt||$t,fillOpacity:"0"}),fn.map(function(Nr,er){var jr=1;switch(Dt){case"round":jr=1-$t/100;break;case"square":jr=1-$t/2/100;break;default:jr=1;break}var sr={strokeDasharray:"".concat(Nr*jr,"px, 100px"),strokeDashoffset:"-".concat(qn,"px"),transition:wn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},hr=zn[er]||zn[zn.length-1];return qn+=Nr,be.createElement("path",{key:er,className:"".concat(xt,"-line-path"),d:Mn,strokeLinecap:Dt,stroke:hr,strokeWidth:$t,fillOpacity:"0",ref:function(It){Un[er]=It},style:sr})}))},x=y,b=ve(76190),ee=ve(42978),te=ve(47273),le=0,fe=(0,te.Z)();function ge(){var ot;return fe?(ot=le,le+=1):ot="TEST_OR_SSR",ot}var me=function(ot){var st=be.useState(),ht=(0,ee.Z)(st,2),mt=ht[0],bt=ht[1];return be.useEffect(function(){bt("rc_progress_".concat(ge()))},[]),ot||mt},he=function(st){var ht=st.bg,mt=st.children;return be.createElement("div",{style:{width:"100%",height:"100%",background:ht}},mt)};function Se(ot,st){return Object.keys(ot).map(function(ht){var mt=parseFloat(ht),bt="".concat(Math.floor(mt*st),"%");return"".concat(ot[ht]," ").concat(bt)})}var ye=be.forwardRef(function(ot,st){var ht=ot.prefixCls,mt=ot.color,bt=ot.gradientId,xt=ot.radius,Ft=ot.style,Dt=ot.ptg,$t=ot.strokeLinecap,dn=ot.strokeWidth,en=ot.size,Jt=ot.gapDegree,wn=mt&&(0,b.Z)(mt)==="object",Tn=wn?"#FFF":void 0,fn=en/2,zn=be.createElement("circle",{className:"".concat(ht,"-circle-path"),r:xt,cx:fn,cy:fn,stroke:Tn,strokeLinecap:$t,strokeWidth:dn,opacity:Dt===0?0:1,style:Ft,ref:st});if(!wn)return zn;var Un="".concat(bt,"-conic"),Nn=Jt?"".concat(180+Jt/2,"deg"):"0deg",On=Se(mt,(360-Jt)/360),Mn=Se(mt,1),Wn="conic-gradient(from ".concat(Nn,", ").concat(On.join(", "),")"),qn="linear-gradient(to ".concat(Jt?"bottom":"top",", ").concat(Mn.join(", "),")");return be.createElement(be.Fragment,null,be.createElement("mask",{id:Un},zn),be.createElement("foreignObject",{x:0,y:0,width:en,height:en,mask:"url(#".concat(Un,")")},be.createElement(he,{bg:qn},be.createElement(he,{bg:Wn}))))}),Pe=ye,we=100,De=function(st,ht,mt,bt,xt,Ft,Dt,$t,dn,en){var Jt=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,wn=mt/100*360*((360-Ft)/360),Tn=Ft===0?0:{bottom:0,top:180,left:90,right:-90}[Dt],fn=(100-bt)/100*ht;dn==="round"&&bt!==100&&(fn+=en/2,fn>=ht&&(fn=ht-.01));var zn=we/2;return{stroke:typeof $t=="string"?$t:void 0,strokeDasharray:"".concat(ht,"px ").concat(st),strokeDashoffset:fn+Jt,transform:"rotate(".concat(xt+wn+Tn,"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}},xe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Ae(ot){var st=ot!=null?ot:[];return Array.isArray(st)?st:[st]}var Ce=function(st){var ht=(0,ae.Z)((0,ae.Z)({},re),st),mt=ht.id,bt=ht.prefixCls,xt=ht.steps,Ft=ht.strokeWidth,Dt=ht.trailWidth,$t=ht.gapDegree,dn=$t===void 0?0:$t,en=ht.gapPosition,Jt=ht.trailColor,wn=ht.strokeLinecap,Tn=ht.style,fn=ht.className,zn=ht.strokeColor,Un=ht.percent,Nn=(0,oe.Z)(ht,xe),On=we/2,Mn=me(mt),Wn="".concat(Mn,"-gradient"),qn=On-Ft/2,Nr=Math.PI*2*qn,er=dn>0?90+dn/2:-90,jr=Nr*((360-dn)/360),sr=(0,b.Z)(xt)==="object"?xt:{count:xt,space:2},hr=sr.count,Ot=sr.space,It=Ae(Un),_t=Ae(zn),tn=_t.find(function(rn){return rn&&(0,b.Z)(rn)==="object"}),Fn=tn&&(0,b.Z)(tn)==="object",Cn=Fn?"butt":wn,Br=De(Nr,jr,0,100,er,dn,en,Jt,Cn,Ft),or=z(),Ht=function(){var jt=0;return It.map(function(un,En){var jn=_t[En]||_t[_t.length-1],Sn=De(Nr,jr,jt,un,er,dn,en,jn,Cn,Ft);return jt+=un,be.createElement(Pe,{key:En,color:jn,ptg:un,radius:qn,prefixCls:bt,gradientId:Wn,style:Sn,strokeLinecap:Cn,strokeWidth:Ft,gapDegree:dn,ref:function(Bt){or[En]=Bt},size:we})}).reverse()},Lt=function(){var jt=Math.round(hr*(It[0]/100)),un=100/hr,En=0;return new Array(hr).fill(null).map(function(jn,Sn){var St=Sn<=jt-1?_t[0]:Jt,Bt=St&&(0,b.Z)(St)==="object"?"url(#".concat(Wn,")"):void 0,Nt=De(Nr,jr,En,un,er,dn,en,St,"butt",Ft,Ot);return En+=(jr-Nt.strokeDashoffset+Ot)*100/jr,be.createElement("circle",{key:Sn,className:"".concat(bt,"-circle-path"),r:qn,cx:On,cy:On,stroke:Bt,strokeWidth:Ft,opacity:1,style:Nt,ref:function(Xt){or[Sn]=Xt}})})};return be.createElement("svg",(0,ue.Z)({className:ne()("".concat(bt,"-circle"),fn),viewBox:"0 0 ".concat(we," ").concat(we),style:Tn,id:mt,role:"presentation"},Nn),!hr&&be.createElement("circle",{className:"".concat(bt,"-circle-trail"),r:qn,cx:On,cy:On,stroke:Jt,strokeLinecap:Cn,strokeWidth:Dt||Ft,style:Br}),hr?Lt():Ht())},je=Ce,Fe={Line:x,Circle:je},Ge=ve(6848),Be=ve(30071);function tt(ot){return!ot||ot<0?0:ot>100?100:ot}function Ye(ot){let{success:st,successPercent:ht}=ot,mt=ht;return st&&"progress"in st&&(mt=st.progress),st&&"percent"in st&&(mt=st.percent),mt}const Ve=ot=>{let{percent:st,success:ht,successPercent:mt}=ot;const bt=tt(Ye({success:ht,successPercent:mt}));return[bt,tt(tt(st)-bt)]},Xe=ot=>{let{success:st={},strokeColor:ht}=ot;const{strokeColor:mt}=st;return[mt||Be.presetPrimaryColors.green,ht||null]},Ze=(ot,st,ht)=>{var mt,bt,xt,Ft;let Dt=-1,$t=-1;if(st==="step"){const dn=ht.steps,en=ht.strokeWidth;typeof ot=="string"||typeof ot=="undefined"?(Dt=ot==="small"?2:14,$t=en!=null?en:8):typeof ot=="number"?[Dt,$t]=[ot,ot]:[Dt=14,$t=8]=ot,Dt*=dn}else if(st==="line"){const dn=ht==null?void 0:ht.strokeWidth;typeof ot=="string"||typeof ot=="undefined"?$t=dn||(ot==="small"?6:8):typeof ot=="number"?[Dt,$t]=[ot,ot]:[Dt=-1,$t=8]=ot}else(st==="circle"||st==="dashboard")&&(typeof ot=="string"||typeof ot=="undefined"?[Dt,$t]=ot==="small"?[60,60]:[120,120]:typeof ot=="number"?[Dt,$t]=[ot,ot]:(Dt=(bt=(mt=ot[0])!==null&&mt!==void 0?mt:ot[1])!==null&&bt!==void 0?bt:120,$t=(Ft=(xt=ot[0])!==null&&xt!==void 0?xt:ot[1])!==null&&Ft!==void 0?Ft:120));return[Dt,$t]},ke=3,ze=ot=>ke/ot*100;var Je=ot=>{const{prefixCls:st,trailColor:ht=null,strokeLinecap:mt="round",gapPosition:bt,gapDegree:xt,width:Ft=120,type:Dt,children:$t,success:dn,size:en=Ft}=ot,[Jt,wn]=Ze(en,"circle");let{strokeWidth:Tn}=ot;Tn===void 0&&(Tn=Math.max(ze(Jt),6));const fn={width:Jt,height:wn,fontSize:Jt*.15+6},zn=be.useMemo(()=>{if(xt||xt===0)return xt;if(Dt==="dashboard")return 75},[xt,Dt]),Un=bt||Dt==="dashboard"&&"bottom"||void 0,Nn=Object.prototype.toString.call(ot.strokeColor)==="[object Object]",On=Xe({success:dn,strokeColor:ot.strokeColor}),Mn=ne()(`${st}-inner`,{[`${st}-circle-gradient`]:Nn}),Wn=be.createElement(je,{percent:Ve(ot),strokeWidth:Tn,trailWidth:Tn,strokeColor:On,strokeLinecap:mt,trailColor:ht,prefixCls:st,gapDegree:zn,gapPosition:Un});return be.createElement("div",{className:Mn,style:fn},Jt<=20?be.createElement(Ge.Z,{title:$t},be.createElement("span",null,Wn)):be.createElement(be.Fragment,null,Wn,$t))},ut=function(ot,st){var ht={};for(var mt in ot)Object.prototype.hasOwnProperty.call(ot,mt)&&st.indexOf(mt)<0&&(ht[mt]=ot[mt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,mt=Object.getOwnPropertySymbols(ot);bt<mt.length;bt++)st.indexOf(mt[bt])<0&&Object.prototype.propertyIsEnumerable.call(ot,mt[bt])&&(ht[mt[bt]]=ot[mt[bt]]);return ht};const Qe=ot=>{let st=[];return Object.keys(ot).forEach(ht=>{const mt=parseFloat(ht.replace(/%/g,""));isNaN(mt)||st.push({key:mt,value:ot[ht]})}),st=st.sort((ht,mt)=>ht.key-mt.key),st.map(ht=>{let{key:mt,value:bt}=ht;return`${bt} ${mt}%`}).join(", ")},Ue=(ot,st)=>{const{from:ht=Be.presetPrimaryColors.blue,to:mt=Be.presetPrimaryColors.blue,direction:bt=st==="rtl"?"to left":"to right"}=ot,xt=ut(ot,["from","to","direction"]);if(Object.keys(xt).length!==0){const Ft=Qe(xt);return{backgroundImage:`linear-gradient(${bt}, ${Ft})`}}return{backgroundImage:`linear-gradient(${bt}, ${ht}, ${mt})`}};var $e=ot=>{const{prefixCls:st,direction:ht,percent:mt,size:bt,strokeWidth:xt,strokeColor:Ft,strokeLinecap:Dt="round",children:$t,trailColor:dn=null,success:en}=ot,Jt=Ft&&typeof Ft!="string"?Ue(Ft,ht):{backgroundColor:Ft},wn=Dt==="square"||Dt==="butt"?0:void 0,Tn={backgroundColor:dn||void 0,borderRadius:wn},fn=bt!=null?bt:[-1,xt||(bt==="small"?6:8)],[zn,Un]=Ze(fn,"line",{strokeWidth:xt}),Nn=Object.assign({width:`${tt(mt)}%`,height:Un,borderRadius:wn},Jt),On=Ye(ot),Mn={width:`${tt(On)}%`,height:Un,borderRadius:wn,backgroundColor:en==null?void 0:en.strokeColor},Wn={width:zn<0?"100%":zn,height:Un};return be.createElement(be.Fragment,null,be.createElement("div",{className:`${st}-outer`,style:Wn},be.createElement("div",{className:`${st}-inner`,style:Tn},be.createElement("div",{className:`${st}-bg`,style:Nn}),On!==void 0?be.createElement("div",{className:`${st}-success-bg`,style:Mn}):null)),$t)},Ne=ot=>{const{size:st,steps:ht,percent:mt=0,strokeWidth:bt=8,strokeColor:xt,trailColor:Ft=null,prefixCls:Dt,children:$t}=ot,dn=Math.round(ht*(mt/100)),en=st==="small"?2:14,Jt=st!=null?st:[en,bt],[wn,Tn]=Ze(Jt,"step",{steps:ht,strokeWidth:bt}),fn=wn/ht,zn=new Array(ht);for(let Un=0;Un<ht;Un++){const Nn=Array.isArray(xt)?xt[Un]:xt;zn[Un]=be.createElement("div",{key:Un,className:ne()(`${Dt}-steps-item`,{[`${Dt}-steps-item-active`]:Un<=dn-1}),style:{backgroundColor:Un<=dn-1?Nn:Ft,width:fn,height:Tn}})}return be.createElement("div",{className:`${Dt}-steps-outer`},zn,$t)},qe=ve(36237),We=ve(17313),Me=ve(83116),Te=ve(37613);const Oe=ot=>{const st=ot?"100%":"-100%";return new qe.Keyframes(`antProgress${ot?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${st}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${st}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Ee=ot=>{const{componentCls:st,iconCls:ht}=ot;return{[st]:Object.assign(Object.assign({},(0,We.Wf)(ot)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:ot.fontSize,marginInlineEnd:ot.marginXS,marginBottom:ot.marginXS},[`${st}-outer`]:{display:"inline-block",width:"100%"},[`&${st}-show-info`]:{[`${st}-outer`]:{marginInlineEnd:`calc(-2em - ${ot.marginXS}px)`,paddingInlineEnd:`calc(2em + ${ot.paddingXS}px)`}},[`${st}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:ot.remainingColor,borderRadius:ot.lineBorderRadius},[`${st}-inner:not(${st}-circle-gradient)`]:{[`${st}-circle-path`]:{stroke:ot.defaultColor}},[`${st}-success-bg, ${st}-bg`]:{position:"relative",backgroundColor:ot.defaultColor,borderRadius:ot.lineBorderRadius,transition:`all ${ot.motionDurationSlow} ${ot.motionEaseInOutCirc}`},[`${st}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:ot.colorSuccess},[`${st}-text`]:{display:"inline-block",width:"2em",marginInlineStart:ot.marginXS,color:ot.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[ht]:{fontSize:ot.fontSize}},[`&${st}-status-active`]:{[`${st}-bg::before`]:{position:"absolute",inset:0,backgroundColor:ot.colorBgContainer,borderRadius:ot.lineBorderRadius,opacity:0,animationName:Oe(),animationDuration:ot.progressActiveMotionDuration,animationTimingFunction:ot.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${st}-rtl${st}-status-active`]:{[`${st}-bg::before`]:{animationName:Oe(!0)}},[`&${st}-status-exception`]:{[`${st}-bg`]:{backgroundColor:ot.colorError},[`${st}-text`]:{color:ot.colorError}},[`&${st}-status-exception ${st}-inner:not(${st}-circle-gradient)`]:{[`${st}-circle-path`]:{stroke:ot.colorError}},[`&${st}-status-success`]:{[`${st}-bg`]:{backgroundColor:ot.colorSuccess},[`${st}-text`]:{color:ot.colorSuccess}},[`&${st}-status-success ${st}-inner:not(${st}-circle-gradient)`]:{[`${st}-circle-path`]:{stroke:ot.colorSuccess}}})}},Ie=ot=>{const{componentCls:st,iconCls:ht}=ot;return{[st]:{[`${st}-circle-trail`]:{stroke:ot.remainingColor},[`&${st}-circle ${st}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${st}-circle ${st}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:ot.circleTextColor,fontSize:ot.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[ht]:{fontSize:`${ot.fontSize/ot.fontSizeSM}em`}},[`${st}-circle&-status-exception`]:{[`${st}-text`]:{color:ot.colorError}},[`${st}-circle&-status-success`]:{[`${st}-text`]:{color:ot.colorSuccess}}},[`${st}-inline-circle`]:{lineHeight:1,[`${st}-inner`]:{verticalAlign:"bottom"}}}},Ke=ot=>{const{componentCls:st}=ot;return{[st]:{[`${st}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:ot.progressStepMinWidth,marginInlineEnd:ot.progressStepMarginInlineEnd,backgroundColor:ot.remainingColor,transition:`all ${ot.motionDurationSlow}`,"&-active":{backgroundColor:ot.defaultColor}}}}}},at=ot=>{const{componentCls:st,iconCls:ht}=ot;return{[st]:{[`${st}-small&-line, ${st}-small&-line ${st}-text ${ht}`]:{fontSize:ot.fontSizeSM}}}};var He=(0,Me.Z)("Progress",ot=>{const st=ot.marginXXS/2,ht=(0,Te.TS)(ot,{progressStepMarginInlineEnd:st,progressStepMinWidth:st,progressActiveMotionDuration:"2.4s"});return[Ee(ht),Ie(ht),Ke(ht),at(ht)]},ot=>({circleTextColor:ot.colorText,defaultColor:ot.colorInfo,remainingColor:ot.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),nt=function(ot,st){var ht={};for(var mt in ot)Object.prototype.hasOwnProperty.call(ot,mt)&&st.indexOf(mt)<0&&(ht[mt]=ot[mt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,mt=Object.getOwnPropertySymbols(ot);bt<mt.length;bt++)st.indexOf(mt[bt])<0&&Object.prototype.propertyIsEnumerable.call(ot,mt[bt])&&(ht[mt[bt]]=ot[mt[bt]]);return ht};const ft=null,lt=["normal","exception","active","success"];var ct=be.forwardRef((ot,st)=>{const{prefixCls:ht,className:mt,rootClassName:bt,steps:xt,strokeColor:Ft,percent:Dt=0,size:$t="default",showInfo:dn=!0,type:en="line",status:Jt,format:wn,style:Tn}=ot,fn=nt(ot,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),zn=be.useMemo(()=>{var It,_t;const tn=Ye(ot);return parseInt(tn!==void 0?(It=tn!=null?tn:0)===null||It===void 0?void 0:It.toString():(_t=Dt!=null?Dt:0)===null||_t===void 0?void 0:_t.toString(),10)},[Dt,ot.success,ot.successPercent]),Un=be.useMemo(()=>!lt.includes(Jt)&&zn>=100?"success":Jt||"normal",[Jt,zn]),{getPrefixCls:Nn,direction:On,progress:Mn}=be.useContext(ce.E_),Wn=Nn("progress",ht),[qn,Nr]=He(Wn),er=be.useMemo(()=>{if(!dn)return null;const It=Ye(ot);let _t;const tn=wn||(Cn=>`${Cn}%`),Fn=en==="line";return wn||Un!=="exception"&&Un!=="success"?_t=tn(tt(Dt),tt(It)):Un==="exception"?_t=Fn?be.createElement(pe.Z,null):be.createElement(de.Z,null):Un==="success"&&(_t=Fn?be.createElement(_e.Z,null):be.createElement(E.Z,null)),be.createElement("span",{className:`${Wn}-text`,title:typeof _t=="string"?_t:void 0},_t)},[dn,Dt,zn,Un,en,Wn,wn]),jr=Array.isArray(Ft)?Ft[0]:Ft,sr=typeof Ft=="string"||Array.isArray(Ft)?Ft:void 0;let hr;en==="line"?hr=xt?be.createElement(Ne,Object.assign({},ot,{strokeColor:sr,prefixCls:Wn,steps:xt}),er):be.createElement($e,Object.assign({},ot,{strokeColor:jr,prefixCls:Wn,direction:On}),er):(en==="circle"||en==="dashboard")&&(hr=be.createElement(Je,Object.assign({},ot,{strokeColor:jr,prefixCls:Wn,progressStatus:Un}),er));const Ot=ne()(Wn,`${Wn}-status-${Un}`,`${Wn}-${en==="dashboard"&&"circle"||xt&&"steps"||en}`,{[`${Wn}-inline-circle`]:en==="circle"&&Ze($t,"circle")[0]<=20,[`${Wn}-show-info`]:dn,[`${Wn}-${$t}`]:typeof $t=="string",[`${Wn}-rtl`]:On==="rtl"},Mn==null?void 0:Mn.className,mt,bt,Nr);return qn(be.createElement("div",Object.assign({ref:st,style:Object.assign(Object.assign({},Mn==null?void 0:Mn.style),Tn),className:Ot,role:"progressbar","aria-valuenow":zn},(0,ie.Z)(fn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),hr))}),vt=ct},61621:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return qe}});var be=ve(92310),_e=ve.n(be),E=ve(59301),pe=ve(36355),de=ve(2738),ne=We=>{const{prefixCls:Me,className:Te,style:Oe,size:Ee,shape:Ie}=We,Ke=_e()({[`${Me}-lg`]:Ee==="large",[`${Me}-sm`]:Ee==="small"}),at=_e()({[`${Me}-circle`]:Ie==="circle",[`${Me}-square`]:Ie==="square",[`${Me}-round`]:Ie==="round"}),He=E.useMemo(()=>typeof Ee=="number"?{width:Ee,height:Ee,lineHeight:`${Ee}px`}:{},[Ee]);return E.createElement("span",{className:_e()(Me,Ke,at,Te),style:Object.assign(Object.assign({},He),Oe)})},ie=ve(36237),ce=ve(83116),ue=ve(37613);const ae=new ie.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),oe=We=>({height:We,lineHeight:`${We}px`}),re=We=>Object.assign({width:We},oe(We)),z=We=>({background:We.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:ae,animationDuration:We.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),a=We=>Object.assign({width:We*5,minWidth:We*5},oe(We)),y=We=>{const{skeletonAvatarCls:Me,gradientFromColor:Te,controlHeight:Oe,controlHeightLG:Ee,controlHeightSM:Ie}=We;return{[`${Me}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Te},re(Oe)),[`${Me}${Me}-circle`]:{borderRadius:"50%"},[`${Me}${Me}-lg`]:Object.assign({},re(Ee)),[`${Me}${Me}-sm`]:Object.assign({},re(Ie))}},x=We=>{const{controlHeight:Me,borderRadiusSM:Te,skeletonInputCls:Oe,controlHeightLG:Ee,controlHeightSM:Ie,gradientFromColor:Ke}=We;return{[`${Oe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ke,borderRadius:Te},a(Me)),[`${Oe}-lg`]:Object.assign({},a(Ee)),[`${Oe}-sm`]:Object.assign({},a(Ie))}},b=We=>Object.assign({width:We},oe(We)),ee=We=>{const{skeletonImageCls:Me,imageSizeBase:Te,gradientFromColor:Oe,borderRadiusSM:Ee}=We;return{[`${Me}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Oe,borderRadius:Ee},b(Te*2)),{[`${Me}-path`]:{fill:"#bfbfbf"},[`${Me}-svg`]:Object.assign(Object.assign({},b(Te)),{maxWidth:Te*4,maxHeight:Te*4}),[`${Me}-svg${Me}-svg-circle`]:{borderRadius:"50%"}}),[`${Me}${Me}-circle`]:{borderRadius:"50%"}}},te=(We,Me,Te)=>{const{skeletonButtonCls:Oe}=We;return{[`${Te}${Oe}-circle`]:{width:Me,minWidth:Me,borderRadius:"50%"},[`${Te}${Oe}-round`]:{borderRadius:Me}}},le=We=>Object.assign({width:We*2,minWidth:We*2},oe(We)),fe=We=>{const{borderRadiusSM:Me,skeletonButtonCls:Te,controlHeight:Oe,controlHeightLG:Ee,controlHeightSM:Ie,gradientFromColor:Ke}=We;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Te}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ke,borderRadius:Me,width:Oe*2,minWidth:Oe*2},le(Oe))},te(We,Oe,Te)),{[`${Te}-lg`]:Object.assign({},le(Ee))}),te(We,Ee,`${Te}-lg`)),{[`${Te}-sm`]:Object.assign({},le(Ie))}),te(We,Ie,`${Te}-sm`))},ge=We=>{const{componentCls:Me,skeletonAvatarCls:Te,skeletonTitleCls:Oe,skeletonParagraphCls:Ee,skeletonButtonCls:Ie,skeletonInputCls:Ke,skeletonImageCls:at,controlHeight:He,controlHeightLG:nt,controlHeightSM:ft,gradientFromColor:lt,padding:pt,marginSM:ct,borderRadius:vt,titleHeight:ot,blockRadius:st,paragraphLiHeight:ht,controlHeightXS:mt,paragraphMarginTop:bt}=We;return{[`${Me}`]:{display:"table",width:"100%",[`${Me}-header`]:{display:"table-cell",paddingInlineEnd:pt,verticalAlign:"top",[`${Te}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:lt},re(He)),[`${Te}-circle`]:{borderRadius:"50%"},[`${Te}-lg`]:Object.assign({},re(nt)),[`${Te}-sm`]:Object.assign({},re(ft))},[`${Me}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Oe}`]:{width:"100%",height:ot,background:lt,borderRadius:st,[`+ ${Ee}`]:{marginBlockStart:ft}},[`${Ee}`]:{padding:0,"> li":{width:"100%",height:ht,listStyle:"none",background:lt,borderRadius:st,"+ li":{marginBlockStart:mt}}},[`${Ee}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Me}-content`]:{[`${Oe}, ${Ee} > li`]:{borderRadius:vt}}},[`${Me}-with-avatar ${Me}-content`]:{[`${Oe}`]:{marginBlockStart:ct,[`+ ${Ee}`]:{marginBlockStart:bt}}},[`${Me}${Me}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},fe(We)),y(We)),x(We)),ee(We)),[`${Me}${Me}-block`]:{width:"100%",[`${Ie}`]:{width:"100%"},[`${Ke}`]:{width:"100%"}},[`${Me}${Me}-active`]:{[`
|
|
|
${Oe},
|
|
|
${Ee} > li,
|
|
|
${Te},
|
|
|
${Ie},
|
|
|
${Ke},
|
|
|
${at}
|
|
|
`]:Object.assign({},z(We))}}};var me=(0,ce.Z)("Skeleton",We=>{const{componentCls:Me}=We,Te=(0,ue.TS)(We,{skeletonAvatarCls:`${Me}-avatar`,skeletonTitleCls:`${Me}-title`,skeletonParagraphCls:`${Me}-paragraph`,skeletonButtonCls:`${Me}-button`,skeletonInputCls:`${Me}-input`,skeletonImageCls:`${Me}-image`,imageSizeBase:We.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${We.gradientFromColor} 25%, ${We.gradientToColor} 37%, ${We.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ge(Te)]},We=>{const{colorFillContent:Me,colorFill:Te}=We,Oe=Me,Ee=Te;return{color:Oe,colorGradientEnd:Ee,gradientFromColor:Oe,gradientToColor:Ee,titleHeight:We.controlHeight/2,blockRadius:We.borderRadiusSM,paragraphMarginTop:We.marginLG+We.marginXXS,paragraphLiHeight:We.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Se=We=>{const{prefixCls:Me,className:Te,rootClassName:Oe,active:Ee,shape:Ie="circle",size:Ke="default"}=We,{getPrefixCls:at}=E.useContext(pe.E_),He=at("skeleton",Me),[nt,ft]=me(He),lt=(0,de.Z)(We,["prefixCls","className"]),pt=_e()(He,`${He}-element`,{[`${He}-active`]:Ee},Te,Oe,ft);return nt(E.createElement("div",{className:pt},E.createElement(ne,Object.assign({prefixCls:`${He}-avatar`,shape:Ie,size:Ke},lt))))},Pe=We=>{const{prefixCls:Me,className:Te,rootClassName:Oe,active:Ee,block:Ie=!1,size:Ke="default"}=We,{getPrefixCls:at}=E.useContext(pe.E_),He=at("skeleton",Me),[nt,ft]=me(He),lt=(0,de.Z)(We,["prefixCls"]),pt=_e()(He,`${He}-element`,{[`${He}-active`]:Ee,[`${He}-block`]:Ie},Te,Oe,ft);return nt(E.createElement("div",{className:pt},E.createElement(ne,Object.assign({prefixCls:`${He}-button`,size:Ke},lt))))};const we="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var xe=We=>{const{prefixCls:Me,className:Te,rootClassName:Oe,style:Ee,active:Ie}=We,{getPrefixCls:Ke}=E.useContext(pe.E_),at=Ke("skeleton",Me),[He,nt]=me(at),ft=_e()(at,`${at}-element`,{[`${at}-active`]:Ie},Te,Oe,nt);return He(E.createElement("div",{className:ft},E.createElement("div",{className:_e()(`${at}-image`,Te),style:Ee},E.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${at}-image-svg`},E.createElement("path",{d:we,className:`${at}-image-path`})))))},Ce=We=>{const{prefixCls:Me,className:Te,rootClassName:Oe,active:Ee,block:Ie,size:Ke="default"}=We,{getPrefixCls:at}=E.useContext(pe.E_),He=at("skeleton",Me),[nt,ft]=me(He),lt=(0,de.Z)(We,["prefixCls"]),pt=_e()(He,`${He}-element`,{[`${He}-active`]:Ee,[`${He}-block`]:Ie},Te,Oe,ft);return nt(E.createElement("div",{className:pt},E.createElement(ne,Object.assign({prefixCls:`${He}-input`,size:Ke},lt))))},je=ve(54476),Fe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},Ge=Fe,Be=ve(7657),tt=function(Me,Te){return E.createElement(Be.Z,(0,je.Z)({},Me,{ref:Te,icon:Ge}))},Ye=E.forwardRef(tt),Ve=Ye,Ze=We=>{const{prefixCls:Me,className:Te,rootClassName:Oe,style:Ee,active:Ie,children:Ke}=We,{getPrefixCls:at}=E.useContext(pe.E_),He=at("skeleton",Me),[nt,ft]=me(He),lt=_e()(He,`${He}-element`,{[`${He}-active`]:Ie},ft,Te,Oe),pt=Ke!=null?Ke:E.createElement(Ve,null);return nt(E.createElement("div",{className:lt},E.createElement("div",{className:_e()(`${He}-image`,Te),style:Ee},pt)))},ke=ve(94480),et=We=>{const Me=at=>{const{width:He,rows:nt=2}=We;if(Array.isArray(He))return He[at];if(nt-1===at)return He},{prefixCls:Te,className:Oe,style:Ee,rows:Ie}=We,Ke=(0,ke.Z)(Array(Ie)).map((at,He)=>E.createElement("li",{key:He,style:{width:Me(He)}}));return E.createElement("ul",{className:_e()(Te,Oe),style:Ee},Ke)},ut=We=>{let{prefixCls:Me,className:Te,width:Oe,style:Ee}=We;return E.createElement("h3",{className:_e()(Me,Te),style:Object.assign({width:Oe},Ee)})};function Qe(We){return We&&typeof We=="object"?We:{}}function Ue(We,Me){return We&&!Me?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Re(We,Me){return!We&&Me?{width:"38%"}:We&&Me?{width:"50%"}:{}}function $e(We,Me){const Te={};return(!We||!Me)&&(Te.width="61%"),!We&&Me?Te.rows=3:Te.rows=2,Te}const Le=We=>{const{prefixCls:Me,loading:Te,className:Oe,rootClassName:Ee,style:Ie,children:Ke,avatar:at=!1,title:He=!0,paragraph:nt=!0,active:ft,round:lt}=We,{getPrefixCls:pt,direction:ct,skeleton:vt}=E.useContext(pe.E_),ot=pt("skeleton",Me),[st,ht]=me(ot);if(Te||!("loading"in We)){const mt=!!at,bt=!!He,xt=!!nt;let Ft;if(mt){const dn=Object.assign(Object.assign({prefixCls:`${ot}-avatar`},Ue(bt,xt)),Qe(at));Ft=E.createElement("div",{className:`${ot}-header`},E.createElement(ne,Object.assign({},dn)))}let Dt;if(bt||xt){let dn;if(bt){const Jt=Object.assign(Object.assign({prefixCls:`${ot}-title`},Re(mt,xt)),Qe(He));dn=E.createElement(ut,Object.assign({},Jt))}let en;if(xt){const Jt=Object.assign(Object.assign({prefixCls:`${ot}-paragraph`},$e(mt,bt)),Qe(nt));en=E.createElement(et,Object.assign({},Jt))}Dt=E.createElement("div",{className:`${ot}-content`},dn,en)}const $t=_e()(ot,{[`${ot}-with-avatar`]:mt,[`${ot}-active`]:ft,[`${ot}-rtl`]:ct==="rtl",[`${ot}-round`]:lt},vt==null?void 0:vt.className,Oe,Ee,ht);return st(E.createElement("div",{className:$t,style:Object.assign(Object.assign({},vt==null?void 0:vt.style),Ie)},Ft,Dt))}return typeof Ke!="undefined"?Ke:null};Le.Button=Pe,Le.Avatar=Se,Le.Input=Ce,Le.Image=xe,Le.Node=Ze;var Ne=Le,qe=Ne},31797:function(Et,dt,ve){"use strict";ve.d(dt,{default:function(){return me}});var be=ve(59301),_e=ve(56762),E=ve(92343),pe=ve(92310),de=ve.n(pe),se=ve(36355),ne=ve(61621),ce=he=>{const{value:Se,formatter:ye,precision:Pe,decimalSeparator:we,groupSeparator:De="",prefixCls:xe}=he;let Ae;if(typeof ye=="function")Ae=ye(Se);else{const Ce=String(Se),je=Ce.match(/^(-?)(\d*)(\.(\d+))?$/);if(!je||Ce==="-")Ae=Ce;else{const Fe=je[1];let Ge=je[2]||"0",Be=je[4]||"";Ge=Ge.replace(/\B(?=(\d{3})+(?!\d))/g,De),typeof Pe=="number"&&(Be=Be.padEnd(Pe,"0").slice(0,Pe>0?Pe:0)),Be&&(Be=`${we}${Be}`),Ae=[be.createElement("span",{key:"int",className:`${xe}-content-value-int`},Fe,Ge),Be&&be.createElement("span",{key:"decimal",className:`${xe}-content-value-decimal`},Be)]}}return be.createElement("span",{className:`${xe}-content-value`},Ae)},ue=ve(17313),ae=ve(83116),oe=ve(37613);const re=he=>{const{componentCls:Se,marginXXS:ye,padding:Pe,colorTextDescription:we,titleFontSize:De,colorTextHeading:xe,contentFontSize:Ae,fontFamily:Ce}=he;return{[`${Se}`]:Object.assign(Object.assign({},(0,ue.Wf)(he)),{[`${Se}-title`]:{marginBottom:ye,color:we,fontSize:De},[`${Se}-skeleton`]:{paddingTop:Pe},[`${Se}-content`]:{color:xe,fontSize:Ae,fontFamily:Ce,[`${Se}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Se}-content-prefix, ${Se}-content-suffix`]:{display:"inline-block"},[`${Se}-content-prefix`]:{marginInlineEnd:ye},[`${Se}-content-suffix`]:{marginInlineStart:ye}}})}};var z=(0,ae.Z)("Statistic",he=>{const Se=(0,oe.TS)(he,{});return[re(Se)]},he=>{const{fontSizeHeading3:Se,fontSize:ye}=he;return{titleFontSize:ye,contentFontSize:Se}}),y=he=>{const{prefixCls:Se,className:ye,rootClassName:Pe,style:we,valueStyle:De,value:xe=0,title:Ae,valueRender:Ce,prefix:je,suffix:Fe,loading:Ge=!1,onMouseEnter:Be,onMouseLeave:tt,decimalSeparator:Ye=".",groupSeparator:Ve=","}=he,{getPrefixCls:Xe,direction:Ze,statistic:ke}=be.useContext(se.E_),ze=Xe("statistic",Se),[et,Je]=z(ze),ut=be.createElement(ce,Object.assign({decimalSeparator:Ye,groupSeparator:Ve,prefixCls:ze},he,{value:xe})),Qe=de()(ze,{[`${ze}-rtl`]:Ze==="rtl"},ke==null?void 0:ke.className,ye,Pe,Je);return et(be.createElement("div",{className:Qe,style:Object.assign(Object.assign({},ke==null?void 0:ke.style),we),onMouseEnter:Be,onMouseLeave:tt},Ae&&be.createElement("div",{className:`${ze}-title`},Ae),be.createElement(ne.Z,{paragraph:!1,loading:Ge,className:`${ze}-skeleton`},be.createElement("div",{style:De,className:`${ze}-content`},je&&be.createElement("span",{className:`${ze}-content-prefix`},je),Ce?Ce(ut):ut,Fe&&be.createElement("span",{className:`${ze}-content-suffix`},Fe)))))};const x=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function b(he,Se){let ye=he;const Pe=/\[[^\]]*]/g,we=(Se.match(Pe)||[]).map(Ce=>Ce.slice(1,-1)),De=Se.replace(Pe,"[]"),xe=x.reduce((Ce,je)=>{let[Fe,Ge]=je;if(Ce.includes(Fe)){const Be=Math.floor(ye/Ge);return ye-=Be*Ge,Ce.replace(new RegExp(`${Fe}+`,"g"),tt=>{const Ye=tt.length;return Be.toString().padStart(Ye,"0")})}return Ce},De);let Ae=0;return xe.replace(Pe,()=>{const Ce=we[Ae];return Ae+=1,Ce})}function ee(he,Se){const{format:ye=""}=Se,Pe=new Date(he).getTime(),we=Date.now(),De=Math.max(Pe-we,0);return b(De,ye)}const te=1e3/30;function le(he){return new Date(he).getTime()}const fe=he=>{const{value:Se,format:ye="HH:mm:ss",onChange:Pe,onFinish:we}=he,De=(0,_e.Z)(),xe=be.useRef(null),Ae=()=>{we==null||we(),xe.current&&(clearInterval(xe.current),xe.current=null)},Ce=()=>{const Ge=le(Se);Ge>=Date.now()&&(xe.current=setInterval(()=>{De(),Pe==null||Pe(Ge-Date.now()),Ge<Date.now()&&Ae()},te))};be.useEffect(()=>(Ce(),()=>{xe.current&&(clearInterval(xe.current),xe.current=null)}),[Se]);const je=(Ge,Be)=>ee(Ge,Object.assign(Object.assign({},Be),{format:ye})),Fe=Ge=>(0,E.Tm)(Ge,{title:void 0});return be.createElement(y,Object.assign({},he,{valueRender:Fe,formatter:je}))};var ge=be.memo(fe);y.Countdown=ge;var me=y},15969:function(Et,dt,ve){"use strict";ve.d(dt,{N:function(){return be}});const be=_e=>({color:_e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${_e.motionDurationSlow}`,"&:focus, &:hover":{color:_e.colorLinkHover},"&:active":{color:_e.colorLinkActive}})},1710:function(Et,dt,ve){"use strict";ve.d(dt,{default:function(){return Ts}});var be={},_e="rc-table-internal-hook",E=ve(42978),pe=ve(6089),de=ve(34280),se=ve(13697),ne=ve(59301),ie=ve(4676);function ce(rt){var it=ne.createContext(void 0),gt=function(Pt){var wt=Pt.value,Rt=Pt.children,Mt=ne.useRef(wt);Mt.current=wt;var At=ne.useState(function(){return{getValue:function(){return Mt.current},listeners:new Set}}),zt=(0,E.Z)(At,1),Zt=zt[0];return(0,de.Z)(function(){(0,ie.unstable_batchedUpdates)(function(){Zt.listeners.forEach(function(Ut){Ut(wt)})})},[wt]),ne.createElement(it.Provider,{value:Zt},Rt)};return{Context:it,Provider:gt,defaultValue:rt}}function ue(rt,it){var gt=(0,pe.Z)(typeof it=="function"?it:function(Ut){if(it===void 0)return Ut;if(!Array.isArray(it))return Ut[it];var cn={};return it.forEach(function(nn){cn[nn]=Ut[nn]}),cn}),yt=ne.useContext(rt==null?void 0:rt.Context),Pt=yt||{},wt=Pt.listeners,Rt=Pt.getValue,Mt=ne.useRef();Mt.current=gt(yt?Rt():rt==null?void 0:rt.defaultValue);var At=ne.useState({}),zt=(0,E.Z)(At,2),Zt=zt[1];return(0,de.Z)(function(){if(!yt)return;function Ut(cn){var nn=gt(cn);(0,se.Z)(Mt.current,nn,!0)||Zt({})}return wt.add(Ut),function(){wt.delete(Ut)}},[yt]),Mt.current}var ae=ve(54476),oe=ve(8654);function re(){var rt=ne.createContext(null);function it(){return ne.useContext(rt)}function gt(Pt,wt){var Rt=(0,oe.Yr)(Pt),Mt=function(zt,Zt){var Ut=Rt?{ref:Zt}:{},cn=ne.useRef(0),nn=ne.useRef(zt),sn=it();return sn!==null?ne.createElement(Pt,(0,ae.Z)({},zt,Ut)):((!wt||wt(nn.current,zt))&&(cn.current+=1),nn.current=zt,ne.createElement(rt.Provider,{value:cn.current},ne.createElement(Pt,(0,ae.Z)({},zt,Ut))))};return Rt?ne.forwardRef(Mt):Mt}function yt(Pt,wt){var Rt=(0,oe.Yr)(Pt),Mt=function(zt,Zt){var Ut=Rt?{ref:Zt}:{};return it(),ne.createElement(Pt,(0,ae.Z)({},zt,Ut))};return Rt?ne.memo(ne.forwardRef(Mt),wt):ne.memo(Mt,wt)}return{makeImmutable:gt,responseImmutable:yt,useImmutableMark:it}}var z=re(),a=z.makeImmutable,y=z.responseImmutable,x=z.useImmutableMark,b=re(),ee=b.makeImmutable,te=b.responseImmutable,le=b.useImmutableMark,fe=ce(),ge=fe;function me(rt,it){var gt=ne.useRef(0);gt.current+=1;var yt=ne.useRef(rt),Pt=[];Object.keys(rt||{}).map(function(Rt){var Mt;(rt==null?void 0:rt[Rt])!==((Mt=yt.current)===null||Mt===void 0?void 0:Mt[Rt])&&Pt.push(Rt)}),yt.current=rt;var wt=ne.useRef([]);return Pt.length&&(wt.current=Pt),ne.useDebugValue(gt.current),ne.useDebugValue(wt.current.join(", ")),it&&console.log("".concat(it,":"),gt.current,wt.current),gt.current}var he=null,Se=ne.memo(function(){var rt=me();return ne.createElement("h1",null,"Render Times: ",rt)});Se.displayName="RenderBlock";var ye=ve(76190),Pe=ve(33885),we=ve(20068),De=ve(92310),xe=ve.n(De),Ae=ve(80547),Ce=ve(97938),je=ve(48736),Fe=ne.createContext({renderWithProps:!1}),Ge=Fe,Be="RC_TABLE_KEY";function tt(rt){return rt==null?[]:Array.isArray(rt)?rt:[rt]}function Ye(rt){var it=[],gt={};return rt.forEach(function(yt){for(var Pt=yt||{},wt=Pt.key,Rt=Pt.dataIndex,Mt=wt||tt(Rt).join("-")||Be;gt[Mt];)Mt="".concat(Mt,"_next");gt[Mt]=!0,it.push(Mt)}),it}function Ve(rt){return rt!=null}function Xe(rt){return rt&&(0,ye.Z)(rt)==="object"&&!Array.isArray(rt)&&!ne.isValidElement(rt)}function Ze(rt,it,gt,yt,Pt,wt){var Rt=ne.useContext(Ge),Mt=le(),At=(0,Ae.Z)(function(){if(Ve(yt))return[yt];var zt=it==null||it===""?[]:Array.isArray(it)?it:[it],Zt=(0,Ce.Z)(rt,zt),Ut=Zt,cn=void 0;if(Pt){var nn=Pt(Zt,rt,gt);Xe(nn)?(Ut=nn.children,cn=nn.props,Rt.renderWithProps=!0):Ut=nn}return[Ut,cn]},[Mt,rt,yt,it,Pt,gt],function(zt,Zt){if(wt){var Ut=(0,E.Z)(zt,2),cn=Ut[1],nn=(0,E.Z)(Zt,2),sn=nn[1];return wt(sn,cn)}return Rt.renderWithProps?!0:!(0,se.Z)(zt,Zt,!0)});return At}function ke(rt,it,gt,yt){var Pt=rt+it-1;return rt<=yt&&Pt>=gt}function ze(rt,it){return ue(ge,function(gt){var yt=ke(rt,it||1,gt.hoverStartRow,gt.hoverEndRow);return[yt,gt.onHover]})}var et=function(it){var gt=it.ellipsis,yt=it.rowType,Pt=it.children,wt,Rt=gt===!0?{showTitle:!0}:gt;return Rt&&(Rt.showTitle||yt==="header")&&(typeof Pt=="string"||typeof Pt=="number"?wt=Pt.toString():ne.isValidElement(Pt)&&typeof Pt.props.children=="string"&&(wt=Pt.props.children)),wt};function Je(rt){var it,gt,yt,Pt,wt,Rt,Mt,At,zt=rt.component,Zt=rt.children,Ut=rt.ellipsis,cn=rt.scope,nn=rt.prefixCls,sn=rt.className,xn=rt.align,yn=rt.record,_n=rt.render,bn=rt.dataIndex,Bn=rt.renderIndex,tr=rt.shouldCellUpdate,ar=rt.index,Vn=rt.rowType,Lr=rt.colSpan,Rr=rt.rowSpan,Hn=rt.fixLeft,Xn=rt.fixRight,Gn=rt.firstFixLeft,Dn=rt.lastFixLeft,$n=rt.firstFixRight,Pr=rt.lastFixRight,Ur=rt.appendNode,Ir=rt.additionalProps,cr=Ir===void 0?{}:Ir,Hr=rt.isSticky,Vr="".concat(nn,"-cell"),So=ue(ge,["supportSticky","allColumnsFixedLeft"]),eo=So.supportSticky,Fo=So.allColumnsFixedLeft,Bo=Ze(yn,bn,Bn,Zt,_n,tr),Mr=(0,E.Z)(Bo,2),Wo=Mr[0],ro=Mr[1],_o={},Eo=typeof Hn=="number"&&eo,la=typeof Xn=="number"&&eo;Eo&&(_o.position="sticky",_o.left=Hn),la&&(_o.position="sticky",_o.right=Xn);var vr=(it=(gt=(yt=ro==null?void 0:ro.colSpan)!==null&&yt!==void 0?yt:cr.colSpan)!==null&>!==void 0?gt:Lr)!==null&&it!==void 0?it:1,gr=(Pt=(wt=(Rt=ro==null?void 0:ro.rowSpan)!==null&&Rt!==void 0?Rt:cr.rowSpan)!==null&&wt!==void 0?wt:Rr)!==null&&Pt!==void 0?Pt:1,ur=ze(ar,gr),Jn=(0,E.Z)(ur,2),oo=Jn[0],Qn=Jn[1],Dr=function(Ko){var ca;yn&&Qn(ar,ar+gr-1),cr==null||(ca=cr.onMouseEnter)===null||ca===void 0||ca.call(cr,Ko)},Qr=function(Ko){var ca;yn&&Qn(-1,-1),cr==null||(ca=cr.onMouseLeave)===null||ca===void 0||ca.call(cr,Ko)};if(vr===0||gr===0)return null;var Yr=(Mt=cr.title)!==null&&Mt!==void 0?Mt:et({rowType:Vn,ellipsis:Ut,children:Wo}),ta=xe()(Vr,sn,(At={},(0,we.Z)(At,"".concat(Vr,"-fix-left"),Eo&&eo),(0,we.Z)(At,"".concat(Vr,"-fix-left-first"),Gn&&eo),(0,we.Z)(At,"".concat(Vr,"-fix-left-last"),Dn&&eo),(0,we.Z)(At,"".concat(Vr,"-fix-left-all"),Dn&&Fo&&eo),(0,we.Z)(At,"".concat(Vr,"-fix-right"),la&&eo),(0,we.Z)(At,"".concat(Vr,"-fix-right-first"),$n&&eo),(0,we.Z)(At,"".concat(Vr,"-fix-right-last"),Pr&&eo),(0,we.Z)(At,"".concat(Vr,"-ellipsis"),Ut),(0,we.Z)(At,"".concat(Vr,"-with-append"),Ur),(0,we.Z)(At,"".concat(Vr,"-fix-sticky"),(Eo||la)&&Hr&&eo),(0,we.Z)(At,"".concat(Vr,"-row-hover"),!ro&&oo),At),cr.className,ro==null?void 0:ro.className),Qo={};xn&&(Qo.textAlign=xn);var ba=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},_o),cr.style),Qo),ro==null?void 0:ro.style),Zo=Wo;return(0,ye.Z)(Zo)==="object"&&!Array.isArray(Zo)&&!ne.isValidElement(Zo)&&(Zo=null),Ut&&(Dn||$n)&&(Zo=ne.createElement("span",{className:"".concat(Vr,"-content")},Zo)),ne.createElement(zt,(0,ae.Z)({},ro,cr,{className:ta,style:ba,title:Yr,scope:cn,onMouseEnter:Dr,onMouseLeave:Qr,colSpan:vr!==1?vr:null,rowSpan:gr!==1?gr:null}),Ur,Zo)}var ut=ne.memo(Je);function Qe(rt,it,gt,yt,Pt,wt){var Rt=gt[rt]||{},Mt=gt[it]||{},At,zt;Rt.fixed==="left"?At=yt.left[Pt==="rtl"?it:rt]:Mt.fixed==="right"&&(zt=yt.right[Pt==="rtl"?rt:it]);var Zt=!1,Ut=!1,cn=!1,nn=!1,sn=gt[it+1],xn=gt[rt-1],yn=!(wt!=null&&wt.children);if(Pt==="rtl"){if(At!==void 0){var _n=xn&&xn.fixed==="left";nn=!_n&&yn}else if(zt!==void 0){var bn=sn&&sn.fixed==="right";cn=!bn&&yn}}else if(At!==void 0){var Bn=sn&&sn.fixed==="left";Zt=!Bn&&yn}else if(zt!==void 0){var tr=xn&&xn.fixed==="right";Ut=!tr&&yn}return{fixLeft:At,fixRight:zt,lastFixLeft:Zt,firstFixRight:Ut,lastFixRight:cn,firstFixLeft:nn,isSticky:yt.isSticky}}var Ue=ne.createContext({}),Re=Ue;function $e(rt){var it=rt.className,gt=rt.index,yt=rt.children,Pt=rt.colSpan,wt=Pt===void 0?1:Pt,Rt=rt.rowSpan,Mt=rt.align,At=ue(ge,["prefixCls","direction"]),zt=At.prefixCls,Zt=At.direction,Ut=ne.useContext(Re),cn=Ut.scrollColumnIndex,nn=Ut.stickyOffsets,sn=Ut.flattenColumns,xn=Ut.columns,yn=gt+wt-1,_n=yn+1===cn?wt+1:wt,bn=Qe(gt,gt+_n-1,sn,nn,Zt,xn==null?void 0:xn[gt]);return ne.createElement(ut,(0,ae.Z)({className:it,index:gt,component:"td",prefixCls:zt,record:null,dataIndex:null,align:Mt,colSpan:_n,rowSpan:Rt,render:function(){return yt}},bn))}var Le=ve(75931),Ne=["children"];function qe(rt){var it=rt.children,gt=(0,Le.Z)(rt,Ne);return ne.createElement("tr",gt,it)}function We(rt){var it=rt.children;return it}We.Row=qe,We.Cell=$e;var Me=We;function Te(rt){var it=rt.children,gt=rt.stickyOffsets,yt=rt.flattenColumns,Pt=rt.columns,wt=ue(ge,"prefixCls"),Rt=yt.length-1,Mt=yt[Rt],At=ne.useMemo(function(){return{stickyOffsets:gt,flattenColumns:yt,scrollColumnIndex:Mt!=null&&Mt.scrollbar?Rt:null,columns:Pt}},[Mt,yt,Rt,gt,Pt]);return ne.createElement(Re.Provider,{value:At},ne.createElement("tfoot",{className:"".concat(wt,"-summary")},it))}var Oe=te(Te),Ee=Me,Ie=ve(70425),Ke=ve(29301),at=ve(29194),He=ve(3465),nt=ve(75152),ft=ve(26112);function lt(rt,it,gt,yt,Pt,wt,Rt){rt.push({record:it,indent:gt,index:Rt});var Mt=wt(it),At=Pt==null?void 0:Pt.has(Mt);if(it&&Array.isArray(it[yt])&&At)for(var zt=0;zt<it[yt].length;zt+=1)lt(rt,it[yt][zt],gt+1,yt,Pt,wt,zt)}function pt(rt,it,gt,yt){var Pt=ne.useMemo(function(){if(gt!=null&>.size){for(var wt=[],Rt=0;Rt<(rt==null?void 0:rt.length);Rt+=1){var Mt=rt[Rt];lt(wt,Mt,0,it,gt,yt,Rt)}return wt}return rt==null?void 0:rt.map(function(At,zt){return{record:At,indent:0,index:zt}})},[rt,it,gt,yt]);return Pt}function ct(rt){var it=rt.prefixCls,gt=rt.children,yt=rt.component,Pt=rt.cellComponent,wt=rt.className,Rt=rt.expanded,Mt=rt.colSpan,At=rt.isEmpty,zt=ue(ge,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Zt=zt.scrollbarSize,Ut=zt.fixHeader,cn=zt.fixColumn,nn=zt.componentWidth,sn=zt.horizonScroll,xn=gt;return(At?sn&&nn:cn)&&(xn=ne.createElement("div",{style:{width:nn-(Ut?Zt:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(it,"-expanded-row-fixed")},xn)),ne.createElement(yt,{className:wt,style:{display:Rt?null:"none"}},ne.createElement(ut,{component:Pt,prefixCls:it,colSpan:Mt},xn))}var vt=ct;function ot(rt,it,gt,yt){var Pt=ue(ge,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),wt=Pt.flattenColumns,Rt=Pt.expandableType,Mt=Pt.expandedKeys,At=Pt.childrenColumnName,zt=Pt.onTriggerExpand,Zt=Pt.rowExpandable,Ut=Pt.onRow,cn=Pt.expandRowByClick,nn=Pt.rowClassName,sn=Rt==="nest",xn=Rt==="row"&&(!Zt||Zt(rt)),yn=xn||sn,_n=Mt&&Mt.has(it),bn=At&&rt&&rt[At],Bn=(0,Ie.useEvent)(zt),tr=Ut==null?void 0:Ut(rt,gt),ar=tr==null?void 0:tr.onClick,Vn=function(Xn){cn&&yn&&zt(rt,Xn);for(var Gn=arguments.length,Dn=new Array(Gn>1?Gn-1:0),$n=1;$n<Gn;$n++)Dn[$n-1]=arguments[$n];ar==null||ar.apply(void 0,[Xn].concat(Dn))},Lr;typeof nn=="string"?Lr=nn:typeof nn=="function"&&(Lr=nn(rt,gt,yt));var Rr=Ye(wt);return(0,Pe.Z)((0,Pe.Z)({},Pt),{},{columnsKey:Rr,nestExpandable:sn,expanded:_n,hasNestChildren:bn,record:rt,onTriggerExpand:Bn,rowSupportExpand:xn,expandable:yn,rowProps:(0,Pe.Z)((0,Pe.Z)({},tr),{},{className:xe()(Lr,tr==null?void 0:tr.className),onClick:Vn})})}function st(rt,it,gt,yt,Pt){var wt=rt.record,Rt=rt.prefixCls,Mt=rt.columnsKey,At=rt.fixedInfoList,zt=rt.expandIconColumnIndex,Zt=rt.nestExpandable,Ut=rt.indentSize,cn=rt.expandIcon,nn=rt.expanded,sn=rt.hasNestChildren,xn=rt.onTriggerExpand,yn=Mt[gt],_n=At[gt],bn;gt===(zt||0)&&Zt&&(bn=ne.createElement(ne.Fragment,null,ne.createElement("span",{style:{paddingLeft:"".concat(Ut*yt,"px")},className:"".concat(Rt,"-row-indent indent-level-").concat(yt)}),cn({prefixCls:Rt,expanded:nn,expandable:sn,record:wt,onExpand:xn})));var Bn;return it.onCell&&(Bn=it.onCell(wt,Pt)),{key:yn,fixedInfo:_n,appendCellNode:bn,additionalCellProps:Bn||{}}}function ht(rt){var it=rt.className,gt=rt.style,yt=rt.record,Pt=rt.index,wt=rt.renderIndex,Rt=rt.rowKey,Mt=rt.indent,At=Mt===void 0?0:Mt,zt=rt.rowComponent,Zt=rt.cellComponent,Ut=rt.scopeCellComponent,cn=ot(yt,Rt,Pt,At),nn=cn.prefixCls,sn=cn.flattenColumns,xn=cn.expandedRowClassName,yn=cn.expandedRowRender,_n=cn.rowProps,bn=cn.expanded,Bn=cn.rowSupportExpand,tr=ne.useState(!1),ar=(0,E.Z)(tr,2),Vn=ar[0],Lr=ar[1];ne.useEffect(function(){bn&&Lr(!0)},[bn]);var Rr=ne.createElement(zt,(0,ae.Z)({},_n,{"data-row-key":Rt,className:xe()(it,"".concat(nn,"-row"),"".concat(nn,"-row-level-").concat(At),_n==null?void 0:_n.className),style:(0,Pe.Z)((0,Pe.Z)({},gt),_n==null?void 0:_n.style)}),sn.map(function(Dn,$n){var Pr=Dn.render,Ur=Dn.dataIndex,Ir=Dn.className,cr=st(cn,Dn,$n,At,Pt),Hr=cr.key,Vr=cr.fixedInfo,So=cr.appendCellNode,eo=cr.additionalCellProps;return ne.createElement(ut,(0,ae.Z)({className:Ir,ellipsis:Dn.ellipsis,align:Dn.align,scope:Dn.rowScope,component:Dn.rowScope?Ut:Zt,prefixCls:nn,key:Hr,record:yt,index:Pt,renderIndex:wt,dataIndex:Ur,render:Pr,shouldCellUpdate:Dn.shouldCellUpdate},Vr,{appendNode:So,additionalProps:eo}))})),Hn;if(Bn&&(Vn||bn)){var Xn=yn(yt,Pt,At+1,bn),Gn=xn&&xn(yt,Pt,At);Hn=ne.createElement(vt,{expanded:bn,className:xe()("".concat(nn,"-expanded-row"),"".concat(nn,"-expanded-row-level-").concat(At+1),Gn),prefixCls:nn,component:zt,cellComponent:Zt,colSpan:sn.length,isEmpty:!1},Xn)}return ne.createElement(ne.Fragment,null,Rr,Hn)}ht.displayName="BodyRow";var mt=te(ht);function bt(rt){var it=rt.columnKey,gt=rt.onColumnResize,yt=ne.useRef();return ne.useEffect(function(){yt.current&>(it,yt.current.offsetWidth)},[]),ne.createElement(Ke.Z,{data:it},ne.createElement("td",{ref:yt,style:{padding:0,border:0,height:0}},ne.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function xt(rt){var it=rt.prefixCls,gt=rt.columnsKey,yt=rt.onColumnResize;return ne.createElement("tr",{"aria-hidden":"true",className:"".concat(it,"-measure-row"),style:{height:0,fontSize:0}},ne.createElement(Ke.Z.Collection,{onBatchResize:function(wt){wt.forEach(function(Rt){var Mt=Rt.data,At=Rt.size;yt(Mt,At.offsetWidth)})}},gt.map(function(Pt){return ne.createElement(bt,{key:Pt,columnKey:Pt,onColumnResize:yt})})))}function Ft(rt){var it=rt.data,gt=rt.measureColumnWidth,yt=ue(ge,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Pt=yt.prefixCls,wt=yt.getComponent,Rt=yt.onColumnResize,Mt=yt.flattenColumns,At=yt.getRowKey,zt=yt.expandedKeys,Zt=yt.childrenColumnName,Ut=yt.emptyNode,cn=pt(it,Zt,zt,At),nn=ne.useRef({renderWithProps:!1}),sn=wt(["body","wrapper"],"tbody"),xn=wt(["body","row"],"tr"),yn=wt(["body","cell"],"td"),_n=wt(["body","cell"],"th"),bn;it.length?bn=cn.map(function(tr,ar){var Vn=tr.record,Lr=tr.indent,Rr=tr.index,Hn=At(Vn,ar);return ne.createElement(mt,{key:Hn,rowKey:Hn,record:Vn,index:ar,renderIndex:Rr,rowComponent:xn,cellComponent:yn,scopeCellComponent:_n,getRowKey:At,indent:Lr})}):bn=ne.createElement(vt,{expanded:!0,className:"".concat(Pt,"-placeholder"),prefixCls:Pt,component:xn,cellComponent:yn,colSpan:Mt.length,isEmpty:!0},Ut);var Bn=Ye(Mt);return ne.createElement(Ge.Provider,{value:nn.current},ne.createElement(sn,{className:"".concat(Pt,"-tbody")},gt&&ne.createElement(xt,{prefixCls:Pt,columnsKey:Bn,onColumnResize:Rt}),bn))}Ft.displayName="Body";var Dt=te(Ft),$t=["expandable"],dn="RC_TABLE_INTERNAL_COL_DEFINE";function en(rt){var it=rt.expandable,gt=(0,Le.Z)(rt,$t),yt;return"expandable"in rt?yt=(0,Pe.Z)((0,Pe.Z)({},gt),it):yt=gt,yt.showExpandColumn===!1&&(yt.expandIconColumnIndex=-1),yt}var Jt=["columnType"];function wn(rt){for(var it=rt.colWidths,gt=rt.columns,yt=rt.columCount,Pt=[],wt=yt||gt.length,Rt=!1,Mt=wt-1;Mt>=0;Mt-=1){var At=it[Mt],zt=gt&>[Mt],Zt=zt&&zt[dn];if(At||Zt||Rt){var Ut=Zt||{},cn=Ut.columnType,nn=(0,Le.Z)(Ut,Jt);Pt.unshift(ne.createElement("col",(0,ae.Z)({key:Mt,style:{width:At}},nn))),Rt=!0}}return ne.createElement("colgroup",null,Pt)}var Tn=wn,fn=ve(94480),zn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Un(rt,it){return(0,ne.useMemo)(function(){for(var gt=[],yt=0;yt<it;yt+=1){var Pt=rt[yt];if(Pt!==void 0)gt[yt]=Pt;else return null}return gt},[rt.join("_"),it])}var Nn=ne.forwardRef(function(rt,it){var gt=rt.className,yt=rt.noData,Pt=rt.columns,wt=rt.flattenColumns,Rt=rt.colWidths,Mt=rt.columCount,At=rt.stickyOffsets,zt=rt.direction,Zt=rt.fixHeader,Ut=rt.stickyTopOffset,cn=rt.stickyBottomOffset,nn=rt.stickyClassName,sn=rt.onScroll,xn=rt.maxContentScroll,yn=rt.children,_n=(0,Le.Z)(rt,zn),bn=ue(ge,["prefixCls","scrollbarSize","isSticky"]),Bn=bn.prefixCls,tr=bn.scrollbarSize,ar=bn.isSticky,Vn=ar&&!Zt?0:tr,Lr=ne.useRef(null),Rr=ne.useCallback(function(Ir){(0,oe.mH)(it,Ir),(0,oe.mH)(Lr,Ir)},[]);ne.useEffect(function(){var Ir;function cr(Hr){var Vr=Hr,So=Vr.currentTarget,eo=Vr.deltaX;eo&&(sn({currentTarget:So,scrollLeft:So.scrollLeft+eo}),Hr.preventDefault())}return(Ir=Lr.current)===null||Ir===void 0||Ir.addEventListener("wheel",cr),function(){var Hr;(Hr=Lr.current)===null||Hr===void 0||Hr.removeEventListener("wheel",cr)}},[]);var Hn=ne.useMemo(function(){return wt.every(function(Ir){return Ir.width})},[wt]),Xn=wt[wt.length-1],Gn={fixed:Xn?Xn.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Bn,"-cell-scrollbar")}}},Dn=(0,ne.useMemo)(function(){return Vn?[].concat((0,fn.Z)(Pt),[Gn]):Pt},[Vn,Pt]),$n=(0,ne.useMemo)(function(){return Vn?[].concat((0,fn.Z)(wt),[Gn]):wt},[Vn,wt]),Pr=(0,ne.useMemo)(function(){var Ir=At.right,cr=At.left;return(0,Pe.Z)((0,Pe.Z)({},At),{},{left:zt==="rtl"?[].concat((0,fn.Z)(cr.map(function(Hr){return Hr+Vn})),[0]):cr,right:zt==="rtl"?Ir:[].concat((0,fn.Z)(Ir.map(function(Hr){return Hr+Vn})),[0]),isSticky:ar})},[Vn,At,ar]),Ur=Un(Rt,Mt);return ne.createElement("div",{style:(0,Pe.Z)({overflow:"hidden"},ar?{top:Ut,bottom:cn}:{}),ref:Rr,className:xe()(gt,(0,we.Z)({},nn,!!nn))},ne.createElement("table",{style:{tableLayout:"fixed",visibility:yt||Ur?null:"hidden"}},(!yt||!xn||Hn)&&ne.createElement(Tn,{colWidths:Ur?[].concat((0,fn.Z)(Ur),[Vn]):[],columCount:Mt+1,columns:$n}),yn((0,Pe.Z)((0,Pe.Z)({},_n),{},{stickyOffsets:Pr,columns:Dn,flattenColumns:$n}))))});Nn.displayName="FixedHolder";var On=ne.memo(Nn);function Mn(rt){var it=rt.cells,gt=rt.stickyOffsets,yt=rt.flattenColumns,Pt=rt.rowComponent,wt=rt.cellComponent,Rt=rt.tdCellComponent,Mt=rt.onHeaderRow,At=rt.index,zt=ue(ge,["prefixCls","direction"]),Zt=zt.prefixCls,Ut=zt.direction,cn;Mt&&(cn=Mt(it.map(function(sn){return sn.column}),At));var nn=Ye(it.map(function(sn){return sn.column}));return ne.createElement(Pt,cn,it.map(function(sn,xn){var yn=sn.column,_n=Qe(sn.colStart,sn.colEnd,yt,gt,Ut,yn),bn;return yn&&yn.onHeaderCell&&(bn=sn.column.onHeaderCell(yn)),ne.createElement(ut,(0,ae.Z)({},sn,{scope:yn.title?sn.colSpan>1?"colgroup":"col":null,ellipsis:yn.ellipsis,align:yn.align,component:yn.title?wt:Rt,prefixCls:Zt,key:nn[xn]},_n,{additionalProps:bn,rowType:"header"}))}))}Mn.displayName="HeaderRow";var Wn=Mn;function qn(rt){var it=[];function gt(Rt,Mt){var At=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;it[At]=it[At]||[];var zt=Mt,Zt=Rt.filter(Boolean).map(function(Ut){var cn={key:Ut.key,className:Ut.className||"",children:Ut.title,column:Ut,colStart:zt},nn=1,sn=Ut.children;return sn&&sn.length>0&&(nn=gt(sn,zt,At+1).reduce(function(xn,yn){return xn+yn},0),cn.hasSubColumns=!0),"colSpan"in Ut&&(nn=Ut.colSpan),"rowSpan"in Ut&&(cn.rowSpan=Ut.rowSpan),cn.colSpan=nn,cn.colEnd=cn.colStart+nn-1,it[At].push(cn),zt+=nn,nn});return Zt}gt(rt,0);for(var yt=it.length,Pt=function(Mt){it[Mt].forEach(function(At){!("rowSpan"in At)&&!At.hasSubColumns&&(At.rowSpan=yt-Mt)})},wt=0;wt<yt;wt+=1)Pt(wt);return it}function Nr(rt){var it=rt.stickyOffsets,gt=rt.columns,yt=rt.flattenColumns,Pt=rt.onHeaderRow,wt=ue(ge,["prefixCls","getComponent"]),Rt=wt.prefixCls,Mt=wt.getComponent,At=ne.useMemo(function(){return qn(gt)},[gt]),zt=Mt(["header","wrapper"],"thead"),Zt=Mt(["header","row"],"tr"),Ut=Mt(["header","cell"],"th"),cn=Mt(["header","cell"],"td");return ne.createElement(zt,{className:"".concat(Rt,"-thead")},At.map(function(nn,sn){var xn=ne.createElement(Wn,{key:sn,flattenColumns:yt,cells:nn,stickyOffsets:it,rowComponent:Zt,cellComponent:Ut,tdCellComponent:cn,onHeaderRow:Pt,index:sn});return xn}))}var er=te(Nr),jr=ve(11592);function sr(rt){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof it=="number"?it:it.endsWith("%")?rt*parseFloat(it)/100:null}function hr(rt,it){return ne.useMemo(function(){if(it&&it>0){var gt=0,yt=0;rt.forEach(function(zt){var Zt=sr(it,zt.width);Zt?gt+=Zt:yt+=1});var Pt=it-gt,wt=yt,Rt=Pt/yt,Mt=0,At=rt.map(function(zt){var Zt=(0,Pe.Z)({},zt),Ut=sr(it,Zt.width);if(Ut)Zt.width=Ut;else{var cn=Math.floor(Rt);Zt.width=wt===1?Pt:cn,Pt-=cn,wt-=1}return Mt+=Zt.width,Zt});return[At,Mt]}return[rt,it]},[rt,it])}var Ot=["children"],It=["fixed"];function _t(rt){return(0,jr.Z)(rt).filter(function(it){return ne.isValidElement(it)}).map(function(it){var gt=it.key,yt=it.props,Pt=yt.children,wt=(0,Le.Z)(yt,Ot),Rt=(0,Pe.Z)({key:gt},wt);return Pt&&(Rt.children=_t(Pt)),Rt})}function tn(rt){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return rt.filter(function(gt){return gt&&(0,ye.Z)(gt)==="object"}).reduce(function(gt,yt,Pt){var wt=yt.fixed,Rt=wt===!0?"left":wt,Mt="".concat(it,"-").concat(Pt),At=yt.children;return At&&At.length>0?[].concat((0,fn.Z)(gt),(0,fn.Z)(tn(At,Mt).map(function(zt){return(0,Pe.Z)({fixed:Rt},zt)}))):[].concat((0,fn.Z)(gt),[(0,Pe.Z)((0,Pe.Z)({key:Mt},yt),{},{fixed:Rt})])},[])}function Fn(rt){for(var it=!0,gt=0;gt<rt.length;gt+=1){var yt=rt[gt];if(it&&yt.fixed!=="left")it=!1;else if(!it&&yt.fixed==="left"){warning(!1,"Index ".concat(gt-1," of `columns` missing `fixed='left'` prop."));break}}for(var Pt=!0,wt=rt.length-1;wt>=0;wt-=1){var Rt=rt[wt];if(Pt&&Rt.fixed!=="right")Pt=!1;else if(!Pt&&Rt.fixed==="right"){warning(!1,"Index ".concat(wt+1," of `columns` missing `fixed='right'` prop."));break}}}function Cn(rt){return rt.map(function(it){var gt=it.fixed,yt=(0,Le.Z)(it,It),Pt=gt;return gt==="left"?Pt="right":gt==="right"&&(Pt="left"),(0,Pe.Z)({fixed:Pt},yt)})}function Br(rt,it){var gt=rt.prefixCls,yt=rt.columns,Pt=rt.children,wt=rt.expandable,Rt=rt.expandedKeys,Mt=rt.columnTitle,At=rt.getRowKey,zt=rt.onTriggerExpand,Zt=rt.expandIcon,Ut=rt.rowExpandable,cn=rt.expandIconColumnIndex,nn=rt.direction,sn=rt.expandRowByClick,xn=rt.columnWidth,yn=rt.fixed,_n=rt.scrollWidth,bn=ne.useMemo(function(){return yt||_t(Pt)},[yt,Pt]),Bn=ne.useMemo(function(){if(wt){var Xn,Gn=bn.slice();if(!Gn.includes(be)){var Dn=cn||0;Dn>=0&&Gn.splice(Dn,0,be)}var $n=Gn.indexOf(be);Gn=Gn.filter(function(cr,Hr){return cr!==be||Hr===$n});var Pr=bn[$n],Ur;(yn==="left"||yn)&&!cn?Ur="left":(yn==="right"||yn)&&cn===bn.length?Ur="right":Ur=Pr?Pr.fixed:null;var Ir=(Xn={},(0,we.Z)(Xn,dn,{className:"".concat(gt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,we.Z)(Xn,"title",Mt),(0,we.Z)(Xn,"fixed",Ur),(0,we.Z)(Xn,"className","".concat(gt,"-row-expand-icon-cell")),(0,we.Z)(Xn,"width",xn),(0,we.Z)(Xn,"render",function(Hr,Vr,So){var eo=At(Vr,So),Fo=Rt.has(eo),Bo=Ut?Ut(Vr):!0,Mr=Zt({prefixCls:gt,expanded:Fo,expandable:Bo,record:Vr,onExpand:zt});return sn?ne.createElement("span",{onClick:function(ro){return ro.stopPropagation()}},Mr):Mr}),Xn);return Gn.map(function(cr){return cr===be?Ir:cr})}return bn.filter(function(cr){return cr!==be})},[wt,bn,At,Rt,Zt,nn]),tr=ne.useMemo(function(){var Xn=Bn;return it&&(Xn=it(Xn)),Xn.length||(Xn=[{render:function(){return null}}]),Xn},[it,Bn,nn]),ar=ne.useMemo(function(){return nn==="rtl"?Cn(tn(tr)):tn(tr)},[tr,nn,_n]),Vn=hr(ar,_n),Lr=(0,E.Z)(Vn,2),Rr=Lr[0],Hn=Lr[1];return[tr,Rr,Hn]}var or=Br;function Ht(rt){var it,gt=rt.prefixCls,yt=rt.record,Pt=rt.onExpand,wt=rt.expanded,Rt=rt.expandable,Mt="".concat(gt,"-row-expand-icon");if(!Rt)return ne.createElement("span",{className:xe()(Mt,"".concat(gt,"-row-spaced"))});var At=function(Zt){Pt(yt,Zt),Zt.stopPropagation()};return ne.createElement("span",{className:xe()(Mt,(it={},(0,we.Z)(it,"".concat(gt,"-row-expanded"),wt),(0,we.Z)(it,"".concat(gt,"-row-collapsed"),!wt),it)),onClick:At})}function Lt(rt,it,gt){var yt=[];function Pt(wt){(wt||[]).forEach(function(Rt,Mt){yt.push(it(Rt,Mt)),Pt(Rt[gt])})}return Pt(rt),yt}function rn(rt,it,gt){var yt=en(rt),Pt=yt.expandIcon,wt=yt.expandedRowKeys,Rt=yt.defaultExpandedRowKeys,Mt=yt.defaultExpandAllRows,At=yt.expandedRowRender,zt=yt.onExpand,Zt=yt.onExpandedRowsChange,Ut=yt.childrenColumnName,cn=Pt||Ht,nn=Ut||"children",sn=ne.useMemo(function(){return At?"row":rt.expandable&&rt.internalHooks===_e&&rt.expandable.__PARENT_RENDER_ICON__||it.some(function(ar){return ar&&(0,ye.Z)(ar)==="object"&&ar[nn]})?"nest":!1},[!!At,it]),xn=ne.useState(function(){return Rt||(Mt?Lt(it,gt,nn):[])}),yn=(0,E.Z)(xn,2),_n=yn[0],bn=yn[1],Bn=ne.useMemo(function(){return new Set(wt||_n||[])},[wt,_n]),tr=ne.useCallback(function(ar){var Vn=gt(ar,it.indexOf(ar)),Lr,Rr=Bn.has(Vn);Rr?(Bn.delete(Vn),Lr=(0,fn.Z)(Bn)):Lr=[].concat((0,fn.Z)(Bn),[Vn]),bn(Lr),zt&&zt(!Rr,ar),Zt&&Zt(Lr)},[gt,Bn,it,zt,Zt]);return[yt,sn,Bn,cn,nn,tr]}function jt(rt,it,gt,yt){var Pt=rt.map(function(wt,Rt){return Qe(Rt,Rt,rt,it,gt,yt==null?void 0:yt[Rt])});return(0,Ae.Z)(function(){return Pt},[Pt],function(wt,Rt){return!(0,se.Z)(wt,Rt)})}function un(rt){var it=(0,ne.useRef)(rt),gt=(0,ne.useState)({}),yt=(0,E.Z)(gt,2),Pt=yt[1],wt=(0,ne.useRef)(null),Rt=(0,ne.useRef)([]);function Mt(At){Rt.current.push(At);var zt=Promise.resolve();wt.current=zt,zt.then(function(){if(wt.current===zt){var Zt=Rt.current,Ut=it.current;Rt.current=[],Zt.forEach(function(cn){it.current=cn(it.current)}),wt.current=null,Ut!==it.current&&Pt({})}})}return(0,ne.useEffect)(function(){return function(){wt.current=null}},[]),[it.current,Mt]}function En(rt){var it=(0,ne.useRef)(rt||null),gt=(0,ne.useRef)();function yt(){window.clearTimeout(gt.current)}function Pt(Rt){it.current=Rt,yt(),gt.current=window.setTimeout(function(){it.current=null,gt.current=void 0},100)}function wt(){return it.current}return(0,ne.useEffect)(function(){return yt},[]),[Pt,wt]}function jn(){var rt=ne.useState(-1),it=(0,E.Z)(rt,2),gt=it[0],yt=it[1],Pt=ne.useState(-1),wt=(0,E.Z)(Pt,2),Rt=wt[0],Mt=wt[1],At=ne.useCallback(function(zt,Zt){yt(zt),Mt(Zt)},[]);return[gt,Rt,At]}var Sn=ve(47273),St=(0,Sn.Z)()?window:null;function Bt(rt,it){var gt=(0,ye.Z)(rt)==="object"?rt:{},yt=gt.offsetHeader,Pt=yt===void 0?0:yt,wt=gt.offsetSummary,Rt=wt===void 0?0:wt,Mt=gt.offsetScroll,At=Mt===void 0?0:Mt,zt=gt.getContainer,Zt=zt===void 0?function(){return St}:zt,Ut=Zt()||St;return ne.useMemo(function(){var cn=!!rt;return{isSticky:cn,stickyClassName:cn?"".concat(it,"-sticky-holder"):"",offsetHeader:Pt,offsetSummary:Rt,offsetScroll:At,container:Ut}},[At,Pt,Rt,it,Ut])}function Nt(rt,it,gt){var yt=(0,ne.useMemo)(function(){for(var Pt=[],wt=[],Rt=0,Mt=0,At=0;At<it;At+=1)if(gt==="rtl"){wt[At]=Mt,Mt+=rt[At]||0;var zt=it-At-1;Pt[zt]=Rt,Rt+=rt[zt]||0}else{Pt[At]=Rt,Rt+=rt[At]||0;var Zt=it-At-1;wt[Zt]=Mt,Mt+=rt[Zt]||0}return{left:Pt,right:wt}},[rt,it,gt]);return yt}var Ct=Nt;function Xt(rt){var it=rt.className,gt=rt.children;return ne.createElement("div",{className:it},gt)}var Vt=Xt,Wt=ve(8224),Kt=ve(55468),In=function(it,gt){var yt,Pt,wt=it.scrollBodyRef,Rt=it.onScroll,Mt=it.offsetScroll,At=it.container,zt=ue(ge,"prefixCls"),Zt=((yt=wt.current)===null||yt===void 0?void 0:yt.scrollWidth)||0,Ut=((Pt=wt.current)===null||Pt===void 0?void 0:Pt.clientWidth)||0,cn=Zt&&Ut*(Ut/Zt),nn=ne.useRef(),sn=un({scrollLeft:0,isHiddenScrollBar:!1}),xn=(0,E.Z)(sn,2),yn=xn[0],_n=xn[1],bn=ne.useRef({delta:0,x:0}),Bn=ne.useState(!1),tr=(0,E.Z)(Bn,2),ar=tr[0],Vn=tr[1],Lr=function(){Vn(!1)},Rr=function($n){$n.persist(),bn.current.delta=$n.pageX-yn.scrollLeft,bn.current.x=0,Vn(!0),$n.preventDefault()},Hn=function($n){var Pr,Ur=$n||((Pr=window)===null||Pr===void 0?void 0:Pr.event),Ir=Ur.buttons;if(!ar||Ir===0){ar&&Vn(!1);return}var cr=bn.current.x+$n.pageX-bn.current.x-bn.current.delta;cr<=0&&(cr=0),cr+cn>=Ut&&(cr=Ut-cn),Rt({scrollLeft:cr/Ut*(Zt+2)}),bn.current.x=$n.pageX},Xn=function(){if(wt.current){var $n=(0,Kt.os)(wt.current).top,Pr=$n+wt.current.offsetHeight,Ur=At===window?document.documentElement.scrollTop+window.innerHeight:(0,Kt.os)(At).top+At.clientHeight;Pr-(0,nt.Z)()<=Ur||$n>=Ur-Mt?_n(function(Ir){return(0,Pe.Z)((0,Pe.Z)({},Ir),{},{isHiddenScrollBar:!0})}):_n(function(Ir){return(0,Pe.Z)((0,Pe.Z)({},Ir),{},{isHiddenScrollBar:!1})})}},Gn=function($n){_n(function(Pr){return(0,Pe.Z)((0,Pe.Z)({},Pr),{},{scrollLeft:$n/Zt*Ut||0})})};return ne.useImperativeHandle(gt,function(){return{setScrollLeft:Gn}}),ne.useEffect(function(){var Dn=(0,Wt.Z)(document.body,"mouseup",Lr,!1),$n=(0,Wt.Z)(document.body,"mousemove",Hn,!1);return Xn(),function(){Dn.remove(),$n.remove()}},[cn,ar]),ne.useEffect(function(){var Dn=(0,Wt.Z)(At,"scroll",Xn,!1),$n=(0,Wt.Z)(window,"resize",Xn,!1);return function(){Dn.remove(),$n.remove()}},[At]),ne.useEffect(function(){yn.isHiddenScrollBar||_n(function(Dn){var $n=wt.current;return $n?(0,Pe.Z)((0,Pe.Z)({},Dn),{},{scrollLeft:$n.scrollLeft/$n.scrollWidth*$n.clientWidth}):Dn})},[yn.isHiddenScrollBar]),Zt<=Ut||!cn||yn.isHiddenScrollBar?null:ne.createElement("div",{style:{height:(0,nt.Z)(),width:Ut,bottom:Mt},className:"".concat(zt,"-sticky-scroll")},ne.createElement("div",{onMouseDown:Rr,ref:nn,className:xe()("".concat(zt,"-sticky-scroll-bar"),(0,we.Z)({},"".concat(zt,"-sticky-scroll-bar-active"),ar)),style:{width:"".concat(cn,"px"),transform:"translate3d(".concat(yn.scrollLeft,"px, 0, 0)")}}))},Rn=ne.forwardRef(In);function kt(rt){return null}var yr=kt;function nr(rt){return null}var rr=nr,Kr="rc-table",gn=[],vn={};function Zn(){return"No Data"}function Pn(rt){var it,gt=(0,Pe.Z)({rowKey:"key",prefixCls:Kr,emptyText:Zn},rt),yt=gt.prefixCls,Pt=gt.className,wt=gt.rowClassName,Rt=gt.style,Mt=gt.data,At=gt.rowKey,zt=gt.scroll,Zt=gt.tableLayout,Ut=gt.direction,cn=gt.title,nn=gt.footer,sn=gt.summary,xn=gt.caption,yn=gt.id,_n=gt.showHeader,bn=gt.components,Bn=gt.emptyText,tr=gt.onRow,ar=gt.onHeaderRow,Vn=gt.internalHooks,Lr=gt.transformColumns,Rr=gt.internalRefs,Hn=gt.tailor,Xn=gt.sticky,Gn=Mt||gn,Dn=!!Gn.length,$n=Vn===_e,Pr=ne.useCallback(function(fo,Oo){return(0,Ce.Z)(bn,fo)||Oo},[bn]),Ur=ne.useMemo(function(){return typeof At=="function"?At:function(fo){var Oo=fo&&fo[At];return Oo}},[At]),Ir=Pr(["body"]),cr=jn(),Hr=(0,E.Z)(cr,3),Vr=Hr[0],So=Hr[1],eo=Hr[2],Fo=rn(gt,Gn,Ur),Bo=(0,E.Z)(Fo,6),Mr=Bo[0],Wo=Bo[1],ro=Bo[2],_o=Bo[3],Eo=Bo[4],la=Bo[5],vr=zt==null?void 0:zt.x,gr=ne.useState(0),ur=(0,E.Z)(gr,2),Jn=ur[0],oo=ur[1],Qn=or((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},gt),Mr),{},{expandable:!!Mr.expandedRowRender,columnTitle:Mr.columnTitle,expandedKeys:ro,getRowKey:Ur,onTriggerExpand:la,expandIcon:_o,expandIconColumnIndex:Mr.expandIconColumnIndex,direction:Ut,scrollWidth:$n&&Hn&&typeof vr=="number"?vr:null}),$n?Lr:null),Dr=(0,E.Z)(Qn,3),Qr=Dr[0],Yr=Dr[1],ta=Dr[2],Qo=ta!=null?ta:vr,ba=ne.useMemo(function(){return{columns:Qr,flattenColumns:Yr}},[Qr,Yr]),Zo=ne.useRef(),va=ne.useRef(),Ko=ne.useRef(),ca=ne.useRef(),Ga=ne.useRef(),so=ne.useState(!1),uo=(0,E.Z)(so,2),Ao=uo[0],$o=uo[1],Vo=ne.useState(!1),Xr=(0,E.Z)(Vo,2),aa=Xr[0],na=Xr[1],pa=un(new Map),xa=(0,E.Z)(pa,2),Pa=xa[0],ei=xa[1],Aa=Ye(Yr),ya=Aa.map(function(fo){return Pa.get(fo)}),ua=ne.useMemo(function(){return ya},[ya.join("_")]),ia=Ct(ua,Yr.length,Ut),Xo=zt&&Ve(zt.y),Do=zt&&Ve(Qo)||!!Mr.fixed,_a=Do&&Yr.some(function(fo){var Oo=fo.fixed;return Oo}),Wa=ne.useRef(),Ra=Bt(Xn,yt),Oa=Ra.isSticky,li=Ra.offsetHeader,Pi=Ra.offsetSummary,qr=Ra.offsetScroll,Co=Ra.stickyClassName,qo=Ra.container,jo=ne.useMemo(function(){return sn==null?void 0:sn(Gn)},[sn,Gn]),ra=(Xo||Oa)&&ne.isValidElement(jo)&&jo.type===Me&&jo.props.fixed,da,fa,Da;Xo&&(fa={overflowY:"scroll",maxHeight:zt.y}),Do&&(da={overflowX:"auto"},Xo||(fa={overflowY:"hidden"}),Da={width:Qo===!0?"auto":Qo,minWidth:"100%"});var Mi=ne.useCallback(function(fo,Oo){(0,at.Z)(Zo.current)&&ei(function(Sa){if(Sa.get(fo)!==Oo){var Ma=new Map(Sa);return Ma.set(fo,Oo),Ma}return Sa})},[]),Ls=En(null),Fi=(0,E.Z)(Ls,2),As=Fi[0],Bi=Fi[1];function ci(fo,Oo){Oo&&(typeof Oo=="function"?Oo(fo):Oo.scrollLeft!==fo&&(Oo.scrollLeft=fo,Oo.scrollLeft!==fo&&setTimeout(function(){Oo.scrollLeft=fo},0)))}var Za=(0,pe.Z)(function(fo){var Oo=fo.currentTarget,Sa=fo.scrollLeft,Ma=Ut==="rtl",Fa=typeof Sa=="number"?Sa:Oo.scrollLeft,Qi=Oo||vn;if(!Bi()||Bi()===Qi){var _i;As(Qi),ci(Fa,va.current),ci(Fa,Ko.current),ci(Fa,Ga.current),ci(Fa,(_i=Wa.current)===null||_i===void 0?void 0:_i.setScrollLeft)}var Oi=Oo||va.current;if(Oi){var Ti=Oi.scrollWidth,Li=Oi.clientWidth;if(Ti===Li){$o(!1),na(!1);return}Ma?($o(-Fa<Ti-Li),na(-Fa>0)):($o(Fa>0),na(Fa<Ti-Li))}}),Ni=function(){Do&&Ko.current?Za({currentTarget:Ko.current}):($o(!1),na(!1))},Ds=function(Oo){var Sa=Oo.width;Sa!==Jn&&(Ni(),oo(Zo.current?Zo.current.offsetWidth:Sa))},ki=ne.useRef(!1);ne.useEffect(function(){ki.current&&Ni()},[Do,Mt,Qr.length]),ne.useEffect(function(){ki.current=!0},[]);var js=ne.useState(0),zi=(0,E.Z)(js,2),ui=zi[0],Ui=zi[1],Is=ne.useState(!0),Hi=(0,E.Z)(Is,2),Gi=Hi[0],Rs=Hi[1];ne.useEffect(function(){(!Hn||!$n)&&(Ko.current instanceof Element?Ui((0,nt.o)(Ko.current).width):Ui((0,nt.o)(ca.current).width)),Rs((0,He.G)("position","sticky"))},[]),ne.useEffect(function(){$n&&Rr&&(Rr.body.current=Ko.current)});var Ms=ne.useCallback(function(fo){return ne.createElement(ne.Fragment,null,ne.createElement(er,fo),ra==="top"&&ne.createElement(Oe,fo,jo))},[ra,jo]),Fs=ne.useCallback(function(fo){return ne.createElement(Oe,fo,jo)},[jo]),Wi=Pr(["table"],"table"),di=ne.useMemo(function(){return Zt||(_a?Qo==="max-content"?"auto":"fixed":Xo||Oa||Yr.some(function(fo){var Oo=fo.ellipsis;return Oo})?"fixed":"auto")},[Xo,_a,Yr,Zt,Oa]),wi,Ci={colWidths:ua,columCount:Yr.length,stickyOffsets:ia,onHeaderRow:ar,fixHeader:Xo,scroll:zt},Zi=ne.useMemo(function(){return Dn?null:typeof Bn=="function"?Bn():Bn},[Dn,Bn]),Ki=ne.createElement(Dt,{data:Gn,measureColumnWidth:Xo||Do||Oa}),$i=ne.createElement(Tn,{colWidths:Yr.map(function(fo){var Oo=fo.width;return Oo}),columns:Yr}),Vi=xn!=null?ne.createElement("caption",{className:"".concat(yt,"-caption")},xn):void 0,Bs=(0,ft.Z)(gt,{data:!0}),Xi=(0,ft.Z)(gt,{aria:!0});if(Xo||Oa){var Ei;typeof Ir=="function"?(Ei=Ir(Gn,{scrollbarSize:ui,ref:Ko,onScroll:Za}),Ci.colWidths=Yr.map(function(fo,Oo){var Sa=fo.width,Ma=Oo===Yr.length-1?Sa-ui:Sa;return typeof Ma=="number"&&!Number.isNaN(Ma)?Ma:0})):Ei=ne.createElement("div",{style:(0,Pe.Z)((0,Pe.Z)({},da),fa),onScroll:Za,ref:Ko,className:xe()("".concat(yt,"-body"))},ne.createElement(Wi,(0,ae.Z)({style:(0,Pe.Z)((0,Pe.Z)({},Da),{},{tableLayout:di})},Xi),Vi,$i,Ki,!ra&&jo&&ne.createElement(Oe,{stickyOffsets:ia,flattenColumns:Yr,columns:Qr},jo)));var Yi=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({noData:!Gn.length,maxContentScroll:Do&&Qo==="max-content"},Ci),ba),{},{direction:Ut,stickyClassName:Co,onScroll:Za});wi=ne.createElement(ne.Fragment,null,_n!==!1&&ne.createElement(On,(0,ae.Z)({},Yi,{stickyTopOffset:li,className:"".concat(yt,"-header"),ref:va}),Ms),Ei,ra&&ra!=="top"&&ne.createElement(On,(0,ae.Z)({},Yi,{stickyBottomOffset:Pi,className:"".concat(yt,"-summary"),ref:Ga}),Fs),Oa&&ne.createElement(Rn,{ref:Wa,offsetScroll:qr,scrollBodyRef:Ko,onScroll:Za,container:qo}))}else wi=ne.createElement("div",{style:(0,Pe.Z)((0,Pe.Z)({},da),fa),className:xe()("".concat(yt,"-content")),onScroll:Za,ref:Ko},ne.createElement(Wi,(0,ae.Z)({style:(0,Pe.Z)((0,Pe.Z)({},Da),{},{tableLayout:di})},Xi),Vi,$i,_n!==!1&&ne.createElement(er,(0,ae.Z)({},Ci,ba)),Ki,jo&&ne.createElement(Oe,{stickyOffsets:ia,flattenColumns:Yr,columns:Qr},jo)));var xi=ne.createElement("div",(0,ae.Z)({className:xe()(yt,Pt,(it={},(0,we.Z)(it,"".concat(yt,"-rtl"),Ut==="rtl"),(0,we.Z)(it,"".concat(yt,"-ping-left"),Ao),(0,we.Z)(it,"".concat(yt,"-ping-right"),aa),(0,we.Z)(it,"".concat(yt,"-layout-fixed"),Zt==="fixed"),(0,we.Z)(it,"".concat(yt,"-fixed-header"),Xo),(0,we.Z)(it,"".concat(yt,"-fixed-column"),_a),(0,we.Z)(it,"".concat(yt,"-scroll-horizontal"),Do),(0,we.Z)(it,"".concat(yt,"-has-fix-left"),Yr[0]&&Yr[0].fixed),(0,we.Z)(it,"".concat(yt,"-has-fix-right"),Yr[Yr.length-1]&&Yr[Yr.length-1].fixed==="right"),it)),style:Rt,id:yn,ref:Zo},Bs),cn&&ne.createElement(Vt,{className:"".concat(yt,"-title")},cn(Gn)),ne.createElement("div",{ref:ca,className:"".concat(yt,"-container")},wi),nn&&ne.createElement(Vt,{className:"".concat(yt,"-footer")},nn(Gn)));Do&&(xi=ne.createElement(Ke.Z,{onResize:Ds},xi));var Ji=jt(Yr,ia,Ut,Qr),Ns=ne.useMemo(function(){return{scrollX:Qo,prefixCls:yt,getComponent:Pr,scrollbarSize:ui,direction:Ut,fixedInfoList:Ji,isSticky:Oa,supportSticky:Gi,componentWidth:Jn,fixHeader:Xo,fixColumn:_a,horizonScroll:Do,tableLayout:di,rowClassName:wt,expandedRowClassName:Mr.expandedRowClassName,expandIcon:_o,expandableType:Wo,expandRowByClick:Mr.expandRowByClick,expandedRowRender:Mr.expandedRowRender,onTriggerExpand:la,expandIconColumnIndex:Mr.expandIconColumnIndex,indentSize:Mr.indentSize,allColumnsFixedLeft:Yr.every(function(fo){return fo.fixed==="left"}),emptyNode:Zi,columns:Qr,flattenColumns:Yr,onColumnResize:Mi,hoverStartRow:Vr,hoverEndRow:So,onHover:eo,rowExpandable:Mr.rowExpandable,onRow:tr,getRowKey:Ur,expandedKeys:ro,childrenColumnName:Eo}},[Qo,yt,Pr,ui,Ut,Ji,Oa,Gi,Jn,Xo,_a,Do,di,wt,Mr.expandedRowClassName,_o,Wo,Mr.expandRowByClick,Mr.expandedRowRender,la,Mr.expandIconColumnIndex,Mr.indentSize,Zi,Qr,Yr,Mi,Vr,So,eo,Mr.rowExpandable,tr,Ur,ro,Eo]);return ne.createElement(ge.Provider,{value:Ns},xi)}function Sr(rt){return ee(Pn,rt)}var dr=Sr();dr.EXPAND_COLUMN=be,dr.INTERNAL_HOOKS=_e,dr.Column=yr,dr.ColumnGroup=rr,dr.Summary=Ee;var Yn=dr,kr=ve(48911),Cr=ce(null),Po=ce(null);function po(rt,it,gt){var yt=it||1;return gt[rt+yt]-(gt[rt]||0)}function io(rt){var it=rt.rowInfo,gt=rt.column,yt=rt.colIndex,Pt=rt.indent,wt=rt.index,Rt=rt.renderIndex,Mt=rt.record,At=rt.style,zt=rt.className,Zt=rt.inverse,Ut=rt.getHeight,cn=gt.render,nn=gt.dataIndex,sn=gt.className,xn=gt.width,yn=ue(Po,["columnsOffset"]),_n=yn.columnsOffset,bn=st(it,gt,yt,Pt,wt),Bn=bn.key,tr=bn.fixedInfo,ar=bn.appendCellNode,Vn=bn.additionalCellProps,Lr=Vn.style,Rr=Vn.colSpan,Hn=Rr===void 0?1:Rr,Xn=Vn.rowSpan,Gn=Xn===void 0?1:Xn,Dn=yt-1,$n=po(Dn,Hn,_n),Pr=Hn>1?xn-$n:0,Ur=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},Lr),At),{},{flex:"0 0 ".concat($n,"px"),width:"".concat($n,"px"),marginRight:Pr,pointerEvents:"auto"}),Ir=ne.useMemo(function(){return Zt?Gn<=1:Hn===0||Gn===0||Gn>1},[Gn,Hn,Zt]);Ir?Ur.visibility="hidden":Zt&&(Ur.height=Ut==null?void 0:Ut(Gn));var cr=Ir?function(){return null}:cn,Hr={};return(Gn===0||Hn===0)&&(Hr.rowSpan=1,Hr.colSpan=1),ne.createElement(ut,(0,ae.Z)({className:xe()(sn,zt),ellipsis:gt.ellipsis,align:gt.align,scope:gt.rowScope,component:"div",prefixCls:it.prefixCls,key:Bn,record:Mt,index:wt,renderIndex:Rt,dataIndex:nn,render:cr,shouldCellUpdate:gt.shouldCellUpdate},tr,{appendNode:ar,additionalProps:(0,Pe.Z)((0,Pe.Z)({},Vn),{},{style:Ur},Hr)}))}var ko=io,Io=["data","index","className","rowKey","style","extra","getHeight"],pn=ne.forwardRef(function(rt,it){var gt=rt.data,yt=rt.index,Pt=rt.className,wt=rt.rowKey,Rt=rt.style,Mt=rt.extra,At=rt.getHeight,zt=(0,Le.Z)(rt,Io),Zt=gt.record,Ut=gt.indent,cn=gt.index,nn=ue(ge,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),sn=nn.scrollX,xn=nn.flattenColumns,yn=nn.prefixCls,_n=nn.fixColumn,bn=nn.componentWidth,Bn=ot(Zt,wt,yt,Ut),tr=Bn.rowSupportExpand,ar=Bn.expanded,Vn=Bn.rowProps,Lr=Bn.expandedRowRender,Rr=Bn.expandedRowClassName,Hn;if(tr&&ar){var Xn=Lr(Zt,yt,Ut+1,ar),Gn=Rr==null?void 0:Rr(Zt,yt,Ut),Dn={};_n&&(Dn={style:(0,we.Z)({},"--virtual-width","".concat(bn,"px"))});var $n="".concat(yn,"-expanded-row-cell");Hn=ne.createElement("div",{className:xe()("".concat(yn,"-expanded-row"),"".concat(yn,"-expanded-row-level-").concat(Ut+1),Gn)},ne.createElement(ut,{component:"div",prefixCls:yn,className:xe()($n,(0,we.Z)({},"".concat($n,"-fixed"),_n)),additionalProps:Dn},Xn))}var Pr=(0,Pe.Z)((0,Pe.Z)({},Rt),{},{width:sn});Mt&&(Pr.position="absolute",Pr.pointerEvents="none");var Ur=ne.createElement("div",(0,ae.Z)({},Vn,zt,{ref:tr?null:it,className:xe()(Pt,"".concat(yn,"-row"),Vn==null?void 0:Vn.className,(0,we.Z)({},"".concat(yn,"-row-extra"),Mt)),style:(0,Pe.Z)((0,Pe.Z)({},Pr),Vn==null?void 0:Vn.style)}),xn.map(function(Ir,cr){return ne.createElement(ko,{key:cr,rowInfo:Bn,column:Ir,colIndex:cr,indent:Ut,index:yt,renderIndex:cn,record:Zt,inverse:Mt,getHeight:At})}));return tr?ne.createElement("div",{ref:it},Ur,Hn):Ur}),Ro=te(pn),mo=Ro,zr=ne.forwardRef(function(rt,it){var gt=rt.data,yt=rt.onScroll,Pt=ue(ge,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),wt=Pt.flattenColumns,Rt=Pt.onColumnResize,Mt=Pt.getRowKey,At=Pt.expandedKeys,zt=Pt.prefixCls,Zt=Pt.childrenColumnName,Ut=Pt.emptyNode,cn=Pt.scrollX,nn=ue(Cr),sn=nn.scrollY,xn=nn.listItemHeight,yn=ne.useRef(),_n=pt(gt,Zt,At,Mt),bn=ne.useMemo(function(){var Hn=0;return wt.map(function(Xn){var Gn=Xn.width,Dn=Xn.key;return Hn+=Gn,[Dn,Gn,Hn]})},[wt]),Bn=ne.useMemo(function(){return bn.map(function(Hn){return Hn[2]})},[bn]);ne.useEffect(function(){bn.forEach(function(Hn){var Xn=(0,E.Z)(Hn,2),Gn=Xn[0],Dn=Xn[1];Rt(Gn,Dn)})},[bn]),ne.useImperativeHandle(it,function(){var Hn={};return Object.defineProperty(Hn,"scrollLeft",{get:function(){var Gn;return((Gn=yn.current)===null||Gn===void 0?void 0:Gn.getScrollInfo().x)||0},set:function(Gn){var Dn;(Dn=yn.current)===null||Dn===void 0||Dn.scrollTo({left:Gn})}}),Hn});var tr=function(Xn,Gn){var Dn,$n=(Dn=_n[Gn])===null||Dn===void 0?void 0:Dn.record,Pr=Xn.onCell;if(Pr){var Ur,Ir=Pr($n,Gn);return(Ur=Ir==null?void 0:Ir.rowSpan)!==null&&Ur!==void 0?Ur:1}return 1},ar=function(Xn){var Gn=Xn.start,Dn=Xn.end,$n=Xn.getSize,Pr=Xn.offsetY;if(Dn<0)return null;for(var Ur=wt.filter(function(vr){return tr(vr,Gn)===0}),Ir=Gn,cr=function(gr){if(Ur=Ur.filter(function(ur){return tr(ur,gr)===0}),!Ur.length)return Ir=gr,"break"},Hr=Gn;Hr>=0;Hr-=1){var Vr=cr(Hr);if(Vr==="break")break}for(var So=wt.filter(function(vr){return tr(vr,Dn)!==1}),eo=Dn,Fo=function(gr){if(So=So.filter(function(ur){return tr(ur,gr)!==1}),!So.length)return eo=Math.max(gr-1,Dn),"break"},Bo=Dn;Bo<_n.length;Bo+=1){var Mr=Fo(Bo);if(Mr==="break")break}for(var Wo=[],ro=function(gr){var ur=_n[gr];if(!ur)return"continue";wt.some(function(Jn){return tr(Jn,gr)>1})&&Wo.push(gr)},_o=Ir;_o<=eo;_o+=1)var Eo=ro(_o);var la=Wo.map(function(vr){var gr=_n[vr],ur=Mt(gr.record,vr),Jn=function(Dr){var Qr=vr+Dr-1,Yr=Mt(_n[Qr].record,Qr),ta=$n(ur,Yr);return ta.bottom-ta.top},oo=$n(ur);return ne.createElement(mo,{key:vr,data:gr,rowKey:ur,index:vr,style:{top:-Pr+oo.top},extra:!0,getHeight:Jn})});return la},Vn=ne.useMemo(function(){return{columnsOffset:Bn}},[Bn]),Lr="".concat(zt,"-tbody"),Rr;return _n.length?Rr=ne.createElement(kr.Z,{fullHeight:!1,ref:yn,className:xe()(Lr,"".concat(Lr,"-virtual")),height:sn,itemHeight:xn||24,data:_n,itemKey:function(Xn){return Mt(Xn.record)},scrollWidth:cn,onVirtualScroll:function(Xn){var Gn=Xn.x;yt({scrollLeft:Gn})},extraRender:ar},function(Hn,Xn,Gn){var Dn=Mt(Hn.record,Xn);return ne.createElement(mo,(0,ae.Z)({data:Hn,rowKey:Dn,index:Xn},Gn))}):Rr=ne.createElement("div",{className:xe()("".concat(zt,"-placeholder"))},ne.createElement(ut,{component:"div",prefixCls:zt},Ut)),ne.createElement(Po.Provider,{value:Vn},Rr)}),bo=te(zr),to=bo,lo=function(it,gt){var yt=gt.ref,Pt=gt.onScroll;return ne.createElement(to,{ref:yt,data:it,onScroll:Pt})},vo=100;function fr(rt){var it=rt.columns,gt=rt.scroll,yt=rt.prefixCls,Pt=yt===void 0?Kr:yt,wt=rt.className,Rt=rt.listItemHeight,Mt=gt||{},At=Mt.x,zt=Mt.y;typeof At!="number"&&(At=((it||[]).length+1)*vo),typeof zt!="number"&&(zt=500);var Zt=ne.useMemo(function(){return{scrollY:zt,listItemHeight:Rt}},[zt,Rt]);return ne.createElement(Cr.Provider,{value:Zt},ne.createElement(Yn,(0,ae.Z)({},rt,{className:xe()(wt,"".concat(Pt,"-virtual")),scroll:(0,Pe.Z)((0,Pe.Z)({},gt),{},{x:At}),components:{body:lo},columns:it,internalHooks:_e,tailor:!0})))}function wr(rt){return ee(fr,rt)}var Er=wr(),xr=null;function ao(rt){return null}var To=ao;function wo(rt){return null}var Lo=wo,Yo=ve(2738),Mo=ve(68031),$r=ve(36355),no=ve(93891),zo=ve(19716),Tt=ve(8628),Gt=ve(31724),on=ve(58421),ln=ve(71418),Qt=ve(88088);function Yt(rt){return function(gt){let{prefixCls:yt,onExpand:Pt,record:wt,expanded:Rt,expandable:Mt}=gt;const At=`${yt}-row-expand-icon`;return ne.createElement("button",{type:"button",onClick:zt=>{Pt(wt,zt),zt.stopPropagation()},className:xe()(At,{[`${At}-spaced`]:!Mt,[`${At}-expanded`]:Mt&&Rt,[`${At}-collapsed`]:Mt&&!Rt}),"aria-label":Rt?rt.collapse:rt.expand,"aria-expanded":Rt})}}var qt=Yt;function an(rt,it){return"key"in rt&&rt.key!==void 0&&rt.key!==null?rt.key:rt.dataIndex?Array.isArray(rt.dataIndex)?rt.dataIndex.join("."):rt.dataIndex:it}function hn(rt,it){return it?`${it}-${rt}`:`${rt}`}function Ln(rt,it){return typeof rt=="function"?rt(it):rt}function mn(rt,it){const gt=Ln(rt,it);return Object.prototype.toString.call(gt)==="[object Object]"?"":gt}var _r={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"},Kn=_r,Jr=ve(7657),lr=function(it,gt){return ne.createElement(Jr.Z,(0,ae.Z)({},it,{ref:gt,icon:Kn}))},kn=ne.forwardRef(lr),pr=kn,br=ve(56762);function An(rt){const it=ne.useRef(rt),gt=(0,br.Z)();return[()=>it.current,yt=>{it.current=yt,gt()}]}var Or=ve(3113),Gr=ve(24905),Tr=ve(38854),mr=ve(64165),Fr=ve(20834),co=ve(40875),ho=ve(5112),Uo=ve(17574),yo=ve(47472),Ho=ve(92832);function sa(rt){let{value:it,onChange:gt,filterSearch:yt,tablePrefixCls:Pt,locale:wt}=rt;return yt?ne.createElement("div",{className:`${Pt}-filter-dropdown-search`},ne.createElement(Ho.default,{prefix:ne.createElement(yo.Z,null),placeholder:wt.filterSearchPlaceholder,onChange:gt,value:it,htmlSize:1,className:`${Pt}-filter-dropdown-search-input`})):null}var xo=sa,ja=ve(10228);const Ba=rt=>{const{keyCode:it}=rt;it===ja.Z.ENTER&&rt.stopPropagation()};var Na=ne.forwardRef((rt,it)=>ne.createElement("div",{className:rt.className,onClick:gt=>gt.stopPropagation(),onKeyDown:Ba,ref:it},rt.children));function No(rt){let it=[];return(rt||[]).forEach(gt=>{let{value:yt,children:Pt}=gt;it.push(yt),Pt&&(it=[].concat((0,fn.Z)(it),(0,fn.Z)(No(Pt))))}),it}function Ar(rt){return rt.some(it=>{let{children:gt}=it;return gt})}function Wr(rt,it){return typeof it=="string"||typeof it=="number"?it==null?void 0:it.toString().toLowerCase().includes(rt.trim().toLowerCase()):!1}function Jo(rt){let{filters:it,prefixCls:gt,filteredKeys:yt,filterMultiple:Pt,searchValue:wt,filterSearch:Rt}=rt;return it.map((Mt,At)=>{const zt=String(Mt.value);if(Mt.children)return{key:zt||At,label:Mt.text,popupClassName:`${gt}-dropdown-submenu`,children:Jo({filters:Mt.children,prefixCls:gt,filteredKeys:yt,filterMultiple:Pt,searchValue:wt,filterSearch:Rt})};const Zt=Pt?Gr.default:ho.ZP,Ut={key:Mt.value!==void 0?zt:At,label:ne.createElement(ne.Fragment,null,ne.createElement(Zt,{checked:yt.includes(zt)}),ne.createElement("span",null,Mt.text))};return wt.trim()?typeof Rt=="function"?Rt(wt,Mt)?Ut:null:Wr(wt,Mt.text)?Ut:null:Ut})}function oa(rt){var it,gt;const{tablePrefixCls:yt,prefixCls:Pt,column:wt,dropdownPrefixCls:Rt,columnKey:Mt,filterMultiple:At,filterMode:zt="menu",filterSearch:Zt=!1,filterState:Ut,triggerFilter:cn,locale:nn,children:sn,getPopupContainer:xn}=rt,{filterDropdownOpen:yn,onFilterDropdownOpenChange:_n,filterResetToDefaultFilteredValue:bn,defaultFilteredValue:Bn,filterDropdownVisible:tr,onFilterDropdownVisibleChange:ar}=wt,[Vn,Lr]=ne.useState(!1),Rr=!!(Ut&&(!((it=Ut.filteredKeys)===null||it===void 0)&&it.length||Ut.forceFiltered)),Hn=Qn=>{Lr(Qn),_n==null||_n(Qn),ar==null||ar(Qn)},Xn=(gt=yn!=null?yn:tr)!==null&>!==void 0?gt:Vn,Gn=Ut==null?void 0:Ut.filteredKeys,[Dn,$n]=An(Gn||[]),Pr=Qn=>{let{selectedKeys:Dr}=Qn;$n(Dr)},Ur=(Qn,Dr)=>{let{node:Qr,checked:Yr}=Dr;Pr(At?{selectedKeys:Qn}:{selectedKeys:Yr&&Qr.key?[Qr.key]:[]})};ne.useEffect(()=>{Vn&&Pr({selectedKeys:Gn||[]})},[Gn]);const[Ir,cr]=ne.useState([]),Hr=Qn=>{cr(Qn)},[Vr,So]=ne.useState(""),eo=Qn=>{const{value:Dr}=Qn.target;So(Dr)};ne.useEffect(()=>{Vn||So("")},[Vn]);const Fo=Qn=>{const Dr=Qn&&Qn.length?Qn:null;if(Dr===null&&(!Ut||!Ut.filteredKeys)||(0,se.Z)(Dr,Ut==null?void 0:Ut.filteredKeys,!0))return null;cn({column:wt,key:Mt,filteredKeys:Dr})},Bo=()=>{Hn(!1),Fo(Dn())},Mr=function(){let{confirm:Qn,closeDropdown:Dr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Qn&&Fo([]),Dr&&Hn(!1),So(""),$n(bn?(Bn||[]).map(Qr=>String(Qr)):[])},Wo=function(){let{closeDropdown:Qn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Qn&&Hn(!1),Fo(Dn())},ro=Qn=>{Qn&&Gn!==void 0&&$n(Gn||[]),Hn(Qn),!Qn&&!wt.filterDropdown&&Bo()},_o=xe()({[`${Rt}-menu-without-submenu`]:!Ar(wt.filters||[])}),Eo=Qn=>{if(Qn.target.checked){const Dr=No(wt==null?void 0:wt.filters).map(Qr=>String(Qr));$n(Dr)}else $n([])},la=Qn=>{let{filters:Dr}=Qn;return(Dr||[]).map((Qr,Yr)=>{const ta=String(Qr.value),Qo={title:Qr.text,key:Qr.value!==void 0?ta:Yr};return Qr.children&&(Qo.children=la({filters:Qr.children})),Qo})},vr=Qn=>{var Dr;return Object.assign(Object.assign({},Qn),{text:Qn.title,value:Qn.key,children:((Dr=Qn.children)===null||Dr===void 0?void 0:Dr.map(Qr=>vr(Qr)))||[]})};let gr;if(typeof wt.filterDropdown=="function")gr=wt.filterDropdown({prefixCls:`${Rt}-custom`,setSelectedKeys:Qn=>Pr({selectedKeys:Qn}),selectedKeys:Dn(),confirm:Wo,clearFilters:Mr,filters:wt.filters,visible:Xn,close:()=>{Hn(!1)}});else if(wt.filterDropdown)gr=wt.filterDropdown;else{const Qn=Dn()||[],Dr=()=>(wt.filters||[]).length===0?ne.createElement(mr.Z,{image:mr.Z.PRESENTED_IMAGE_SIMPLE,description:nn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):zt==="tree"?ne.createElement(ne.Fragment,null,ne.createElement(xo,{filterSearch:Zt,value:Vr,onChange:eo,tablePrefixCls:yt,locale:nn}),ne.createElement("div",{className:`${yt}-filter-dropdown-tree`},At?ne.createElement(Gr.default,{checked:Qn.length===No(wt.filters).length,indeterminate:Qn.length>0&&Qn.length<No(wt.filters).length,className:`${yt}-filter-dropdown-checkall`,onChange:Eo},nn.filterCheckall):null,ne.createElement(Uo.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:At,checkStrictly:!At,className:`${Rt}-menu`,onCheck:Ur,checkedKeys:Qn,selectedKeys:Qn,showIcon:!1,treeData:la({filters:wt.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Vr.trim()?Yr=>typeof Zt=="function"?Zt(Vr,vr(Yr)):Wr(Vr,Yr.title):void 0}))):ne.createElement(ne.Fragment,null,ne.createElement(xo,{filterSearch:Zt,value:Vr,onChange:eo,tablePrefixCls:yt,locale:nn}),ne.createElement(Fr.default,{selectable:!0,multiple:At,prefixCls:`${Rt}-menu`,className:_o,onSelect:Pr,onDeselect:Pr,selectedKeys:Qn,getPopupContainer:xn,openKeys:Ir,onOpenChange:Hr,items:Jo({filters:wt.filters||[],filterSearch:Zt,prefixCls:Pt,filteredKeys:Dn(),filterMultiple:At,searchValue:Vr})})),Qr=()=>bn?(0,se.Z)((Bn||[]).map(Yr=>String(Yr)),Qn,!0):Qn.length===0;gr=ne.createElement(ne.Fragment,null,Dr(),ne.createElement("div",{className:`${Pt}-dropdown-btns`},ne.createElement(Or.ZP,{type:"link",size:"small",disabled:Qr(),onClick:()=>Mr()},nn.filterReset),ne.createElement(Or.ZP,{type:"primary",size:"small",onClick:Bo},nn.filterConfirm)))}wt.filterDropdown&&(gr=ne.createElement(co.J,{selectable:void 0},gr));const ur=()=>ne.createElement(Na,{className:`${Pt}-dropdown`},gr);let Jn;typeof wt.filterIcon=="function"?Jn=wt.filterIcon(Rr):wt.filterIcon?Jn=wt.filterIcon:Jn=ne.createElement(pr,null);const{direction:oo}=ne.useContext($r.E_);return ne.createElement("div",{className:`${Pt}-column`},ne.createElement("span",{className:`${yt}-column-title`},sn),ne.createElement(Tr.Z,{dropdownRender:ur,trigger:["click"],open:Xn,onOpenChange:ro,getPopupContainer:xn,placement:oo==="rtl"?"bottomLeft":"bottomRight"},ne.createElement("span",{role:"button",tabIndex:-1,className:xe()(`${Pt}-trigger`,{active:Rr}),onClick:Qn=>{Qn.stopPropagation()}},Jn)))}var ka=oa;function za(rt,it,gt){let yt=[];return(rt||[]).forEach((Pt,wt)=>{var Rt;const Mt=hn(wt,gt);if(Pt.filters||"filterDropdown"in Pt||"onFilter"in Pt)if("filteredValue"in Pt){let At=Pt.filteredValue;"filterDropdown"in Pt||(At=(Rt=At==null?void 0:At.map(String))!==null&&Rt!==void 0?Rt:At),yt.push({column:Pt,key:an(Pt,Mt),filteredKeys:At,forceFiltered:Pt.filtered})}else yt.push({column:Pt,key:an(Pt,Mt),filteredKeys:it&&Pt.defaultFilteredValue?Pt.defaultFilteredValue:void 0,forceFiltered:Pt.filtered});"children"in Pt&&(yt=[].concat((0,fn.Z)(yt),(0,fn.Z)(za(Pt.children,it,Mt))))}),yt}function Ka(rt,it,gt,yt,Pt,wt,Rt,Mt){return gt.map((At,zt)=>{const Zt=hn(zt,Mt),{filterMultiple:Ut=!0,filterMode:cn,filterSearch:nn}=At;let sn=At;if(sn.filters||sn.filterDropdown){const xn=an(sn,Zt),yn=yt.find(_n=>{let{key:bn}=_n;return xn===bn});sn=Object.assign(Object.assign({},sn),{title:_n=>ne.createElement(ka,{tablePrefixCls:rt,prefixCls:`${rt}-filter`,dropdownPrefixCls:it,column:sn,columnKey:xn,filterState:yn,filterMultiple:Ut,filterMode:cn,filterSearch:nn,triggerFilter:wt,locale:Pt,getPopupContainer:Rt},Ln(At.title,_n))})}return"children"in sn&&(sn=Object.assign(Object.assign({},sn),{children:Ka(rt,it,sn.children,yt,Pt,wt,Rt,Zt)})),sn})}function ti(rt){const it={};return rt.forEach(gt=>{let{key:yt,filteredKeys:Pt,column:wt}=gt;const{filters:Rt,filterDropdown:Mt}=wt;if(Mt)it[yt]=Pt||null;else if(Array.isArray(Pt)){const At=No(Rt);it[yt]=At.filter(zt=>Pt.includes(String(zt)))}else it[yt]=null}),it}function ni(rt,it){return it.reduce((gt,yt)=>{const{column:{onFilter:Pt,filters:wt},filteredKeys:Rt}=yt;return Pt&&Rt&&Rt.length?gt.filter(Mt=>Rt.some(At=>{const zt=No(wt),Zt=zt.findIndex(cn=>String(cn)===String(At)),Ut=Zt!==-1?zt[Zt]:At;return Pt(Ut,Mt)})):gt},rt)}const ri=rt=>rt.flatMap(it=>"children"in it?[it].concat((0,fn.Z)(ri(it.children||[]))):[it]);function Ua(rt){let{prefixCls:it,dropdownPrefixCls:gt,mergedColumns:yt,onFilterChange:Pt,getPopupContainer:wt,locale:Rt}=rt;const Mt=ne.useMemo(()=>ri(yt||[]),[yt]),[At,zt]=ne.useState(()=>za(Mt,!0)),Zt=ne.useMemo(()=>{const sn=za(Mt,!1);if(sn.length===0)return sn;let xn=!0,yn=!0;if(sn.forEach(_n=>{let{filteredKeys:bn}=_n;bn!==void 0?xn=!1:yn=!1}),xn){const _n=(Mt||[]).map((bn,Bn)=>an(bn,hn(Bn)));return At.filter(bn=>{let{key:Bn}=bn;return _n.includes(Bn)}).map(bn=>{const Bn=Mt[_n.findIndex(tr=>tr===bn.key)];return Object.assign(Object.assign({},bn),{column:Object.assign(Object.assign({},bn.column),Bn),forceFiltered:Bn.filtered})})}return sn},[Mt,At]),Ut=ne.useMemo(()=>ti(Zt),[Zt]),cn=sn=>{const xn=Zt.filter(yn=>{let{key:_n}=yn;return _n!==sn.key});xn.push(sn),zt(xn),Pt(ti(xn),xn)};return[sn=>Ka(it,gt,sn,Zt,Rt,cn,wt),Zt,Ut]}var fi=Ua;function gi(rt,it,gt){const yt=ne.useRef({});function Pt(wt){if(!yt.current||yt.current.data!==rt||yt.current.childrenColumnName!==it||yt.current.getRowKey!==gt){let Mt=function(At){At.forEach((zt,Zt)=>{const Ut=gt(zt,Zt);Rt.set(Ut,zt),zt&&typeof zt=="object"&&it in zt&&Mt(zt[it]||[])})};const Rt=new Map;Mt(rt),yt.current={data:rt,childrenColumnName:it,kvMap:Rt,getRowKey:gt}}return yt.current.kvMap.get(wt)}return[Pt]}var Ha=ve(50371),oi=function(rt,it){var gt={};for(var yt in rt)Object.prototype.hasOwnProperty.call(rt,yt)&&it.indexOf(yt)<0&&(gt[yt]=rt[yt]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,yt=Object.getOwnPropertySymbols(rt);Pt<yt.length;Pt++)it.indexOf(yt[Pt])<0&&Object.prototype.propertyIsEnumerable.call(rt,yt[Pt])&&(gt[yt[Pt]]=rt[yt[Pt]]);return gt};const $a=10;function Va(rt,it){const gt={current:rt.current,pageSize:rt.pageSize};return Object.keys(it&&typeof it=="object"?it:{}).forEach(Pt=>{const wt=rt[Pt];typeof wt!="function"&&(gt[Pt]=wt)}),gt}function hi(rt,it,gt){const yt=gt&&typeof gt=="object"?gt:{},{total:Pt=0}=yt,wt=oi(yt,["total"]),[Rt,Mt]=(0,ne.useState)(()=>({current:"defaultCurrent"in wt?wt.defaultCurrent:1,pageSize:"defaultPageSize"in wt?wt.defaultPageSize:$a})),At=(0,Ha.Z)(Rt,wt,{total:Pt>0?Pt:rt}),zt=Math.ceil((Pt||rt)/At.pageSize);At.current>zt&&(At.current=zt||1);const Zt=(cn,nn)=>{Mt({current:cn!=null?cn:1,pageSize:nn||At.pageSize})},Ut=(cn,nn)=>{var sn;gt&&((sn=gt.onChange)===null||sn===void 0||sn.call(gt,cn,nn)),Zt(cn,nn),it(cn,nn||(At==null?void 0:At.pageSize))};return gt===!1?[{},()=>{}]:[Object.assign(Object.assign({},At),{onChange:Ut}),Zt]}var pi=hi,mi=ve(84105),ai=ve(35654),Xa=ve(90782),vi=ve(71430),yi=ve(18929);const Ca={},Ya="SELECT_ALL",Ja="SELECT_INVERT",ir="SELECT_NONE",Zr=[],ea=(rt,it)=>{let gt=[];return(it||[]).forEach(yt=>{gt.push(yt),yt&&typeof yt=="object"&&rt in yt&&(gt=[].concat((0,fn.Z)(gt),(0,fn.Z)(ea(rt,yt[rt]))))}),gt};var Ia=(rt,it)=>{const{preserveSelectedRowKeys:gt,selectedRowKeys:yt,defaultSelectedRowKeys:Pt,getCheckboxProps:wt,onChange:Rt,onSelect:Mt,onSelectAll:At,onSelectInvert:zt,onSelectNone:Zt,onSelectMultiple:Ut,columnWidth:cn,type:nn,selections:sn,fixed:xn,renderCell:yn,hideSelectAll:_n,checkStrictly:bn=!0}=it||{},{prefixCls:Bn,data:tr,pageData:ar,getRecordByKey:Vn,getRowKey:Lr,expandType:Rr,childrenColumnName:Hn,locale:Xn,getPopupContainer:Gn}=rt,[Dn,$n]=(0,yi.Z)(yt||Pt||Zr,{value:yt}),Pr=ne.useRef(new Map),Ur=(0,ne.useCallback)(vr=>{if(gt){const gr=new Map;vr.forEach(ur=>{let Jn=Vn(ur);!Jn&&Pr.current.has(ur)&&(Jn=Pr.current.get(ur)),gr.set(ur,Jn)}),Pr.current=gr}},[Vn,gt]);ne.useEffect(()=>{Ur(Dn)},[Dn]);const{keyEntities:Ir}=(0,ne.useMemo)(()=>{if(bn)return{keyEntities:null};let vr=tr;if(gt){const gr=new Set(tr.map((Jn,oo)=>Lr(Jn,oo))),ur=Array.from(Pr.current).reduce((Jn,oo)=>{let[Qn,Dr]=oo;return gr.has(Qn)?Jn:Jn.concat(Dr)},[]);vr=[].concat((0,fn.Z)(vr),(0,fn.Z)(ur))}return(0,vi.I8)(vr,{externalGetKey:Lr,childrenPropName:Hn})},[tr,Lr,bn,Hn,gt]),cr=(0,ne.useMemo)(()=>ea(Hn,ar),[Hn,ar]),Hr=(0,ne.useMemo)(()=>{const vr=new Map;return cr.forEach((gr,ur)=>{const Jn=Lr(gr,ur),oo=(wt?wt(gr):null)||{};vr.set(Jn,oo)}),vr},[cr,Lr,wt]),Vr=(0,ne.useCallback)(vr=>{var gr;return!!(!((gr=Hr.get(Lr(vr)))===null||gr===void 0)&&gr.disabled)},[Hr,Lr]),[So,eo]=(0,ne.useMemo)(()=>{if(bn)return[Dn||[],[]];const{checkedKeys:vr,halfCheckedKeys:gr}=(0,Xa.S)(Dn,!0,Ir,Vr);return[vr||[],gr]},[Dn,bn,Ir,Vr]),Fo=(0,ne.useMemo)(()=>{const vr=nn==="radio"?So.slice(0,1):So;return new Set(vr)},[So,nn]),Bo=(0,ne.useMemo)(()=>nn==="radio"?new Set:new Set(eo),[eo,nn]),[Mr,Wo]=(0,ne.useState)(null);ne.useEffect(()=>{it||$n(Zr)},[!!it]);const ro=(0,ne.useCallback)((vr,gr)=>{let ur,Jn;Ur(vr),gt?(ur=vr,Jn=vr.map(oo=>Pr.current.get(oo))):(ur=[],Jn=[],vr.forEach(oo=>{const Qn=Vn(oo);Qn!==void 0&&(ur.push(oo),Jn.push(Qn))})),$n(ur),Rt==null||Rt(ur,Jn,{type:gr})},[$n,Vn,Rt,gt]),_o=(0,ne.useCallback)((vr,gr,ur,Jn)=>{if(Mt){const oo=ur.map(Qn=>Vn(Qn));Mt(Vn(vr),gr,oo,Jn)}ro(ur,"single")},[Mt,Vn,ro]),Eo=(0,ne.useMemo)(()=>!sn||_n?null:(sn===!0?[Ya,Ja,ir]:sn).map(gr=>gr===Ya?{key:"all",text:Xn.selectionAll,onSelect(){ro(tr.map((ur,Jn)=>Lr(ur,Jn)).filter(ur=>{const Jn=Hr.get(ur);return!(Jn!=null&&Jn.disabled)||Fo.has(ur)}),"all")}}:gr===Ja?{key:"invert",text:Xn.selectInvert,onSelect(){const ur=new Set(Fo);ar.forEach((oo,Qn)=>{const Dr=Lr(oo,Qn),Qr=Hr.get(Dr);Qr!=null&&Qr.disabled||(ur.has(Dr)?ur.delete(Dr):ur.add(Dr))});const Jn=Array.from(ur);zt&&zt(Jn),ro(Jn,"invert")}}:gr===ir?{key:"none",text:Xn.selectNone,onSelect(){Zt==null||Zt(),ro(Array.from(Fo).filter(ur=>{const Jn=Hr.get(ur);return Jn==null?void 0:Jn.disabled}),"none")}}:gr).map(gr=>Object.assign(Object.assign({},gr),{onSelect:function(){for(var ur,Jn,oo=arguments.length,Qn=new Array(oo),Dr=0;Dr<oo;Dr++)Qn[Dr]=arguments[Dr];(Jn=gr.onSelect)===null||Jn===void 0||(ur=Jn).call.apply(ur,[gr].concat(Qn)),Wo(null)}})),[sn,Fo,ar,Lr,zt,ro]);return[(0,ne.useCallback)(vr=>{var gr;if(!it)return vr.filter(so=>so!==Ca);let ur=(0,fn.Z)(vr);const Jn=new Set(Fo),oo=cr.map(Lr).filter(so=>!Hr.get(so).disabled),Qn=oo.every(so=>Jn.has(so)),Dr=oo.some(so=>Jn.has(so)),Qr=()=>{const so=[];Qn?oo.forEach(Ao=>{Jn.delete(Ao),so.push(Ao)}):oo.forEach(Ao=>{Jn.has(Ao)||(Jn.add(Ao),so.push(Ao))});const uo=Array.from(Jn);At==null||At(!Qn,uo.map(Ao=>Vn(Ao)),so.map(Ao=>Vn(Ao))),ro(uo,"all"),Wo(null)};let Yr;if(nn!=="radio"){let so;if(Eo){const Xr={getPopupContainer:Gn,items:Eo.map((aa,na)=>{const{key:pa,text:xa,onSelect:Pa}=aa;return{key:pa!=null?pa:na,onClick:()=>{Pa==null||Pa(oo)},label:xa}})};so=ne.createElement("div",{className:`${Bn}-selection-extra`},ne.createElement(Tr.Z,{menu:Xr,getPopupContainer:Gn},ne.createElement("span",null,ne.createElement(mi.Z,null))))}const uo=cr.map((Xr,aa)=>{const na=Lr(Xr,aa),pa=Hr.get(na)||{};return Object.assign({checked:Jn.has(na)},pa)}).filter(Xr=>{let{disabled:aa}=Xr;return aa}),Ao=!!uo.length&&uo.length===cr.length,$o=Ao&&uo.every(Xr=>{let{checked:aa}=Xr;return aa}),Vo=Ao&&uo.some(Xr=>{let{checked:aa}=Xr;return aa});Yr=!_n&&ne.createElement("div",{className:`${Bn}-selection`},ne.createElement(Gr.default,{checked:Ao?$o:!!cr.length&&Qn,indeterminate:Ao?!$o&&Vo:!Qn&&Dr,onChange:Qr,disabled:cr.length===0||Ao,"aria-label":so?"Custom selection":"Select all",skipGroup:!0}),so)}let ta;nn==="radio"?ta=(so,uo,Ao)=>{const $o=Lr(uo,Ao),Vo=Jn.has($o);return{node:ne.createElement(ho.ZP,Object.assign({},Hr.get($o),{checked:Vo,onClick:Xr=>Xr.stopPropagation(),onChange:Xr=>{Jn.has($o)||_o($o,!0,[$o],Xr.nativeEvent)}})),checked:Vo}}:ta=(so,uo,Ao)=>{var $o;const Vo=Lr(uo,Ao),Xr=Jn.has(Vo),aa=Bo.has(Vo),na=Hr.get(Vo);let pa;return Rr==="nest"?pa=aa:pa=($o=na==null?void 0:na.indeterminate)!==null&&$o!==void 0?$o:aa,{node:ne.createElement(Gr.default,Object.assign({},na,{indeterminate:pa,checked:Xr,skipGroup:!0,onClick:xa=>xa.stopPropagation(),onChange:xa=>{let{nativeEvent:Pa}=xa;const{shiftKey:ei}=Pa;let Aa=-1,ya=-1;if(ei&&bn){const ua=new Set([Mr,Vo]);oo.some((ia,Xo)=>{if(ua.has(ia))if(Aa===-1)Aa=Xo;else return ya=Xo,!0;return!1})}if(ya!==-1&&Aa!==ya&&bn){const ua=oo.slice(Aa,ya+1),ia=[];Xr?ua.forEach(Do=>{Jn.has(Do)&&(ia.push(Do),Jn.delete(Do))}):ua.forEach(Do=>{Jn.has(Do)||(ia.push(Do),Jn.add(Do))});const Xo=Array.from(Jn);Ut==null||Ut(!Xr,Xo.map(Do=>Vn(Do)),ia.map(Do=>Vn(Do))),ro(Xo,"multiple")}else{const ua=So;if(bn){const ia=Xr?(0,ai._5)(ua,Vo):(0,ai.L0)(ua,Vo);_o(Vo,!Xr,ia,Pa)}else{const ia=(0,Xa.S)([].concat((0,fn.Z)(ua),[Vo]),!0,Ir,Vr),{checkedKeys:Xo,halfCheckedKeys:Do}=ia;let _a=Xo;if(Xr){const Wa=new Set(Xo);Wa.delete(Vo),_a=(0,Xa.S)(Array.from(Wa),{checked:!1,halfCheckedKeys:Do},Ir,Vr).checkedKeys}_o(Vo,!Xr,_a,Pa)}}Wo(Xr?null:Vo)}})),checked:Xr}};const Qo=(so,uo,Ao)=>{const{node:$o,checked:Vo}=ta(so,uo,Ao);return yn?yn(Vo,uo,Ao,$o):$o};if(!ur.includes(Ca))if(ur.findIndex(so=>{var uo;return((uo=so[dn])===null||uo===void 0?void 0:uo.columnType)==="EXPAND_COLUMN"})===0){const[so,...uo]=ur;ur=[so,Ca].concat((0,fn.Z)(uo))}else ur=[Ca].concat((0,fn.Z)(ur));const ba=ur.indexOf(Ca);ur=ur.filter((so,uo)=>so!==Ca||uo===ba);const Zo=ur[ba-1],va=ur[ba+1];let Ko=xn;Ko===void 0&&((va==null?void 0:va.fixed)!==void 0?Ko=va.fixed:(Zo==null?void 0:Zo.fixed)!==void 0&&(Ko=Zo.fixed)),Ko&&Zo&&((gr=Zo[dn])===null||gr===void 0?void 0:gr.columnType)==="EXPAND_COLUMN"&&Zo.fixed===void 0&&(Zo.fixed=Ko);const ca=xe()(`${Bn}-selection-col`,{[`${Bn}-selection-col-with-dropdown`]:sn&&nn==="checkbox"}),Ga={fixed:Ko,width:cn,className:`${Bn}-selection-column`,title:it.columnTitle||Yr,render:Qo,onCell:it.onCell,[dn]:{className:ca}};return ur.map(so=>so===Ca?Ga:so)},[Lr,cr,it,So,Fo,Bo,cn,Eo,Rr,Mr,Hr,Ut,_o,Vr]),Fo]},Ta=ve(89489),ha=ve(59477),Go=ve(6848);const ma="ascend",Qa="descend";function Ea(rt){return typeof rt.sorter=="object"&&typeof rt.sorter.multiple=="number"?rt.sorter.multiple:!1}function ii(rt){return typeof rt=="function"?rt:rt&&typeof rt=="object"&&rt.compare?rt.compare:!1}function qi(rt,it){return it?rt[rt.indexOf(it)+1]:rt[0]}function Si(rt,it,gt){let yt=[];function Pt(wt,Rt){yt.push({column:wt,key:an(wt,Rt),multiplePriority:Ea(wt),sortOrder:wt.sortOrder})}return(rt||[]).forEach((wt,Rt)=>{const Mt=hn(Rt,gt);wt.children?("sortOrder"in wt&&Pt(wt,Mt),yt=[].concat((0,fn.Z)(yt),(0,fn.Z)(Si(wt.children,it,Mt)))):wt.sorter&&("sortOrder"in wt?Pt(wt,Mt):it&&wt.defaultSortOrder&&yt.push({column:wt,key:an(wt,Mt),multiplePriority:Ea(wt),sortOrder:wt.defaultSortOrder}))}),yt}function Ai(rt,it,gt,yt,Pt,wt,Rt,Mt){return(it||[]).map((At,zt)=>{const Zt=hn(zt,Mt);let Ut=At;if(Ut.sorter){const cn=Ut.sortDirections||Pt,nn=Ut.showSorterTooltip===void 0?Rt:Ut.showSorterTooltip,sn=an(Ut,Zt),xn=gt.find(Rr=>{let{key:Hn}=Rr;return Hn===sn}),yn=xn?xn.sortOrder:null,_n=qi(cn,yn);let bn;if(At.sortIcon)bn=At.sortIcon({sortOrder:yn});else{const Rr=cn.includes(ma)&&ne.createElement(ha.Z,{className:xe()(`${rt}-column-sorter-up`,{active:yn===ma})}),Hn=cn.includes(Qa)&&ne.createElement(Ta.Z,{className:xe()(`${rt}-column-sorter-down`,{active:yn===Qa})});bn=ne.createElement("span",{className:xe()(`${rt}-column-sorter`,{[`${rt}-column-sorter-full`]:!!(Rr&&Hn)})},ne.createElement("span",{className:`${rt}-column-sorter-inner`,"aria-hidden":"true"},Rr,Hn))}const{cancelSort:Bn,triggerAsc:tr,triggerDesc:ar}=wt||{};let Vn=Bn;_n===Qa?Vn=ar:_n===ma&&(Vn=tr);const Lr=typeof nn=="object"?nn:{title:Vn};Ut=Object.assign(Object.assign({},Ut),{className:xe()(Ut.className,{[`${rt}-column-sort`]:yn}),title:Rr=>{const Hn=ne.createElement("div",{className:`${rt}-column-sorters`},ne.createElement("span",{className:`${rt}-column-title`},Ln(At.title,Rr)),bn);return nn?ne.createElement(Go.Z,Object.assign({},Lr),Hn):Hn},onHeaderCell:Rr=>{const Hn=At.onHeaderCell&&At.onHeaderCell(Rr)||{},Xn=Hn.onClick,Gn=Hn.onKeyDown;Hn.onClick=Pr=>{yt({column:At,key:sn,sortOrder:_n,multiplePriority:Ea(At)}),Xn==null||Xn(Pr)},Hn.onKeyDown=Pr=>{Pr.keyCode===ja.Z.ENTER&&(yt({column:At,key:sn,sortOrder:_n,multiplePriority:Ea(At)}),Gn==null||Gn(Pr))};const Dn=mn(At.title,{}),$n=Dn==null?void 0:Dn.toString();return yn?Hn["aria-sort"]=yn==="ascend"?"ascending":"descending":Hn["aria-label"]=$n||"",Hn.className=xe()(Hn.className,`${rt}-column-has-sorters`),Hn.tabIndex=0,At.ellipsis&&(Hn.title=(Dn!=null?Dn:"").toString()),Hn}})}return"children"in Ut&&(Ut=Object.assign(Object.assign({},Ut),{children:Ai(rt,Ut.children,gt,yt,Pt,wt,Rt,Zt)})),Ut})}function Di(rt){const{column:it,sortOrder:gt}=rt;return{column:it,order:gt,field:it.dataIndex,columnKey:it.key}}function ji(rt){const it=rt.filter(gt=>{let{sortOrder:yt}=gt;return yt}).map(Di);return it.length===0&&rt.length?Object.assign(Object.assign({},Di(rt[rt.length-1])),{column:void 0}):it.length<=1?it[0]||{}:it}function bi(rt,it,gt){const yt=it.slice().sort((Rt,Mt)=>Mt.multiplePriority-Rt.multiplePriority),Pt=rt.slice(),wt=yt.filter(Rt=>{let{column:{sorter:Mt},sortOrder:At}=Rt;return ii(Mt)&&At});return wt.length?Pt.sort((Rt,Mt)=>{for(let At=0;At<wt.length;At+=1){const zt=wt[At],{column:{sorter:Zt},sortOrder:Ut}=zt,cn=ii(Zt);if(cn&&Ut){const nn=cn(Rt,Mt,Ut);if(nn!==0)return Ut===ma?nn:-nn}}return 0}).map(Rt=>{const Mt=Rt[gt];return Mt?Object.assign(Object.assign({},Rt),{[gt]:bi(Mt,it,gt)}):Rt}):Pt}function es(rt){let{prefixCls:it,mergedColumns:gt,onSorterChange:yt,sortDirections:Pt,tableLocale:wt,showSorterTooltip:Rt}=rt;const[Mt,At]=ne.useState(Si(gt,!0)),zt=ne.useMemo(()=>{let sn=!0;const xn=Si(gt,!1);if(!xn.length)return Mt;const yn=[];function _n(Bn){sn?yn.push(Bn):yn.push(Object.assign(Object.assign({},Bn),{sortOrder:null}))}let bn=null;return xn.forEach(Bn=>{bn===null?(_n(Bn),Bn.sortOrder&&(Bn.multiplePriority===!1?sn=!1:bn=!0)):(bn&&Bn.multiplePriority!==!1||(sn=!1),_n(Bn))}),yn},[gt,Mt]),Zt=ne.useMemo(()=>{const sn=zt.map(xn=>{let{column:yn,sortOrder:_n}=xn;return{column:yn,order:_n}});return{sortColumns:sn,sortColumn:sn[0]&&sn[0].column,sortOrder:sn[0]&&sn[0].order}},[zt]);function Ut(sn){let xn;sn.multiplePriority===!1||!zt.length||zt[0].multiplePriority===!1?xn=[sn]:xn=[].concat((0,fn.Z)(zt.filter(yn=>{let{key:_n}=yn;return _n!==sn.key})),[sn]),At(xn),yt(ji(xn),xn)}return[sn=>Ai(it,sn,zt,Ut,Pt,wt,Rt),zt,Zt,()=>ji(zt)]}function Ii(rt,it){return rt.map(gt=>{const yt=Object.assign({},gt);return yt.title=Ln(gt.title,it),"children"in yt&&(yt.children=Ii(yt.children,it)),yt})}function ts(rt){return[ne.useCallback(gt=>Ii(gt,rt),[rt])]}var ns=Sr((rt,it)=>{const{_renderTimes:gt}=rt,{_renderTimes:yt}=it;return gt!==yt}),rs=wr((rt,it)=>{const{_renderTimes:gt}=rt,{_renderTimes:yt}=it;return gt!==yt}),qa=ve(64993),si=ve(17313),os=ve(83116),as=ve(37613),is=rt=>{const{componentCls:it}=rt,gt=`${rt.lineWidth}px ${rt.lineType} ${rt.tableBorderColor}`,yt=(Pt,wt,Rt)=>({[`&${it}-${Pt}`]:{[`> ${it}-container`]:{[`> ${it}-content, > ${it}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${it}-expanded-row-fixed`]:{margin:`-${wt}px -${Rt+rt.lineWidth}px`}}}}}});return{[`${it}-wrapper`]:{[`${it}${it}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${it}-title`]:{border:gt,borderBottom:0},[`> ${it}-container`]:{borderInlineStart:gt,borderTop:gt,[`
|
|
|
> ${it}-content,
|
|
|
> ${it}-header,
|
|
|
> ${it}-body,
|
|
|
> ${it}-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:gt},"> thead":{"> tr:not(:last-child) > th":{borderBottom:gt},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${it}-cell-fix-right-first::after`]:{borderInlineEnd:gt}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${it}-expanded-row-fixed`]:{margin:`-${rt.tablePaddingVertical}px -${rt.tablePaddingHorizontal+rt.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:rt.lineWidth,bottom:0,borderInlineEnd:gt,content:'""'}}}}}},[`&${it}-scroll-horizontal`]:{[`> ${it}-container > ${it}-body`]:{"> table > tbody":{[`
|
|
|
> tr${it}-expanded-row,
|
|
|
> tr${it}-placeholder
|
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},yt("middle",rt.tablePaddingVerticalMiddle,rt.tablePaddingHorizontalMiddle)),yt("small",rt.tablePaddingVerticalSmall,rt.tablePaddingHorizontalSmall)),{[`> ${it}-footer`]:{border:gt,borderTop:0}}),[`${it}-cell`]:{[`${it}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${rt.lineWidth}px 0 ${rt.lineWidth}px ${rt.tableHeaderBg}`}},[`${it}-bordered ${it}-cell-scrollbar`]:{borderInlineEnd:gt}}}},ss=rt=>{const{componentCls:it}=rt;return{[`${it}-wrapper`]:{[`${it}-cell-ellipsis`]:Object.assign(Object.assign({},si.vS),{wordBreak:"keep-all",[`
|
|
|
&${it}-cell-fix-left-last,
|
|
|
&${it}-cell-fix-right-first
|
|
|
`]:{overflow:"visible",[`${it}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${it}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},ls=rt=>{const{componentCls:it}=rt;return{[`${it}-wrapper`]:{[`${it}-tbody > tr${it}-placeholder`]:{textAlign:"center",color:rt.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:rt.colorBgContainer}}}}},cs=ve(15969),us=rt=>{const{componentCls:it,antCls:gt,controlInteractiveSize:yt,motionDurationSlow:Pt,lineWidth:wt,paddingXS:Rt,lineType:Mt,tableBorderColor:At,tableExpandIconBg:zt,tableExpandColumnWidth:Zt,borderRadius:Ut,fontSize:cn,fontSizeSM:nn,lineHeight:sn,tablePaddingVertical:xn,tablePaddingHorizontal:yn,tableExpandedRowBg:_n,paddingXXS:bn}=rt,Bn=yt/2-wt,tr=Bn*2+wt*3,ar=`${wt}px ${Mt} ${At}`,Vn=bn-wt;return{[`${it}-wrapper`]:{[`${it}-expand-icon-col`]:{width:Zt},[`${it}-row-expand-icon-cell`]:{textAlign:"center",[`${it}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${it}-row-indent`]:{height:1,float:"left"},[`${it}-row-expand-icon`]:Object.assign(Object.assign({},(0,cs.N)(rt)),{position:"relative",float:"left",boxSizing:"border-box",width:tr,height:tr,padding:0,color:"inherit",lineHeight:`${tr}px`,background:zt,border:ar,borderRadius:Ut,transform:`scale(${yt/tr})`,transition:`all ${Pt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Pt} ease-out`,content:'""'},"&::before":{top:Bn,insetInlineEnd:Vn,insetInlineStart:Vn,height:wt},"&::after":{top:Vn,bottom:Vn,insetInlineStart:Bn,width:wt,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"}}),[`${it}-row-indent + ${it}-row-expand-icon`]:{marginTop:(cn*sn-wt*3)/2-Math.ceil((nn*1.4-wt*3)/2),marginInlineEnd:Rt},[`tr${it}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:_n}},[`${gt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${it}-expanded-row-fixed`]:{position:"relative",margin:`-${xn}px -${yn}px`,padding:`${xn}px ${yn}px`}}}},ds=rt=>{const{componentCls:it,antCls:gt,iconCls:yt,tableFilterDropdownWidth:Pt,tableFilterDropdownSearchWidth:wt,paddingXXS:Rt,paddingXS:Mt,colorText:At,lineWidth:zt,lineType:Zt,tableBorderColor:Ut,tableHeaderIconColor:cn,fontSizeSM:nn,tablePaddingHorizontal:sn,borderRadius:xn,motionDurationSlow:yn,colorTextDescription:_n,colorPrimary:bn,tableHeaderFilterActiveBg:Bn,colorTextDisabled:tr,tableFilterDropdownBg:ar,tableFilterDropdownHeight:Vn,controlItemBgHover:Lr,controlItemBgActive:Rr,boxShadowSecondary:Hn,filterDropdownMenuBg:Xn}=rt,Gn=`${gt}-dropdown`,Dn=`${it}-filter-dropdown`,$n=`${gt}-tree`,Pr=`${zt}px ${Zt} ${Ut}`;return[{[`${it}-wrapper`]:{[`${it}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${it}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Rt,marginInline:`${Rt}px ${-sn/2}px`,padding:`0 ${Rt}px`,color:cn,fontSize:nn,borderRadius:xn,cursor:"pointer",transition:`all ${yn}`,"&:hover":{color:_n,background:Bn},"&.active":{color:bn}}}},{[`${gt}-dropdown`]:{[Dn]:Object.assign(Object.assign({},(0,si.Wf)(rt)),{minWidth:Pt,backgroundColor:ar,borderRadius:xn,boxShadow:Hn,overflow:"hidden",[`${Gn}-menu`]:{maxHeight:Vn,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Xn,"&:empty::after":{display:"block",padding:`${Mt}px 0`,color:tr,fontSize:nn,textAlign:"center",content:'"Not Found"'}},[`${Dn}-tree`]:{paddingBlock:`${Mt}px 0`,paddingInline:Mt,[$n]:{padding:0},[`${$n}-treenode ${$n}-node-content-wrapper:hover`]:{backgroundColor:Lr},[`${$n}-treenode-checkbox-checked ${$n}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Rr}}},[`${Dn}-search`]:{padding:Mt,borderBottom:Pr,"&-input":{input:{minWidth:wt},[yt]:{color:tr}}},[`${Dn}-checkall`]:{width:"100%",marginBottom:Rt,marginInlineStart:Rt},[`${Dn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Mt-zt}px ${Mt}px`,overflow:"hidden",borderTop:Pr}})}},{[`${gt}-dropdown ${Dn}, ${Dn}-submenu`]:{[`${gt}-checkbox-wrapper + span`]:{paddingInlineStart:Mt,color:At},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},fs=rt=>{const{componentCls:it,lineWidth:gt,colorSplit:yt,motionDurationSlow:Pt,zIndexTableFixed:wt,tableBg:Rt,zIndexTableSticky:Mt}=rt,At=yt;return{[`${it}-wrapper`]:{[`
|
|
|
${it}-cell-fix-left,
|
|
|
${it}-cell-fix-right
|
|
|
`]:{position:"sticky !important",zIndex:wt,background:Rt},[`
|
|
|
${it}-cell-fix-left-first::after,
|
|
|
${it}-cell-fix-left-last::after
|
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-gt,width:30,transform:"translateX(100%)",transition:`box-shadow ${Pt}`,content:'""',pointerEvents:"none"},[`${it}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
|
${it}-cell-fix-right-first::after,
|
|
|
${it}-cell-fix-right-last::after
|
|
|
`]:{position:"absolute",top:0,bottom:-gt,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Pt}`,content:'""',pointerEvents:"none"},[`${it}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Mt+1,width:30,transition:`box-shadow ${Pt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${it}-ping-left`]:{[`&:not(${it}-has-fix-left) ${it}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${At}`}},[`
|
|
|
${it}-cell-fix-left-first::after,
|
|
|
${it}-cell-fix-left-last::after
|
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${At}`},[`${it}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${it}-ping-right`]:{[`&:not(${it}-has-fix-right) ${it}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${At}`}},[`
|
|
|
${it}-cell-fix-right-first::after,
|
|
|
${it}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${At}`}}}}},gs=rt=>{const{componentCls:it,antCls:gt}=rt;return{[`${it}-wrapper`]:{[`${it}-pagination${gt}-pagination`]:{margin:`${rt.margin}px 0`},[`${it}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:rt.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},hs=rt=>{const{componentCls:it,tableRadius:gt}=rt;return{[`${it}-wrapper`]:{[it]:{[`${it}-title, ${it}-header`]:{borderRadius:`${gt}px ${gt}px 0 0`},[`${it}-title + ${it}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${it}-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:gt,borderStartEndRadius:gt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:gt},"> *:last-child":{borderStartEndRadius:gt}}},"&-footer":{borderRadius:`0 0 ${gt}px ${gt}px`}}}}},ps=rt=>{const{componentCls:it}=rt;return{[`${it}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${it}-pagination-left`]:{justifyContent:"flex-end"},[`${it}-pagination-right`]:{justifyContent:"flex-start"},[`${it}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${it}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${it}-row-indent`]:{float:"right"}}}}},ms=rt=>{const{componentCls:it,antCls:gt,iconCls:yt,fontSizeIcon:Pt,padding:wt,paddingXS:Rt,tableHeaderIconColor:Mt,tableHeaderIconColorHover:At,tableSelectionColumnWidth:zt}=rt;return{[`${it}-wrapper`]:{[`${it}-selection-col`]:{width:zt,[`&${it}-selection-col-with-dropdown`]:{width:zt+Pt+wt/4}},[`${it}-bordered ${it}-selection-col`]:{width:zt+Rt*2,[`&${it}-selection-col-with-dropdown`]:{width:zt+Pt+wt/4+Rt*2}},[`
|
|
|
table tr th${it}-selection-column,
|
|
|
table tr td${it}-selection-column
|
|
|
`]:{paddingInlineEnd:rt.paddingXS,paddingInlineStart:rt.paddingXS,textAlign:"center",[`${gt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${it}-selection-column${it}-cell-fix-left`]:{zIndex:rt.zIndexTableFixed+1},[`table tr th${it}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${it}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${it}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${rt.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${rt.tablePaddingHorizontal/4}px`,[yt]:{color:Mt,fontSize:Pt,verticalAlign:"baseline","&:hover":{color:At}}}}}},vs=rt=>{const{componentCls:it}=rt,gt=(yt,Pt,wt,Rt)=>({[`${it}${it}-${yt}`]:{fontSize:Rt,[`
|
|
|
${it}-title,
|
|
|
${it}-footer,
|
|
|
${it}-cell,
|
|
|
${it}-thead > tr > th,
|
|
|
${it}-tbody > tr > th,
|
|
|
${it}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{padding:`${Pt}px ${wt}px`},[`${it}-filter-trigger`]:{marginInlineEnd:`-${wt/2}px`},[`${it}-expanded-row-fixed`]:{margin:`-${Pt}px -${wt}px`},[`${it}-tbody`]:{[`${it}-wrapper:only-child ${it}`]:{marginBlock:`-${Pt}px`,marginInline:`${rt.tableExpandColumnWidth-wt}px -${wt}px`}},[`${it}-selection-column`]:{paddingInlineStart:`${wt/4}px`}}});return{[`${it}-wrapper`]:Object.assign(Object.assign({},gt("middle",rt.tablePaddingVerticalMiddle,rt.tablePaddingHorizontalMiddle,rt.tableFontSizeMiddle)),gt("small",rt.tablePaddingVerticalSmall,rt.tablePaddingHorizontalSmall,rt.tableFontSizeSmall))}},ys=rt=>{const{componentCls:it,marginXXS:gt,fontSizeIcon:yt,tableHeaderIconColor:Pt,tableHeaderIconColorHover:wt}=rt;return{[`${it}-wrapper`]:{[`${it}-thead th${it}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${rt.motionDurationSlow}`,"&:hover":{background:rt.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:rt.colorPrimary},[`
|
|
|
&${it}-cell-fix-left:hover,
|
|
|
&${it}-cell-fix-right:hover
|
|
|
`]:{background:rt.tableFixedHeaderSortActiveBg}},[`${it}-thead th${it}-column-sort`]:{background:rt.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${it}-column-sort`]:{background:rt.tableBodySortBg},[`${it}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${it}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${it}-column-sorter`]:{marginInlineStart:gt,color:Pt,fontSize:0,transition:`color ${rt.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:yt,"&.active":{color:rt.colorPrimary}},[`${it}-column-sorter-up + ${it}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${it}-column-sorters:hover ${it}-column-sorter`]:{color:wt}}}},Ss=rt=>{const{componentCls:it,opacityLoading:gt,tableScrollThumbBg:yt,tableScrollThumbBgHover:Pt,tableScrollThumbSize:wt,tableScrollBg:Rt,zIndexTableSticky:Mt,stickyScrollBarBorderRadius:At}=rt,zt=`${rt.lineWidth}px ${rt.lineType} ${rt.tableBorderColor}`;return{[`${it}-wrapper`]:{[`${it}-sticky`]:{"&-holder":{position:"sticky",zIndex:Mt,background:rt.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${wt}px !important`,zIndex:Mt,display:"flex",alignItems:"center",background:Rt,borderTop:zt,opacity:gt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:wt,backgroundColor:yt,borderRadius:At,transition:`all ${rt.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Pt}}}}}}},Ri=rt=>{const{componentCls:it,lineWidth:gt,tableBorderColor:yt}=rt,Pt=`${gt}px ${rt.lineType} ${yt}`;return{[`${it}-wrapper`]:{[`${it}-summary`]:{position:"relative",zIndex:rt.zIndexTableFixed,background:rt.tableBg,"> tr":{"> th, > td":{borderBottom:Pt}}},[`div${it}-summary`]:{boxShadow:`0 -${gt}px 0 ${yt}`}}}},bs=rt=>{const{componentCls:it}=rt,gt=`${rt.lineWidth}px ${rt.lineType} ${rt.tableBorderColor}`,yt=`${it}-expanded-row-cell`;return{[`${it}-wrapper`]:{[`${it}-tbody-virtual`]:{[`${it}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${it}-cell`]:{borderBottom:gt},[`${it}-expanded-row`]:{[`${yt}${yt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${rt.lineWidth}px)`,borderInlineEnd:"none"}}},[`${it}-bordered`]:{[`${it}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:gt,position:"absolute"},[`${it}-cell`]:{borderInlineEnd:gt,[`&${it}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-rt.lineWidth,borderInlineStart:gt}}}}}}};const Ps=rt=>{const{componentCls:it,fontWeightStrong:gt,tablePaddingVertical:yt,tablePaddingHorizontal:Pt,lineWidth:wt,lineType:Rt,tableBorderColor:Mt,tableFontSize:At,tableBg:zt,tableRadius:Zt,tableHeaderTextColor:Ut,motionDurationMid:cn,tableHeaderBg:nn,tableHeaderCellSplitColor:sn,tableRowHoverBg:xn,tableSelectedRowBg:yn,tableSelectedRowHoverBg:_n,tableFooterTextColor:bn,tableFooterBg:Bn,paddingContentVerticalLG:tr}=rt,ar=`${wt}px ${Rt} ${Mt}`;return{[`${it}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,si.dF)()),{[it]:Object.assign(Object.assign({},(0,si.Wf)(rt)),{fontSize:At,background:zt,borderRadius:`${Zt}px ${Zt}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Zt}px ${Zt}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
|
${it}-cell,
|
|
|
${it}-thead > tr > th,
|
|
|
${it}-tbody > tr > th,
|
|
|
${it}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{position:"relative",padding:`${tr}px ${Pt}px`,overflowWrap:"break-word"},[`${it}-title`]:{padding:`${yt}px ${Pt}px`},[`${it}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Ut,fontWeight:gt,textAlign:"start",background:nn,borderBottom:ar,transition:`background ${cn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${it}-selection-column):not(${it}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:sn,transform:"translateY(-50%)",transition:`background-color ${cn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${it}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${cn}, border-color ${cn}`,borderBottom:ar,[`
|
|
|
> ${it}-wrapper:only-child,
|
|
|
> ${it}-expanded-row-fixed > ${it}-wrapper:only-child
|
|
|
`]:{[it]:{marginBlock:`-${yt}px`,marginInline:`${rt.tableExpandColumnWidth-Pt}px -${Pt}px`,[`${it}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Ut,fontWeight:gt,textAlign:"start",background:nn,borderBottom:ar,transition:`background ${cn} ease`},[`
|
|
|
&${it}-row:hover > th,
|
|
|
&${it}-row:hover > td,
|
|
|
> th${it}-cell-row-hover,
|
|
|
> td${it}-cell-row-hover
|
|
|
`]:{background:xn},[`&${it}-row-selected`]:{"> th, > td":{background:yn},"&:hover > th, &:hover > td":{background:_n}}}},[`${it}-footer`]:{padding:`${yt}px ${Pt}px`,color:bn,background:Bn}})}};var ws=(0,os.Z)("Table",rt=>{const{colorTextHeading:it,colorSplit:gt,colorIcon:yt,colorIconHover:Pt,opacityLoading:wt,colorBgContainer:Rt,controlInteractiveSize:Mt,headerBg:At,headerColor:zt,headerSortActiveBg:Zt,headerSortHoverBg:Ut,bodySortBg:cn,rowHoverBg:nn,rowSelectedBg:sn,rowSelectedHoverBg:xn,rowExpandedBg:yn,cellPaddingBlock:_n,cellPaddingInline:bn,cellPaddingBlockMD:Bn,cellPaddingInlineMD:tr,cellPaddingBlockSM:ar,cellPaddingInlineSM:Vn,borderColor:Lr,footerBg:Rr,footerColor:Hn,headerBorderRadius:Xn,cellFontSize:Gn,cellFontSizeMD:Dn,cellFontSizeSM:$n,headerSplitColor:Pr,fixedHeaderSortActiveBg:Ur,headerFilterHoverBg:Ir,filterDropdownBg:cr,expandIconBg:Hr,selectionColumnWidth:Vr,stickyScrollBarBg:So}=rt,eo=new qa.C(yt),Fo=new qa.C(Pt),Bo=2,Mr=(0,as.TS)(rt,{tableFontSize:Gn,tableBg:Rt,tableRadius:Xn,tablePaddingVertical:_n,tablePaddingHorizontal:bn,tablePaddingVerticalMiddle:Bn,tablePaddingHorizontalMiddle:tr,tablePaddingVerticalSmall:ar,tablePaddingHorizontalSmall:Vn,tableBorderColor:Lr,tableHeaderTextColor:zt,tableHeaderBg:At,tableFooterTextColor:Hn,tableFooterBg:Rr,tableHeaderCellSplitColor:Pr,tableHeaderSortBg:Zt,tableHeaderSortHoverBg:Ut,tableHeaderIconColor:eo.clone().setAlpha(eo.getAlpha()*wt).toRgbString(),tableHeaderIconColorHover:Fo.clone().setAlpha(Fo.getAlpha()*wt).toRgbString(),tableBodySortBg:cn,tableFixedHeaderSortActiveBg:Ur,tableHeaderFilterActiveBg:Ir,tableFilterDropdownBg:cr,tableRowHoverBg:nn,tableSelectedRowBg:sn,tableSelectedRowHoverBg:xn,zIndexTableFixed:Bo,zIndexTableSticky:Bo+1,tableFontSizeMiddle:Dn,tableFontSizeSmall:$n,tableSelectionColumnWidth:Vr,tableExpandIconBg:Hr,tableExpandColumnWidth:Mt+2*rt.padding,tableExpandedRowBg:yn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:So,tableScrollThumbBgHover:it,tableScrollBg:gt});return[Ps(Mr),gs(Mr),Ri(Mr),ys(Mr),ds(Mr),is(Mr),hs(Mr),us(Mr),Ri(Mr),ls(Mr),ms(Mr),fs(Mr),Ss(Mr),ss(Mr),vs(Mr),ps(Mr),bs(Mr)]},rt=>{const{colorFillAlter:it,colorBgContainer:gt,colorTextHeading:yt,colorFillSecondary:Pt,colorFillContent:wt,controlItemBgActive:Rt,controlItemBgActiveHover:Mt,padding:At,paddingSM:zt,paddingXS:Zt,colorBorderSecondary:Ut,borderRadiusLG:cn,fontSize:nn,controlHeight:sn,colorTextPlaceholder:xn}=rt,yn=new qa.C(Pt).onBackground(gt).toHexShortString(),_n=new qa.C(wt).onBackground(gt).toHexShortString(),bn=new qa.C(it).onBackground(gt).toHexShortString();return{headerBg:bn,headerColor:yt,headerSortActiveBg:yn,headerSortHoverBg:_n,bodySortBg:bn,rowHoverBg:bn,rowSelectedBg:Rt,rowSelectedHoverBg:Mt,rowExpandedBg:it,cellPaddingBlock:At,cellPaddingInline:At,cellPaddingBlockMD:zt,cellPaddingInlineMD:Zt,cellPaddingBlockSM:Zt,cellPaddingInlineSM:Zt,borderColor:Ut,headerBorderRadius:cn,footerBg:bn,footerColor:yt,cellFontSize:nn,cellFontSizeMD:nn,cellFontSizeSM:nn,headerSplitColor:Ut,fixedHeaderSortActiveBg:yn,headerFilterHoverBg:wt,filterDropdownMenuBg:gt,filterDropdownBg:gt,expandIconBg:gt,selectionColumnWidth:sn,stickyScrollBarBg:xn,stickyScrollBarBorderRadius:100}});const Cs=[],Es=(rt,it)=>{const{prefixCls:gt,className:yt,rootClassName:Pt,style:wt,size:Rt,bordered:Mt,dropdownPrefixCls:At,dataSource:zt,pagination:Zt,rowSelection:Ut,rowKey:cn="key",rowClassName:nn,columns:sn,children:xn,childrenColumnName:yn,onChange:_n,getPopupContainer:bn,loading:Bn,expandIcon:tr,expandable:ar,expandedRowRender:Vn,expandIconColumnIndex:Lr,indentSize:Rr,scroll:Hn,sortDirections:Xn,locale:Gn,showSorterTooltip:Dn=!0,virtual:$n}=rt,Pr=ne.useMemo(()=>sn||_t(xn),[sn,xn]),Ur=ne.useMemo(()=>Pr.some(qr=>qr.responsive),[Pr]),Ir=(0,Tt.Z)(Ur),cr=ne.useMemo(()=>{const qr=new Set(Object.keys(Ir).filter(Co=>Ir[Co]));return Pr.filter(Co=>!Co.responsive||Co.responsive.some(qo=>qr.has(qo)))},[Pr,Ir]),Hr=(0,Yo.Z)(rt,["className","style","columns"]),{locale:Vr=Gt.Z,direction:So,table:eo,renderEmpty:Fo,getPrefixCls:Bo,getPopupContainer:Mr}=ne.useContext($r.E_),Wo=(0,zo.Z)(Rt),ro=Object.assign(Object.assign({},Vr.Table),Gn),_o=zt||Cs,Eo=Bo("table",gt),la=Bo("dropdown",At),vr=Object.assign({childrenColumnName:yn,expandIconColumnIndex:Lr},ar),{childrenColumnName:gr="children"}=vr,ur=ne.useMemo(()=>_o.some(qr=>qr==null?void 0:qr[gr])?"nest":Vn||ar&&ar.expandedRowRender?"row":null,[_o]),Jn={body:ne.useRef()},oo=ne.useMemo(()=>typeof cn=="function"?cn:qr=>qr==null?void 0:qr[cn],[cn]),[Qn]=gi(_o,gr,oo),Dr={},Qr=function(qr,Co){let qo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var jo,ra,da;const fa=Object.assign(Object.assign({},Dr),qr);qo&&((jo=Dr.resetPagination)===null||jo===void 0||jo.call(Dr),!((ra=fa.pagination)===null||ra===void 0)&&ra.current&&(fa.pagination.current=1),Zt&&Zt.onChange&&Zt.onChange(1,(da=fa.pagination)===null||da===void 0?void 0:da.pageSize)),Hn&&Hn.scrollToFirstRowOnChange!==!1&&Jn.body.current&&(0,Mo.Z)(0,{getContainer:()=>Jn.body.current}),_n==null||_n(fa.pagination,fa.filters,fa.sorter,{currentDataSource:ni(bi(_o,fa.sorterStates,gr),fa.filterStates),action:Co})},Yr=(qr,Co)=>{Qr({sorter:qr,sorterStates:Co},"sort",!1)},[ta,Qo,ba,Zo]=es({prefixCls:Eo,mergedColumns:cr,onSorterChange:Yr,sortDirections:Xn||["ascend","descend"],tableLocale:ro,showSorterTooltip:Dn}),va=ne.useMemo(()=>bi(_o,Qo,gr),[_o,Qo]);Dr.sorter=Zo(),Dr.sorterStates=Qo;const Ko=(qr,Co)=>{Qr({filters:qr,filterStates:Co},"filter",!0)},[ca,Ga,so]=fi({prefixCls:Eo,locale:ro,dropdownPrefixCls:la,mergedColumns:cr,onFilterChange:Ko,getPopupContainer:bn||Mr}),uo=ni(va,Ga);Dr.filters=so,Dr.filterStates=Ga;const Ao=ne.useMemo(()=>{const qr={};return Object.keys(so).forEach(Co=>{so[Co]!==null&&(qr[Co]=so[Co])}),Object.assign(Object.assign({},ba),{filters:qr})},[ba,so]),[$o]=ts(Ao),Vo=(qr,Co)=>{Qr({pagination:Object.assign(Object.assign({},Dr.pagination),{current:qr,pageSize:Co})},"paginate")},[Xr,aa]=pi(uo.length,Vo,Zt);Dr.pagination=Zt===!1?{}:Va(Xr,Zt),Dr.resetPagination=aa;const na=ne.useMemo(()=>{if(Zt===!1||!Xr.pageSize)return uo;const{current:qr=1,total:Co,pageSize:qo=$a}=Xr;return uo.length<Co?uo.length>qo?uo.slice((qr-1)*qo,qr*qo):uo:uo.slice((qr-1)*qo,qr*qo)},[!!Zt,uo,Xr&&Xr.current,Xr&&Xr.pageSize,Xr&&Xr.total]),[pa,xa]=Ia({prefixCls:Eo,data:uo,pageData:na,getRowKey:oo,getRecordByKey:Qn,expandType:ur,childrenColumnName:gr,locale:ro,getPopupContainer:bn||Mr},Ut),Pa=(qr,Co,qo)=>{let jo;return typeof nn=="function"?jo=xe()(nn(qr,Co,qo)):jo=xe()(nn),xe()({[`${Eo}-row-selected`]:xa.has(oo(qr,Co))},jo)};vr.__PARENT_RENDER_ICON__=vr.expandIcon,vr.expandIcon=vr.expandIcon||tr||qt(ro),ur==="nest"&&vr.expandIconColumnIndex===void 0?vr.expandIconColumnIndex=Ut?1:0:vr.expandIconColumnIndex>0&&Ut&&(vr.expandIconColumnIndex-=1),typeof vr.indentSize!="number"&&(vr.indentSize=typeof Rr=="number"?Rr:15);const ei=ne.useCallback(qr=>$o(pa(ca(ta(qr)))),[ta,ca,pa]);let Aa,ya;if(Zt!==!1&&(Xr!=null&&Xr.total)){let qr;Xr.size?qr=Xr.size:qr=Wo==="small"||Wo==="middle"?"small":void 0;const Co=ra=>ne.createElement(on.Z,Object.assign({},Xr,{className:xe()(`${Eo}-pagination ${Eo}-pagination-${ra}`,Xr.className),size:qr})),qo=So==="rtl"?"left":"right",{position:jo}=Xr;if(jo!==null&&Array.isArray(jo)){const ra=jo.find(Da=>Da.includes("top")),da=jo.find(Da=>Da.includes("bottom")),fa=jo.every(Da=>`${Da}`=="none");!ra&&!da&&!fa&&(ya=Co(qo)),ra&&(Aa=Co(ra.toLowerCase().replace("top",""))),da&&(ya=Co(da.toLowerCase().replace("bottom","")))}else ya=Co(qo)}let ua;typeof Bn=="boolean"?ua={spinning:Bn}:typeof Bn=="object"&&(ua=Object.assign({spinning:!0},Bn));const[ia,Xo]=ws(Eo),[,Do]=(0,Qt.Z)(),_a=xe()(`${Eo}-wrapper`,eo==null?void 0:eo.className,{[`${Eo}-wrapper-rtl`]:So==="rtl"},yt,Pt,Xo),Wa=Object.assign(Object.assign({},eo==null?void 0:eo.style),wt),Ra=Gn&&Gn.emptyText||(Fo==null?void 0:Fo("Table"))||ne.createElement(no.Z,{componentName:"Table"}),Oa=$n?rs:ns,li={},Pi=ne.useMemo(()=>{const{fontSize:qr,lineHeight:Co,padding:qo,paddingXS:jo,paddingSM:ra}=Do,da=Math.floor(qr*Co);switch(Wo){case"large":return qo*2+da;case"small":return jo*2+da;default:return ra*2+da}},[Do,Wo]);return $n&&(li.listItemHeight=Pi),ia(ne.createElement("div",{ref:it,className:_a,style:Wa},ne.createElement(ln.Z,Object.assign({spinning:!1},ua),Aa,ne.createElement(Oa,Object.assign({},li,Hr,{columns:cr,direction:So,expandable:vr,prefixCls:Eo,className:xe()({[`${Eo}-middle`]:Wo==="middle",[`${Eo}-small`]:Wo==="small",[`${Eo}-bordered`]:Mt,[`${Eo}-empty`]:_o.length===0}),data:na,rowKey:oo,rowClassName:Pa,emptyText:Ra,internalHooks:_e,internalRefs:Jn,transformColumns:ei})),ya)))};var xs=ne.forwardRef(Es);const _s=(rt,it)=>{const gt=ne.useRef(0);return gt.current+=1,ne.createElement(xs,Object.assign({},rt,{ref:it,_renderTimes:gt.current}))},La=ne.forwardRef(_s);La.SELECTION_COLUMN=Ca,La.EXPAND_COLUMN=be,La.SELECTION_ALL=Ya,La.SELECTION_INVERT=Ja,La.SELECTION_NONE=ir,La.Column=To,La.ColumnGroup=Lo,La.Summary=Ee;var Os=La,Ts=Os},12563:function(Et,dt,ve){"use strict";ve.d(dt,{default:function(){return Pe}});var be=ve(59301),_e=ve(99267),E=ve(92310),pe=ve.n(E),de=ve(36785),se=ve(47729),ne=ve(14088),ie=ve(36355),ce=ve(17313),ue=ve(37613),ae=ve(83116);const oe=we=>{const{paddingXXS:De,lineWidth:xe,tagPaddingHorizontal:Ae,componentCls:Ce}=we,je=Ae-xe,Fe=De-xe;return{[Ce]:Object.assign(Object.assign({},(0,ce.Wf)(we)),{display:"inline-block",height:"auto",marginInlineEnd:we.marginXS,paddingInline:je,fontSize:we.tagFontSize,lineHeight:we.tagLineHeight,whiteSpace:"nowrap",background:we.defaultBg,border:`${we.lineWidth}px ${we.lineType} ${we.colorBorder}`,borderRadius:we.borderRadiusSM,opacity:1,transition:`all ${we.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Ce}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:we.defaultColor},[`${Ce}-close-icon`]:{marginInlineStart:Fe,color:we.colorTextDescription,fontSize:we.tagIconSize,cursor:"pointer",transition:`all ${we.motionDurationMid}`,"&:hover":{color:we.colorTextHeading}},[`&${Ce}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${we.iconCls}-close, ${we.iconCls}-close:hover`]:{color:we.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Ce}-checkable-checked):hover`]:{color:we.colorPrimary,backgroundColor:we.colorFillSecondary},"&:active, &-checked":{color:we.colorTextLightSolid},"&-checked":{backgroundColor:we.colorPrimary,"&:hover":{backgroundColor:we.colorPrimaryHover}},"&:active":{backgroundColor:we.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${we.iconCls} + span, > span + ${we.iconCls}`]:{marginInlineStart:je}}),[`${Ce}-borderless`]:{borderColor:"transparent",background:we.tagBorderlessBg}}},re=we=>{const{lineWidth:De,fontSizeIcon:xe}=we,Ae=we.fontSizeSM,Ce=`${we.lineHeightSM*Ae}px`;return(0,ue.TS)(we,{tagFontSize:Ae,tagLineHeight:Ce,tagIconSize:xe-2*De,tagPaddingHorizontal:8,tagBorderlessBg:we.colorFillTertiary})},z=we=>({defaultBg:we.colorFillQuaternary,defaultColor:we.colorText});var a=(0,ae.Z)("Tag",we=>{const De=re(we);return oe(De)},z),y=function(we,De){var xe={};for(var Ae in we)Object.prototype.hasOwnProperty.call(we,Ae)&&De.indexOf(Ae)<0&&(xe[Ae]=we[Ae]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ae=Object.getOwnPropertySymbols(we);Ce<Ae.length;Ce++)De.indexOf(Ae[Ce])<0&&Object.prototype.propertyIsEnumerable.call(we,Ae[Ce])&&(xe[Ae[Ce]]=we[Ae[Ce]]);return xe},b=we=>{const{prefixCls:De,style:xe,className:Ae,checked:Ce,onChange:je,onClick:Fe}=we,Ge=y(we,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Be,tag:tt}=be.useContext(ie.E_),Ye=ze=>{je==null||je(!Ce),Fe==null||Fe(ze)},Ve=Be("tag",De),[Xe,Ze]=a(Ve),ke=pe()(Ve,`${Ve}-checkable`,{[`${Ve}-checkable-checked`]:Ce},tt==null?void 0:tt.className,Ae,Ze);return Xe(be.createElement("span",Object.assign({},Ge,{style:Object.assign(Object.assign({},xe),tt==null?void 0:tt.style),className:ke,onClick:Ye})))},ee=ve(45157);const te=we=>(0,ee.Z)(we,(De,xe)=>{let{textColor:Ae,lightBorderColor:Ce,lightColor:je,darkColor:Fe}=xe;return{[`${we.componentCls}-${De}`]:{color:Ae,background:je,borderColor:Ce,"&-inverse":{color:we.colorTextLightSolid,background:Fe,borderColor:Fe},[`&${we.componentCls}-borderless`]:{borderColor:"transparent"}}}});var le=(0,ae.b)(["Tag","preset"],we=>{const De=re(we);return te(De)},z);function fe(we){return typeof we!="string"?we:we.charAt(0).toUpperCase()+we.slice(1)}const ge=(we,De,xe)=>{const Ae=fe(xe);return{[`${we.componentCls}-${De}`]:{color:we[`color${xe}`],background:we[`color${Ae}Bg`],borderColor:we[`color${Ae}Border`],[`&${we.componentCls}-borderless`]:{borderColor:"transparent"}}}};var me=(0,ae.b)(["Tag","status"],we=>{const De=re(we);return[ge(De,"success","Success"),ge(De,"processing","Info"),ge(De,"error","Error"),ge(De,"warning","Warning")]},z),he=function(we,De){var xe={};for(var Ae in we)Object.prototype.hasOwnProperty.call(we,Ae)&&De.indexOf(Ae)<0&&(xe[Ae]=we[Ae]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ae=Object.getOwnPropertySymbols(we);Ce<Ae.length;Ce++)De.indexOf(Ae[Ce])<0&&Object.prototype.propertyIsEnumerable.call(we,Ae[Ce])&&(xe[Ae[Ce]]=we[Ae[Ce]]);return xe};const Se=(we,De)=>{const{prefixCls:xe,className:Ae,rootClassName:Ce,style:je,children:Fe,icon:Ge,color:Be,onClose:tt,closeIcon:Ye,closable:Ve,bordered:Xe=!0}=we,Ze=he(we,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:ke,direction:ze,tag:et}=be.useContext(ie.E_),[Je,ut]=be.useState(!0);be.useEffect(()=>{"visible"in Ze&&ut(Ze.visible)},[Ze.visible]);const Qe=(0,de.o2)(Be),Ue=(0,de.yT)(Be),Re=Qe||Ue,$e=Object.assign(Object.assign({backgroundColor:Be&&!Re?Be:void 0},et==null?void 0:et.style),je),Le=ke("tag",xe),[Ne,qe]=a(Le),We=pe()(Le,et==null?void 0:et.className,{[`${Le}-${Be}`]:Re,[`${Le}-has-color`]:Be&&!Re,[`${Le}-hidden`]:!Je,[`${Le}-rtl`]:ze==="rtl",[`${Le}-borderless`]:!Xe},Ae,Ce,qe),Me=at=>{at.stopPropagation(),tt==null||tt(at),!at.defaultPrevented&&ut(!1)},[,Te]=(0,se.Z)(Ve,Ye,at=>at===null?be.createElement(_e.Z,{className:`${Le}-close-icon`,onClick:Me}):be.createElement("span",{className:`${Le}-close-icon`,onClick:Me},at),null,!1),Oe=typeof Ze.onClick=="function"||Fe&&Fe.type==="a",Ee=Ge||null,Ie=Ee?be.createElement(be.Fragment,null,Ee,Fe&&be.createElement("span",null,Fe)):Fe,Ke=be.createElement("span",Object.assign({},Ze,{ref:De,className:We,style:$e}),Ie,Te,Qe&&be.createElement(le,{key:"preset",prefixCls:Le}),Ue&&be.createElement(me,{key:"status",prefixCls:Le}));return Ne(Oe?be.createElement(ne.Z,{component:"Tag"},Ke):Ke)},ye=be.forwardRef(Se);ye.CheckableTag=b;var Pe=ye},65615:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return at}});var be=ve(59301),_e=ve(33885),E=ve(54476),pe=ve(76190),de=ve(42978),se=ve(75931),ne=ve(43403),ie=ve(35593),ce=ve(92310),ue=ve.n(ce),ae=ve(34280),oe=ve(18929),re=ve(6089);function z(He){var nt=window.innerWidth||document.documentElement.clientWidth,ft=window.innerHeight||document.documentElement.clientHeight,lt=He.getBoundingClientRect(),pt=lt.top,ct=lt.right,vt=lt.bottom,ot=lt.left;return pt>=0&&ot>=0&&ct<=nt&&vt<=ft}function a(He,nt,ft){var lt;return(lt=ft!=null?ft:nt)!==null&<!==void 0?lt:He===null?"center":"bottom"}function y(He,nt,ft,lt){var pt=(0,be.useState)(void 0),ct=(0,de.Z)(pt,2),vt=ct[0],ot=ct[1];(0,ae.Z)(function(){var $t=typeof He=="function"?He():He;ot($t||null)});var st=(0,be.useState)(null),ht=(0,de.Z)(st,2),mt=ht[0],bt=ht[1],xt=(0,re.Z)(function(){if(vt){!z(vt)&&nt&&vt.scrollIntoView(lt);var $t=vt.getBoundingClientRect(),dn=$t.left,en=$t.top,Jt=$t.width,wn=$t.height,Tn={left:dn,top:en,width:Jt,height:wn,radius:0};bt(function(fn){return JSON.stringify(fn)!==JSON.stringify(Tn)?Tn:fn})}else bt(null)}),Ft=function(dn){var en;return(en=Array.isArray(ft==null?void 0:ft.offset)?ft==null?void 0:ft.offset[dn]:ft==null?void 0:ft.offset)!==null&&en!==void 0?en:6};(0,ae.Z)(function(){return xt(),window.addEventListener("resize",xt),function(){window.removeEventListener("resize",xt)}},[vt,nt,xt]);var Dt=(0,be.useMemo)(function(){if(!mt)return mt;var $t=Ft(0),dn=Ft(1),en=(ft==null?void 0:ft.radius)||2;return{left:mt.left-$t,top:mt.top-dn,width:mt.width+$t*2,height:mt.height+dn*2,radius:en}},[mt,ft]);return[Dt,vt]}var x=ve(80402),b={fill:"transparent",pointerEvents:"auto"},ee=function(nt){var ft=nt.prefixCls,lt=nt.rootClassName,pt=nt.pos,ct=nt.showMask,vt=nt.style,ot=vt===void 0?{}:vt,st=nt.fill,ht=st===void 0?"rgba(0,0,0,0.5)":st,mt=nt.open,bt=nt.animated,xt=nt.zIndex,Ft=(0,x.Z)(),Dt="".concat(ft,"-mask-").concat(Ft),$t=(0,pe.Z)(bt)==="object"?bt==null?void 0:bt.placeholder:bt;return be.createElement(ne.Z,{open:mt,autoLock:!0},be.createElement("div",{className:ue()("".concat(ft,"-mask"),lt),style:(0,_e.Z)({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:xt,pointerEvents:"none"},ot)},ct?be.createElement("svg",{style:{width:"100%",height:"100%"}},be.createElement("defs",null,be.createElement("mask",{id:Dt},be.createElement("rect",{x:"0",y:"0",width:"100vw",height:"100vh",fill:"white"}),pt&&be.createElement("rect",{x:pt.left,y:pt.top,rx:pt.radius,width:pt.width,height:pt.height,fill:"black",className:$t?"".concat(ft,"-placeholder-animated"):""}))),be.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:ht,mask:"url(#".concat(Dt,")")}),pt&&be.createElement(be.Fragment,null,be.createElement("rect",(0,E.Z)({},b,{x:"0",y:"0",width:"100%",height:pt.top})),be.createElement("rect",(0,E.Z)({},b,{x:"0",y:"0",width:pt.left,height:"100%"})),be.createElement("rect",(0,E.Z)({},b,{x:"0",y:pt.top+pt.height,width:"100%",height:"calc(100vh - ".concat(pt.top+pt.height,"px)")})),be.createElement("rect",(0,E.Z)({},b,{x:pt.left+pt.width,y:"0",width:"calc(100vw - ".concat(pt.left+pt.width,"px)"),height:"100%"})))):null))},te=ee,le={adjustX:1,adjustY:1},fe=[0,0],ge={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tl"],offset:[0,-8]},leftTop:{points:["tr","tl"],offset:[-8,0]},topRight:{points:["br","tr"],offset:[0,-8]},rightTop:{points:["tl","tr"],offset:[8,0]},bottomRight:{points:["tr","br"],offset:[0,8]},rightBottom:{points:["bl","br"],offset:[8,0]},bottomLeft:{points:["tl","bl"],offset:[0,8]},leftBottom:{points:["br","bl"],offset:[-8,0]}};function me(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,nt={};return Object.keys(ge).forEach(function(ft){nt[ft]=(0,_e.Z)((0,_e.Z)({},ge[ft]),{},{autoArrow:He,targetOffset:fe})}),nt}var he=me(),Se=ve(94480);function ye(He){var nt=He.prefixCls,ft=He.current,lt=He.total,pt=He.title,ct=He.description,vt=He.onClose,ot=He.onPrev,st=He.onNext,ht=He.onFinish,mt=He.className,bt=He.closeIcon,xt=bt!==!1&&bt!==null,Ft=bt!==void 0&&bt!==!0?bt:be.createElement("span",{className:"".concat(nt,"-close-x")},"\xD7");return be.createElement("div",{className:ue()("".concat(nt,"-content"),mt)},be.createElement("div",{className:"".concat(nt,"-inner")},xt&&be.createElement("button",{type:"button",onClick:vt,"aria-label":"Close",className:"".concat(nt,"-close")},Ft),be.createElement("div",{className:"".concat(nt,"-header")},be.createElement("div",{className:"".concat(nt,"-title")},pt)),be.createElement("div",{className:"".concat(nt,"-description")},ct),be.createElement("div",{className:"".concat(nt,"-footer")},be.createElement("div",{className:"".concat(nt,"-sliders")},lt>1?(0,Se.Z)(Array.from({length:lt}).keys()).map(function(Dt,$t){return be.createElement("span",{key:Dt,className:$t===ft?"active":""})}):null),be.createElement("div",{className:"".concat(nt,"-buttons")},ft!==0?be.createElement("button",{className:"".concat(nt,"-prev-btn"),onClick:ot},"Prev"):null,ft===lt-1?be.createElement("button",{className:"".concat(nt,"-finish-btn"),onClick:ht},"Finish"):be.createElement("button",{className:"".concat(nt,"-next-btn"),onClick:st},"Next")))))}var Pe=function(nt){var ft=nt.current,lt=nt.renderPanel;return be.createElement(be.Fragment,null,typeof lt=="function"?lt(nt,ft):be.createElement(ye,nt))},we=Pe,De=["prefixCls","steps","defaultCurrent","current","onChange","onClose","onFinish","open","mask","arrow","rootClassName","placement","renderPanel","gap","animated","scrollIntoViewOptions","zIndex","closeIcon"],xe={left:"50%",top:"50%",width:1,height:1},Ae=function(nt){var ft=nt.prefixCls,lt=ft===void 0?"rc-tour":ft,pt=nt.steps,ct=pt===void 0?[]:pt,vt=nt.defaultCurrent,ot=nt.current,st=nt.onChange,ht=nt.onClose,mt=nt.onFinish,bt=nt.open,xt=nt.mask,Ft=xt===void 0?!0:xt,Dt=nt.arrow,$t=Dt===void 0?!0:Dt,dn=nt.rootClassName,en=nt.placement,Jt=nt.renderPanel,wn=nt.gap,Tn=nt.animated,fn=nt.scrollIntoViewOptions,zn=fn===void 0?!0:fn,Un=nt.zIndex,Nn=Un===void 0?1001:Un,On=nt.closeIcon,Mn=(0,se.Z)(nt,De),Wn=be.useRef(),qn=(0,oe.Z)(0,{value:ot,defaultValue:vt}),Nr=(0,de.Z)(qn,2),er=Nr[0],jr=Nr[1],sr=(0,oe.Z)(void 0,{value:bt,postState:function(rr){return er<0||er>=ct.length?!1:rr!=null?rr:!0}}),hr=(0,de.Z)(sr,2),Ot=hr[0],It=hr[1],_t=be.useRef(Ot);(0,ae.Z)(function(){Ot&&!_t.current&&jr(0),_t.current=Ot},[Ot]);var tn=ct[er]||{},Fn=tn.target,Cn=tn.placement,Br=tn.style,or=tn.arrow,Ht=tn.className,Lt=tn.mask,rn=tn.scrollIntoViewOptions,jt=tn.closeIcon,un=Ot&&(Lt!=null?Lt:Ft),En=jt!=null?jt:On,jn=rn!=null?rn:zn,Sn=y(Fn,bt,wn,jn),St=(0,de.Z)(Sn,2),Bt=St[0],Nt=St[1],Ct=a(Nt,en,Cn),Xt=Nt?typeof or=="undefined"?$t:or:!1,Vt=(0,pe.Z)(Xt)==="object"?Xt.pointAtCenter:!1;(0,ae.Z)(function(){var nr;(nr=Wn.current)===null||nr===void 0||nr.forceAlign()},[Vt,er]);var Wt=function(rr){jr(rr),st==null||st(rr)};if(Nt===void 0)return null;var Kt=function(){It(!1),ht==null||ht(er)},In=function(){return be.createElement(we,(0,E.Z)({arrow:Xt,key:"content",prefixCls:lt,total:ct.length,renderPanel:Jt,onPrev:function(){Wt(er-1)},onNext:function(){Wt(er+1)},onClose:Kt,current:er,onFinish:function(){Kt(),mt==null||mt()},closeIcon:En},ct[er]))},Rn=typeof un=="boolean"?un:!!un,kt=typeof un=="boolean"?void 0:un,yr=function(rr){return rr||Nt||document.body};return be.createElement(be.Fragment,null,be.createElement(te,{zIndex:Nn,prefixCls:lt,pos:Bt,showMask:Rn,style:kt==null?void 0:kt.style,fill:kt==null?void 0:kt.color,open:Ot,animated:Tn,rootClassName:dn}),be.createElement(ie.Z,(0,E.Z)({builtinPlacements:me(Vt)},Mn,{ref:Wn,popupStyle:Br,popupPlacement:Ct,popupVisible:Ot,popupClassName:ue()(dn,Ht),prefixCls:lt,popup:In,forceRender:!1,destroyPopupOnHide:!0,zIndex:Nn,getTriggerDOMNode:yr,arrow:!!Xt}),be.createElement(ne.Z,{open:Ot,autoLock:!0},be.createElement("div",{className:ue()(dn,"".concat(lt,"-target-placeholder")),style:(0,_e.Z)((0,_e.Z)({},Bt||xe),{},{position:"fixed",pointerEvents:"none"})}))))},Ce=Ae,je=Ce,Fe=ve(79676),Ge=ve(36355),Be=ve(88088),tt=ve(99267),Ye=ve(3113),Ve=ve(9763),Xe=ve(31724),Ze=ve(47729);function ke(He){return He!=null}var et=He=>{let{stepProps:nt,current:ft,type:lt,indicatorsRender:pt,closeIcon:ct}=He;var vt,ot;const{prefixCls:st,total:ht=1,title:mt,onClose:bt,onPrev:xt,onNext:Ft,onFinish:Dt,cover:$t,description:dn,nextButtonProps:en,prevButtonProps:Jt,type:wn,className:Tn,closeIcon:fn}=nt,zn=wn!=null?wn:lt,Un=fn!=null?fn:ct,Nn=Un!==!1&&Un!==null,[On,Mn]=(0,Ze.Z)(Nn,Un,tn=>be.createElement("span",{onClick:bt,"aria-label":"Close",className:`${st}-close`},tn),be.createElement(tt.Z,{className:`${st}-close-icon`}),!0),Wn=ft===ht-1,qn=()=>{var tn;xt==null||xt(),(tn=Jt==null?void 0:Jt.onClick)===null||tn===void 0||tn.call(Jt)},Nr=()=>{var tn;Wn?Dt==null||Dt():Ft==null||Ft(),(tn=en==null?void 0:en.onClick)===null||tn===void 0||tn.call(en)},er=ke(mt)?be.createElement("div",{className:`${st}-header`},be.createElement("div",{className:`${st}-title`},mt)):null,jr=ke(dn)?be.createElement("div",{className:`${st}-description`},dn):null,sr=ke($t)?be.createElement("div",{className:`${st}-cover`},$t):null;let hr;pt?hr=pt(ft,ht):hr=(0,Se.Z)(Array.from({length:ht}).keys()).map((tn,Fn)=>be.createElement("span",{key:tn,className:ue()(Fn===ft&&`${st}-indicator-active`,`${st}-indicator`)}));const Ot=zn==="primary"?"default":"primary",It={type:"default",ghost:zn==="primary"},[_t]=(0,Ve.Z)("Tour",Xe.Z.Tour);return be.createElement("div",{className:ue()(Tn,`${st}-content`)},be.createElement("div",{className:`${st}-inner`},On&&Mn,sr,er,jr,be.createElement("div",{className:`${st}-footer`},ht>1&&be.createElement("div",{className:`${st}-indicators`},hr),be.createElement("div",{className:`${st}-buttons`},ft!==0?be.createElement(Ye.ZP,Object.assign({},It,Jt,{onClick:qn,size:"small",className:ue()(`${st}-prev-btn`,Jt==null?void 0:Jt.className)}),(vt=Jt==null?void 0:Jt.children)!==null&&vt!==void 0?vt:_t==null?void 0:_t.Previous):null,be.createElement(Ye.ZP,Object.assign({type:Ot},en,{onClick:Nr,size:"small",className:ue()(`${st}-next-btn`,en==null?void 0:en.className)}),(ot=en==null?void 0:en.children)!==null&&ot!==void 0?ot:Wn?_t==null?void 0:_t.Finish:_t==null?void 0:_t.Next)))))},Je=ve(39722),ut=ve(64993),Qe=ve(17313),Ue=ve(19447),Re=ve(83116),$e=ve(37613);const Le=He=>{const{componentCls:nt,lineHeight:ft,padding:lt,paddingXS:pt,borderRadius:ct,borderRadiusXS:vt,colorPrimary:ot,colorText:st,colorFill:ht,indicatorHeight:mt,indicatorWidth:bt,boxShadowTertiary:xt,tourZIndexPopup:Ft,fontSize:Dt,colorBgElevated:$t,fontWeightStrong:dn,marginXS:en,colorTextLightSolid:Jt,tourBorderRadius:wn,colorWhite:Tn,colorBgTextHover:fn,tourCloseSize:zn,motionDurationSlow:Un,antCls:Nn}=He;return[{[nt]:Object.assign(Object.assign({},(0,Qe.Wf)(He)),{color:st,position:"absolute",zIndex:Ft,display:"block",visibility:"visible",fontSize:Dt,lineHeight:ft,width:520,"--antd-arrow-background-color":$t,"&-pure":{maxWidth:"100%",position:"relative"},[`&${nt}-hidden`]:{display:"none"},[`${nt}-content`]:{position:"relative"},[`${nt}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:wn,boxShadow:xt,position:"relative",backgroundColor:$t,border:"none",backgroundClip:"padding-box",[`${nt}-close`]:{position:"absolute",top:lt,insetInlineEnd:lt,color:He.colorIcon,outline:"none",width:zn,height:zn,borderRadius:He.borderRadiusSM,transition:`background-color ${He.motionDurationMid}, color ${He.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:He.colorIconHover,backgroundColor:He.wireframe?"transparent":He.colorFillContent}},[`${nt}-cover`]:{textAlign:"center",padding:`${lt+zn+pt}px ${lt}px 0`,img:{width:"100%"}},[`${nt}-header`]:{padding:`${lt}px ${lt}px ${pt}px`,[`${nt}-title`]:{lineHeight:ft,fontSize:Dt,fontWeight:dn}},[`${nt}-description`]:{padding:`0 ${lt}px`,lineHeight:ft,wordWrap:"break-word"},[`${nt}-footer`]:{padding:`${pt}px ${lt}px ${lt}px`,textAlign:"end",borderRadius:`0 0 ${vt}px ${vt}px`,display:"flex",[`${nt}-indicators`]:{display:"inline-block",[`${nt}-indicator`]:{width:bt,height:mt,display:"inline-block",borderRadius:"50%",background:ht,"&:not(:last-child)":{marginInlineEnd:mt},"&-active":{background:ot}}},[`${nt}-buttons`]:{marginInlineStart:"auto",[`${Nn}-btn`]:{marginInlineStart:en}}}},[`${nt}-primary, &${nt}-primary`]:{"--antd-arrow-background-color":ot,[`${nt}-inner`]:{color:Jt,textAlign:"start",textDecoration:"none",backgroundColor:ot,borderRadius:ct,boxShadow:xt,[`${nt}-close`]:{color:Jt},[`${nt}-indicators`]:{[`${nt}-indicator`]:{background:new ut.C(Jt).setAlpha(.15).toRgbString(),"&-active":{background:Jt}}},[`${nt}-prev-btn`]:{color:Jt,borderColor:new ut.C(Jt).setAlpha(.15).toRgbString(),backgroundColor:ot,"&:hover":{backgroundColor:new ut.C(Jt).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${nt}-next-btn`]:{color:ot,borderColor:"transparent",background:Tn,"&:hover":{background:new ut.C(fn).onBackground(Tn).toRgbString()}}}}}),[`${nt}-mask`]:{[`${nt}-placeholder-animated`]:{transition:`all ${Un}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${nt}-inner`]:{borderRadius:Math.min(wn,Ue.qN)}}},(0,Ue.ZP)(He,{colorBg:"var(--antd-arrow-background-color)",contentRadius:wn,limitVerticalRadius:!0})]};var Ne=(0,Re.Z)("Tour",He=>{const{borderRadiusLG:nt,fontSize:ft,lineHeight:lt}=He,pt=(0,$e.TS)(He,{tourZIndexPopup:He.zIndexPopupBase+70,indicatorWidth:6,indicatorHeight:6,tourBorderRadius:nt,tourCloseSize:ft*lt});return[Le(pt)]}),qe=ve(53487),We=function(He,nt){var ft={};for(var lt in He)Object.prototype.hasOwnProperty.call(He,lt)&&nt.indexOf(lt)<0&&(ft[lt]=He[lt]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,lt=Object.getOwnPropertySymbols(He);pt<lt.length;pt++)nt.indexOf(lt[pt])<0&&Object.prototype.propertyIsEnumerable.call(He,lt[pt])&&(ft[lt[pt]]=He[lt[pt]]);return ft};const Me=He=>{const{prefixCls:nt,current:ft=0,total:lt=6,className:pt,style:ct,type:vt}=He,ot=We(He,["prefixCls","current","total","className","style","type"]),{getPrefixCls:st}=be.useContext(Ge.E_),ht=st("tour",nt),[mt,bt]=Ne(ht);return mt(be.createElement(Je.t5,{prefixCls:ht,hashId:bt,className:ue()(pt,`${ht}-pure`,vt&&`${ht}-${vt}`),style:ct},be.createElement(et,{stepProps:Object.assign(Object.assign({},ot),{prefixCls:ht,total:lt}),current:ft,type:vt})))};var Te=(0,qe.i)(Me),Ee=He=>{let{defaultType:nt,steps:ft=[],current:lt,defaultCurrent:pt}=He;var ct;const[vt,ot]=(0,oe.Z)(pt,{value:lt});(0,be.useLayoutEffect)(()=>{lt!==void 0&&ot(lt)},[lt]);const st=typeof vt=="number"?(ct=ft[vt])===null||ct===void 0?void 0:ct.type:nt;return{currentMergedType:st!=null?st:nt,updateInnerCurrent:ot}},Ie=function(He,nt){var ft={};for(var lt in He)Object.prototype.hasOwnProperty.call(He,lt)&&nt.indexOf(lt)<0&&(ft[lt]=He[lt]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,lt=Object.getOwnPropertySymbols(He);pt<lt.length;pt++)nt.indexOf(lt[pt])<0&&Object.prototype.propertyIsEnumerable.call(He,lt[pt])&&(ft[lt[pt]]=He[lt[pt]]);return ft};const Ke=He=>{const{prefixCls:nt,current:ft,defaultCurrent:lt,type:pt,rootClassName:ct,indicatorsRender:vt,steps:ot}=He,st=Ie(He,["prefixCls","current","defaultCurrent","type","rootClassName","indicatorsRender","steps"]),{getPrefixCls:ht,direction:mt}=(0,be.useContext)(Ge.E_),bt=ht("tour",nt),[xt,Ft]=Ne(bt),[,Dt]=(0,Be.Z)(),{currentMergedType:$t,updateInnerCurrent:dn}=Ee({defaultType:pt,steps:ot,current:ft,defaultCurrent:lt}),en=(0,Fe.Z)({arrowPointAtCenter:!0,autoAdjustOverflow:!0,offset:Dt.marginXXS,arrowWidth:Dt.sizePopupArrow,borderRadius:Dt.borderRadius}),Jt=ue()({[`${bt}-primary`]:$t==="primary",[`${bt}-rtl`]:mt==="rtl"},Ft,ct),wn=(fn,zn)=>be.createElement(et,{type:pt,stepProps:fn,current:zn,indicatorsRender:vt}),Tn=fn=>{var zn;dn(fn),(zn=He.onChange)===null||zn===void 0||zn.call(He,fn)};return xt(be.createElement(je,Object.assign({},st,{rootClassName:Jt,prefixCls:bt,current:ft,defaultCurrent:lt,animated:!0,renderPanel:wn,builtinPlacements:en,onChange:Tn,steps:ot})))};Ke._InternalPanelDoNotUseOrYouWillBeFired=Te;var at=Ke},17574:function(Et,dt,ve){"use strict";ve.d(dt,{default:function(){return Be}});var be=ve(60091),_e=ve(94480),E=ve(52671),pe=ve(8657),de=ve(54476),se=ve(59301),ne={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"},ie=ne,ce=ve(7657),ue=function(Ye,Ve){return se.createElement(ce.Z,(0,de.Z)({},Ye,{ref:Ve,icon:ie}))},ae=se.forwardRef(ue),oe=ae,re=ve(92310),z=ve.n(re),a=ve(35654),y=ve(71430),x=ve(36355),b=ve(56082),ee=ve(62892),te=ve(20648);const le=4;function fe(tt){const{dropPosition:Ye,dropLevelOffset:Ve,prefixCls:Xe,indent:Ze,direction:ke="ltr"}=tt,ze=ke==="ltr"?"left":"right",et=ke==="ltr"?"right":"left",Je={[ze]:-Ve*Ze+le,[et]:0};switch(Ye){case-1:Je.top=-3;break;case 1:Je.bottom=-3;break;default:Je.bottom=-3,Je[ze]=Ze+le;break}return se.createElement("div",{style:Je,className:`${Xe}-drop-indicator`})}var ge=ve(71997),he=se.forwardRef((tt,Ye)=>{const{getPrefixCls:Ve,direction:Xe,virtual:Ze,tree:ke}=se.useContext(x.E_),{prefixCls:ze,className:et,showIcon:Je=!1,showLine:ut,switcherIcon:Qe,blockNode:Ue=!1,children:Re,checkable:$e=!1,selectable:Le=!0,draggable:Ne,motion:qe,style:We}=tt,Me=Ve("tree",ze),Te=Ve(),Oe=qe!=null?qe:Object.assign(Object.assign({},(0,ee.Z)(Te)),{motionAppear:!1}),Ee=Object.assign(Object.assign({},tt),{checkable:$e,selectable:Le,showIcon:Je,motion:Oe,blockNode:Ue,showLine:!!ut,dropIndicatorRender:fe}),[Ie,Ke]=(0,te.ZP)(Me),at=se.useMemo(()=>{if(!Ne)return!1;let nt={};switch(typeof Ne){case"function":nt.nodeDraggable=Ne;break;case"object":nt=Object.assign({},Ne);break;default:break}return nt.icon!==!1&&(nt.icon=nt.icon||se.createElement(b.Z,null)),nt},[Ne]),He=nt=>se.createElement(ge.Z,{prefixCls:Me,switcherIcon:Qe,treeNodeProps:nt,showLine:ut});return Ie(se.createElement(be.Z,Object.assign({itemHeight:20,ref:Ye,virtual:Ze},Ee,{style:Object.assign(Object.assign({},ke==null?void 0:ke.style),We),prefixCls:Me,className:z()({[`${Me}-icon-hide`]:!Je,[`${Me}-block-node`]:Ue,[`${Me}-unselectable`]:!Le,[`${Me}-rtl`]:Xe==="rtl"},ke==null?void 0:ke.className,et,Ke),direction:Xe,checkable:$e&&se.createElement("span",{className:`${Me}-checkbox-inner`}),selectable:Le,switcherIcon:He,draggable:at}),Re))}),Se;(function(tt){tt[tt.None=0]="None",tt[tt.Start=1]="Start",tt[tt.End=2]="End"})(Se||(Se={}));function ye(tt,Ye){function Ve(Xe){const{key:Ze,children:ke}=Xe;Ye(Ze,Xe)!==!1&&ye(ke||[],Ye)}tt.forEach(Ve)}function Pe(tt){let{treeData:Ye,expandedKeys:Ve,startKey:Xe,endKey:Ze}=tt;const ke=[];let ze=Se.None;if(Xe&&Xe===Ze)return[Xe];if(!Xe||!Ze)return[];function et(Je){return Je===Xe||Je===Ze}return ye(Ye,Je=>{if(ze===Se.End)return!1;if(et(Je)){if(ke.push(Je),ze===Se.None)ze=Se.Start;else if(ze===Se.Start)return ze=Se.End,!1}else ze===Se.Start&&ke.push(Je);return Ve.includes(Je)}),ke}function we(tt,Ye){const Ve=(0,_e.Z)(Ye),Xe=[];return ye(tt,(Ze,ke)=>{const ze=Ve.indexOf(Ze);return ze!==-1&&(Xe.push(ke),Ve.splice(ze,1)),!!Ve.length}),Xe}var De=function(tt,Ye){var Ve={};for(var Xe in tt)Object.prototype.hasOwnProperty.call(tt,Xe)&&Ye.indexOf(Xe)<0&&(Ve[Xe]=tt[Xe]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Xe=Object.getOwnPropertySymbols(tt);Ze<Xe.length;Ze++)Ye.indexOf(Xe[Ze])<0&&Object.prototype.propertyIsEnumerable.call(tt,Xe[Ze])&&(Ve[Xe[Ze]]=tt[Xe[Ze]]);return Ve};function xe(tt){const{isLeaf:Ye,expanded:Ve}=tt;return Ye?se.createElement(E.Z,null):Ve?se.createElement(pe.Z,null):se.createElement(oe,null)}function Ae(tt){let{treeData:Ye,children:Ve}=tt;return Ye||(0,y.zn)(Ve)}const Ce=(tt,Ye)=>{var{defaultExpandAll:Ve,defaultExpandParent:Xe,defaultExpandedKeys:Ze}=tt,ke=De(tt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const ze=se.useRef(),et=se.useRef(),Je=()=>{const{keyEntities:at}=(0,y.I8)(Ae(ke));let He;return Ve?He=Object.keys(at):Xe?He=(0,a.r7)(ke.expandedKeys||Ze||[],at):He=ke.expandedKeys||Ze,He},[ut,Qe]=se.useState(ke.selectedKeys||ke.defaultSelectedKeys||[]),[Ue,Re]=se.useState(()=>Je());se.useEffect(()=>{"selectedKeys"in ke&&Qe(ke.selectedKeys)},[ke.selectedKeys]),se.useEffect(()=>{"expandedKeys"in ke&&Re(ke.expandedKeys)},[ke.expandedKeys]);const $e=(at,He)=>{var nt;return"expandedKeys"in ke||Re(at),(nt=ke.onExpand)===null||nt===void 0?void 0:nt.call(ke,at,He)},Le=(at,He)=>{var nt;const{multiple:ft}=ke,{node:lt,nativeEvent:pt}=He,{key:ct=""}=lt,vt=Ae(ke),ot=Object.assign(Object.assign({},He),{selected:!0}),st=(pt==null?void 0:pt.ctrlKey)||(pt==null?void 0:pt.metaKey),ht=pt==null?void 0:pt.shiftKey;let mt;ft&&st?(mt=at,ze.current=ct,et.current=mt,ot.selectedNodes=we(vt,mt)):ft&&ht?(mt=Array.from(new Set([].concat((0,_e.Z)(et.current||[]),(0,_e.Z)(Pe({treeData:vt,expandedKeys:Ue,startKey:ct,endKey:ze.current}))))),ot.selectedNodes=we(vt,mt)):(mt=[ct],ze.current=ct,et.current=mt,ot.selectedNodes=we(vt,mt)),(nt=ke.onSelect)===null||nt===void 0||nt.call(ke,mt,ot),"selectedKeys"in ke||Qe(mt)},{getPrefixCls:Ne,direction:qe}=se.useContext(x.E_),{prefixCls:We,className:Me,showIcon:Te=!0,expandAction:Oe="click"}=ke,Ee=De(ke,["prefixCls","className","showIcon","expandAction"]),Ie=Ne("tree",We),Ke=z()(`${Ie}-directory`,{[`${Ie}-directory-rtl`]:qe==="rtl"},Me);return se.createElement(he,Object.assign({icon:xe,ref:Ye,blockNode:!0},Ee,{showIcon:Te,expandAction:Oe,prefixCls:Ie,className:Ke,expandedKeys:Ue,selectedKeys:ut,onSelect:Le,onExpand:$e}))};var Fe=se.forwardRef(Ce);const Ge=he;Ge.DirectoryTree=Fe,Ge.TreeNode=be.O;var Be=Ge},20648:function(Et,dt,ve){"use strict";ve.d(dt,{TM:function(){return re},Yk:function(){return oe}});var be=ve(36237),_e=ve(98447),E=ve(17313),pe=ve(8378),de=ve(37613),se=ve(83116);const ne=new be.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ie=(z,a)=>({[`.${z}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${a.motionDurationSlow}`}}}),ce=(z,a)=>({[`.${z}-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:'""'}}}),ue=(z,a)=>{const{treeCls:y,treeNodeCls:x,treeNodePadding:b,titleHeight:ee,nodeSelectedBg:te,nodeHoverBg:le}=a,fe=a.paddingXS;return{[y]:Object.assign(Object.assign({},(0,E.Wf)(a)),{background:a.colorBgContainer,borderRadius:a.borderRadius,transition:`background-color ${a.motionDurationSlow}`,[`&${y}-rtl`]:{[`${y}-switcher`]:{"&_close":{[`${y}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${y}-active-focused)`]:Object.assign({},(0,E.oN)(a)),[`${y}-list-holder-inner`]:{alignItems:"flex-start"},[`&${y}-block-node`]:{[`${y}-list-holder-inner`]:{alignItems:"stretch",[`${y}-node-content-wrapper`]:{flex:"auto"},[`${x}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${a.colorPrimary}`,opacity:0,animationName:ne,animationDuration:a.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${y}-node-content-wrapper`]:{color:a.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${y}-node-content-wrapper`]:Object.assign({},(0,E.oN)(a)),[`&:not(${x}-disabled).filter-node ${y}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${y}-draggable-icon`]:{flexShrink:0,width:ee,lineHeight:`${ee}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${a.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${y}-draggable-icon`]:{visibility:"hidden"}}}},[`${y}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:ee}},[`${y}-draggable-icon`]:{visibility:"hidden"},[`${y}-switcher`]:Object.assign(Object.assign({},ie(z,a)),{position:"relative",flex:"none",alignSelf:"stretch",width:ee,margin:0,lineHeight:`${ee}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:ee/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:ee/2*.8,height:ee/2,borderBottom:`1px solid ${a.colorBorder}`,content:'""'}}}),[`${y}-checkbox`]:{top:"initial",marginInlineEnd:fe},[`${y}-node-content-wrapper, ${y}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:ee,margin:0,padding:`0 ${a.paddingXS/2}px`,color:"inherit",lineHeight:`${ee}px`,background:"transparent",borderRadius:a.borderRadius,cursor:"pointer",transition:`all ${a.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:le},[`&${y}-node-selected`]:{backgroundColor:te},[`${y}-iconEle`]:{display:"inline-block",width:ee,height:ee,lineHeight:`${ee}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${y}-unselectable ${y}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${y}-node-content-wrapper`]:Object.assign({lineHeight:`${ee}px`,userSelect:"none"},ce(z,a)),[`${x}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${a.colorPrimary}`}},"&-show-line":{[`${y}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:ee/2,bottom:-b,borderInlineEnd:`1px solid ${a.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${y}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${x}-leaf-last`]:{[`${y}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${ee/2}px !important`}}}}})}},ae=z=>{const{treeCls:a,treeNodeCls:y,treeNodePadding:x,directoryNodeSelectedBg:b,directoryNodeSelectedColor:ee}=z;return{[`${a}${a}-directory`]:{[y]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${z.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:z.controlItemBgHover}},"> *":{zIndex:1},[`${a}-switcher`]:{transition:`color ${z.motionDurationMid}`},[`${a}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${a}-node-selected`]:{color:ee,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${a}-switcher`]:{color:ee},[`${a}-node-content-wrapper`]:{color:ee,background:"transparent"}}}}}},oe=(z,a)=>{const y=`.${z}`,x=`${y}-treenode`,b=a.paddingXS/2,ee=(0,de.TS)(a,{treeCls:y,treeNodeCls:x,treeNodePadding:b});return[ue(z,ee),ae(ee)]},re=z=>{const{controlHeightSM:a}=z;return{titleHeight:a,nodeHoverBg:z.controlItemBgHover,nodeSelectedBg:z.controlItemBgActive}};dt.ZP=(0,se.Z)("Tree",(z,a)=>{let{prefixCls:y}=a;return[{[z.componentCls]:(0,_e.C2)(`${y}-checkbox`,z)},oe(y,z),(0,pe.Z)(z)]},z=>{const{colorTextLightSolid:a,colorPrimary:y}=z;return Object.assign(Object.assign({},re(z)),{directoryNodeSelectedColor:a,directoryNodeSelectedBg:y})})},71997:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return x}});var be=ve(54476),_e=ve(59301),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},pe=E,de=ve(7657),se=function(ee,te){return _e.createElement(de.Z,(0,be.Z)({},ee,{ref:te,icon:pe}))},ne=_e.forwardRef(se),ie=ne,ce=ve(52671),ue=ve(58617),ae=ve(15075),oe=ve(43531),re=ve(92310),z=ve.n(re),a=ve(92343),x=b=>{const{prefixCls:ee,switcherIcon:te,treeNodeProps:le,showLine:fe}=b,{isLeaf:ge,expanded:me,loading:he}=le;if(he)return _e.createElement(ue.Z,{className:`${ee}-switcher-loading-icon`});let Se;if(fe&&typeof fe=="object"&&(Se=fe.showLeafIcon),ge){if(!fe)return null;if(typeof Se!="boolean"&&Se){const we=typeof Se=="function"?Se(le):Se,De=`${ee}-switcher-line-custom-icon`;return(0,a.l$)(we)?(0,a.Tm)(we,{className:z()(we.props.className||"",De)}):we}return Se?_e.createElement(ce.Z,{className:`${ee}-switcher-line-icon`}):_e.createElement("span",{className:`${ee}-switcher-leaf-line`})}const ye=`${ee}-switcher-icon`,Pe=typeof te=="function"?te(le):te;return(0,a.l$)(Pe)?(0,a.Tm)(Pe,{className:z()(Pe.props.className||"",ye)}):Pe!==void 0?Pe:fe?me?_e.createElement(ae.Z,{className:`${ee}-switcher-line-icon`}):_e.createElement(oe.Z,{className:`${ee}-switcher-line-icon`}):_e.createElement(ie,{className:ye})}},54580:function(Et,dt,ve){"use strict";ve.d(dt,{default:function(){return Sn}});var be=ve(59301),_e=ve(94480),E=ve(92310),pe=ve.n(E),de=ve(54476),se=ve(67732),ne=ve(83652),ie=ve(42403),ce=ve(158),ue=ve(20068),ae=ve(75931),oe=ve(75044),re=ve(76190),z=ve(3202),a=ve(26112);function y(St,Bt){var Nt="cannot ".concat(St.method," ").concat(St.action," ").concat(Bt.status,"'"),Ct=new Error(Nt);return Ct.status=Bt.status,Ct.method=St.method,Ct.url=St.action,Ct}function x(St){var Bt=St.responseText||St.response;if(!Bt)return Bt;try{return JSON.parse(Bt)}catch(Nt){return Bt}}function b(St){var Bt=new XMLHttpRequest;St.onProgress&&Bt.upload&&(Bt.upload.onprogress=function(Vt){Vt.total>0&&(Vt.percent=Vt.loaded/Vt.total*100),St.onProgress(Vt)});var Nt=new FormData;St.data&&Object.keys(St.data).forEach(function(Xt){var Vt=St.data[Xt];if(Array.isArray(Vt)){Vt.forEach(function(Wt){Nt.append("".concat(Xt,"[]"),Wt)});return}Nt.append(Xt,Vt)}),St.file instanceof Blob?Nt.append(St.filename,St.file,St.file.name):Nt.append(St.filename,St.file),Bt.onerror=function(Vt){St.onError(Vt)},Bt.onload=function(){return Bt.status<200||Bt.status>=300?St.onError(y(St,Bt),x(Bt)):St.onSuccess(x(Bt),Bt)},Bt.open(St.method,St.action,!0),St.withCredentials&&"withCredentials"in Bt&&(Bt.withCredentials=!0);var Ct=St.headers||{};return Ct["X-Requested-With"]!==null&&Bt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Ct).forEach(function(Xt){Ct[Xt]!==null&&Bt.setRequestHeader(Xt,Ct[Xt])}),Bt.send(Nt),{abort:function(){Bt.abort()}}}var ee=+new Date,te=0;function le(){return"rc-upload-".concat(ee,"-").concat(++te)}var fe=ve(48736),ge=function(St,Bt){if(St&&Bt){var Nt=Array.isArray(Bt)?Bt:Bt.split(","),Ct=St.name||"",Xt=St.type||"",Vt=Xt.replace(/\/.*$/,"");return Nt.some(function(Wt){var Kt=Wt.trim();if(/^\*(\/\*)?$/.test(Wt))return!0;if(Kt.charAt(0)==="."){var In=Ct.toLowerCase(),Rn=Kt.toLowerCase(),kt=[Rn];return(Rn===".jpg"||Rn===".jpeg")&&(kt=[".jpg",".jpeg"]),kt.some(function(yr){return In.endsWith(yr)})}return/\/\*$/.test(Kt)?Vt===Kt.replace(/\/.*$/,""):Xt===Kt?!0:/^\w+$/.test(Kt)?((0,fe.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Kt,"'.Skip for check.")),!0):!1})}return!0};function me(St,Bt){var Nt=St.createReader(),Ct=[];function Xt(){Nt.readEntries(function(Vt){var Wt=Array.prototype.slice.apply(Vt);Ct=Ct.concat(Wt);var Kt=!Wt.length;Kt?Bt(Ct):Xt()})}Xt()}var he=function(Bt,Nt,Ct){var Xt=function Vt(Wt,Kt){Wt&&(Wt.path=Kt||"",Wt.isFile?Wt.file(function(In){Ct(In)&&(Wt.fullPath&&!In.webkitRelativePath&&(Object.defineProperties(In,{webkitRelativePath:{writable:!0}}),In.webkitRelativePath=Wt.fullPath.replace(/^\//,""),Object.defineProperties(In,{webkitRelativePath:{writable:!1}})),Nt([In]))}):Wt.isDirectory&&me(Wt,function(In){In.forEach(function(Rn){Vt(Rn,"".concat(Kt).concat(Wt.name,"/"))})}))};Bt.forEach(function(Vt){Xt(Vt.webkitGetAsEntry())})},Se=he,ye=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Pe=function(St){(0,ie.Z)(Nt,St);var Bt=(0,ce.Z)(Nt);function Nt(){var Ct;(0,se.Z)(this,Nt);for(var Xt=arguments.length,Vt=new Array(Xt),Wt=0;Wt<Xt;Wt++)Vt[Wt]=arguments[Wt];return Ct=Bt.call.apply(Bt,[this].concat(Vt)),Ct.state={uid:le()},Ct.reqs={},Ct.fileInput=void 0,Ct._isMounted=void 0,Ct.onChange=function(Kt){var In=Ct.props,Rn=In.accept,kt=In.directory,yr=Kt.target.files,nr=(0,_e.Z)(yr).filter(function(rr){return!kt||ge(rr,Rn)});Ct.uploadFiles(nr),Ct.reset()},Ct.onClick=function(Kt){var In=Ct.fileInput;if(In){var Rn=Kt.target,kt=Ct.props.onClick;if(Rn&&Rn.tagName==="BUTTON"){var yr=In.parentNode;yr.focus(),Rn.blur()}In.click(),kt&&kt(Kt)}},Ct.onKeyDown=function(Kt){Kt.key==="Enter"&&Ct.onClick(Kt)},Ct.onFileDrop=function(Kt){var In=Ct.props.multiple;if(Kt.preventDefault(),Kt.type!=="dragover")if(Ct.props.directory)Se(Array.prototype.slice.call(Kt.dataTransfer.items),Ct.uploadFiles,function(kt){return ge(kt,Ct.props.accept)});else{var Rn=(0,_e.Z)(Kt.dataTransfer.files).filter(function(kt){return ge(kt,Ct.props.accept)});In===!1&&(Rn=Rn.slice(0,1)),Ct.uploadFiles(Rn)}},Ct.uploadFiles=function(Kt){var In=(0,_e.Z)(Kt),Rn=In.map(function(kt){return kt.uid=le(),Ct.processFile(kt,In)});Promise.all(Rn).then(function(kt){var yr=Ct.props.onBatchStart;yr==null||yr(kt.map(function(nr){var rr=nr.origin,Kr=nr.parsedFile;return{file:rr,parsedFile:Kr}})),kt.filter(function(nr){return nr.parsedFile!==null}).forEach(function(nr){Ct.post(nr)})})},Ct.processFile=function(){var Kt=(0,z.Z)((0,oe.Z)().mark(function In(Rn,kt){var yr,nr,rr,Kr,gn,vn,Zn,Pn,Sr;return(0,oe.Z)().wrap(function(Yn){for(;;)switch(Yn.prev=Yn.next){case 0:if(yr=Ct.props.beforeUpload,nr=Rn,!yr){Yn.next=14;break}return Yn.prev=3,Yn.next=6,yr(Rn,kt);case 6:nr=Yn.sent,Yn.next=12;break;case 9:Yn.prev=9,Yn.t0=Yn.catch(3),nr=!1;case 12:if(nr!==!1){Yn.next=14;break}return Yn.abrupt("return",{origin:Rn,parsedFile:null,action:null,data:null});case 14:if(rr=Ct.props.action,typeof rr!="function"){Yn.next=21;break}return Yn.next=18,rr(Rn);case 18:Kr=Yn.sent,Yn.next=22;break;case 21:Kr=rr;case 22:if(gn=Ct.props.data,typeof gn!="function"){Yn.next=29;break}return Yn.next=26,gn(Rn);case 26:vn=Yn.sent,Yn.next=30;break;case 29:vn=gn;case 30:return Zn=((0,re.Z)(nr)==="object"||typeof nr=="string")&&nr?nr:Rn,Zn instanceof File?Pn=Zn:Pn=new File([Zn],Rn.name,{type:Rn.type}),Sr=Pn,Sr.uid=Rn.uid,Yn.abrupt("return",{origin:Rn,data:vn,parsedFile:Sr,action:Kr});case 35:case"end":return Yn.stop()}},In,null,[[3,9]])}));return function(In,Rn){return Kt.apply(this,arguments)}}(),Ct.saveFileInput=function(Kt){Ct.fileInput=Kt},Ct}return(0,ne.Z)(Nt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(Xt){var Vt=this,Wt=Xt.data,Kt=Xt.origin,In=Xt.action,Rn=Xt.parsedFile;if(this._isMounted){var kt=this.props,yr=kt.onStart,nr=kt.customRequest,rr=kt.name,Kr=kt.headers,gn=kt.withCredentials,vn=kt.method,Zn=Kt.uid,Pn=nr||b,Sr={action:In,filename:rr,data:Wt,file:Rn,headers:Kr,withCredentials:gn,method:vn||"post",onProgress:function(Yn){var kr=Vt.props.onProgress;kr==null||kr(Yn,Rn)},onSuccess:function(Yn,kr){var Cr=Vt.props.onSuccess;Cr==null||Cr(Yn,Rn,kr),delete Vt.reqs[Zn]},onError:function(Yn,kr){var Cr=Vt.props.onError;Cr==null||Cr(Yn,kr,Rn),delete Vt.reqs[Zn]}};yr(Kt),this.reqs[Zn]=Pn(Sr)}}},{key:"reset",value:function(){this.setState({uid:le()})}},{key:"abort",value:function(Xt){var Vt=this.reqs;if(Xt){var Wt=Xt.uid?Xt.uid:Xt;Vt[Wt]&&Vt[Wt].abort&&Vt[Wt].abort(),delete Vt[Wt]}else Object.keys(Vt).forEach(function(Kt){Vt[Kt]&&Vt[Kt].abort&&Vt[Kt].abort(),delete Vt[Kt]})}},{key:"render",value:function(){var Xt=this.props,Vt=Xt.component,Wt=Xt.prefixCls,Kt=Xt.className,In=Xt.disabled,Rn=Xt.id,kt=Xt.style,yr=Xt.multiple,nr=Xt.accept,rr=Xt.capture,Kr=Xt.children,gn=Xt.directory,vn=Xt.openFileDialogOnClick,Zn=Xt.onMouseEnter,Pn=Xt.onMouseLeave,Sr=(0,ae.Z)(Xt,ye),dr=pe()((0,ue.Z)((0,ue.Z)((0,ue.Z)({},Wt,!0),"".concat(Wt,"-disabled"),In),Kt,Kt)),Yn=gn?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},kr=In?{}:{onClick:vn?this.onClick:function(){},onKeyDown:vn?this.onKeyDown:function(){},onMouseEnter:Zn,onMouseLeave:Pn,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return be.createElement(Vt,(0,de.Z)({},kr,{className:dr,role:"button",style:kt}),be.createElement("input",(0,de.Z)({},(0,a.Z)(Sr,{aria:!0,data:!0}),{id:Rn,disabled:In,type:"file",ref:this.saveFileInput,onClick:function(Po){return Po.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:nr},Yn,{multiple:yr,onChange:this.onChange},rr!=null?{capture:rr}:{})),Kr)}}]),Nt}(be.Component),we=Pe;function De(){}var xe=function(St){(0,ie.Z)(Nt,St);var Bt=(0,ce.Z)(Nt);function Nt(){var Ct;(0,se.Z)(this,Nt);for(var Xt=arguments.length,Vt=new Array(Xt),Wt=0;Wt<Xt;Wt++)Vt[Wt]=arguments[Wt];return Ct=Bt.call.apply(Bt,[this].concat(Vt)),Ct.uploader=void 0,Ct.saveUploader=function(Kt){Ct.uploader=Kt},Ct}return(0,ne.Z)(Nt,[{key:"abort",value:function(Xt){this.uploader.abort(Xt)}},{key:"render",value:function(){return be.createElement(we,(0,de.Z)({},this.props,{ref:this.saveUploader}))}}]),Nt}(be.Component);xe.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:De,onError:De,onSuccess:De,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Ae=xe,Ce=Ae,je=ve(18929),Fe=ve(4676),Ge=ve(36355),Be=ve(1684),tt=ve(9763),Ye=ve(31724),Ve={icon:function(Bt,Nt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:Nt}},{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"},Xe=Ve,Ze=ve(7657),ke=function(Bt,Nt){return be.createElement(Ze.Z,(0,de.Z)({},Bt,{ref:Nt,icon:Xe}))},ze=be.forwardRef(ke),et=ze,Je=ve(58617),ut={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"},Qe=ut,Ue=function(Bt,Nt){return be.createElement(Ze.Z,(0,de.Z)({},Bt,{ref:Nt,icon:Qe}))},Re=be.forwardRef(Ue),$e=Re,Le={icon:function(Bt,Nt){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:Nt}},{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:Nt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:Nt}},{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"},Ne=Le,qe=function(Bt,Nt){return be.createElement(Ze.Z,(0,de.Z)({},Bt,{ref:Nt,icon:Ne}))},We=be.forwardRef(qe),Me=We,Te=ve(77900),Oe=ve(56762),Ee=ve(62892),Ie=ve(92343),Ke=ve(3113);function at(St){return Object.assign(Object.assign({},St),{lastModified:St.lastModified,lastModifiedDate:St.lastModifiedDate,name:St.name,size:St.size,type:St.type,uid:St.uid,percent:0,originFileObj:St})}function He(St,Bt){const Nt=(0,_e.Z)(Bt),Ct=Nt.findIndex(Xt=>{let{uid:Vt}=Xt;return Vt===St.uid});return Ct===-1?Nt.push(St):Nt[Ct]=St,Nt}function nt(St,Bt){const Nt=St.uid!==void 0?"uid":"name";return Bt.filter(Ct=>Ct[Nt]===St[Nt])[0]}function ft(St,Bt){const Nt=St.uid!==void 0?"uid":"name",Ct=Bt.filter(Xt=>Xt[Nt]!==St[Nt]);return Ct.length===Bt.length?null:Ct}const lt=function(){const Bt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Ct=Bt[Bt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Ct)||[""])[0]},pt=St=>St.indexOf("image/")===0,ct=St=>{if(St.type&&!St.thumbUrl)return pt(St.type);const Bt=St.thumbUrl||St.url||"",Nt=lt(Bt);return/^data:image\//.test(Bt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Nt)?!0:!(/^data:/.test(Bt)||Nt)},vt=200;function ot(St){return new Promise(Bt=>{if(!St.type||!pt(St.type)){Bt("");return}const Nt=document.createElement("canvas");Nt.width=vt,Nt.height=vt,Nt.style.cssText=`position: fixed; left: 0; top: 0; width: ${vt}px; height: ${vt}px; z-index: 9999; display: none;`,document.body.appendChild(Nt);const Ct=Nt.getContext("2d"),Xt=new Image;if(Xt.onload=()=>{const{width:Vt,height:Wt}=Xt;let Kt=vt,In=vt,Rn=0,kt=0;Vt>Wt?(In=Wt*(vt/Vt),kt=-(In-Kt)/2):(Kt=Vt*(vt/Wt),Rn=-(Kt-In)/2),Ct.drawImage(Xt,Rn,kt,Kt,In);const yr=Nt.toDataURL();document.body.removeChild(Nt),window.URL.revokeObjectURL(Xt.src),Bt(yr)},Xt.crossOrigin="anonymous",St.type.startsWith("image/svg+xml")){const Vt=new FileReader;Vt.onload=()=>{Vt.result&&(Xt.src=Vt.result)},Vt.readAsDataURL(St)}else if(St.type.startsWith("image/gif")){const Vt=new FileReader;Vt.onload=()=>{Vt.result&&Bt(Vt.result)},Vt.readAsDataURL(St)}else Xt.src=window.URL.createObjectURL(St)})}var st=ve(26227),ht=ve(41464),mt=ve(15277),bt=ve(93948),xt=ve(6848),Dt=be.forwardRef((St,Bt)=>{let{prefixCls:Nt,className:Ct,style:Xt,locale:Vt,listType:Wt,file:Kt,items:In,progress:Rn,iconRender:kt,actionIconRender:yr,itemRender:nr,isImgUrl:rr,showPreviewIcon:Kr,showRemoveIcon:gn,showDownloadIcon:vn,previewIcon:Zn,removeIcon:Pn,downloadIcon:Sr,onPreview:dr,onDownload:Yn,onClose:kr}=St;var Cr,Po;const{status:po}=Kt,[io,ko]=be.useState(po);be.useEffect(()=>{po!=="removed"&&ko(po)},[po]);const[Io,pn]=be.useState(!1);be.useEffect(()=>{const $r=setTimeout(()=>{pn(!0)},300);return()=>{clearTimeout($r)}},[]);const Ro=kt(Kt);let mo=be.createElement("div",{className:`${Nt}-icon`},Ro);if(Wt==="picture"||Wt==="picture-card"||Wt==="picture-circle")if(io==="uploading"||!Kt.thumbUrl&&!Kt.url){const $r=pe()(`${Nt}-list-item-thumbnail`,{[`${Nt}-list-item-file`]:io!=="uploading"});mo=be.createElement("div",{className:$r},Ro)}else{const $r=rr!=null&&rr(Kt)?be.createElement("img",{src:Kt.thumbUrl||Kt.url,alt:Kt.name,className:`${Nt}-list-item-image`,crossOrigin:Kt.crossOrigin}):Ro,no=pe()(`${Nt}-list-item-thumbnail`,{[`${Nt}-list-item-file`]:rr&&!rr(Kt)});mo=be.createElement("a",{className:no,onClick:zo=>dr(Kt,zo),href:Kt.url||Kt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},$r)}const zr=pe()(`${Nt}-list-item`,`${Nt}-list-item-${io}`),bo=typeof Kt.linkProps=="string"?JSON.parse(Kt.linkProps):Kt.linkProps,to=gn?yr((typeof Pn=="function"?Pn(Kt):Pn)||be.createElement(st.Z,null),()=>kr(Kt),Nt,Vt.removeFile):null,lo=vn&&io==="done"?yr((typeof Sr=="function"?Sr(Kt):Sr)||be.createElement(ht.Z,null),()=>Yn(Kt),Nt,Vt.downloadFile):null,vo=Wt!=="picture-card"&&Wt!=="picture-circle"&&be.createElement("span",{key:"download-delete",className:pe()(`${Nt}-list-item-actions`,{picture:Wt==="picture"})},lo,to),fr=pe()(`${Nt}-list-item-name`),wr=Kt.url?[be.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:fr,title:Kt.name},bo,{href:Kt.url,onClick:$r=>dr(Kt,$r)}),Kt.name),vo]:[be.createElement("span",{key:"view",className:fr,onClick:$r=>dr(Kt,$r),title:Kt.name},Kt.name),vo],Er={pointerEvents:"none",opacity:.5},xr=Kr?be.createElement("a",{href:Kt.url||Kt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Kt.url||Kt.thumbUrl?void 0:Er,onClick:$r=>dr(Kt,$r),title:Vt.previewFile},typeof Zn=="function"?Zn(Kt):Zn||be.createElement(mt.Z,null)):null,ao=(Wt==="picture-card"||Wt==="picture-circle")&&io!=="uploading"&&be.createElement("span",{className:`${Nt}-list-item-actions`},xr,io==="done"&&lo,to),{getPrefixCls:To}=be.useContext(Ge.E_),wo=To(),Lo=be.createElement("div",{className:zr},mo,wr,ao,Io&&be.createElement(Te.default,{motionName:`${wo}-fade`,visible:io==="uploading",motionDeadline:2e3},$r=>{let{className:no}=$r;const zo="percent"in Kt?be.createElement(bt.Z,Object.assign({},Rn,{type:"line",percent:Kt.percent,"aria-label":Kt["aria-label"],"aria-labelledby":Kt["aria-labelledby"]})):null;return be.createElement("div",{className:pe()(`${Nt}-list-item-progress`,no)},zo)})),Yo=Kt.response&&typeof Kt.response=="string"?Kt.response:((Cr=Kt.error)===null||Cr===void 0?void 0:Cr.statusText)||((Po=Kt.error)===null||Po===void 0?void 0:Po.message)||Vt.uploadError,Mo=io==="error"?be.createElement(xt.Z,{title:Yo,getPopupContainer:$r=>$r.parentNode},Lo):Lo;return be.createElement("div",{className:pe()(`${Nt}-list-item-container`,Ct),style:Xt,ref:Bt},nr?nr(Mo,Kt,In,{download:Yn.bind(null,Kt),preview:dr.bind(null,Kt),remove:kr.bind(null,Kt)}):Mo)});const $t=(St,Bt)=>{const{listType:Nt="text",previewFile:Ct=ot,onPreview:Xt,onDownload:Vt,onRemove:Wt,locale:Kt,iconRender:In,isImageUrl:Rn=ct,prefixCls:kt,items:yr=[],showPreviewIcon:nr=!0,showRemoveIcon:rr=!0,showDownloadIcon:Kr=!1,removeIcon:gn,previewIcon:vn,downloadIcon:Zn,progress:Pn={size:[-1,2],showInfo:!1},appendAction:Sr,appendActionVisible:dr=!0,itemRender:Yn,disabled:kr}=St,Cr=(0,Oe.Z)(),[Po,po]=be.useState(!1);be.useEffect(()=>{Nt!=="picture"&&Nt!=="picture-card"&&Nt!=="picture-circle"||(yr||[]).forEach(Er=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Er.originFileObj instanceof File||Er.originFileObj instanceof Blob)||Er.thumbUrl!==void 0||(Er.thumbUrl="",Ct&&Ct(Er.originFileObj).then(xr=>{Er.thumbUrl=xr||"",Cr()}))})},[Nt,yr,Ct]),be.useEffect(()=>{po(!0)},[]);const io=(Er,xr)=>{if(Xt)return xr==null||xr.preventDefault(),Xt(Er)},ko=Er=>{typeof Vt=="function"?Vt(Er):Er.url&&window.open(Er.url)},Io=Er=>{Wt==null||Wt(Er)},pn=Er=>{if(In)return In(Er,Nt);const xr=Er.status==="uploading",ao=Rn&&Rn(Er)?be.createElement(Me,null):be.createElement(et,null);let To=xr?be.createElement(Je.Z,null):be.createElement($e,null);return Nt==="picture"?To=xr?be.createElement(Je.Z,null):ao:(Nt==="picture-card"||Nt==="picture-circle")&&(To=xr?Kt.uploading:ao),To},Ro=(Er,xr,ao,To)=>{const wo={type:"text",size:"small",title:To,onClick:Lo=>{xr(),(0,Ie.l$)(Er)&&Er.props.onClick&&Er.props.onClick(Lo)},className:`${ao}-list-item-action`,disabled:kr};if((0,Ie.l$)(Er)){const Lo=(0,Ie.Tm)(Er,Object.assign(Object.assign({},Er.props),{onClick:()=>{}}));return be.createElement(Ke.ZP,Object.assign({},wo,{icon:Lo}))}return be.createElement(Ke.ZP,Object.assign({},wo),be.createElement("span",null,Er))};be.useImperativeHandle(Bt,()=>({handlePreview:io,handleDownload:ko}));const{getPrefixCls:mo}=be.useContext(Ge.E_),zr=mo("upload",kt),bo=mo(),to=pe()(`${zr}-list`,`${zr}-list-${Nt}`),lo=(0,_e.Z)(yr.map(Er=>({key:Er.uid,file:Er})));let fr={motionDeadline:2e3,motionName:`${zr}-${Nt==="picture-card"||Nt==="picture-circle"?"animate-inline":"animate"}`,keys:lo,motionAppear:Po};const wr=be.useMemo(()=>{const Er=Object.assign({},(0,Ee.Z)(bo));return delete Er.onAppearEnd,delete Er.onEnterEnd,delete Er.onLeaveEnd,Er},[bo]);return Nt!=="picture-card"&&Nt!=="picture-circle"&&(fr=Object.assign(Object.assign({},wr),fr)),be.createElement("div",{className:to},be.createElement(Te.CSSMotionList,Object.assign({},fr,{component:!1}),Er=>{let{key:xr,file:ao,className:To,style:wo}=Er;return be.createElement(Dt,{key:xr,locale:Kt,prefixCls:zr,className:To,style:wo,file:ao,items:yr,progress:Pn,listType:Nt,isImgUrl:Rn,showPreviewIcon:nr,showRemoveIcon:rr,showDownloadIcon:Kr,removeIcon:gn,previewIcon:vn,downloadIcon:Zn,iconRender:pn,actionIconRender:Ro,itemRender:Yn,onPreview:io,onDownload:ko,onClose:Io})}),Sr&&be.createElement(Te.default,Object.assign({},fr,{visible:dr,forceRender:!0}),Er=>{let{className:xr,style:ao}=Er;return(0,Ie.Tm)(Sr,To=>({className:pe()(To.className,xr),style:Object.assign(Object.assign(Object.assign({},ao),{pointerEvents:xr?"none":void 0}),To.style)}))}))};var en=be.forwardRef($t),Jt=ve(17313),wn=ve(8378),Tn=ve(83116),fn=ve(37613),Un=St=>{const{componentCls:Bt,iconCls:Nt}=St;return{[`${Bt}-wrapper`]:{[`${Bt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:St.colorFillAlter,border:`${St.lineWidth}px dashed ${St.colorBorder}`,borderRadius:St.borderRadiusLG,cursor:"pointer",transition:`border-color ${St.motionDurationSlow}`,[Bt]:{padding:`${St.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:St.colorPrimaryHover},[`p${Bt}-drag-icon`]:{marginBottom:St.margin,[Nt]:{color:St.colorPrimary,fontSize:St.uploadThumbnailSize}},[`p${Bt}-text`]:{margin:`0 0 ${St.marginXXS}px`,color:St.colorTextHeading,fontSize:St.fontSizeLG},[`p${Bt}-hint`]:{color:St.colorTextDescription,fontSize:St.fontSize},[`&${Bt}-disabled`]:{cursor:"not-allowed",[`p${Bt}-drag-icon ${Nt},
|
|
|
p${Bt}-text,
|
|
|
p${Bt}-hint
|
|
|
`]:{color:St.colorTextDisabled}}}}}},On=St=>{const{componentCls:Bt,antCls:Nt,iconCls:Ct,fontSize:Xt,lineHeight:Vt}=St,Wt=`${Bt}-list-item`,Kt=`${Wt}-actions`,In=`${Wt}-action`,Rn=Math.round(Xt*Vt);return{[`${Bt}-wrapper`]:{[`${Bt}-list`]:Object.assign(Object.assign({},(0,Jt.dF)()),{lineHeight:St.lineHeight,[Wt]:{position:"relative",height:St.lineHeight*Xt,marginTop:St.marginXS,fontSize:Xt,display:"flex",alignItems:"center",transition:`background-color ${St.motionDurationSlow}`,"&:hover":{backgroundColor:St.controlItemBgHover},[`${Wt}-name`]:Object.assign(Object.assign({},Jt.vS),{padding:`0 ${St.paddingXS}px`,lineHeight:Vt,flex:"auto",transition:`all ${St.motionDurationSlow}`}),[Kt]:{[In]:{opacity:0},[`${In}${Nt}-btn-sm`]:{height:Rn,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
|
|
|
${In}:focus-visible,
|
|
|
&.picture ${In}
|
|
|
`]:{opacity:1},[Ct]:{color:St.actionsColor,transition:`all ${St.motionDurationSlow}`},[`&:hover ${Ct}`]:{color:St.colorText}},[`${Bt}-icon ${Ct}`]:{color:St.colorTextDescription,fontSize:Xt},[`${Wt}-progress`]:{position:"absolute",bottom:-St.uploadProgressOffset,width:"100%",paddingInlineStart:Xt+St.paddingXS,fontSize:Xt,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Wt}:hover ${In}`]:{opacity:1,color:St.colorText},[`${Wt}-error`]:{color:St.colorError,[`${Wt}-name, ${Bt}-icon ${Ct}`]:{color:St.colorError},[Kt]:{[`${Ct}, ${Ct}:hover`]:{color:St.colorError},[In]:{opacity:1}}},[`${Bt}-list-item-container`]:{transition:`opacity ${St.motionDurationSlow}, height ${St.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Mn=ve(36237),Wn=ve(1950);const qn=new Mn.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Nr=new Mn.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var jr=St=>{const{componentCls:Bt}=St,Nt=`${Bt}-animate-inline`;return[{[`${Bt}-wrapper`]:{[`${Nt}-appear, ${Nt}-enter, ${Nt}-leave`]:{animationDuration:St.motionDurationSlow,animationTimingFunction:St.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Nt}-appear, ${Nt}-enter`]:{animationName:qn},[`${Nt}-leave`]:{animationName:Nr}}},{[`${Bt}-wrapper`]:(0,Wn.J$)(St)},qn,Nr]},sr=ve(30071),hr=ve(64993);const Ot=St=>{const{componentCls:Bt,iconCls:Nt,uploadThumbnailSize:Ct,uploadProgressOffset:Xt}=St,Vt=`${Bt}-list`,Wt=`${Vt}-item`;return{[`${Bt}-wrapper`]:{[`
|
|
|
${Vt}${Vt}-picture,
|
|
|
${Vt}${Vt}-picture-card,
|
|
|
${Vt}${Vt}-picture-circle
|
|
|
`]:{[Wt]:{position:"relative",height:Ct+St.lineWidth*2+St.paddingXS*2,padding:St.paddingXS,border:`${St.lineWidth}px ${St.lineType} ${St.colorBorder}`,borderRadius:St.borderRadiusLG,"&:hover":{background:"transparent"},[`${Wt}-thumbnail`]:Object.assign(Object.assign({},Jt.vS),{width:Ct,height:Ct,lineHeight:`${Ct+St.paddingSM}px`,textAlign:"center",flex:"none",[Nt]:{fontSize:St.fontSizeHeading2,color:St.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Wt}-progress`]:{bottom:Xt,width:`calc(100% - ${St.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Ct+St.paddingXS}},[`${Wt}-error`]:{borderColor:St.colorError,[`${Wt}-thumbnail ${Nt}`]:{[`svg path[fill='${sr.blue[0]}']`]:{fill:St.colorErrorBg},[`svg path[fill='${sr.blue.primary}']`]:{fill:St.colorError}}},[`${Wt}-uploading`]:{borderStyle:"dashed",[`${Wt}-name`]:{marginBottom:Xt}}},[`${Vt}${Vt}-picture-circle ${Wt}`]:{[`&, &::before, ${Wt}-thumbnail`]:{borderRadius:"50%"}}}}},It=St=>{const{componentCls:Bt,iconCls:Nt,fontSizeLG:Ct,colorTextLightSolid:Xt}=St,Vt=`${Bt}-list`,Wt=`${Vt}-item`,Kt=St.uploadPicCardSize;return{[`
|
|
|
${Bt}-wrapper${Bt}-picture-card-wrapper,
|
|
|
${Bt}-wrapper${Bt}-picture-circle-wrapper
|
|
|
`]:Object.assign(Object.assign({},(0,Jt.dF)()),{display:"inline-block",width:"100%",[`${Bt}${Bt}-select`]:{width:Kt,height:Kt,marginInlineEnd:St.marginXS,marginBottom:St.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:St.colorFillAlter,border:`${St.lineWidth}px dashed ${St.colorBorder}`,borderRadius:St.borderRadiusLG,cursor:"pointer",transition:`border-color ${St.motionDurationSlow}`,[`> ${Bt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Bt}-disabled):hover`]:{borderColor:St.colorPrimary}},[`${Vt}${Vt}-picture-card, ${Vt}${Vt}-picture-circle`]:{[`${Vt}-item-container`]:{display:"inline-block",width:Kt,height:Kt,marginBlock:`0 ${St.marginXS}px`,marginInline:`0 ${St.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Wt]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${St.paddingXS*2}px)`,height:`calc(100% - ${St.paddingXS*2}px)`,backgroundColor:St.colorBgMask,opacity:0,transition:`all ${St.motionDurationSlow}`,content:'" "'}},[`${Wt}:hover`]:{[`&::before, ${Wt}-actions`]:{opacity:1}},[`${Wt}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${St.motionDurationSlow}`,[`${Nt}-eye, ${Nt}-download, ${Nt}-delete`]:{zIndex:10,width:Ct,margin:`0 ${St.marginXXS}px`,fontSize:Ct,cursor:"pointer",transition:`all ${St.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Wt}-actions, ${Wt}-actions:hover`]:{[`${Nt}-eye, ${Nt}-download, ${Nt}-delete`]:{color:new hr.C(Xt).setAlpha(.65).toRgbString(),"&:hover":{color:Xt}}},[`${Wt}-thumbnail, ${Wt}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Wt}-name`]:{display:"none",textAlign:"center"},[`${Wt}-file + ${Wt}-name`]:{position:"absolute",bottom:St.margin,display:"block",width:`calc(100% - ${St.paddingXS*2}px)`},[`${Wt}-uploading`]:{[`&${Wt}`]:{backgroundColor:St.colorFillAlter},[`&::before, ${Nt}-eye, ${Nt}-download, ${Nt}-delete`]:{display:"none"}},[`${Wt}-progress`]:{bottom:St.marginXL,width:`calc(100% - ${St.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${Bt}-wrapper${Bt}-picture-circle-wrapper`]:{[`${Bt}${Bt}-select`]:{borderRadius:"50%"}}}};var tn=St=>{const{componentCls:Bt}=St;return{[`${Bt}-rtl`]:{direction:"rtl"}}};const Fn=St=>{const{componentCls:Bt,colorTextDisabled:Nt}=St;return{[`${Bt}-wrapper`]:Object.assign(Object.assign({},(0,Jt.Wf)(St)),{[Bt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Bt}-select`]:{display:"inline-block"},[`${Bt}-disabled`]:{color:Nt,cursor:"not-allowed"}})}};var Cn=(0,Tn.Z)("Upload",St=>{const{fontSizeHeading3:Bt,fontSize:Nt,lineHeight:Ct,lineWidth:Xt,controlHeightLG:Vt}=St,Wt=Math.round(Nt*Ct),Kt=(0,fn.TS)(St,{uploadThumbnailSize:Bt*2,uploadProgressOffset:Wt/2+Xt,uploadPicCardSize:Vt*2.55});return[Fn(Kt),Un(Kt),Ot(Kt),It(Kt),On(Kt),jr(Kt),tn(Kt),(0,wn.Z)(Kt)]},St=>({actionsColor:St.colorTextDescription})),Br=function(St,Bt,Nt,Ct){function Xt(Vt){return Vt instanceof Nt?Vt:new Nt(function(Wt){Wt(Vt)})}return new(Nt||(Nt=Promise))(function(Vt,Wt){function Kt(kt){try{Rn(Ct.next(kt))}catch(yr){Wt(yr)}}function In(kt){try{Rn(Ct.throw(kt))}catch(yr){Wt(yr)}}function Rn(kt){kt.done?Vt(kt.value):Xt(kt.value).then(Kt,In)}Rn((Ct=Ct.apply(St,Bt||[])).next())})};const or=`__LIST_IGNORE_${Date.now()}__`,Ht=(St,Bt)=>{const{fileList:Nt,defaultFileList:Ct,onRemove:Xt,showUploadList:Vt=!0,listType:Wt="text",onPreview:Kt,onDownload:In,onChange:Rn,onDrop:kt,previewFile:yr,disabled:nr,locale:rr,iconRender:Kr,isImageUrl:gn,progress:vn,prefixCls:Zn,className:Pn,type:Sr="select",children:dr,style:Yn,itemRender:kr,maxCount:Cr,data:Po={},multiple:po=!1,action:io="",accept:ko="",supportServerRender:Io=!0,rootClassName:pn}=St,Ro=be.useContext(Be.Z),mo=nr!=null?nr:Ro,[zr,bo]=(0,je.Z)(Ct||[],{value:Nt,postState:kn=>kn!=null?kn:[]}),[to,lo]=be.useState("drop"),vo=be.useRef(null);be.useMemo(()=>{const kn=Date.now();(Nt||[]).forEach((pr,br)=>{!pr.uid&&!Object.isFrozen(pr)&&(pr.uid=`__AUTO__${kn}_${br}__`)})},[Nt]);const fr=(kn,pr,br)=>{let An=(0,_e.Z)(pr),Or=!1;Cr===1?An=An.slice(-1):Cr&&(Or=An.length>Cr,An=An.slice(0,Cr)),(0,Fe.flushSync)(()=>{bo(An)});const Gr={file:kn,fileList:An};br&&(Gr.event=br),(!Or||An.some(Tr=>Tr.uid===kn.uid))&&(0,Fe.flushSync)(()=>{Rn==null||Rn(Gr)})},wr=(kn,pr)=>Br(void 0,void 0,void 0,function*(){const{beforeUpload:br,transformFile:An}=St;let Or=kn;if(br){const Gr=yield br(kn,pr);if(Gr===!1)return!1;if(delete kn[or],Gr===or)return Object.defineProperty(kn,or,{value:!0,configurable:!0}),!1;typeof Gr=="object"&&Gr&&(Or=Gr)}return An&&(Or=yield An(Or)),Or}),Er=kn=>{const pr=kn.filter(Or=>!Or.file[or]);if(!pr.length)return;const br=pr.map(Or=>at(Or.file));let An=(0,_e.Z)(zr);br.forEach(Or=>{An=He(Or,An)}),br.forEach((Or,Gr)=>{let Tr=Or;if(pr[Gr].parsedFile)Or.status="uploading";else{const{originFileObj:mr}=Or;let Fr;try{Fr=new File([mr],mr.name,{type:mr.type})}catch(co){Fr=new Blob([mr],{type:mr.type}),Fr.name=mr.name,Fr.lastModifiedDate=new Date,Fr.lastModified=new Date().getTime()}Fr.uid=Or.uid,Tr=Fr}fr(Tr,An)})},xr=(kn,pr,br)=>{try{typeof kn=="string"&&(kn=JSON.parse(kn))}catch(Gr){}if(!nt(pr,zr))return;const An=at(pr);An.status="done",An.percent=100,An.response=kn,An.xhr=br;const Or=He(An,zr);fr(An,Or)},ao=(kn,pr)=>{if(!nt(pr,zr))return;const br=at(pr);br.status="uploading",br.percent=kn.percent;const An=He(br,zr);fr(br,An,kn)},To=(kn,pr,br)=>{if(!nt(br,zr))return;const An=at(br);An.error=kn,An.response=pr,An.status="error";const Or=He(An,zr);fr(An,Or)},wo=kn=>{let pr;Promise.resolve(typeof Xt=="function"?Xt(kn):Xt).then(br=>{var An;if(br===!1)return;const Or=ft(kn,zr);Or&&(pr=Object.assign(Object.assign({},kn),{status:"removed"}),zr==null||zr.forEach(Gr=>{const Tr=pr.uid!==void 0?"uid":"name";Gr[Tr]===pr[Tr]&&!Object.isFrozen(Gr)&&(Gr.status="removed")}),(An=vo.current)===null||An===void 0||An.abort(pr),fr(pr,Or))})},Lo=kn=>{lo(kn.type),kn.type==="drop"&&(kt==null||kt(kn))};be.useImperativeHandle(Bt,()=>({onBatchStart:Er,onSuccess:xr,onProgress:ao,onError:To,fileList:zr,upload:vo.current}));const{getPrefixCls:Yo,direction:Mo,upload:$r}=be.useContext(Ge.E_),no=Yo("upload",Zn),zo=Object.assign(Object.assign({onBatchStart:Er,onError:To,onProgress:ao,onSuccess:xr},St),{data:Po,multiple:po,action:io,accept:ko,supportServerRender:Io,prefixCls:no,disabled:mo,beforeUpload:wr,onChange:void 0});delete zo.className,delete zo.style,(!dr||mo)&&delete zo.id;const[Tt,Gt]=Cn(no),[on]=(0,tt.Z)("Upload",Ye.Z.Upload),{showRemoveIcon:ln,showPreviewIcon:Qt,showDownloadIcon:Yt,removeIcon:qt,previewIcon:an,downloadIcon:hn}=typeof Vt=="boolean"?{}:Vt,Ln=(kn,pr)=>Vt?be.createElement(en,{prefixCls:no,listType:Wt,items:zr,previewFile:yr,onPreview:Kt,onDownload:In,onRemove:wo,showRemoveIcon:!mo&&ln,showPreviewIcon:Qt,showDownloadIcon:Yt,removeIcon:qt,previewIcon:an,downloadIcon:hn,iconRender:Kr,locale:Object.assign(Object.assign({},on),rr),isImageUrl:gn,progress:vn,appendAction:kn,appendActionVisible:pr,itemRender:kr,disabled:mo}):kn,mn=pe()(`${no}-wrapper`,Pn,pn,Gt,$r==null?void 0:$r.className,{[`${no}-rtl`]:Mo==="rtl",[`${no}-picture-card-wrapper`]:Wt==="picture-card",[`${no}-picture-circle-wrapper`]:Wt==="picture-circle"}),_r=Object.assign(Object.assign({},$r==null?void 0:$r.style),Yn);if(Sr==="drag"){const kn=pe()(Gt,no,`${no}-drag`,{[`${no}-drag-uploading`]:zr.some(pr=>pr.status==="uploading"),[`${no}-drag-hover`]:to==="dragover",[`${no}-disabled`]:mo,[`${no}-rtl`]:Mo==="rtl"});return Tt(be.createElement("span",{className:mn},be.createElement("div",{className:kn,style:_r,onDrop:Lo,onDragOver:Lo,onDragLeave:Lo},be.createElement(Ce,Object.assign({},zo,{ref:vo,className:`${no}-btn`}),be.createElement("div",{className:`${no}-drag-container`},dr))),Ln()))}const Kn=pe()(no,`${no}-select`,{[`${no}-disabled`]:mo}),lr=(kn=>be.createElement("div",{className:Kn,style:kn},be.createElement(Ce,Object.assign({},zo,{ref:vo}))))(dr?void 0:{display:"none"});return Tt(Wt==="picture-card"||Wt==="picture-circle"?be.createElement("span",{className:mn},Ln(lr,!!dr)):be.createElement("span",{className:mn},lr,Ln()))};var rn=be.forwardRef(Ht),jt=function(St,Bt){var Nt={};for(var Ct in St)Object.prototype.hasOwnProperty.call(St,Ct)&&Bt.indexOf(Ct)<0&&(Nt[Ct]=St[Ct]);if(St!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xt=0,Ct=Object.getOwnPropertySymbols(St);Xt<Ct.length;Xt++)Bt.indexOf(Ct[Xt])<0&&Object.prototype.propertyIsEnumerable.call(St,Ct[Xt])&&(Nt[Ct[Xt]]=St[Ct[Xt]]);return Nt},En=be.forwardRef((St,Bt)=>{var{style:Nt,height:Ct}=St,Xt=jt(St,["style","height"]);return be.createElement(rn,Object.assign({ref:Bt},Xt,{type:"drag",style:Object.assign(Object.assign({},Nt),{height:Ct})}))});const jn=rn;jn.Dragger=En,jn.LIST_IGNORE=or;var Sn=jn},24334:function(Et,dt,ve){var be,_e;(function(E,pe){Et.exports=pe(E)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ve.g!="undefined"?ve.g:this,function(E){"use strict";E=E||{};var pe=E.Base64,de="2.6.4",se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ne=function(xe){for(var Ae={},Ce=0,je=xe.length;Ce<je;Ce++)Ae[xe.charAt(Ce)]=Ce;return Ae}(se),ie=String.fromCharCode,ce=function(xe){if(xe.length<2){var Ae=xe.charCodeAt(0);return Ae<128?xe:Ae<2048?ie(192|Ae>>>6)+ie(128|Ae&63):ie(224|Ae>>>12&15)+ie(128|Ae>>>6&63)+ie(128|Ae&63)}else{var Ae=65536+(xe.charCodeAt(0)-55296)*1024+(xe.charCodeAt(1)-56320);return ie(240|Ae>>>18&7)+ie(128|Ae>>>12&63)+ie(128|Ae>>>6&63)+ie(128|Ae&63)}},ue=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ae=function(xe){return xe.replace(ue,ce)},oe=function(xe){var Ae=[0,2,1][xe.length%3],Ce=xe.charCodeAt(0)<<16|(xe.length>1?xe.charCodeAt(1):0)<<8|(xe.length>2?xe.charCodeAt(2):0),je=[se.charAt(Ce>>>18),se.charAt(Ce>>>12&63),Ae>=2?"=":se.charAt(Ce>>>6&63),Ae>=1?"=":se.charAt(Ce&63)];return je.join("")},re=E.btoa&&typeof E.btoa=="function"?function(xe){return E.btoa(xe)}:function(xe){if(xe.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return xe.replace(/[\s\S]{1,3}/g,oe)},z=function(xe){return re(ae(String(xe)))},a=function(xe){return xe.replace(/[+\/]/g,function(Ae){return Ae=="+"?"-":"_"}).replace(/=/g,"")},y=function(xe,Ae){return Ae?a(z(xe)):z(xe)},x=function(xe){return y(xe,!0)},b;E.Uint8Array&&(b=function(xe,Ae){for(var Ce="",je=0,Fe=xe.length;je<Fe;je+=3){var Ge=xe[je],Be=xe[je+1],tt=xe[je+2],Ye=Ge<<16|Be<<8|tt;Ce+=se.charAt(Ye>>>18)+se.charAt(Ye>>>12&63)+(typeof Be!="undefined"?se.charAt(Ye>>>6&63):"=")+(typeof tt!="undefined"?se.charAt(Ye&63):"=")}return Ae?a(Ce):Ce});var ee=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,te=function(xe){switch(xe.length){case 4:var Ae=(7&xe.charCodeAt(0))<<18|(63&xe.charCodeAt(1))<<12|(63&xe.charCodeAt(2))<<6|63&xe.charCodeAt(3),Ce=Ae-65536;return ie((Ce>>>10)+55296)+ie((Ce&1023)+56320);case 3:return ie((15&xe.charCodeAt(0))<<12|(63&xe.charCodeAt(1))<<6|63&xe.charCodeAt(2));default:return ie((31&xe.charCodeAt(0))<<6|63&xe.charCodeAt(1))}},le=function(xe){return xe.replace(ee,te)},fe=function(xe){var Ae=xe.length,Ce=Ae%4,je=(Ae>0?ne[xe.charAt(0)]<<18:0)|(Ae>1?ne[xe.charAt(1)]<<12:0)|(Ae>2?ne[xe.charAt(2)]<<6:0)|(Ae>3?ne[xe.charAt(3)]:0),Fe=[ie(je>>>16),ie(je>>>8&255),ie(je&255)];return Fe.length-=[0,0,2,1][Ce],Fe.join("")},ge=E.atob&&typeof E.atob=="function"?function(xe){return E.atob(xe)}:function(xe){return xe.replace(/\S{1,4}/g,fe)},me=function(xe){return ge(String(xe).replace(/[^A-Za-z0-9\+\/]/g,""))},he=function(xe){return le(ge(xe))},Se=function(xe){return String(xe).replace(/[-_]/g,function(Ae){return Ae=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},ye=function(xe){return he(Se(xe))},Pe;E.Uint8Array&&(Pe=function(xe){return Uint8Array.from(me(Se(xe)),function(Ae){return Ae.charCodeAt(0)})});var we=function(){var xe=E.Base64;return E.Base64=pe,xe};if(E.Base64={VERSION:de,atob:me,btoa:re,fromBase64:ye,toBase64:y,utob:ae,encode:y,encodeURI:x,btou:le,decode:ye,noConflict:we,fromUint8Array:b,toUint8Array:Pe},typeof Object.defineProperty=="function"){var De=function(xe){return{value:xe,enumerable:!1,writable:!0,configurable:!0}};E.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",De(function(){return ye(this)})),Object.defineProperty(String.prototype,"toBase64",De(function(xe){return y(this,xe)})),Object.defineProperty(String.prototype,"toBase64URI",De(function(){return y(this,!0)}))}}return E.Meteor&&(Base64=E.Base64),Et.exports?Et.exports.Base64=E.Base64:(be=[],_e=function(){return E.Base64}.apply(dt,be),_e!==void 0&&(Et.exports=_e)),{Base64:E.Base64}})},39417:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return he}});var be=ve(54476),_e=ve(20068),E=ve(75931),pe=ve(33885),de=ve(67732),se=ve(83652),ne=ve(31226),ie=ve(42403),ce=ve(158),ue=ve(92310),ae=ve.n(ue),oe=ve(26112),re=ve(59301),z=ve(39378),a=function(ye){for(var Pe=ye.prefixCls,we=ye.level,De=ye.isStart,xe=ye.isEnd,Ae="".concat(Pe,"-indent-unit"),Ce=[],je=0;je<we;je+=1){var Fe;Ce.push(re.createElement("span",{key:je,className:ae()(Ae,(Fe={},(0,_e.Z)(Fe,"".concat(Ae,"-start"),De[je]),(0,_e.Z)(Fe,"".concat(Ae,"-end"),xe[je]),Fe))}))}return re.createElement("span",{"aria-hidden":"true",className:"".concat(Pe,"-indent")},Ce)},y=re.memo(a),x=ve(67841),b=ve(71430),ee=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],te="open",le="close",fe="---",ge=function(Se){(0,ie.Z)(Pe,Se);var ye=(0,ce.Z)(Pe);function Pe(){var we;(0,de.Z)(this,Pe);for(var De=arguments.length,xe=new Array(De),Ae=0;Ae<De;Ae++)xe[Ae]=arguments[Ae];return we=ye.call.apply(ye,[this].concat(xe)),we.state={dragNodeHighlight:!1},we.selectHandle=void 0,we.cacheIndent=void 0,we.onSelectorClick=function(Ce){var je=we.props.context.onNodeClick;je(Ce,(0,b.F)(we.props)),we.isSelectable()?we.onSelect(Ce):we.onCheck(Ce)},we.onSelectorDoubleClick=function(Ce){var je=we.props.context.onNodeDoubleClick;je(Ce,(0,b.F)(we.props))},we.onSelect=function(Ce){if(!we.isDisabled()){var je=we.props.context.onNodeSelect;je(Ce,(0,b.F)(we.props))}},we.onCheck=function(Ce){if(!we.isDisabled()){var je=we.props,Fe=je.disableCheckbox,Ge=je.checked,Be=we.props.context.onNodeCheck;if(!(!we.isCheckable()||Fe)){var tt=!Ge;Be(Ce,(0,b.F)(we.props),tt)}}},we.onMouseEnter=function(Ce){var je=we.props.context.onNodeMouseEnter;je(Ce,(0,b.F)(we.props))},we.onMouseLeave=function(Ce){var je=we.props.context.onNodeMouseLeave;je(Ce,(0,b.F)(we.props))},we.onContextMenu=function(Ce){var je=we.props.context.onNodeContextMenu;je(Ce,(0,b.F)(we.props))},we.onDragStart=function(Ce){var je=we.props.context.onNodeDragStart;Ce.stopPropagation(),we.setState({dragNodeHighlight:!0}),je(Ce,(0,ne.Z)(we));try{Ce.dataTransfer.setData("text/plain","")}catch(Fe){}},we.onDragEnter=function(Ce){var je=we.props.context.onNodeDragEnter;Ce.preventDefault(),Ce.stopPropagation(),je(Ce,(0,ne.Z)(we))},we.onDragOver=function(Ce){var je=we.props.context.onNodeDragOver;Ce.preventDefault(),Ce.stopPropagation(),je(Ce,(0,ne.Z)(we))},we.onDragLeave=function(Ce){var je=we.props.context.onNodeDragLeave;Ce.stopPropagation(),je(Ce,(0,ne.Z)(we))},we.onDragEnd=function(Ce){var je=we.props.context.onNodeDragEnd;Ce.stopPropagation(),we.setState({dragNodeHighlight:!1}),je(Ce,(0,ne.Z)(we))},we.onDrop=function(Ce){var je=we.props.context.onNodeDrop;Ce.preventDefault(),Ce.stopPropagation(),we.setState({dragNodeHighlight:!1}),je(Ce,(0,ne.Z)(we))},we.onExpand=function(Ce){var je=we.props,Fe=je.loading,Ge=je.context.onNodeExpand;Fe||Ge(Ce,(0,b.F)(we.props))},we.setSelectHandle=function(Ce){we.selectHandle=Ce},we.getNodeState=function(){var Ce=we.props.expanded;return we.isLeaf()?null:Ce?te:le},we.hasChildren=function(){var Ce=we.props.eventKey,je=we.props.context.keyEntities,Fe=(0,x.Z)(je,Ce)||{},Ge=Fe.children;return!!(Ge||[]).length},we.isLeaf=function(){var Ce=we.props,je=Ce.isLeaf,Fe=Ce.loaded,Ge=we.props.context.loadData,Be=we.hasChildren();return je===!1?!1:je||!Ge&&!Be||Ge&&Fe&&!Be},we.isDisabled=function(){var Ce=we.props.disabled,je=we.props.context.disabled;return!!(je||Ce)},we.isCheckable=function(){var Ce=we.props.checkable,je=we.props.context.checkable;return!je||Ce===!1?!1:je},we.syncLoadData=function(Ce){var je=Ce.expanded,Fe=Ce.loading,Ge=Ce.loaded,Be=we.props.context,tt=Be.loadData,Ye=Be.onNodeLoad;Fe||tt&&je&&!we.isLeaf()&&!we.hasChildren()&&!Ge&&Ye((0,b.F)(we.props))},we.isDraggable=function(){var Ce=we.props,je=Ce.data,Fe=Ce.context.draggable;return!!(Fe&&(!Fe.nodeDraggable||Fe.nodeDraggable(je)))},we.renderDragHandler=function(){var Ce=we.props.context,je=Ce.draggable,Fe=Ce.prefixCls;return je!=null&&je.icon?re.createElement("span",{className:"".concat(Fe,"-draggable-icon")},je.icon):null},we.renderSwitcherIconDom=function(Ce){var je=we.props.switcherIcon,Fe=we.props.context.switcherIcon,Ge=je||Fe;return typeof Ge=="function"?Ge((0,pe.Z)((0,pe.Z)({},we.props),{},{isLeaf:Ce})):Ge},we.renderSwitcher=function(){var Ce=we.props.expanded,je=we.props.context.prefixCls;if(we.isLeaf()){var Fe=we.renderSwitcherIconDom(!0);return Fe!==!1?re.createElement("span",{className:ae()("".concat(je,"-switcher"),"".concat(je,"-switcher-noop"))},Fe):null}var Ge=ae()("".concat(je,"-switcher"),"".concat(je,"-switcher_").concat(Ce?te:le)),Be=we.renderSwitcherIconDom(!1);return Be!==!1?re.createElement("span",{onClick:we.onExpand,className:Ge},Be):null},we.renderCheckbox=function(){var Ce=we.props,je=Ce.checked,Fe=Ce.halfChecked,Ge=Ce.disableCheckbox,Be=we.props.context.prefixCls,tt=we.isDisabled(),Ye=we.isCheckable();if(!Ye)return null;var Ve=typeof Ye!="boolean"?Ye:null;return re.createElement("span",{className:ae()("".concat(Be,"-checkbox"),je&&"".concat(Be,"-checkbox-checked"),!je&&Fe&&"".concat(Be,"-checkbox-indeterminate"),(tt||Ge)&&"".concat(Be,"-checkbox-disabled")),onClick:we.onCheck},Ve)},we.renderIcon=function(){var Ce=we.props.loading,je=we.props.context.prefixCls;return re.createElement("span",{className:ae()("".concat(je,"-iconEle"),"".concat(je,"-icon__").concat(we.getNodeState()||"docu"),Ce&&"".concat(je,"-icon_loading"))})},we.renderSelector=function(){var Ce=we.state.dragNodeHighlight,je=we.props,Fe=je.title,Ge=Fe===void 0?fe:Fe,Be=je.selected,tt=je.icon,Ye=je.loading,Ve=je.data,Xe=we.props.context,Ze=Xe.prefixCls,ke=Xe.showIcon,ze=Xe.icon,et=Xe.loadData,Je=Xe.titleRender,ut=we.isDisabled(),Qe="".concat(Ze,"-node-content-wrapper"),Ue;if(ke){var Re=tt||ze;Ue=Re?re.createElement("span",{className:ae()("".concat(Ze,"-iconEle"),"".concat(Ze,"-icon__customize"))},typeof Re=="function"?Re(we.props):Re):we.renderIcon()}else et&&Ye&&(Ue=we.renderIcon());var $e;typeof Ge=="function"?$e=Ge(Ve):Je?$e=Je(Ve):$e=Ge;var Le=re.createElement("span",{className:"".concat(Ze,"-title")},$e);return re.createElement("span",{ref:we.setSelectHandle,title:typeof Ge=="string"?Ge:"",className:ae()("".concat(Qe),"".concat(Qe,"-").concat(we.getNodeState()||"normal"),!ut&&(Be||Ce)&&"".concat(Ze,"-node-selected")),onMouseEnter:we.onMouseEnter,onMouseLeave:we.onMouseLeave,onContextMenu:we.onContextMenu,onClick:we.onSelectorClick,onDoubleClick:we.onSelectorDoubleClick},Ue,Le,we.renderDropIndicator())},we.renderDropIndicator=function(){var Ce=we.props,je=Ce.disabled,Fe=Ce.eventKey,Ge=we.props.context,Be=Ge.draggable,tt=Ge.dropLevelOffset,Ye=Ge.dropPosition,Ve=Ge.prefixCls,Xe=Ge.indent,Ze=Ge.dropIndicatorRender,ke=Ge.dragOverNodeKey,ze=Ge.direction,et=!!Be,Je=!je&&et&&ke===Fe,ut=Xe!=null?Xe:we.cacheIndent;return we.cacheIndent=Xe,Je?Ze({dropPosition:Ye,dropLevelOffset:tt,indent:ut,prefixCls:Ve,direction:ze}):null},we}return(0,se.Z)(Pe,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var De=this.props.selectable,xe=this.props.context.selectable;return typeof De=="boolean"?De:xe}},{key:"render",value:function(){var De,xe=this.props,Ae=xe.eventKey,Ce=xe.className,je=xe.style,Fe=xe.dragOver,Ge=xe.dragOverGapTop,Be=xe.dragOverGapBottom,tt=xe.isLeaf,Ye=xe.isStart,Ve=xe.isEnd,Xe=xe.expanded,Ze=xe.selected,ke=xe.checked,ze=xe.halfChecked,et=xe.loading,Je=xe.domRef,ut=xe.active,Qe=xe.data,Ue=xe.onMouseMove,Re=xe.selectable,$e=(0,E.Z)(xe,ee),Le=this.props.context,Ne=Le.prefixCls,qe=Le.filterTreeNode,We=Le.keyEntities,Me=Le.dropContainerKey,Te=Le.dropTargetKey,Oe=Le.draggingNodeKey,Ee=this.isDisabled(),Ie=(0,oe.Z)($e,{aria:!0,data:!0}),Ke=(0,x.Z)(We,Ae)||{},at=Ke.level,He=Ve[Ve.length-1],nt=this.isDraggable(),ft=!Ee&&nt,lt=Oe===Ae,pt=Re!==void 0?{"aria-selected":!!Re}:void 0;return re.createElement("div",(0,be.Z)({ref:Je,className:ae()(Ce,"".concat(Ne,"-treenode"),(De={},(0,_e.Z)(De,"".concat(Ne,"-treenode-disabled"),Ee),(0,_e.Z)(De,"".concat(Ne,"-treenode-switcher-").concat(Xe?"open":"close"),!tt),(0,_e.Z)(De,"".concat(Ne,"-treenode-checkbox-checked"),ke),(0,_e.Z)(De,"".concat(Ne,"-treenode-checkbox-indeterminate"),ze),(0,_e.Z)(De,"".concat(Ne,"-treenode-selected"),Ze),(0,_e.Z)(De,"".concat(Ne,"-treenode-loading"),et),(0,_e.Z)(De,"".concat(Ne,"-treenode-active"),ut),(0,_e.Z)(De,"".concat(Ne,"-treenode-leaf-last"),He),(0,_e.Z)(De,"".concat(Ne,"-treenode-draggable"),nt),(0,_e.Z)(De,"dragging",lt),(0,_e.Z)(De,"drop-target",Te===Ae),(0,_e.Z)(De,"drop-container",Me===Ae),(0,_e.Z)(De,"drag-over",!Ee&&Fe),(0,_e.Z)(De,"drag-over-gap-top",!Ee&&Ge),(0,_e.Z)(De,"drag-over-gap-bottom",!Ee&&Be),(0,_e.Z)(De,"filter-node",qe&&qe((0,b.F)(this.props))),De)),style:je,draggable:ft,"aria-grabbed":lt,onDragStart:ft?this.onDragStart:void 0,onDragEnter:nt?this.onDragEnter:void 0,onDragOver:nt?this.onDragOver:void 0,onDragLeave:nt?this.onDragLeave:void 0,onDrop:nt?this.onDrop:void 0,onDragEnd:nt?this.onDragEnd:void 0,onMouseMove:Ue},pt,Ie),re.createElement(y,{prefixCls:Ne,level:at,isStart:Ye,isEnd:Ve}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Pe}(re.Component),me=function(ye){return re.createElement(z.k.Consumer,null,function(Pe){return re.createElement(ge,(0,be.Z)({},ye,{context:Pe}))})};me.displayName="TreeNode",me.isTreeNode=1;var he=me},39378:function(Et,dt,ve){"use strict";ve.d(dt,{k:function(){return _e}});var be=ve(59301),_e=be.createContext(null)},60091:function(Et,dt,ve){"use strict";ve.d(dt,{O:function(){return he.Z},Z:function(){return Le}});var be=ve(54476),_e=ve(20068),E=ve(76190),pe=ve(33885),de=ve(94480),se=ve(67732),ne=ve(83652),ie=ve(31226),ce=ve(42403),ue=ve(158),ae=ve(92310),oe=ve.n(ae),re=ve(10228),z=ve(26112),a=ve(48736),y=ve(59301),x=ve(39378);function b(Ne){var qe=Ne.dropPosition,We=Ne.dropLevelOffset,Me=Ne.indent,Te={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(qe){case-1:Te.top=0,Te.left=-We*Me;break;case 1:Te.bottom=0,Te.left=-We*Me;break;case 0:Te.bottom=0,Te.left=Me;break}return y.createElement("div",{style:Te})}function ee(Ne){if(Ne==null)throw new TypeError("Cannot destructure "+Ne)}var te=ve(42978),le=ve(75931),fe=ve(34280),ge=ve(48911),me=ve(77900),he=ve(39417);function Se(Ne,qe){var We=y.useState(!1),Me=(0,te.Z)(We,2),Te=Me[0],Oe=Me[1];y.useLayoutEffect(function(){if(Te)return Ne(),function(){qe()}},[Te]),y.useLayoutEffect(function(){return Oe(!0),function(){Oe(!1)}},[])}var ye=ve(71430),Pe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],we=function(qe,We){var Me=qe.className,Te=qe.style,Oe=qe.motion,Ee=qe.motionNodes,Ie=qe.motionType,Ke=qe.onMotionStart,at=qe.onMotionEnd,He=qe.active,nt=qe.treeNodeRequiredProps,ft=(0,le.Z)(qe,Pe),lt=y.useState(!0),pt=(0,te.Z)(lt,2),ct=pt[0],vt=pt[1],ot=y.useContext(x.k),st=ot.prefixCls,ht=Ee&&Ie!=="hide";(0,fe.Z)(function(){Ee&&ht!==ct&&vt(ht)},[Ee]);var mt=function(){Ee&&Ke()},bt=y.useRef(!1),xt=function(){Ee&&!bt.current&&(bt.current=!0,at())};Se(mt,xt);var Ft=function($t){ht===$t&&xt()};return Ee?y.createElement(me.default,(0,be.Z)({ref:We,visible:ct},Oe,{motionAppear:Ie==="show",onVisibleChanged:Ft}),function(Dt,$t){var dn=Dt.className,en=Dt.style;return y.createElement("div",{ref:$t,className:oe()("".concat(st,"-treenode-motion"),dn),style:en},Ee.map(function(Jt){var wn=(0,be.Z)({},(ee(Jt.data),Jt.data)),Tn=Jt.title,fn=Jt.key,zn=Jt.isStart,Un=Jt.isEnd;delete wn.children;var Nn=(0,ye.H8)(fn,nt);return y.createElement(he.Z,(0,be.Z)({},wn,Nn,{title:Tn,active:He,data:Jt.data,key:fn,isStart:zn,isEnd:Un}))}))}):y.createElement(he.Z,(0,be.Z)({domRef:We,className:Me,style:Te},ft,{active:He}))};we.displayName="MotionTreeNode";var De=y.forwardRef(we),xe=De;function Ae(){var Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],We=Ne.length,Me=qe.length;if(Math.abs(We-Me)!==1)return{add:!1,key:null};function Te(Oe,Ee){var Ie=new Map;Oe.forEach(function(at){Ie.set(at,!0)});var Ke=Ee.filter(function(at){return!Ie.has(at)});return Ke.length===1?Ke[0]:null}return We<Me?{add:!0,key:Te(Ne,qe)}:{add:!1,key:Te(qe,Ne)}}function Ce(Ne,qe,We){var Me=Ne.findIndex(function(Ie){return Ie.key===We}),Te=Ne[Me+1],Oe=qe.findIndex(function(Ie){return Ie.key===We});if(Te){var Ee=qe.findIndex(function(Ie){return Ie.key===Te.key});return qe.slice(Oe+1,Ee)}return qe.slice(Oe+1)}var je=["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"],Fe={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Ge=function(){},Be="RC_TREE_MOTION_".concat(Math.random()),tt={key:Be},Ye={key:Be,level:0,index:0,pos:"0",node:tt,nodes:[tt]},Ve={parent:null,children:[],pos:Ye.pos,data:tt,title:null,key:Be,isStart:[],isEnd:[]};function Xe(Ne,qe,We,Me){return qe===!1||!We?Ne:Ne.slice(0,Math.ceil(We/Me)+1)}function Ze(Ne){var qe=Ne.key,We=Ne.pos;return(0,ye.km)(qe,We)}function ke(Ne){for(var qe=String(Ne.data.key),We=Ne;We.parent;)We=We.parent,qe="".concat(We.data.key," > ").concat(qe);return qe}var ze=y.forwardRef(function(Ne,qe){var We=Ne.prefixCls,Me=Ne.data,Te=Ne.selectable,Oe=Ne.checkable,Ee=Ne.expandedKeys,Ie=Ne.selectedKeys,Ke=Ne.checkedKeys,at=Ne.loadedKeys,He=Ne.loadingKeys,nt=Ne.halfCheckedKeys,ft=Ne.keyEntities,lt=Ne.disabled,pt=Ne.dragging,ct=Ne.dragOverNodeKey,vt=Ne.dropPosition,ot=Ne.motion,st=Ne.height,ht=Ne.itemHeight,mt=Ne.virtual,bt=Ne.focusable,xt=Ne.activeItem,Ft=Ne.focused,Dt=Ne.tabIndex,$t=Ne.onKeyDown,dn=Ne.onFocus,en=Ne.onBlur,Jt=Ne.onActiveChange,wn=Ne.onListChangeStart,Tn=Ne.onListChangeEnd,fn=(0,le.Z)(Ne,je),zn=y.useRef(null),Un=y.useRef(null);y.useImperativeHandle(qe,function(){return{scrollTo:function(Sn){zn.current.scrollTo(Sn)},getIndentWidth:function(){return Un.current.offsetWidth}}});var Nn=y.useState(Ee),On=(0,te.Z)(Nn,2),Mn=On[0],Wn=On[1],qn=y.useState(Me),Nr=(0,te.Z)(qn,2),er=Nr[0],jr=Nr[1],sr=y.useState(Me),hr=(0,te.Z)(sr,2),Ot=hr[0],It=hr[1],_t=y.useState([]),tn=(0,te.Z)(_t,2),Fn=tn[0],Cn=tn[1],Br=y.useState(null),or=(0,te.Z)(Br,2),Ht=or[0],Lt=or[1],rn=y.useRef(Me);rn.current=Me;function jt(){var jn=rn.current;jr(jn),It(jn),Cn([]),Lt(null),Tn()}(0,fe.Z)(function(){Wn(Ee);var jn=Ae(Mn,Ee);if(jn.key!==null)if(jn.add){var Sn=er.findIndex(function(Vt){var Wt=Vt.key;return Wt===jn.key}),St=Xe(Ce(er,Me,jn.key),mt,st,ht),Bt=er.slice();Bt.splice(Sn+1,0,Ve),It(Bt),Cn(St),Lt("show")}else{var Nt=Me.findIndex(function(Vt){var Wt=Vt.key;return Wt===jn.key}),Ct=Xe(Ce(Me,er,jn.key),mt,st,ht),Xt=Me.slice();Xt.splice(Nt+1,0,Ve),It(Xt),Cn(Ct),Lt("hide")}else er!==Me&&(jr(Me),It(Me))},[Ee,Me]),y.useEffect(function(){pt||jt()},[pt]);var un=ot?Ot:Me,En={expandedKeys:Ee,selectedKeys:Ie,loadedKeys:at,loadingKeys:He,checkedKeys:Ke,halfCheckedKeys:nt,dragOverNodeKey:ct,dropPosition:vt,keyEntities:ft};return y.createElement(y.Fragment,null,Ft&&xt&&y.createElement("span",{style:Fe,"aria-live":"assertive"},ke(xt)),y.createElement("div",null,y.createElement("input",{style:Fe,disabled:bt===!1||lt,tabIndex:bt!==!1?Dt:null,onKeyDown:$t,onFocus:dn,onBlur:en,value:"",onChange:Ge,"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:Un,className:"".concat(We,"-indent-unit")}))),y.createElement(ge.Z,(0,be.Z)({},fn,{data:un,itemKey:Ze,height:st,fullHeight:!1,virtual:mt,itemHeight:ht,prefixCls:"".concat(We,"-list"),ref:zn,onVisibleChange:function(Sn,St){var Bt=new Set(Sn),Nt=St.filter(function(Ct){return!Bt.has(Ct)});Nt.some(function(Ct){return Ze(Ct)===Be})&&jt()}}),function(jn){var Sn=jn.pos,St=(0,be.Z)({},(ee(jn.data),jn.data)),Bt=jn.title,Nt=jn.key,Ct=jn.isStart,Xt=jn.isEnd,Vt=(0,ye.km)(Nt,Sn);delete St.key,delete St.children;var Wt=(0,ye.H8)(Vt,En);return y.createElement(xe,(0,be.Z)({},St,Wt,{title:Bt,active:!!xt&&Nt===xt.key,pos:Sn,data:jn.data,isStart:Ct,isEnd:Xt,motion:ot,motionNodes:Nt===Be?Fn:null,motionType:Ht,onMotionStart:wn,onMotionEnd:jt,treeNodeRequiredProps:En,onMouseMove:function(){Jt(null)}}))}))});ze.displayName="NodeList";var et=ze,Je=ve(35654),ut=ve(90782),Qe=ve(67841),Ue=10,Re=function(Ne){(0,ce.Z)(We,Ne);var qe=(0,ue.Z)(We);function We(){var Me;(0,se.Z)(this,We);for(var Te=arguments.length,Oe=new Array(Te),Ee=0;Ee<Te;Ee++)Oe[Ee]=arguments[Ee];return Me=qe.call.apply(qe,[this].concat(Oe)),Me.destroyed=!1,Me.delayedDragEnterLogic=void 0,Me.loadingRetryTimes={},Me.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,ye.w$)()},Me.dragStartMousePosition=null,Me.dragNode=void 0,Me.currentMouseOverDroppableNodeKey=null,Me.listRef=y.createRef(),Me.onNodeDragStart=function(Ie,Ke){var at=Me.state,He=at.expandedKeys,nt=at.keyEntities,ft=Me.props.onDragStart,lt=Ke.props.eventKey;Me.dragNode=Ke,Me.dragStartMousePosition={x:Ie.clientX,y:Ie.clientY};var pt=(0,Je._5)(He,lt);Me.setState({draggingNodeKey:lt,dragChildrenKeys:(0,Je.wA)(lt,nt),indent:Me.listRef.current.getIndentWidth()}),Me.setExpandedKeys(pt),window.addEventListener("dragend",Me.onWindowDragEnd),ft==null||ft({event:Ie,node:(0,ye.F)(Ke.props)})},Me.onNodeDragEnter=function(Ie,Ke){var at=Me.state,He=at.expandedKeys,nt=at.keyEntities,ft=at.dragChildrenKeys,lt=at.flattenNodes,pt=at.indent,ct=Me.props,vt=ct.onDragEnter,ot=ct.onExpand,st=ct.allowDrop,ht=ct.direction,mt=Ke.props,bt=mt.pos,xt=mt.eventKey,Ft=(0,ie.Z)(Me),Dt=Ft.dragNode;if(Me.currentMouseOverDroppableNodeKey!==xt&&(Me.currentMouseOverDroppableNodeKey=xt),!Dt){Me.resetDragState();return}var $t=(0,Je.OM)(Ie,Dt,Ke,pt,Me.dragStartMousePosition,st,lt,nt,He,ht),dn=$t.dropPosition,en=$t.dropLevelOffset,Jt=$t.dropTargetKey,wn=$t.dropContainerKey,Tn=$t.dropTargetPos,fn=$t.dropAllowed,zn=$t.dragOverNodeKey;if(ft.indexOf(Jt)!==-1||!fn){Me.resetDragState();return}if(Me.delayedDragEnterLogic||(Me.delayedDragEnterLogic={}),Object.keys(Me.delayedDragEnterLogic).forEach(function(Un){clearTimeout(Me.delayedDragEnterLogic[Un])}),Dt.props.eventKey!==Ke.props.eventKey&&(Ie.persist(),Me.delayedDragEnterLogic[bt]=window.setTimeout(function(){if(Me.state.draggingNodeKey!==null){var Un=(0,de.Z)(He),Nn=(0,Qe.Z)(nt,Ke.props.eventKey);Nn&&(Nn.children||[]).length&&(Un=(0,Je.L0)(He,Ke.props.eventKey)),"expandedKeys"in Me.props||Me.setExpandedKeys(Un),ot==null||ot(Un,{node:(0,ye.F)(Ke.props),expanded:!0,nativeEvent:Ie.nativeEvent})}},800)),Dt.props.eventKey===Jt&&en===0){Me.resetDragState();return}Me.setState({dragOverNodeKey:zn,dropPosition:dn,dropLevelOffset:en,dropTargetKey:Jt,dropContainerKey:wn,dropTargetPos:Tn,dropAllowed:fn}),vt==null||vt({event:Ie,node:(0,ye.F)(Ke.props),expandedKeys:He})},Me.onNodeDragOver=function(Ie,Ke){var at=Me.state,He=at.dragChildrenKeys,nt=at.flattenNodes,ft=at.keyEntities,lt=at.expandedKeys,pt=at.indent,ct=Me.props,vt=ct.onDragOver,ot=ct.allowDrop,st=ct.direction,ht=(0,ie.Z)(Me),mt=ht.dragNode;if(mt){var bt=(0,Je.OM)(Ie,mt,Ke,pt,Me.dragStartMousePosition,ot,nt,ft,lt,st),xt=bt.dropPosition,Ft=bt.dropLevelOffset,Dt=bt.dropTargetKey,$t=bt.dropContainerKey,dn=bt.dropAllowed,en=bt.dropTargetPos,Jt=bt.dragOverNodeKey;He.indexOf(Dt)!==-1||!dn||(mt.props.eventKey===Dt&&Ft===0?Me.state.dropPosition===null&&Me.state.dropLevelOffset===null&&Me.state.dropTargetKey===null&&Me.state.dropContainerKey===null&&Me.state.dropTargetPos===null&&Me.state.dropAllowed===!1&&Me.state.dragOverNodeKey===null||Me.resetDragState():xt===Me.state.dropPosition&&Ft===Me.state.dropLevelOffset&&Dt===Me.state.dropTargetKey&&$t===Me.state.dropContainerKey&&en===Me.state.dropTargetPos&&dn===Me.state.dropAllowed&&Jt===Me.state.dragOverNodeKey||Me.setState({dropPosition:xt,dropLevelOffset:Ft,dropTargetKey:Dt,dropContainerKey:$t,dropTargetPos:en,dropAllowed:dn,dragOverNodeKey:Jt}),vt==null||vt({event:Ie,node:(0,ye.F)(Ke.props)}))}},Me.onNodeDragLeave=function(Ie,Ke){Me.currentMouseOverDroppableNodeKey===Ke.props.eventKey&&!Ie.currentTarget.contains(Ie.relatedTarget)&&(Me.resetDragState(),Me.currentMouseOverDroppableNodeKey=null);var at=Me.props.onDragLeave;at==null||at({event:Ie,node:(0,ye.F)(Ke.props)})},Me.onWindowDragEnd=function(Ie){Me.onNodeDragEnd(Ie,null,!0),window.removeEventListener("dragend",Me.onWindowDragEnd)},Me.onNodeDragEnd=function(Ie,Ke){var at=Me.props.onDragEnd;Me.setState({dragOverNodeKey:null}),Me.cleanDragState(),at==null||at({event:Ie,node:(0,ye.F)(Ke.props)}),Me.dragNode=null,window.removeEventListener("dragend",Me.onWindowDragEnd)},Me.onNodeDrop=function(Ie,Ke){var at,He=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,nt=Me.state,ft=nt.dragChildrenKeys,lt=nt.dropPosition,pt=nt.dropTargetKey,ct=nt.dropTargetPos,vt=nt.dropAllowed;if(vt){var ot=Me.props.onDrop;if(Me.setState({dragOverNodeKey:null}),Me.cleanDragState(),pt!==null){var st=(0,pe.Z)((0,pe.Z)({},(0,ye.H8)(pt,Me.getTreeNodeRequiredProps())),{},{active:((at=Me.getActiveItem())===null||at===void 0?void 0:at.key)===pt,data:(0,Qe.Z)(Me.state.keyEntities,pt).node}),ht=ft.indexOf(pt)!==-1;(0,a.ZP)(!ht,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var mt=(0,Je.yx)(ct),bt={event:Ie,node:(0,ye.F)(st),dragNode:Me.dragNode?(0,ye.F)(Me.dragNode.props):null,dragNodesKeys:[Me.dragNode.props.eventKey].concat(ft),dropToGap:lt!==0,dropPosition:lt+Number(mt[mt.length-1])};He||ot==null||ot(bt),Me.dragNode=null}}},Me.cleanDragState=function(){var Ie=Me.state.draggingNodeKey;Ie!==null&&Me.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Me.dragStartMousePosition=null,Me.currentMouseOverDroppableNodeKey=null},Me.triggerExpandActionExpand=function(Ie,Ke){var at=Me.state,He=at.expandedKeys,nt=at.flattenNodes,ft=Ke.expanded,lt=Ke.key,pt=Ke.isLeaf;if(!(pt||Ie.shiftKey||Ie.metaKey||Ie.ctrlKey)){var ct=nt.filter(function(ot){return ot.key===lt})[0],vt=(0,ye.F)((0,pe.Z)((0,pe.Z)({},(0,ye.H8)(lt,Me.getTreeNodeRequiredProps())),{},{data:ct.data}));Me.setExpandedKeys(ft?(0,Je._5)(He,lt):(0,Je.L0)(He,lt)),Me.onNodeExpand(Ie,vt)}},Me.onNodeClick=function(Ie,Ke){var at=Me.props,He=at.onClick,nt=at.expandAction;nt==="click"&&Me.triggerExpandActionExpand(Ie,Ke),He==null||He(Ie,Ke)},Me.onNodeDoubleClick=function(Ie,Ke){var at=Me.props,He=at.onDoubleClick,nt=at.expandAction;nt==="doubleClick"&&Me.triggerExpandActionExpand(Ie,Ke),He==null||He(Ie,Ke)},Me.onNodeSelect=function(Ie,Ke){var at=Me.state.selectedKeys,He=Me.state,nt=He.keyEntities,ft=He.fieldNames,lt=Me.props,pt=lt.onSelect,ct=lt.multiple,vt=Ke.selected,ot=Ke[ft.key],st=!vt;st?ct?at=(0,Je.L0)(at,ot):at=[ot]:at=(0,Je._5)(at,ot);var ht=at.map(function(mt){var bt=(0,Qe.Z)(nt,mt);return bt?bt.node:null}).filter(function(mt){return mt});Me.setUncontrolledState({selectedKeys:at}),pt==null||pt(at,{event:"select",selected:st,node:Ke,selectedNodes:ht,nativeEvent:Ie.nativeEvent})},Me.onNodeCheck=function(Ie,Ke,at){var He=Me.state,nt=He.keyEntities,ft=He.checkedKeys,lt=He.halfCheckedKeys,pt=Me.props,ct=pt.checkStrictly,vt=pt.onCheck,ot=Ke.key,st,ht={event:"check",node:Ke,checked:at,nativeEvent:Ie.nativeEvent};if(ct){var mt=at?(0,Je.L0)(ft,ot):(0,Je._5)(ft,ot),bt=(0,Je._5)(lt,ot);st={checked:mt,halfChecked:bt},ht.checkedNodes=mt.map(function(en){return(0,Qe.Z)(nt,en)}).filter(function(en){return en}).map(function(en){return en.node}),Me.setUncontrolledState({checkedKeys:mt})}else{var xt=(0,ut.S)([].concat((0,de.Z)(ft),[ot]),!0,nt),Ft=xt.checkedKeys,Dt=xt.halfCheckedKeys;if(!at){var $t=new Set(Ft);$t.delete(ot);var dn=(0,ut.S)(Array.from($t),{checked:!1,halfCheckedKeys:Dt},nt);Ft=dn.checkedKeys,Dt=dn.halfCheckedKeys}st=Ft,ht.checkedNodes=[],ht.checkedNodesPositions=[],ht.halfCheckedKeys=Dt,Ft.forEach(function(en){var Jt=(0,Qe.Z)(nt,en);if(Jt){var wn=Jt.node,Tn=Jt.pos;ht.checkedNodes.push(wn),ht.checkedNodesPositions.push({node:wn,pos:Tn})}}),Me.setUncontrolledState({checkedKeys:Ft},!1,{halfCheckedKeys:Dt})}vt==null||vt(st,ht)},Me.onNodeLoad=function(Ie){var Ke=Ie.key,at=new Promise(function(He,nt){Me.setState(function(ft){var lt=ft.loadedKeys,pt=lt===void 0?[]:lt,ct=ft.loadingKeys,vt=ct===void 0?[]:ct,ot=Me.props,st=ot.loadData,ht=ot.onLoad;if(!st||pt.indexOf(Ke)!==-1||vt.indexOf(Ke)!==-1)return null;var mt=st(Ie);return mt.then(function(){var bt=Me.state.loadedKeys,xt=(0,Je.L0)(bt,Ke);ht==null||ht(xt,{event:"load",node:Ie}),Me.setUncontrolledState({loadedKeys:xt}),Me.setState(function(Ft){return{loadingKeys:(0,Je._5)(Ft.loadingKeys,Ke)}}),He()}).catch(function(bt){if(Me.setState(function(Ft){return{loadingKeys:(0,Je._5)(Ft.loadingKeys,Ke)}}),Me.loadingRetryTimes[Ke]=(Me.loadingRetryTimes[Ke]||0)+1,Me.loadingRetryTimes[Ke]>=Ue){var xt=Me.state.loadedKeys;(0,a.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Me.setUncontrolledState({loadedKeys:(0,Je.L0)(xt,Ke)}),He()}nt(bt)}),{loadingKeys:(0,Je.L0)(vt,Ke)}})});return at.catch(function(){}),at},Me.onNodeMouseEnter=function(Ie,Ke){var at=Me.props.onMouseEnter;at==null||at({event:Ie,node:Ke})},Me.onNodeMouseLeave=function(Ie,Ke){var at=Me.props.onMouseLeave;at==null||at({event:Ie,node:Ke})},Me.onNodeContextMenu=function(Ie,Ke){var at=Me.props.onRightClick;at&&(Ie.preventDefault(),at({event:Ie,node:Ke}))},Me.onFocus=function(){var Ie=Me.props.onFocus;Me.setState({focused:!0});for(var Ke=arguments.length,at=new Array(Ke),He=0;He<Ke;He++)at[He]=arguments[He];Ie==null||Ie.apply(void 0,at)},Me.onBlur=function(){var Ie=Me.props.onBlur;Me.setState({focused:!1}),Me.onActiveChange(null);for(var Ke=arguments.length,at=new Array(Ke),He=0;He<Ke;He++)at[He]=arguments[He];Ie==null||Ie.apply(void 0,at)},Me.getTreeNodeRequiredProps=function(){var Ie=Me.state,Ke=Ie.expandedKeys,at=Ie.selectedKeys,He=Ie.loadedKeys,nt=Ie.loadingKeys,ft=Ie.checkedKeys,lt=Ie.halfCheckedKeys,pt=Ie.dragOverNodeKey,ct=Ie.dropPosition,vt=Ie.keyEntities;return{expandedKeys:Ke||[],selectedKeys:at||[],loadedKeys:He||[],loadingKeys:nt||[],checkedKeys:ft||[],halfCheckedKeys:lt||[],dragOverNodeKey:pt,dropPosition:ct,keyEntities:vt}},Me.setExpandedKeys=function(Ie){var Ke=Me.state,at=Ke.treeData,He=Ke.fieldNames,nt=(0,ye.oH)(at,Ie,He);Me.setUncontrolledState({expandedKeys:Ie,flattenNodes:nt},!0)},Me.onNodeExpand=function(Ie,Ke){var at=Me.state.expandedKeys,He=Me.state,nt=He.listChanging,ft=He.fieldNames,lt=Me.props,pt=lt.onExpand,ct=lt.loadData,vt=Ke.expanded,ot=Ke[ft.key];if(!nt){var st=at.indexOf(ot),ht=!vt;if((0,a.ZP)(vt&&st!==-1||!vt&&st===-1,"Expand state not sync with index check"),ht?at=(0,Je.L0)(at,ot):at=(0,Je._5)(at,ot),Me.setExpandedKeys(at),pt==null||pt(at,{node:Ke,expanded:ht,nativeEvent:Ie.nativeEvent}),ht&&ct){var mt=Me.onNodeLoad(Ke);mt&&mt.then(function(){var bt=(0,ye.oH)(Me.state.treeData,at,ft);Me.setUncontrolledState({flattenNodes:bt})}).catch(function(){var bt=Me.state.expandedKeys,xt=(0,Je._5)(bt,ot);Me.setExpandedKeys(xt)})}}},Me.onListChangeStart=function(){Me.setUncontrolledState({listChanging:!0})},Me.onListChangeEnd=function(){setTimeout(function(){Me.setUncontrolledState({listChanging:!1})})},Me.onActiveChange=function(Ie){var Ke=Me.state.activeKey,at=Me.props.onActiveChange;Ke!==Ie&&(Me.setState({activeKey:Ie}),Ie!==null&&Me.scrollTo({key:Ie}),at==null||at(Ie))},Me.getActiveItem=function(){var Ie=Me.state,Ke=Ie.activeKey,at=Ie.flattenNodes;return Ke===null?null:at.find(function(He){var nt=He.key;return nt===Ke})||null},Me.offsetActiveKey=function(Ie){var Ke=Me.state,at=Ke.flattenNodes,He=Ke.activeKey,nt=at.findIndex(function(pt){var ct=pt.key;return ct===He});nt===-1&&Ie<0&&(nt=at.length),nt=(nt+Ie+at.length)%at.length;var ft=at[nt];if(ft){var lt=ft.key;Me.onActiveChange(lt)}else Me.onActiveChange(null)},Me.onKeyDown=function(Ie){var Ke=Me.state,at=Ke.activeKey,He=Ke.expandedKeys,nt=Ke.checkedKeys,ft=Ke.fieldNames,lt=Me.props,pt=lt.onKeyDown,ct=lt.checkable,vt=lt.selectable;switch(Ie.which){case re.Z.UP:{Me.offsetActiveKey(-1),Ie.preventDefault();break}case re.Z.DOWN:{Me.offsetActiveKey(1),Ie.preventDefault();break}}var ot=Me.getActiveItem();if(ot&&ot.data){var st=Me.getTreeNodeRequiredProps(),ht=ot.data.isLeaf===!1||!!(ot.data[ft.children]||[]).length,mt=(0,ye.F)((0,pe.Z)((0,pe.Z)({},(0,ye.H8)(at,st)),{},{data:ot.data,active:!0}));switch(Ie.which){case re.Z.LEFT:{ht&&He.includes(at)?Me.onNodeExpand({},mt):ot.parent&&Me.onActiveChange(ot.parent.key),Ie.preventDefault();break}case re.Z.RIGHT:{ht&&!He.includes(at)?Me.onNodeExpand({},mt):ot.children&&ot.children.length&&Me.onActiveChange(ot.children[0].key),Ie.preventDefault();break}case re.Z.ENTER:case re.Z.SPACE:{ct&&!mt.disabled&&mt.checkable!==!1&&!mt.disableCheckbox?Me.onNodeCheck({},mt,!nt.includes(at)):!ct&&vt&&!mt.disabled&&mt.selectable!==!1&&Me.onNodeSelect({},mt);break}}}pt==null||pt(Ie)},Me.setUncontrolledState=function(Ie){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,at=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Me.destroyed){var He=!1,nt=!0,ft={};Object.keys(Ie).forEach(function(lt){if(lt in Me.props){nt=!1;return}He=!0,ft[lt]=Ie[lt]}),He&&(!Ke||nt)&&Me.setState((0,pe.Z)((0,pe.Z)({},ft),at))}},Me.scrollTo=function(Ie){Me.listRef.current.scrollTo(Ie)},Me}return(0,ne.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,Oe=this.state,Ee=Oe.focused,Ie=Oe.flattenNodes,Ke=Oe.keyEntities,at=Oe.draggingNodeKey,He=Oe.activeKey,nt=Oe.dropLevelOffset,ft=Oe.dropContainerKey,lt=Oe.dropTargetKey,pt=Oe.dropPosition,ct=Oe.dragOverNodeKey,vt=Oe.indent,ot=this.props,st=ot.prefixCls,ht=ot.className,mt=ot.style,bt=ot.showLine,xt=ot.focusable,Ft=ot.tabIndex,Dt=Ft===void 0?0:Ft,$t=ot.selectable,dn=ot.showIcon,en=ot.icon,Jt=ot.switcherIcon,wn=ot.draggable,Tn=ot.checkable,fn=ot.checkStrictly,zn=ot.disabled,Un=ot.motion,Nn=ot.loadData,On=ot.filterTreeNode,Mn=ot.height,Wn=ot.itemHeight,qn=ot.virtual,Nr=ot.titleRender,er=ot.dropIndicatorRender,jr=ot.onContextMenu,sr=ot.onScroll,hr=ot.direction,Ot=ot.rootClassName,It=ot.rootStyle,_t=(0,z.Z)(this.props,{aria:!0,data:!0}),tn;return wn&&((0,E.Z)(wn)==="object"?tn=wn:typeof wn=="function"?tn={nodeDraggable:wn}:tn={}),y.createElement(x.k.Provider,{value:{prefixCls:st,selectable:$t,showIcon:dn,icon:en,switcherIcon:Jt,draggable:tn,draggingNodeKey:at,checkable:Tn,checkStrictly:fn,disabled:zn,keyEntities:Ke,dropLevelOffset:nt,dropContainerKey:ft,dropTargetKey:lt,dropPosition:pt,dragOverNodeKey:ct,indent:vt,direction:hr,dropIndicatorRender:er,loadData:Nn,filterTreeNode:On,titleRender:Nr,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()(st,ht,Ot,(Te={},(0,_e.Z)(Te,"".concat(st,"-show-line"),bt),(0,_e.Z)(Te,"".concat(st,"-focused"),Ee),(0,_e.Z)(Te,"".concat(st,"-active-focused"),He!==null),Te)),style:It},y.createElement(et,(0,be.Z)({ref:this.listRef,prefixCls:st,style:mt,data:Ie,disabled:zn,selectable:$t,checkable:!!Tn,motion:Un,dragging:at!==null,height:Mn,itemHeight:Wn,virtual:qn,focusable:xt,focused:Ee,tabIndex:Dt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:jr,onScroll:sr},this.getTreeNodeRequiredProps(),_t))))}}],[{key:"getDerivedStateFromProps",value:function(Te,Oe){var Ee=Oe.prevProps,Ie={prevProps:Te};function Ke(xt){return!Ee&&xt in Te||Ee&&Ee[xt]!==Te[xt]}var at,He=Oe.fieldNames;if(Ke("fieldNames")&&(He=(0,ye.w$)(Te.fieldNames),Ie.fieldNames=He),Ke("treeData")?at=Te.treeData:Ke("children")&&((0,a.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),at=(0,ye.zn)(Te.children)),at){Ie.treeData=at;var nt=(0,ye.I8)(at,{fieldNames:He});Ie.keyEntities=(0,pe.Z)((0,_e.Z)({},Be,Ye),nt.keyEntities)}var ft=Ie.keyEntities||Oe.keyEntities;if(Ke("expandedKeys")||Ee&&Ke("autoExpandParent"))Ie.expandedKeys=Te.autoExpandParent||!Ee&&Te.defaultExpandParent?(0,Je.r7)(Te.expandedKeys,ft):Te.expandedKeys;else if(!Ee&&Te.defaultExpandAll){var lt=(0,pe.Z)({},ft);delete lt[Be],Ie.expandedKeys=Object.keys(lt).map(function(xt){return lt[xt].key})}else!Ee&&Te.defaultExpandedKeys&&(Ie.expandedKeys=Te.autoExpandParent||Te.defaultExpandParent?(0,Je.r7)(Te.defaultExpandedKeys,ft):Te.defaultExpandedKeys);if(Ie.expandedKeys||delete Ie.expandedKeys,at||Ie.expandedKeys){var pt=(0,ye.oH)(at||Oe.treeData,Ie.expandedKeys||Oe.expandedKeys,He);Ie.flattenNodes=pt}if(Te.selectable&&(Ke("selectedKeys")?Ie.selectedKeys=(0,Je.BT)(Te.selectedKeys,Te):!Ee&&Te.defaultSelectedKeys&&(Ie.selectedKeys=(0,Je.BT)(Te.defaultSelectedKeys,Te))),Te.checkable){var ct;if(Ke("checkedKeys")?ct=(0,Je.E6)(Te.checkedKeys)||{}:!Ee&&Te.defaultCheckedKeys?ct=(0,Je.E6)(Te.defaultCheckedKeys)||{}:at&&(ct=(0,Je.E6)(Te.checkedKeys)||{checkedKeys:Oe.checkedKeys,halfCheckedKeys:Oe.halfCheckedKeys}),ct){var vt=ct,ot=vt.checkedKeys,st=ot===void 0?[]:ot,ht=vt.halfCheckedKeys,mt=ht===void 0?[]:ht;if(!Te.checkStrictly){var bt=(0,ut.S)(st,!0,ft);st=bt.checkedKeys,mt=bt.halfCheckedKeys}Ie.checkedKeys=st,Ie.halfCheckedKeys=mt}}return Ke("loadedKeys")&&(Ie.loadedKeys=Te.loadedKeys),Ie}}]),We}(y.Component);Re.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},Re.TreeNode=he.Z;var $e=Re,Le=$e},35654:function(Et,dt,ve){"use strict";ve.d(dt,{BT:function(){return y},E6:function(){return ee},L0:function(){return ue},OM:function(){return a},_5:function(){return ce},r7:function(){return te},wA:function(){return oe},yx:function(){return ae}});var be=ve(94480),_e=ve(76190),E=ve(48736),pe=ve(59301),de=ve(39417),se=ve(67841),ne=ve(71430),ie=null;function ce(le,fe){if(!le)return[];var ge=le.slice(),me=ge.indexOf(fe);return me>=0&&ge.splice(me,1),ge}function ue(le,fe){var ge=(le||[]).slice();return ge.indexOf(fe)===-1&&ge.push(fe),ge}function ae(le){return le.split("-")}function oe(le,fe){var ge=[],me=(0,se.Z)(fe,le);function he(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Se.forEach(function(ye){var Pe=ye.key,we=ye.children;ge.push(Pe),he(we)})}return he(me.children),ge}function re(le){if(le.parent){var fe=ae(le.pos);return Number(fe[fe.length-1])===le.parent.children.length-1}return!1}function z(le){var fe=ae(le.pos);return Number(fe[fe.length-1])===0}function a(le,fe,ge,me,he,Se,ye,Pe,we,De){var xe,Ae=le.clientX,Ce=le.clientY,je=le.target.getBoundingClientRect(),Fe=je.top,Ge=je.height,Be=(De==="rtl"?-1:1)*(((he==null?void 0:he.x)||0)-Ae),tt=(Be-12)/me,Ye=(0,se.Z)(Pe,ge.props.eventKey);if(Ce<Fe+Ge/2){var Ve=ye.findIndex(function(Le){return Le.key===Ye.key}),Xe=Ve<=0?0:Ve-1,Ze=ye[Xe].key;Ye=(0,se.Z)(Pe,Ze)}var ke=Ye.key,ze=Ye,et=Ye.key,Je=0,ut=0;if(!we.includes(ke))for(var Qe=0;Qe<tt&&re(Ye);Qe+=1)Ye=Ye.parent,ut+=1;var Ue=fe.props.data,Re=Ye.node,$e=!0;return z(Ye)&&Ye.level===0&&Ce<Fe+Ge/2&&Se({dragNode:Ue,dropNode:Re,dropPosition:-1})&&Ye.key===ge.props.eventKey?Je=-1:(ze.children||[]).length&&we.includes(et)?Se({dragNode:Ue,dropNode:Re,dropPosition:0})?Je=0:$e=!1:ut===0?tt>-1.5?Se({dragNode:Ue,dropNode:Re,dropPosition:1})?Je=1:$e=!1:Se({dragNode:Ue,dropNode:Re,dropPosition:0})?Je=0:Se({dragNode:Ue,dropNode:Re,dropPosition:1})?Je=1:$e=!1:Se({dragNode:Ue,dropNode:Re,dropPosition:1})?Je=1:$e=!1,{dropPosition:Je,dropLevelOffset:ut,dropTargetKey:Ye.key,dropTargetPos:Ye.pos,dragOverNodeKey:et,dropContainerKey:Je===0?null:((xe=Ye.parent)===null||xe===void 0?void 0:xe.key)||null,dropAllowed:$e}}function y(le,fe){if(le){var ge=fe.multiple;return ge?le.slice():le.length?[le[0]]:le}}var x=function(fe){return fe};function b(le,fe){if(!le)return[];var ge=fe||{},me=ge.processProps,he=me===void 0?x:me,Se=Array.isArray(le)?le:[le];return Se.map(function(ye){var Pe=ye.children,we=_objectWithoutProperties(ye,ie),De=b(Pe,fe);return React.createElement(TreeNode,_extends({key:we.key},he(we)),De)})}function ee(le){if(!le)return null;var fe;if(Array.isArray(le))fe={checkedKeys:le,halfCheckedKeys:void 0};else if((0,_e.Z)(le)==="object")fe={checkedKeys:le.checked||void 0,halfCheckedKeys:le.halfChecked||void 0};else return(0,E.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return fe}function te(le,fe){var ge=new Set;function me(he){if(!ge.has(he)){var Se=(0,se.Z)(fe,he);if(Se){ge.add(he);var ye=Se.parent,Pe=Se.node;Pe.disabled||ye&&me(ye.key)}}}return(le||[]).forEach(function(he){me(he)}),(0,be.Z)(ge)}},90782:function(Et,dt,ve){"use strict";ve.d(dt,{S:function(){return ne}});var be=ve(48736),_e=ve(67841);function E(ie,ce){var ue=new Set;return ie.forEach(function(ae){ce.has(ae)||ue.add(ae)}),ue}function pe(ie){var ce=ie||{},ue=ce.disabled,ae=ce.disableCheckbox,oe=ce.checkable;return!!(ue||ae)||oe===!1}function de(ie,ce,ue,ae){for(var oe=new Set(ie),re=new Set,z=0;z<=ue;z+=1){var a=ce.get(z)||new Set;a.forEach(function(ee){var te=ee.key,le=ee.node,fe=ee.children,ge=fe===void 0?[]:fe;oe.has(te)&&!ae(le)&&ge.filter(function(me){return!ae(me.node)}).forEach(function(me){oe.add(me.key)})})}for(var y=new Set,x=ue;x>=0;x-=1){var b=ce.get(x)||new Set;b.forEach(function(ee){var te=ee.parent,le=ee.node;if(!(ae(le)||!ee.parent||y.has(ee.parent.key))){if(ae(ee.parent.node)){y.add(te.key);return}var fe=!0,ge=!1;(te.children||[]).filter(function(me){return!ae(me.node)}).forEach(function(me){var he=me.key,Se=oe.has(he);fe&&!Se&&(fe=!1),!ge&&(Se||re.has(he))&&(ge=!0)}),fe&&oe.add(te.key),ge&&re.add(te.key),y.add(te.key)}})}return{checkedKeys:Array.from(oe),halfCheckedKeys:Array.from(E(re,oe))}}function se(ie,ce,ue,ae,oe){for(var re=new Set(ie),z=new Set(ce),a=0;a<=ae;a+=1){var y=ue.get(a)||new Set;y.forEach(function(te){var le=te.key,fe=te.node,ge=te.children,me=ge===void 0?[]:ge;!re.has(le)&&!z.has(le)&&!oe(fe)&&me.filter(function(he){return!oe(he.node)}).forEach(function(he){re.delete(he.key)})})}z=new Set;for(var x=new Set,b=ae;b>=0;b-=1){var ee=ue.get(b)||new Set;ee.forEach(function(te){var le=te.parent,fe=te.node;if(!(oe(fe)||!te.parent||x.has(te.parent.key))){if(oe(te.parent.node)){x.add(le.key);return}var ge=!0,me=!1;(le.children||[]).filter(function(he){return!oe(he.node)}).forEach(function(he){var Se=he.key,ye=re.has(Se);ge&&!ye&&(ge=!1),!me&&(ye||z.has(Se))&&(me=!0)}),ge||re.delete(le.key),me&&z.add(le.key),x.add(le.key)}})}return{checkedKeys:Array.from(re),halfCheckedKeys:Array.from(E(z,re))}}function ne(ie,ce,ue,ae){var oe=[],re;ae?re=ae:re=pe;var z=new Set(ie.filter(function(b){var ee=!!(0,_e.Z)(ue,b);return ee||oe.push(b),ee})),a=new Map,y=0;Object.keys(ue).forEach(function(b){var ee=ue[b],te=ee.level,le=a.get(te);le||(le=new Set,a.set(te,le)),le.add(ee),y=Math.max(y,te)}),(0,be.ZP)(!oe.length,"Tree missing follow keys: ".concat(oe.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var x;return ce===!0?x=de(z,a,y,re):x=se(z,ce.halfCheckedKeys,a,y,re),x}},67841:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return be}});function be(_e,E){return _e[E]}},71430:function(Et,dt,ve){"use strict";ve.d(dt,{F:function(){return te},H8:function(){return ee},I8:function(){return b},km:function(){return oe},oH:function(){return y},w$:function(){return re},zn:function(){return a}});var be=ve(76190),_e=ve(94480),E=ve(33885),pe=ve(75931),de=ve(11592),se=ve(2738),ne=ve(48736),ie=ve(67841),ce=["children"];function ue(le,fe){return"".concat(le,"-").concat(fe)}function ae(le){return le&&le.type&&le.type.isTreeNode}function oe(le,fe){return le!=null?le:fe}function re(le){var fe=le||{},ge=fe.title,me=fe._title,he=fe.key,Se=fe.children,ye=ge||"title";return{title:ye,_title:me||[ye],key:he||"key",children:Se||"children"}}function z(le,fe){var ge=new Map;function me(he){var Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(he||[]).forEach(function(ye){var Pe=ye[fe.key],we=ye[fe.children];warning(Pe!=null,"Tree node must have a certain key: [".concat(Se).concat(Pe,"]"));var De=String(Pe);warning(!ge.has(De)||Pe===null||Pe===void 0,"Same 'key' exist in the Tree: ".concat(De)),ge.set(De,!0),me(we,"".concat(Se).concat(De," > "))})}me(le)}function a(le){function fe(ge){var me=(0,de.Z)(ge);return me.map(function(he){if(!ae(he))return(0,ne.ZP)(!he,"Tree/TreeNode can only accept TreeNode as children."),null;var Se=he.key,ye=he.props,Pe=ye.children,we=(0,pe.Z)(ye,ce),De=(0,E.Z)({key:Se},we),xe=fe(Pe);return xe.length&&(De.children=xe),De}).filter(function(he){return he})}return fe(le)}function y(le,fe,ge){var me=re(ge),he=me._title,Se=me.key,ye=me.children,Pe=new Set(fe===!0?[]:fe),we=[];function De(xe){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return xe.map(function(Ce,je){for(var Fe=ue(Ae?Ae.pos:"0",je),Ge=oe(Ce[Se],Fe),Be,tt=0;tt<he.length;tt+=1){var Ye=he[tt];if(Ce[Ye]!==void 0){Be=Ce[Ye];break}}var Ve=(0,E.Z)((0,E.Z)({},(0,se.Z)(Ce,[].concat((0,_e.Z)(he),[Se,ye]))),{},{title:Be,key:Ge,parent:Ae,pos:Fe,children:null,data:Ce,isStart:[].concat((0,_e.Z)(Ae?Ae.isStart:[]),[je===0]),isEnd:[].concat((0,_e.Z)(Ae?Ae.isEnd:[]),[je===xe.length-1])});return we.push(Ve),fe===!0||Pe.has(Ge)?Ve.children=De(Ce[ye]||[],Ve):Ve.children=[],Ve})}return De(le),we}function x(le,fe,ge){var me={};(0,be.Z)(ge)==="object"?me=ge:me={externalGetKey:ge},me=me||{};var he=me,Se=he.childrenPropName,ye=he.externalGetKey,Pe=he.fieldNames,we=re(Pe),De=we.key,xe=we.children,Ae=Se||xe,Ce;ye?typeof ye=="string"?Ce=function(Ge){return Ge[ye]}:typeof ye=="function"&&(Ce=function(Ge){return ye(Ge)}):Ce=function(Ge,Be){return oe(Ge[De],Be)};function je(Fe,Ge,Be,tt){var Ye=Fe?Fe[Ae]:le,Ve=Fe?ue(Be.pos,Ge):"0",Xe=Fe?[].concat((0,_e.Z)(tt),[Fe]):[];if(Fe){var Ze=Ce(Fe,Ve),ke={node:Fe,index:Ge,pos:Ve,key:Ze,parentPos:Be.node?Be.pos:null,level:Be.level+1,nodes:Xe};fe(ke)}Ye&&Ye.forEach(function(ze,et){je(ze,et,{node:Fe,pos:Ve,level:Be?Be.level+1:-1},Xe)})}je(null)}function b(le){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ge=fe.initWrapper,me=fe.processEntity,he=fe.onProcessFinished,Se=fe.externalGetKey,ye=fe.childrenPropName,Pe=fe.fieldNames,we=arguments.length>2?arguments[2]:void 0,De=Se||we,xe={},Ae={},Ce={posEntities:xe,keyEntities:Ae};return ge&&(Ce=ge(Ce)||Ce),x(le,function(je){var Fe=je.node,Ge=je.index,Be=je.pos,tt=je.key,Ye=je.parentPos,Ve=je.level,Xe=je.nodes,Ze={node:Fe,nodes:Xe,index:Ge,key:tt,pos:Be,level:Ve},ke=oe(tt,Be);xe[Be]=Ze,Ae[ke]=Ze,Ze.parent=xe[Ye],Ze.parent&&(Ze.parent.children=Ze.parent.children||[],Ze.parent.children.push(Ze)),me&&me(Ze,Ce)},{externalGetKey:De,childrenPropName:ye,fieldNames:Pe}),he&&he(Ce),Ce}function ee(le,fe){var ge=fe.expandedKeys,me=fe.selectedKeys,he=fe.loadedKeys,Se=fe.loadingKeys,ye=fe.checkedKeys,Pe=fe.halfCheckedKeys,we=fe.dragOverNodeKey,De=fe.dropPosition,xe=fe.keyEntities,Ae=(0,ie.Z)(xe,le),Ce={eventKey:le,expanded:ge.indexOf(le)!==-1,selected:me.indexOf(le)!==-1,loaded:he.indexOf(le)!==-1,loading:Se.indexOf(le)!==-1,checked:ye.indexOf(le)!==-1,halfChecked:Pe.indexOf(le)!==-1,pos:String(Ae?Ae.pos:""),dragOver:we===le&&De===0,dragOverGapTop:we===le&&De===-1,dragOverGapBottom:we===le&&De===1};return Ce}function te(le){var fe=le.data,ge=le.expanded,me=le.selected,he=le.checked,Se=le.loaded,ye=le.loading,Pe=le.halfChecked,we=le.dragOver,De=le.dragOverGapTop,xe=le.dragOverGapBottom,Ae=le.pos,Ce=le.active,je=le.eventKey,Fe=(0,E.Z)((0,E.Z)({},fe),{},{expanded:ge,selected:me,checked:he,loaded:Se,loading:ye,halfChecked:Pe,dragOver:we,dragOverGapTop:De,dragOverGapBottom:xe,pos:Ae,active:Ce,key:je});return"props"in Fe||Object.defineProperty(Fe,"props",{get:function(){return(0,ne.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),le}}),Fe}},8224:function(Et,dt,ve){"use strict";ve.d(dt,{Z:function(){return _e}});var be=ve(4676);function _e(E,pe,de,se){var ne=be.unstable_batchedUpdates?function(ce){be.unstable_batchedUpdates(de,ce)}:de;return E!=null&&E.addEventListener&&E.addEventListener(pe,ne,se),{remove:function(){E!=null&&E.removeEventListener&&E.removeEventListener(pe,ne,se)}}}},55468:function(Et,dt,ve){"use strict";ve.d(dt,{g1:function(){return ae},os:function(){return re}});var be=/margin|padding|width|height|max|min|offset/,_e={left:!0,top:!0},E={cssFloat:1,styleFloat:1,float:1};function pe(z){return z.nodeType===1?z.ownerDocument.defaultView.getComputedStyle(z,null):{}}function de(z,a,y){if(a=a.toLowerCase(),y==="auto"){if(a==="height")return z.offsetHeight;if(a==="width")return z.offsetWidth}return a in _e||(_e[a]=be.test(a)),_e[a]?parseFloat(y)||0:y}function se(z,a){var y=arguments.length,x=pe(z);return a=E[a]?"cssFloat"in z.style?"cssFloat":"styleFloat":a,y===1?x:de(z,a,x[a]||z.style[a])}function ne(z,a,y){var x=arguments.length;if(a=E[a]?"cssFloat"in z.style?"cssFloat":"styleFloat":a,x===3)return typeof y=="number"&&be.test(a)&&(y="".concat(y,"px")),z.style[a]=y,y;for(var b in a)a.hasOwnProperty(b)&&ne(z,b,a[b]);return pe(z)}function ie(z){return z===document.body?document.documentElement.clientWidth:z.offsetWidth}function ce(z){return z===document.body?window.innerHeight||document.documentElement.clientHeight:z.offsetHeight}function ue(){var z=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:z,height:a}}function ae(){var z=document.documentElement.clientWidth,a=window.innerHeight||document.documentElement.clientHeight;return{width:z,height:a}}function oe(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function re(z){var a=z.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)}}},3465:function(Et,dt,ve){"use strict";ve.d(dt,{G:function(){return pe}});var be=ve(47273),_e=function(se){if((0,be.Z)()&&window.document.documentElement){var ne=Array.isArray(se)?se:[se],ie=window.document.documentElement;return ne.some(function(ce){return ce in ie.style})}return!1},E=function(se,ne){if(!_e(se))return!1;var ie=document.createElement("div"),ce=ie.style[se];return ie.style[se]=ne,ie.style[se]!==ce};function pe(de,se){return!Array.isArray(de)&&se!==void 0?E(de,se):_e(de)}},7062:function(Et,dt,ve){var be=ve(19637),_e=ve(97573),E=[ve(96627)];Et.exports=be.createStore(_e,E)},96627:function(Et,dt,ve){Et.exports=be;function be(){return ve(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(Et){return Et<10?"0"+Et:Et}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(Et){return rx_escapable.lastIndex=0,rx_escapable.test(Et)?'"'+Et.replace(rx_escapable,function(dt){var ve=meta[dt];return typeof ve=="string"?ve:"\\u"+("0000"+dt.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+Et+'"'}function str(Et,dt){var ve,be,_e,E,pe=gap,de,se=dt[Et];switch(se&&typeof se=="object"&&typeof se.toJSON=="function"&&(se=se.toJSON(Et)),typeof rep=="function"&&(se=rep.call(dt,Et,se)),typeof se){case"string":return quote(se);case"number":return isFinite(se)?String(se):"null";case"boolean":case"null":return String(se);case"object":if(!se)return"null";if(gap+=indent,de=[],Object.prototype.toString.apply(se)==="[object Array]"){for(E=se.length,ve=0;ve<E;ve+=1)de[ve]=str(ve,se)||"null";return _e=de.length===0?"[]":gap?`[
|
|
|
`+gap+de.join(`,
|
|
|
`+gap)+`
|
|
|
`+pe+"]":"["+de.join(",")+"]",gap=pe,_e}if(rep&&typeof rep=="object")for(E=rep.length,ve=0;ve<E;ve+=1)typeof rep[ve]=="string"&&(be=rep[ve],_e=str(be,se),_e&&de.push(quote(be)+(gap?": ":":")+_e));else for(be in se)Object.prototype.hasOwnProperty.call(se,be)&&(_e=str(be,se),_e&&de.push(quote(be)+(gap?": ":":")+_e));return _e=de.length===0?"{}":gap?`{
|
|
|
`+gap+de.join(`,
|
|
|
`+gap)+`
|
|
|
`+pe+"}":"{"+de.join(",")+"}",gap=pe,_e}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(Et,dt,ve){var be;if(gap="",indent="",typeof ve=="number")for(be=0;be<ve;be+=1)indent+=" ";else typeof ve=="string"&&(indent=ve);if(rep=dt,dt&&typeof dt!="function"&&(typeof dt!="object"||typeof dt.length!="number"))throw new Error("JSON.stringify");return str("",{"":Et})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(Et,dt){var ve,be,_e=Et[dt];if(_e&&typeof _e=="object")for(ve in _e)Object.prototype.hasOwnProperty.call(_e,ve)&&(be=walk(_e,ve),be!==void 0?_e[ve]=be:delete _e[ve]);return reviver.call(Et,dt,_e)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(Et){return"\\u"+("0000"+Et.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(Et,dt,ve){var be=ve(67039),_e=be.slice,E=be.pluck,pe=be.each,de=be.bind,se=be.create,ne=be.isList,ie=be.isFunction,ce=be.isObject;Et.exports={createStore:oe};var ue={version:"2.0.12",enabled:!1,get:function(re,z){var a=this.storage.read(this._namespacePrefix+re);return this._deserialize(a,z)},set:function(re,z){return z===void 0?this.remove(re):(this.storage.write(this._namespacePrefix+re,this._serialize(z)),z)},remove:function(re){this.storage.remove(this._namespacePrefix+re)},each:function(re){var z=this;this.storage.each(function(a,y){re.call(z,z._deserialize(a),(y||"").replace(z._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(re){return this._namespacePrefix=="__storejs_"+re+"_"},createStore:function(){return oe.apply(this,arguments)},addPlugin:function(re){this._addPlugin(re)},namespace:function(re){return oe(this.storage,this.plugins,re)}};function ae(){var re=typeof console=="undefined"?null:console;if(re){var z=re.warn?re.warn:re.log;z.apply(re,arguments)}}function oe(re,z,a){a||(a=""),re&&!ne(re)&&(re=[re]),z&&!ne(z)&&(z=[z]);var y=a?"__storejs_"+a+"_":"",x=a?new RegExp("^"+y):null,b=/^[a-zA-Z0-9_\-]*$/;if(!b.test(a))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var ee={_namespacePrefix:y,_namespaceRegexp:x,_testStorage:function(le){try{var fe="__storejs__test__";le.write(fe,fe);var ge=le.read(fe)===fe;return le.remove(fe),ge}catch(me){return!1}},_assignPluginFnProp:function(le,fe){var ge=this[fe];this[fe]=function(){var he=_e(arguments,0),Se=this;function ye(){if(ge)return pe(arguments,function(we,De){he[De]=we}),ge.apply(Se,he)}var Pe=[ye].concat(he);return le.apply(Se,Pe)}},_serialize:function(le){return JSON.stringify(le)},_deserialize:function(le,fe){if(!le)return fe;var ge="";try{ge=JSON.parse(le)}catch(me){ge=le}return ge!==void 0?ge:fe},_addStorage:function(le){this.enabled||this._testStorage(le)&&(this.storage=le,this.enabled=!0)},_addPlugin:function(le){var fe=this;if(ne(le)){pe(le,function(he){fe._addPlugin(he)});return}var ge=E(this.plugins,function(he){return le===he});if(!ge){if(this.plugins.push(le),!ie(le))throw new Error("Plugins must be function values that return objects");var me=le.call(this);if(!ce(me))throw new Error("Plugins must return an object of function properties");pe(me,function(he,Se){if(!ie(he))throw new Error("Bad plugin property: "+Se+" from plugin "+le.name+". Plugins should only return functions.");fe._assignPluginFnProp(he,Se)})}},addStorage:function(le){ae("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(le)}},te=se(ee,ue,{plugins:[]});return te.raw={},pe(te,function(le,fe){ie(le)&&(te.raw[fe]=de(te,le))}),pe(re,function(le){te._addStorage(le)}),pe(z,function(le){te._addPlugin(le)}),te}},67039:function(Et,dt,ve){var be=de(),_e=se(),E=ne(),pe=typeof window!="undefined"?window:ve.g;Et.exports={assign:be,create:_e,trim:E,bind:ie,slice:ce,each:ue,map:ae,pluck:oe,isList:re,isFunction:z,isObject:a,Global:pe};function de(){return Object.assign?Object.assign:function(x,b,ee,te){for(var le=1;le<arguments.length;le++)ue(Object(arguments[le]),function(fe,ge){x[ge]=fe});return x}}function se(){if(Object.create)return function(b,ee,te,le){var fe=ce(arguments,1);return be.apply(this,[Object.create(b)].concat(fe))};{let x=function(){};var y=x;return function(ee,te,le,fe){var ge=ce(arguments,1);return x.prototype=ee,be.apply(this,[new x].concat(ge))}}}function ne(){return String.prototype.trim?function(x){return String.prototype.trim.call(x)}:function(x){return x.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function ie(y,x){return function(){return x.apply(y,Array.prototype.slice.call(arguments,0))}}function ce(y,x){return Array.prototype.slice.call(y,x||0)}function ue(y,x){oe(y,function(b,ee){return x(b,ee),!1})}function ae(y,x){var b=re(y)?[]:{};return oe(y,function(ee,te){return b[te]=x(ee,te),!1}),b}function oe(y,x){if(re(y)){for(var b=0;b<y.length;b++)if(x(y[b],b))return y[b]}else for(var ee in y)if(y.hasOwnProperty(ee)&&x(y[ee],ee))return y[ee]}function re(y){return y!=null&&typeof y!="function"&&typeof y.length=="number"}function z(y){return y&&{}.toString.call(y)==="[object Function]"}function a(y){return y&&{}.toString.call(y)==="[object Object]"}},97573:function(Et,dt,ve){Et.exports=[ve(52496),ve(16436),ve(76673),ve(35701),ve(65578),ve(65300)]},35701:function(Et,dt,ve){var be=ve(67039),_e=be.Global,E=be.trim;Et.exports={name:"cookieStorage",read:de,write:ne,each:se,remove:ie,clearAll:ce};var pe=_e.document;function de(ae){if(!ae||!ue(ae))return null;var oe="(?:^|.*;\\s*)"+escape(ae).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(pe.cookie.replace(new RegExp(oe),"$1"))}function se(ae){for(var oe=pe.cookie.split(/; ?/g),re=oe.length-1;re>=0;re--)if(E(oe[re])){var z=oe[re].split("="),a=unescape(z[0]),y=unescape(z[1]);ae(y,a)}}function ne(ae,oe){ae&&(pe.cookie=escape(ae)+"="+escape(oe)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")}function ie(ae){!ae||!ue(ae)||(pe.cookie=escape(ae)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function ce(){se(function(ae,oe){ie(oe)})}function ue(ae){return new RegExp("(?:^|;\\s*)"+escape(ae).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(pe.cookie)}},52496:function(Et,dt,ve){var be=ve(67039),_e=be.Global;Et.exports={name:"localStorage",read:pe,write:de,each:se,remove:ne,clearAll:ie};function E(){return _e.localStorage}function pe(ce){return E().getItem(ce)}function de(ce,ue){return E().setItem(ce,ue)}function se(ce){for(var ue=E().length-1;ue>=0;ue--){var ae=E().key(ue);ce(pe(ae),ae)}}function ne(ce){return E().removeItem(ce)}function ie(){return E().clear()}},65300:function(Et){Et.exports={name:"memoryStorage",read:ve,write:be,each:_e,remove:E,clearAll:pe};var dt={};function ve(de){return dt[de]}function be(de,se){dt[de]=se}function _e(de){for(var se in dt)dt.hasOwnProperty(se)&&de(dt[se],se)}function E(de){delete dt[de]}function pe(de){dt={}}},16436:function(Et,dt,ve){var be=ve(67039),_e=be.Global;Et.exports={name:"oldFF-globalStorage",read:pe,write:de,each:se,remove:ne,clearAll:ie};var E=_e.globalStorage;function pe(ce){return E[ce]}function de(ce,ue){E[ce]=ue}function se(ce){for(var ue=E.length-1;ue>=0;ue--){var ae=E.key(ue);ce(E[ae],ae)}}function ne(ce){return E.removeItem(ce)}function ie(){se(function(ce,ue){delete E[ce]})}},76673:function(Et,dt,ve){var be=ve(67039),_e=be.Global;Et.exports={name:"oldIE-userDataStorage",write:ne,read:ie,each:ce,remove:ue,clearAll:ae};var E="storejs",pe=_e.document,de=z(),se=(_e.navigator?_e.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function ne(a,y){if(!se){var x=re(a);de(function(b){b.setAttribute(x,y),b.save(E)})}}function ie(a){if(!se){var y=re(a),x=null;return de(function(b){x=b.getAttribute(y)}),x}}function ce(a){de(function(y){for(var x=y.XMLDocument.documentElement.attributes,b=x.length-1;b>=0;b--){var ee=x[b];a(y.getAttribute(ee.name),ee.name)}})}function ue(a){var y=re(a);de(function(x){x.removeAttribute(y),x.save(E)})}function ae(){de(function(a){var y=a.XMLDocument.documentElement.attributes;a.load(E);for(var x=y.length-1;x>=0;x--)a.removeAttribute(y[x].name);a.save(E)})}var oe=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function re(a){return a.replace(/^\d/,"___$&").replace(oe,"___")}function z(){if(!pe||!pe.documentElement||!pe.documentElement.addBehavior)return null;var a="script",y,x,b;try{x=new ActiveXObject("htmlfile"),x.open(),x.write("<"+a+">document.w=window</"+a+'><iframe src="/favicon.ico"></iframe>'),x.close(),y=x.w.frames[0].document,b=y.createElement("div")}catch(ee){b=pe.createElement("div"),y=pe.body}return function(ee){var te=[].slice.call(arguments,0);te.unshift(b),y.appendChild(b),b.addBehavior("#default#userData"),b.load(E),ee.apply(this,te),y.removeChild(b)}}},65578:function(Et,dt,ve){var be=ve(67039),_e=be.Global;Et.exports={name:"sessionStorage",read:pe,write:de,each:se,remove:ne,clearAll:ie};function E(){return _e.sessionStorage}function pe(ce){return E().getItem(ce)}function de(ce,ue){return E().setItem(ce,ue)}function se(ce){for(var ue=E().length-1;ue>=0;ue--){var ae=E().key(ue);ce(pe(ae),ae)}}function ne(ce){return E().removeItem(ce)}function ie(){return E().clear()}},34376:function(Et){(function(dt,ve){if(1)Et.exports=ve();else var be,_e})(window,function(){return function(dt){var ve={};function be(_e){if(ve[_e])return ve[_e].exports;var E=ve[_e]={i:_e,l:!1,exports:{}};return dt[_e].call(E.exports,E,E.exports,be),E.l=!0,E.exports}return be.m=dt,be.c=ve,be.d=function(_e,E,pe){be.o(_e,E)||Object.defineProperty(_e,E,{enumerable:!0,get:pe})},be.r=function(_e){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(_e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(_e,"__esModule",{value:!0})},be.t=function(_e,E){if(1&E&&(_e=be(_e)),8&E||4&E&&typeof _e=="object"&&_e&&_e.__esModule)return _e;var pe=Object.create(null);if(be.r(pe),Object.defineProperty(pe,"default",{enumerable:!0,value:_e}),2&E&&typeof _e!="string")for(var de in _e)be.d(pe,de,function(se){return _e[se]}.bind(null,de));return pe},be.n=function(_e){var E=_e&&_e.__esModule?function(){return _e.default}:function(){return _e};return be.d(E,"a",E),E},be.o=function(_e,E){return Object.prototype.hasOwnProperty.call(_e,E)},be.p="",be(be.s=34)}([function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.forwardEvent=ve.EventEmitter=void 0;var _e=function(){function E(){this._listeners=[],this._disposed=!1}return Object.defineProperty(E.prototype,"event",{get:function(){var pe=this;return this._event||(this._event=function(de){return pe._listeners.push(de),{dispose:function(){if(!pe._disposed){for(var se=0;se<pe._listeners.length;se++)if(pe._listeners[se]===de)return void pe._listeners.splice(se,1)}}}}),this._event},enumerable:!1,configurable:!0}),E.prototype.fire=function(pe,de){for(var se=[],ne=0;ne<this._listeners.length;ne++)se.push(this._listeners[ne]);for(ne=0;ne<se.length;ne++)se[ne].call(void 0,pe,de)},E.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},E}();ve.EventEmitter=_e,ve.forwardEvent=function(E,pe){return E(function(de){return pe.fire(de)})}},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.IUnicodeService=ve.IOptionsService=ve.ILogService=ve.IInstantiationService=ve.IDirtyRowService=ve.ICharsetService=ve.ICoreService=ve.ICoreMouseService=ve.IBufferService=void 0;var _e=be(14);ve.IBufferService=_e.createDecorator("BufferService"),ve.ICoreMouseService=_e.createDecorator("CoreMouseService"),ve.ICoreService=_e.createDecorator("CoreService"),ve.ICharsetService=_e.createDecorator("CharsetService"),ve.IDirtyRowService=_e.createDecorator("DirtyRowService"),ve.IInstantiationService=_e.createDecorator("InstantiationService"),ve.ILogService=_e.createDecorator("LogService"),ve.IOptionsService=_e.createDecorator("OptionsService"),ve.IUnicodeService=_e.createDecorator("UnicodeService")},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.getDisposeArrayDisposable=ve.disposeArray=ve.Disposable=void 0;var _e=function(){function pe(){this._disposables=[],this._isDisposed=!1}return pe.prototype.dispose=function(){this._isDisposed=!0;for(var de=0,se=this._disposables;de<se.length;de++)se[de].dispose();this._disposables.length=0},pe.prototype.register=function(de){return this._disposables.push(de),de},pe.prototype.unregister=function(de){var se=this._disposables.indexOf(de);se!==-1&&this._disposables.splice(se,1)},pe}();function E(pe){for(var de=0,se=pe;de<se.length;de++)se[de].dispose();pe.length=0}ve.Disposable=_e,ve.disposeArray=E,ve.getDisposeArrayDisposable=function(pe){return{dispose:function(){return E(pe)}}}},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.WHITESPACE_CELL_CODE=ve.WHITESPACE_CELL_WIDTH=ve.WHITESPACE_CELL_CHAR=ve.NULL_CELL_CODE=ve.NULL_CELL_WIDTH=ve.NULL_CELL_CHAR=ve.CHAR_DATA_CODE_INDEX=ve.CHAR_DATA_WIDTH_INDEX=ve.CHAR_DATA_CHAR_INDEX=ve.CHAR_DATA_ATTR_INDEX=ve.DEFAULT_ATTR=ve.DEFAULT_COLOR=void 0,ve.DEFAULT_COLOR=256,ve.DEFAULT_ATTR=256|ve.DEFAULT_COLOR<<9,ve.CHAR_DATA_ATTR_INDEX=0,ve.CHAR_DATA_CHAR_INDEX=1,ve.CHAR_DATA_WIDTH_INDEX=2,ve.CHAR_DATA_CODE_INDEX=3,ve.NULL_CELL_CHAR="",ve.NULL_CELL_WIDTH=1,ve.NULL_CELL_CODE=0,ve.WHITESPACE_CELL_CHAR=" ",ve.WHITESPACE_CELL_WIDTH=1,ve.WHITESPACE_CELL_CODE=32},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ie,ce){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,ae){ue.__proto__=ae}||function(ue,ae){for(var oe in ae)ae.hasOwnProperty(oe)&&(ue[oe]=ae[oe])})(ie,ce)},function(ie,ce){function ue(){this.constructor=ie}_e(ie,ce),ie.prototype=ce===null?Object.create(ce):(ue.prototype=ce.prototype,new ue)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.CellData=void 0;var pe=be(8),de=be(3),se=be(6),ne=function(ie){function ce(){var ue=ie!==null&&ie.apply(this,arguments)||this;return ue.content=0,ue.fg=0,ue.bg=0,ue.extended=new se.ExtendedAttrs,ue.combinedData="",ue}return E(ce,ie),ce.fromCharData=function(ue){var ae=new ce;return ae.setFromCharData(ue),ae},ce.prototype.isCombined=function(){return 2097152&this.content},ce.prototype.getWidth=function(){return this.content>>22},ce.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?pe.stringFromCodePoint(2097151&this.content):""},ce.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},ce.prototype.setFromCharData=function(ue){this.fg=ue[de.CHAR_DATA_ATTR_INDEX],this.bg=0;var ae=!1;if(ue[de.CHAR_DATA_CHAR_INDEX].length>2)ae=!0;else if(ue[de.CHAR_DATA_CHAR_INDEX].length===2){var oe=ue[de.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=oe&&oe<=56319){var re=ue[de.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=re&&re<=57343?this.content=1024*(oe-55296)+re-56320+65536|ue[de.CHAR_DATA_WIDTH_INDEX]<<22:ae=!0}else ae=!0}else this.content=ue[de.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|ue[de.CHAR_DATA_WIDTH_INDEX]<<22;ae&&(this.combinedData=ue[de.CHAR_DATA_CHAR_INDEX],this.content=2097152|ue[de.CHAR_DATA_WIDTH_INDEX]<<22)},ce.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},ce}(se.AttributeData);ve.CellData=ne},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.ISoundService=ve.ISelectionService=ve.IRenderService=ve.IMouseService=ve.ICoreBrowserService=ve.ICharSizeService=void 0;var _e=be(14);ve.ICharSizeService=_e.createDecorator("CharSizeService"),ve.ICoreBrowserService=_e.createDecorator("CoreBrowserService"),ve.IMouseService=_e.createDecorator("MouseService"),ve.IRenderService=_e.createDecorator("RenderService"),ve.ISelectionService=_e.createDecorator("SelectionService"),ve.ISoundService=_e.createDecorator("SoundService")},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.ExtendedAttrs=ve.AttributeData=void 0;var _e=function(){function pe(){this.fg=0,this.bg=0,this.extended=new E}return pe.toColorRGB=function(de){return[de>>>16&255,de>>>8&255,255&de]},pe.fromColorRGB=function(de){return(255&de[0])<<16|(255&de[1])<<8|255&de[2]},pe.prototype.clone=function(){var de=new pe;return de.fg=this.fg,de.bg=this.bg,de.extended=this.extended.clone(),de},pe.prototype.isInverse=function(){return 67108864&this.fg},pe.prototype.isBold=function(){return 134217728&this.fg},pe.prototype.isUnderline=function(){return 268435456&this.fg},pe.prototype.isBlink=function(){return 536870912&this.fg},pe.prototype.isInvisible=function(){return 1073741824&this.fg},pe.prototype.isItalic=function(){return 67108864&this.bg},pe.prototype.isDim=function(){return 134217728&this.bg},pe.prototype.getFgColorMode=function(){return 50331648&this.fg},pe.prototype.getBgColorMode=function(){return 50331648&this.bg},pe.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},pe.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},pe.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},pe.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},pe.prototype.isFgDefault=function(){return(50331648&this.fg)==0},pe.prototype.isBgDefault=function(){return(50331648&this.bg)==0},pe.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},pe.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},pe.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},pe.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},pe.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},pe.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},pe.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},pe.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},pe.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},pe.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},pe.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},pe}();ve.AttributeData=_e;var E=function(){function pe(de,se){de===void 0&&(de=0),se===void 0&&(se=-1),this.underlineStyle=de,this.underlineColor=se}return pe.prototype.clone=function(){return new pe(this.underlineStyle,this.underlineColor)},pe.prototype.isEmpty=function(){return this.underlineStyle===0},pe}();ve.ExtendedAttrs=E},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.addDisposableDomListener=void 0,ve.addDisposableDomListener=function(_e,E,pe,de){_e.addEventListener(E,pe,de);var se=!1;return{dispose:function(){se||(se=!0,_e.removeEventListener(E,pe,de))}}}},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.Utf8ToUtf32=ve.StringToUtf32=ve.utf32ToString=ve.stringFromCodePoint=void 0,ve.stringFromCodePoint=function(pe){return pe>65535?(pe-=65536,String.fromCharCode(55296+(pe>>10))+String.fromCharCode(pe%1024+56320)):String.fromCharCode(pe)},ve.utf32ToString=function(pe,de,se){de===void 0&&(de=0),se===void 0&&(se=pe.length);for(var ne="",ie=de;ie<se;++ie){var ce=pe[ie];ce>65535?(ce-=65536,ne+=String.fromCharCode(55296+(ce>>10))+String.fromCharCode(ce%1024+56320)):ne+=String.fromCharCode(ce)}return ne};var _e=function(){function pe(){this._interim=0}return pe.prototype.clear=function(){this._interim=0},pe.prototype.decode=function(de,se){var ne=de.length;if(!ne)return 0;var ie=0,ce=0;this._interim&&(56320<=(oe=de.charCodeAt(ce++))&&oe<=57343?se[ie++]=1024*(this._interim-55296)+oe-56320+65536:(se[ie++]=this._interim,se[ie++]=oe),this._interim=0);for(var ue=ce;ue<ne;++ue){var ae=de.charCodeAt(ue);if(55296<=ae&&ae<=56319){if(++ue>=ne)return this._interim=ae,ie;var oe;56320<=(oe=de.charCodeAt(ue))&&oe<=57343?se[ie++]=1024*(ae-55296)+oe-56320+65536:(se[ie++]=ae,se[ie++]=oe)}else se[ie++]=ae}return ie},pe}();ve.StringToUtf32=_e;var E=function(){function pe(){this.interim=new Uint8Array(3)}return pe.prototype.clear=function(){this.interim.fill(0)},pe.prototype.decode=function(de,se){var ne=de.length;if(!ne)return 0;var ie,ce,ue,ae,oe=0,re=0,z=0;if(this.interim[0]){var a=!1,y=this.interim[0];y&=(224&y)==192?31:(240&y)==224?15:7;for(var x=0,b=void 0;(b=63&this.interim[++x])&&x<4;)y<<=6,y|=b;for(var ee=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,te=ee-x;z<te;){if(z>=ne)return 0;if((192&(b=de[z++]))!=128){z--,a=!0;break}this.interim[x++]=b,y<<=6,y|=63&b}a||(ee===2?y<128?z--:se[oe++]=y:ee===3?y<2048||y>=55296&&y<=57343||(se[oe++]=y):y<65536||y>1114111||(se[oe++]=y)),this.interim.fill(0)}for(var le=ne-4,fe=z;fe<ne;){for(;!(!(fe<le)||128&(ie=de[fe])||128&(ce=de[fe+1])||128&(ue=de[fe+2])||128&(ae=de[fe+3]));)se[oe++]=ie,se[oe++]=ce,se[oe++]=ue,se[oe++]=ae,fe+=4;if((ie=de[fe++])<128)se[oe++]=ie;else if((224&ie)==192){if(fe>=ne)return this.interim[0]=ie,oe;if((192&(ce=de[fe++]))!=128){fe--;continue}if((re=(31&ie)<<6|63&ce)<128){fe--;continue}se[oe++]=re}else if((240&ie)==224){if(fe>=ne)return this.interim[0]=ie,oe;if((192&(ce=de[fe++]))!=128){fe--;continue}if(fe>=ne)return this.interim[0]=ie,this.interim[1]=ce,oe;if((192&(ue=de[fe++]))!=128){fe--;continue}if((re=(15&ie)<<12|(63&ce)<<6|63&ue)<2048||re>=55296&&re<=57343)continue;se[oe++]=re}else if((248&ie)==240){if(fe>=ne)return this.interim[0]=ie,oe;if((192&(ce=de[fe++]))!=128){fe--;continue}if(fe>=ne)return this.interim[0]=ie,this.interim[1]=ce,oe;if((192&(ue=de[fe++]))!=128){fe--;continue}if(fe>=ne)return this.interim[0]=ie,this.interim[1]=ce,this.interim[2]=ue,oe;if((192&(ae=de[fe++]))!=128){fe--;continue}if((re=(7&ie)<<18|(63&ce)<<12|(63&ue)<<6|63&ae)<65536||re>1114111)continue;se[oe++]=re}}return oe},pe}();ve.Utf8ToUtf32=E},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.CHAR_ATLAS_CELL_SPACING=ve.DIM_OPACITY=ve.INVERTED_DEFAULT_COLOR=void 0,ve.INVERTED_DEFAULT_COLOR=257,ve.DIM_OPACITY=.5,ve.CHAR_ATLAS_CELL_SPACING=1},function(dt,ve,be){"use strict";var _e,E,pe,de;function se(ie){var ce=ie.toString(16);return ce.length<2?"0"+ce:ce}function ne(ie,ce){return ie<ce?(ce+.05)/(ie+.05):(ie+.05)/(ce+.05)}Object.defineProperty(ve,"__esModule",{value:!0}),ve.contrastRatio=ve.toPaddedHex=ve.rgba=ve.rgb=ve.css=ve.color=ve.channels=void 0,function(ie){ie.toCss=function(ce,ue,ae,oe){return oe!==void 0?"#"+se(ce)+se(ue)+se(ae)+se(oe):"#"+se(ce)+se(ue)+se(ae)},ie.toRgba=function(ce,ue,ae,oe){return oe===void 0&&(oe=255),(ce<<24|ue<<16|ae<<8|oe)>>>0}}(_e=ve.channels||(ve.channels={})),(E=ve.color||(ve.color={})).blend=function(ie,ce){var ue=(255&ce.rgba)/255;if(ue===1)return{css:ce.css,rgba:ce.rgba};var ae=ce.rgba>>24&255,oe=ce.rgba>>16&255,re=ce.rgba>>8&255,z=ie.rgba>>24&255,a=ie.rgba>>16&255,y=ie.rgba>>8&255,x=z+Math.round((ae-z)*ue),b=a+Math.round((oe-a)*ue),ee=y+Math.round((re-y)*ue);return{css:_e.toCss(x,b,ee),rgba:_e.toRgba(x,b,ee)}},E.isOpaque=function(ie){return(255&ie.rgba)==255},E.ensureContrastRatio=function(ie,ce,ue){var ae=de.ensureContrastRatio(ie.rgba,ce.rgba,ue);if(ae)return de.toColor(ae>>24&255,ae>>16&255,ae>>8&255)},E.opaque=function(ie){var ce=(255|ie.rgba)>>>0,ue=de.toChannels(ce),ae=ue[0],oe=ue[1],re=ue[2];return{css:_e.toCss(ae,oe,re),rgba:ce}},E.opacity=function(ie,ce){var ue=Math.round(255*ce),ae=de.toChannels(ie.rgba),oe=ae[0],re=ae[1],z=ae[2];return{css:_e.toCss(oe,re,z,ue),rgba:_e.toRgba(oe,re,z,ue)}},(ve.css||(ve.css={})).toColor=function(ie){switch(ie.length){case 7:return{css:ie,rgba:(parseInt(ie.slice(1),16)<<8|255)>>>0};case 9:return{css:ie,rgba:parseInt(ie.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(ie){function ce(ue,ae,oe){var re=ue/255,z=ae/255,a=oe/255;return .2126*(re<=.03928?re/12.92:Math.pow((re+.055)/1.055,2.4))+.7152*(z<=.03928?z/12.92:Math.pow((z+.055)/1.055,2.4))+.0722*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))}ie.relativeLuminance=function(ue){return ce(ue>>16&255,ue>>8&255,255&ue)},ie.relativeLuminance2=ce}(pe=ve.rgb||(ve.rgb={})),function(ie){function ce(ae,oe,re){for(var z=ae>>24&255,a=ae>>16&255,y=ae>>8&255,x=oe>>24&255,b=oe>>16&255,ee=oe>>8&255,te=ne(pe.relativeLuminance2(x,ee,b),pe.relativeLuminance2(z,a,y));te<re&&(x>0||b>0||ee>0);)x-=Math.max(0,Math.ceil(.1*x)),b-=Math.max(0,Math.ceil(.1*b)),ee-=Math.max(0,Math.ceil(.1*ee)),te=ne(pe.relativeLuminance2(x,ee,b),pe.relativeLuminance2(z,a,y));return(x<<24|b<<16|ee<<8|255)>>>0}function ue(ae,oe,re){for(var z=ae>>24&255,a=ae>>16&255,y=ae>>8&255,x=oe>>24&255,b=oe>>16&255,ee=oe>>8&255,te=ne(pe.relativeLuminance2(x,ee,b),pe.relativeLuminance2(z,a,y));te<re&&(x<255||b<255||ee<255);)x=Math.min(255,x+Math.ceil(.1*(255-x))),b=Math.min(255,b+Math.ceil(.1*(255-b))),ee=Math.min(255,ee+Math.ceil(.1*(255-ee))),te=ne(pe.relativeLuminance2(x,ee,b),pe.relativeLuminance2(z,a,y));return(x<<24|b<<16|ee<<8|255)>>>0}ie.ensureContrastRatio=function(ae,oe,re){var z=pe.relativeLuminance(ae>>8),a=pe.relativeLuminance(oe>>8);if(ne(z,a)<re)return a<z?ce(ae,oe,re):ue(ae,oe,re)},ie.reduceLuminance=ce,ie.increaseLuminance=ue,ie.toChannels=function(ae){return[ae>>24&255,ae>>16&255,ae>>8&255,255&ae]},ie.toColor=function(ae,oe,re){return{css:_e.toCss(ae,oe,re),rgba:_e.toRgba(ae,oe,re)}}}(de=ve.rgba||(ve.rgba={})),ve.toPaddedHex=se,ve.contrastRatio=ne},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.isLinux=ve.isWindows=ve.isIphone=ve.isIpad=ve.isMac=ve.isSafari=ve.isFirefox=void 0;var _e=typeof navigator=="undefined",E=_e?"node":navigator.userAgent,pe=_e?"node":navigator.platform;function de(se,ne){return se.indexOf(ne)>=0}ve.isFirefox=!!~E.indexOf("Firefox"),ve.isSafari=/^((?!chrome|android).)*safari/i.test(E),ve.isMac=de(["Macintosh","MacIntel","MacPPC","Mac68K"],pe),ve.isIpad=pe==="iPad",ve.isIphone=pe==="iPhone",ve.isWindows=de(["Windows","Win16","Win32","WinCE"],pe),ve.isLinux=pe.indexOf("Linux")>=0},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.C1=ve.C0=void 0,function(_e){_e.NUL="\0",_e.SOH="",_e.STX="",_e.ETX="",_e.EOT="",_e.ENQ="",_e.ACK="",_e.BEL="\x07",_e.BS="\b",_e.HT=" ",_e.LF=`
|
|
|
`,_e.VT="\v",_e.FF="\f",_e.CR="\r",_e.SO="",_e.SI="",_e.DLE="",_e.DC1="",_e.DC2="",_e.DC3="",_e.DC4="",_e.NAK="",_e.SYN="",_e.ETB="",_e.CAN="",_e.EM="",_e.SUB="",_e.ESC="\x1B",_e.FS="",_e.GS="",_e.RS="",_e.US="",_e.SP=" ",_e.DEL="\x7F"}(ve.C0||(ve.C0={})),function(_e){_e.PAD="\x80",_e.HOP="\x81",_e.BPH="\x82",_e.NBH="\x83",_e.IND="\x84",_e.NEL="\x85",_e.SSA="\x86",_e.ESA="\x87",_e.HTS="\x88",_e.HTJ="\x89",_e.VTS="\x8A",_e.PLD="\x8B",_e.PLU="\x8C",_e.RI="\x8D",_e.SS2="\x8E",_e.SS3="\x8F",_e.DCS="\x90",_e.PU1="\x91",_e.PU2="\x92",_e.STS="\x93",_e.CCH="\x94",_e.MW="\x95",_e.SPA="\x96",_e.EPA="\x97",_e.SOS="\x98",_e.SGCI="\x99",_e.SCI="\x9A",_e.CSI="\x9B",_e.ST="\x9C",_e.OSC="\x9D",_e.PM="\x9E",_e.APC="\x9F"}(ve.C1||(ve.C1={}))},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.BaseRenderLayer=void 0;var _e=be(3),E=be(9),pe=be(25),de=be(6),se=be(28),ne=be(10),ie=be(17),ce=function(){function ue(ae,oe,re,z,a,y,x,b){this._container=ae,this._alpha=z,this._colors=a,this._rendererId=y,this._bufferService=x,this._optionsService=b,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+oe+"-layer"),this._canvas.style.zIndex=re.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return ue.prototype.dispose=function(){var ae;ie.removeElementFromParent(this._canvas),(ae=this._charAtlas)===null||ae===void 0||ae.dispose()},ue.prototype._initCanvas=function(){this._ctx=se.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},ue.prototype.onOptionsChanged=function(){},ue.prototype.onBlur=function(){},ue.prototype.onFocus=function(){},ue.prototype.onCursorMove=function(){},ue.prototype.onGridChanged=function(ae,oe){},ue.prototype.onSelectionChanged=function(ae,oe,re){re===void 0&&(re=!1)},ue.prototype.setColors=function(ae){this._refreshCharAtlas(ae)},ue.prototype._setTransparency=function(ae){if(ae!==this._alpha){var oe=this._canvas;this._alpha=ae,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,oe),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},ue.prototype._refreshCharAtlas=function(ae){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=pe.acquireCharAtlas(this._optionsService.options,this._rendererId,ae,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},ue.prototype.resize=function(ae){this._scaledCellWidth=ae.scaledCellWidth,this._scaledCellHeight=ae.scaledCellHeight,this._scaledCharWidth=ae.scaledCharWidth,this._scaledCharHeight=ae.scaledCharHeight,this._scaledCharLeft=ae.scaledCharLeft,this._scaledCharTop=ae.scaledCharTop,this._canvas.width=ae.scaledCanvasWidth,this._canvas.height=ae.scaledCanvasHeight,this._canvas.style.width=ae.canvasWidth+"px",this._canvas.style.height=ae.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},ue.prototype._fillCells=function(ae,oe,re,z){this._ctx.fillRect(ae*this._scaledCellWidth,oe*this._scaledCellHeight,re*this._scaledCellWidth,z*this._scaledCellHeight)},ue.prototype._fillBottomLineAtCells=function(ae,oe,re){re===void 0&&(re=1),this._ctx.fillRect(ae*this._scaledCellWidth,(oe+1)*this._scaledCellHeight-window.devicePixelRatio-1,re*this._scaledCellWidth,window.devicePixelRatio)},ue.prototype._fillLeftLineAtCell=function(ae,oe,re){this._ctx.fillRect(ae*this._scaledCellWidth,oe*this._scaledCellHeight,window.devicePixelRatio*re,this._scaledCellHeight)},ue.prototype._strokeRectAtCell=function(ae,oe,re,z){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(ae*this._scaledCellWidth+window.devicePixelRatio/2,oe*this._scaledCellHeight+window.devicePixelRatio/2,re*this._scaledCellWidth-window.devicePixelRatio,z*this._scaledCellHeight-window.devicePixelRatio)},ue.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},ue.prototype._clearCells=function(ae,oe,re,z){this._alpha?this._ctx.clearRect(ae*this._scaledCellWidth,oe*this._scaledCellHeight,re*this._scaledCellWidth,z*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(ae*this._scaledCellWidth,oe*this._scaledCellHeight,re*this._scaledCellWidth,z*this._scaledCellHeight))},ue.prototype._fillCharTrueColor=function(ae,oe,re){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(re),this._ctx.fillText(ae.getChars(),oe*this._scaledCellWidth+this._scaledCharLeft,re*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},ue.prototype._drawChars=function(ae,oe,re){var z,a,y=this._getContrastColor(ae);y||ae.isFgRGB()||ae.isBgRGB()?this._drawUncachedChars(ae,oe,re,y):(ae.isInverse()?(z=ae.isBgDefault()?E.INVERTED_DEFAULT_COLOR:ae.getBgColor(),a=ae.isFgDefault()?E.INVERTED_DEFAULT_COLOR:ae.getFgColor()):(a=ae.isBgDefault()?_e.DEFAULT_COLOR:ae.getBgColor(),z=ae.isFgDefault()?_e.DEFAULT_COLOR:ae.getFgColor()),z+=this._optionsService.options.drawBoldTextInBrightColors&&ae.isBold()&&z<8?8:0,this._currentGlyphIdentifier.chars=ae.getChars()||_e.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=ae.getCode()||_e.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=a,this._currentGlyphIdentifier.fg=z,this._currentGlyphIdentifier.bold=!!ae.isBold(),this._currentGlyphIdentifier.dim=!!ae.isDim(),this._currentGlyphIdentifier.italic=!!ae.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,oe*this._scaledCellWidth+this._scaledCharLeft,re*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(ae,oe,re))},ue.prototype._drawUncachedChars=function(ae,oe,re,z){if(this._ctx.save(),this._ctx.font=this._getFont(!!ae.isBold(),!!ae.isItalic()),this._ctx.textBaseline="middle",ae.isInverse())if(z)this._ctx.fillStyle=z.css;else if(ae.isBgDefault())this._ctx.fillStyle=ne.color.opaque(this._colors.background).css;else if(ae.isBgRGB())this._ctx.fillStyle="rgb("+de.AttributeData.toColorRGB(ae.getBgColor()).join(",")+")";else{var a=ae.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&ae.isBold()&&a<8&&(a+=8),this._ctx.fillStyle=this._colors.ansi[a].css}else if(z)this._ctx.fillStyle=z.css;else if(ae.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(ae.isFgRGB())this._ctx.fillStyle="rgb("+de.AttributeData.toColorRGB(ae.getFgColor()).join(",")+")";else{var y=ae.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&ae.isBold()&&y<8&&(y+=8),this._ctx.fillStyle=this._colors.ansi[y].css}this._clipRow(re),ae.isDim()&&(this._ctx.globalAlpha=E.DIM_OPACITY),this._ctx.fillText(ae.getChars(),oe*this._scaledCellWidth+this._scaledCharLeft,re*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},ue.prototype._clipRow=function(ae){this._ctx.beginPath(),this._ctx.rect(0,ae*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},ue.prototype._getFont=function(ae,oe){return(oe?"italic":"")+" "+(ae?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},ue.prototype._getContrastColor=function(ae){if(this._optionsService.options.minimumContrastRatio!==1){var oe=this._colors.contrastCache.getColor(ae.bg,ae.fg);if(oe!==void 0)return oe||void 0;var re=ae.getFgColor(),z=ae.getFgColorMode(),a=ae.getBgColor(),y=ae.getBgColorMode(),x=!!ae.isInverse(),b=!!ae.isInverse();if(x){var ee=re;re=a,a=ee;var te=z;z=y,y=te}var le=this._resolveBackgroundRgba(y,a,x),fe=this._resolveForegroundRgba(z,re,x,b),ge=ne.rgba.ensureContrastRatio(le,fe,this._optionsService.options.minimumContrastRatio);if(ge){var me={css:ne.channels.toCss(ge>>24&255,ge>>16&255,ge>>8&255),rgba:ge};return this._colors.contrastCache.setColor(ae.bg,ae.fg,me),me}this._colors.contrastCache.setColor(ae.bg,ae.fg,null)}},ue.prototype._resolveBackgroundRgba=function(ae,oe,re){switch(ae){case 16777216:case 33554432:return this._colors.ansi[oe].rgba;case 50331648:return oe<<8;case 0:default:return re?this._colors.foreground.rgba:this._colors.background.rgba}},ue.prototype._resolveForegroundRgba=function(ae,oe,re,z){switch(ae){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&z&&oe<8&&(oe+=8),this._colors.ansi[oe].rgba;case 50331648:return oe<<8;case 0:default:return re?this._colors.background.rgba:this._colors.foreground.rgba}},ue}();ve.BaseRenderLayer=ce},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.createDecorator=ve.getServiceDependencies=ve.serviceRegistry=void 0;function _e(E,pe,de){pe.di$target===pe?pe.di$dependencies.push({id:E,index:de}):(pe.di$dependencies=[{id:E,index:de}],pe.di$target=pe)}ve.serviceRegistry=new Map,ve.getServiceDependencies=function(E){return E.di$dependencies||[]},ve.createDecorator=function(E){if(ve.serviceRegistry.has(E))return ve.serviceRegistry.get(E);var pe=function(de,se,ne){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");_e(pe,de,ne)};return pe.toString=function(){return E},ve.serviceRegistry.set(E,pe),pe}},function(dt,ve,be){"use strict";function _e(E,pe,de,se){if(de===void 0&&(de=0),se===void 0&&(se=E.length),de>=E.length)return E;de=(E.length+de)%E.length,se=se>=E.length?E.length:(E.length+se)%E.length;for(var ne=de;ne<se;++ne)E[ne]=pe;return E}Object.defineProperty(ve,"__esModule",{value:!0}),ve.concat=ve.fillFallback=ve.fill=void 0,ve.fill=function(E,pe,de,se){return E.fill?E.fill(pe,de,se):_e(E,pe,de,se)},ve.fillFallback=_e,ve.concat=function(E,pe){var de=new E.constructor(E.length+pe.length);return de.set(E),de.set(pe,E.length),de}},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.BufferLine=ve.DEFAULT_ATTR_DATA=void 0;var _e=be(8),E=be(3),pe=be(4),de=be(6);ve.DEFAULT_ATTR_DATA=Object.freeze(new de.AttributeData);var se=function(){function ne(ie,ce,ue){ue===void 0&&(ue=!1),this.isWrapped=ue,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*ie);for(var ae=ce||pe.CellData.fromCharData([0,E.NULL_CELL_CHAR,E.NULL_CELL_WIDTH,E.NULL_CELL_CODE]),oe=0;oe<ie;++oe)this.setCell(oe,ae);this.length=ie}return ne.prototype.get=function(ie){var ce=this._data[3*ie+0],ue=2097151&ce;return[this._data[3*ie+1],2097152&ce?this._combined[ie]:ue?_e.stringFromCodePoint(ue):"",ce>>22,2097152&ce?this._combined[ie].charCodeAt(this._combined[ie].length-1):ue]},ne.prototype.set=function(ie,ce){this._data[3*ie+1]=ce[E.CHAR_DATA_ATTR_INDEX],ce[E.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[ie]=ce[1],this._data[3*ie+0]=2097152|ie|ce[E.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*ie+0]=ce[E.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|ce[E.CHAR_DATA_WIDTH_INDEX]<<22},ne.prototype.getWidth=function(ie){return this._data[3*ie+0]>>22},ne.prototype.hasWidth=function(ie){return 12582912&this._data[3*ie+0]},ne.prototype.getFg=function(ie){return this._data[3*ie+1]},ne.prototype.getBg=function(ie){return this._data[3*ie+2]},ne.prototype.hasContent=function(ie){return 4194303&this._data[3*ie+0]},ne.prototype.getCodePoint=function(ie){var ce=this._data[3*ie+0];return 2097152&ce?this._combined[ie].charCodeAt(this._combined[ie].length-1):2097151&ce},ne.prototype.isCombined=function(ie){return 2097152&this._data[3*ie+0]},ne.prototype.getString=function(ie){var ce=this._data[3*ie+0];return 2097152&ce?this._combined[ie]:2097151&ce?_e.stringFromCodePoint(2097151&ce):""},ne.prototype.loadCell=function(ie,ce){var ue=3*ie;return ce.content=this._data[ue+0],ce.fg=this._data[ue+1],ce.bg=this._data[ue+2],2097152&ce.content&&(ce.combinedData=this._combined[ie]),268435456&ce.bg&&(ce.extended=this._extendedAttrs[ie]),ce},ne.prototype.setCell=function(ie,ce){2097152&ce.content&&(this._combined[ie]=ce.combinedData),268435456&ce.bg&&(this._extendedAttrs[ie]=ce.extended),this._data[3*ie+0]=ce.content,this._data[3*ie+1]=ce.fg,this._data[3*ie+2]=ce.bg},ne.prototype.setCellFromCodePoint=function(ie,ce,ue,ae,oe,re){268435456&oe&&(this._extendedAttrs[ie]=re),this._data[3*ie+0]=ce|ue<<22,this._data[3*ie+1]=ae,this._data[3*ie+2]=oe},ne.prototype.addCodepointToCell=function(ie,ce){var ue=this._data[3*ie+0];2097152&ue?this._combined[ie]+=_e.stringFromCodePoint(ce):(2097151&ue?(this._combined[ie]=_e.stringFromCodePoint(2097151&ue)+_e.stringFromCodePoint(ce),ue&=-2097152,ue|=2097152):ue=ce|1<<22,this._data[3*ie+0]=ue)},ne.prototype.insertCells=function(ie,ce,ue,ae){if((ie%=this.length)&&this.getWidth(ie-1)===2&&this.setCellFromCodePoint(ie-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new de.ExtendedAttrs),ce<this.length-ie){for(var oe=new pe.CellData,re=this.length-ie-ce-1;re>=0;--re)this.setCell(ie+ce+re,this.loadCell(ie+re,oe));for(re=0;re<ce;++re)this.setCell(ie+re,ue)}else for(re=ie;re<this.length;++re)this.setCell(re,ue);this.getWidth(this.length-1)===2&&this.setCellFromCodePoint(this.length-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new de.ExtendedAttrs)},ne.prototype.deleteCells=function(ie,ce,ue,ae){if(ie%=this.length,ce<this.length-ie){for(var oe=new pe.CellData,re=0;re<this.length-ie-ce;++re)this.setCell(ie+re,this.loadCell(ie+ce+re,oe));for(re=this.length-ce;re<this.length;++re)this.setCell(re,ue)}else for(re=ie;re<this.length;++re)this.setCell(re,ue);ie&&this.getWidth(ie-1)===2&&this.setCellFromCodePoint(ie-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new de.ExtendedAttrs),this.getWidth(ie)!==0||this.hasContent(ie)||this.setCellFromCodePoint(ie,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new de.ExtendedAttrs)},ne.prototype.replaceCells=function(ie,ce,ue,ae){for(ie&&this.getWidth(ie-1)===2&&this.setCellFromCodePoint(ie-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new de.ExtendedAttrs),ce<this.length&&this.getWidth(ce-1)===2&&this.setCellFromCodePoint(ce,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new de.ExtendedAttrs);ie<ce&&ie<this.length;)this.setCell(ie++,ue)},ne.prototype.resize=function(ie,ce){if(ie!==this.length){if(ie>this.length){var ue=new Uint32Array(3*ie);this.length&&(3*ie<this._data.length?ue.set(this._data.subarray(0,3*ie)):ue.set(this._data)),this._data=ue;for(var ae=this.length;ae<ie;++ae)this.setCell(ae,ce)}else if(ie){(ue=new Uint32Array(3*ie)).set(this._data.subarray(0,3*ie)),this._data=ue;var oe=Object.keys(this._combined);for(ae=0;ae<oe.length;ae++){var re=parseInt(oe[ae],10);re>=ie&&delete this._combined[re]}}else this._data=new Uint32Array(0),this._combined={};this.length=ie}},ne.prototype.fill=function(ie){this._combined={},this._extendedAttrs={};for(var ce=0;ce<this.length;++ce)this.setCell(ce,ie)},ne.prototype.copyFrom=function(ie){for(var ce in this.length!==ie.length?this._data=new Uint32Array(ie._data):this._data.set(ie._data),this.length=ie.length,this._combined={},ie._combined)this._combined[ce]=ie._combined[ce];for(var ce in this._extendedAttrs={},ie._extendedAttrs)this._extendedAttrs[ce]=ie._extendedAttrs[ce];this.isWrapped=ie.isWrapped},ne.prototype.clone=function(){var ie=new ne(0);for(var ce in ie._data=new Uint32Array(this._data),ie.length=this.length,this._combined)ie._combined[ce]=this._combined[ce];for(var ce in this._extendedAttrs)ie._extendedAttrs[ce]=this._extendedAttrs[ce];return ie.isWrapped=this.isWrapped,ie},ne.prototype.getTrimmedLength=function(){for(var ie=this.length-1;ie>=0;--ie)if(4194303&this._data[3*ie+0])return ie+(this._data[3*ie+0]>>22);return 0},ne.prototype.copyCellsFrom=function(ie,ce,ue,ae,oe){var re=ie._data;if(oe)for(var z=ae-1;z>=0;z--)for(var a=0;a<3;a++)this._data[3*(ue+z)+a]=re[3*(ce+z)+a];else for(z=0;z<ae;z++)for(a=0;a<3;a++)this._data[3*(ue+z)+a]=re[3*(ce+z)+a];var y=Object.keys(ie._combined);for(a=0;a<y.length;a++){var x=parseInt(y[a],10);x>=ce&&(this._combined[x-ce+ue]=ie._combined[x])}},ne.prototype.translateToString=function(ie,ce,ue){ie===void 0&&(ie=!1),ce===void 0&&(ce=0),ue===void 0&&(ue=this.length),ie&&(ue=Math.min(ue,this.getTrimmedLength()));for(var ae="";ce<ue;){var oe=this._data[3*ce+0],re=2097151&oe;ae+=2097152&oe?this._combined[ce]:re?_e.stringFromCodePoint(re):E.WHITESPACE_CELL_CHAR,ce+=oe>>22||1}return ae},ne}();ve.BufferLine=se},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.removeElementFromParent=void 0,ve.removeElementFromParent=function(){for(var _e,E=[],pe=0;pe<arguments.length;pe++)E[pe]=arguments[pe];for(var de=0,se=E;de<se.length;de++){var ne=se[de];(_e=ne==null?void 0:ne.parentElement)===null||_e===void 0||_e.removeChild(ne)}}},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.tooMuchOutput=ve.promptLabel=void 0,ve.promptLabel="Terminal input",ve.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(fe,ge){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(me,he){me.__proto__=he}||function(me,he){for(var Se in he)he.hasOwnProperty(Se)&&(me[Se]=he[Se])})(fe,ge)},function(fe,ge){function me(){this.constructor=fe}_e(fe,ge),fe.prototype=ge===null?Object.create(ge):(me.prototype=ge.prototype,new me)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.InputHandler=ve.WindowsOptionsReportType=void 0;var pe,de=be(12),se=be(20),ne=be(39),ie=be(2),ce=be(15),ue=be(8),ae=be(16),oe=be(0),re=be(3),z=be(4),a=be(6),y=be(22),x=be(24),b={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function ee(fe,ge){if(fe>24)return ge.setWinLines||!1;switch(fe){case 1:return!!ge.restoreWin;case 2:return!!ge.minimizeWin;case 3:return!!ge.setWinPosition;case 4:return!!ge.setWinSizePixels;case 5:return!!ge.raiseWin;case 6:return!!ge.lowerWin;case 7:return!!ge.refreshWin;case 8:return!!ge.setWinSizeChars;case 9:return!!ge.maximizeWin;case 10:return!!ge.fullscreenWin;case 11:return!!ge.getWinState;case 13:return!!ge.getWinPosition;case 14:return!!ge.getWinSizePixels;case 15:return!!ge.getScreenSizePixels;case 16:return!!ge.getCellSizePixels;case 18:return!!ge.getWinSizeChars;case 19:return!!ge.getScreenSizeChars;case 20:return!!ge.getIconTitle;case 21:return!!ge.getWinTitle;case 22:return!!ge.pushTitle;case 23:return!!ge.popTitle;case 24:return!!ge.setWinLines}return!1}(function(fe){fe[fe.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",fe[fe.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"})(pe=ve.WindowsOptionsReportType||(ve.WindowsOptionsReportType={}));var te=function(){function fe(ge,me,he,Se){this._bufferService=ge,this._coreService=me,this._logService=he,this._optionsService=Se,this._data=new Uint32Array(0)}return fe.prototype.hook=function(ge){this._data=new Uint32Array(0)},fe.prototype.put=function(ge,me,he){this._data=ce.concat(this._data,ge.subarray(me,he))},fe.prototype.unhook=function(ge){if(ge){var me=ue.utf32ToString(this._data);switch(this._data=new Uint32Array(0),me){case'"q':return this._coreService.triggerDataEvent(de.C0.ESC+'P1$r0"q'+de.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(de.C0.ESC+'P1$r61;1"p'+de.C0.ESC+"\\");case"r":var he=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(de.C0.ESC+"P1$r"+he+de.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(de.C0.ESC+"P1$r0m"+de.C0.ESC+"\\");case" q":var Se={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return Se-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(de.C0.ESC+"P1$r"+Se+" q"+de.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",me),this._coreService.triggerDataEvent(de.C0.ESC+"P0$r"+de.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},fe}(),le=function(fe){function ge(me,he,Se,ye,Pe,we,De,xe,Ae){Ae===void 0&&(Ae=new ne.EscapeSequenceParser);var Ce=fe.call(this)||this;Ce._bufferService=me,Ce._charsetService=he,Ce._coreService=Se,Ce._dirtyRowService=ye,Ce._logService=Pe,Ce._optionsService=we,Ce._coreMouseService=De,Ce._unicodeService=xe,Ce._parser=Ae,Ce._parseBuffer=new Uint32Array(4096),Ce._stringDecoder=new ue.StringToUtf32,Ce._utf8Decoder=new ue.Utf8ToUtf32,Ce._workCell=new z.CellData,Ce._windowTitle="",Ce._iconName="",Ce._windowTitleStack=[],Ce._iconNameStack=[],Ce._curAttrData=ae.DEFAULT_ATTR_DATA.clone(),Ce._eraseAttrDataInternal=ae.DEFAULT_ATTR_DATA.clone(),Ce._onRequestBell=new oe.EventEmitter,Ce._onRequestRefreshRows=new oe.EventEmitter,Ce._onRequestReset=new oe.EventEmitter,Ce._onRequestScroll=new oe.EventEmitter,Ce._onRequestSyncScrollBar=new oe.EventEmitter,Ce._onRequestWindowsOptionsReport=new oe.EventEmitter,Ce._onA11yChar=new oe.EventEmitter,Ce._onA11yTab=new oe.EventEmitter,Ce._onCursorMove=new oe.EventEmitter,Ce._onLineFeed=new oe.EventEmitter,Ce._onScroll=new oe.EventEmitter,Ce._onTitleChange=new oe.EventEmitter,Ce.register(Ce._parser),Ce._parser.setCsiHandlerFallback(function(Be,tt){Ce._logService.debug("Unknown CSI code: ",{identifier:Ce._parser.identToString(Be),params:tt.toArray()})}),Ce._parser.setEscHandlerFallback(function(Be){Ce._logService.debug("Unknown ESC code: ",{identifier:Ce._parser.identToString(Be)})}),Ce._parser.setExecuteHandlerFallback(function(Be){Ce._logService.debug("Unknown EXECUTE code: ",{code:Be})}),Ce._parser.setOscHandlerFallback(function(Be,tt,Ye){Ce._logService.debug("Unknown OSC code: ",{identifier:Be,action:tt,data:Ye})}),Ce._parser.setDcsHandlerFallback(function(Be,tt,Ye){tt==="HOOK"&&(Ye=Ye.toArray()),Ce._logService.debug("Unknown DCS code: ",{identifier:Ce._parser.identToString(Be),action:tt,payload:Ye})}),Ce._parser.setPrintHandler(function(Be,tt,Ye){return Ce.print(Be,tt,Ye)}),Ce._parser.setCsiHandler({final:"@"},function(Be){return Ce.insertChars(Be)}),Ce._parser.setCsiHandler({intermediates:" ",final:"@"},function(Be){return Ce.scrollLeft(Be)}),Ce._parser.setCsiHandler({final:"A"},function(Be){return Ce.cursorUp(Be)}),Ce._parser.setCsiHandler({intermediates:" ",final:"A"},function(Be){return Ce.scrollRight(Be)}),Ce._parser.setCsiHandler({final:"B"},function(Be){return Ce.cursorDown(Be)}),Ce._parser.setCsiHandler({final:"C"},function(Be){return Ce.cursorForward(Be)}),Ce._parser.setCsiHandler({final:"D"},function(Be){return Ce.cursorBackward(Be)}),Ce._parser.setCsiHandler({final:"E"},function(Be){return Ce.cursorNextLine(Be)}),Ce._parser.setCsiHandler({final:"F"},function(Be){return Ce.cursorPrecedingLine(Be)}),Ce._parser.setCsiHandler({final:"G"},function(Be){return Ce.cursorCharAbsolute(Be)}),Ce._parser.setCsiHandler({final:"H"},function(Be){return Ce.cursorPosition(Be)}),Ce._parser.setCsiHandler({final:"I"},function(Be){return Ce.cursorForwardTab(Be)}),Ce._parser.setCsiHandler({final:"J"},function(Be){return Ce.eraseInDisplay(Be)}),Ce._parser.setCsiHandler({prefix:"?",final:"J"},function(Be){return Ce.eraseInDisplay(Be)}),Ce._parser.setCsiHandler({final:"K"},function(Be){return Ce.eraseInLine(Be)}),Ce._parser.setCsiHandler({prefix:"?",final:"K"},function(Be){return Ce.eraseInLine(Be)}),Ce._parser.setCsiHandler({final:"L"},function(Be){return Ce.insertLines(Be)}),Ce._parser.setCsiHandler({final:"M"},function(Be){return Ce.deleteLines(Be)}),Ce._parser.setCsiHandler({final:"P"},function(Be){return Ce.deleteChars(Be)}),Ce._parser.setCsiHandler({final:"S"},function(Be){return Ce.scrollUp(Be)}),Ce._parser.setCsiHandler({final:"T"},function(Be){return Ce.scrollDown(Be)}),Ce._parser.setCsiHandler({final:"X"},function(Be){return Ce.eraseChars(Be)}),Ce._parser.setCsiHandler({final:"Z"},function(Be){return Ce.cursorBackwardTab(Be)}),Ce._parser.setCsiHandler({final:"`"},function(Be){return Ce.charPosAbsolute(Be)}),Ce._parser.setCsiHandler({final:"a"},function(Be){return Ce.hPositionRelative(Be)}),Ce._parser.setCsiHandler({final:"b"},function(Be){return Ce.repeatPrecedingCharacter(Be)}),Ce._parser.setCsiHandler({final:"c"},function(Be){return Ce.sendDeviceAttributesPrimary(Be)}),Ce._parser.setCsiHandler({prefix:">",final:"c"},function(Be){return Ce.sendDeviceAttributesSecondary(Be)}),Ce._parser.setCsiHandler({final:"d"},function(Be){return Ce.linePosAbsolute(Be)}),Ce._parser.setCsiHandler({final:"e"},function(Be){return Ce.vPositionRelative(Be)}),Ce._parser.setCsiHandler({final:"f"},function(Be){return Ce.hVPosition(Be)}),Ce._parser.setCsiHandler({final:"g"},function(Be){return Ce.tabClear(Be)}),Ce._parser.setCsiHandler({final:"h"},function(Be){return Ce.setMode(Be)}),Ce._parser.setCsiHandler({prefix:"?",final:"h"},function(Be){return Ce.setModePrivate(Be)}),Ce._parser.setCsiHandler({final:"l"},function(Be){return Ce.resetMode(Be)}),Ce._parser.setCsiHandler({prefix:"?",final:"l"},function(Be){return Ce.resetModePrivate(Be)}),Ce._parser.setCsiHandler({final:"m"},function(Be){return Ce.charAttributes(Be)}),Ce._parser.setCsiHandler({final:"n"},function(Be){return Ce.deviceStatus(Be)}),Ce._parser.setCsiHandler({prefix:"?",final:"n"},function(Be){return Ce.deviceStatusPrivate(Be)}),Ce._parser.setCsiHandler({intermediates:"!",final:"p"},function(Be){return Ce.softReset(Be)}),Ce._parser.setCsiHandler({intermediates:" ",final:"q"},function(Be){return Ce.setCursorStyle(Be)}),Ce._parser.setCsiHandler({final:"r"},function(Be){return Ce.setScrollRegion(Be)}),Ce._parser.setCsiHandler({final:"s"},function(Be){return Ce.saveCursor(Be)}),Ce._parser.setCsiHandler({final:"t"},function(Be){return Ce.windowOptions(Be)}),Ce._parser.setCsiHandler({final:"u"},function(Be){return Ce.restoreCursor(Be)}),Ce._parser.setCsiHandler({intermediates:"'",final:"}"},function(Be){return Ce.insertColumns(Be)}),Ce._parser.setCsiHandler({intermediates:"'",final:"~"},function(Be){return Ce.deleteColumns(Be)}),Ce._parser.setExecuteHandler(de.C0.BEL,function(){return Ce.bell()}),Ce._parser.setExecuteHandler(de.C0.LF,function(){return Ce.lineFeed()}),Ce._parser.setExecuteHandler(de.C0.VT,function(){return Ce.lineFeed()}),Ce._parser.setExecuteHandler(de.C0.FF,function(){return Ce.lineFeed()}),Ce._parser.setExecuteHandler(de.C0.CR,function(){return Ce.carriageReturn()}),Ce._parser.setExecuteHandler(de.C0.BS,function(){return Ce.backspace()}),Ce._parser.setExecuteHandler(de.C0.HT,function(){return Ce.tab()}),Ce._parser.setExecuteHandler(de.C0.SO,function(){return Ce.shiftOut()}),Ce._parser.setExecuteHandler(de.C0.SI,function(){return Ce.shiftIn()}),Ce._parser.setExecuteHandler(de.C1.IND,function(){return Ce.index()}),Ce._parser.setExecuteHandler(de.C1.NEL,function(){return Ce.nextLine()}),Ce._parser.setExecuteHandler(de.C1.HTS,function(){return Ce.tabSet()}),Ce._parser.setOscHandler(0,new y.OscHandler(function(Be){Ce.setTitle(Be),Ce.setIconName(Be)})),Ce._parser.setOscHandler(1,new y.OscHandler(function(Be){return Ce.setIconName(Be)})),Ce._parser.setOscHandler(2,new y.OscHandler(function(Be){return Ce.setTitle(Be)})),Ce._parser.setEscHandler({final:"7"},function(){return Ce.saveCursor()}),Ce._parser.setEscHandler({final:"8"},function(){return Ce.restoreCursor()}),Ce._parser.setEscHandler({final:"D"},function(){return Ce.index()}),Ce._parser.setEscHandler({final:"E"},function(){return Ce.nextLine()}),Ce._parser.setEscHandler({final:"H"},function(){return Ce.tabSet()}),Ce._parser.setEscHandler({final:"M"},function(){return Ce.reverseIndex()}),Ce._parser.setEscHandler({final:"="},function(){return Ce.keypadApplicationMode()}),Ce._parser.setEscHandler({final:">"},function(){return Ce.keypadNumericMode()}),Ce._parser.setEscHandler({final:"c"},function(){return Ce.fullReset()}),Ce._parser.setEscHandler({final:"n"},function(){return Ce.setgLevel(2)}),Ce._parser.setEscHandler({final:"o"},function(){return Ce.setgLevel(3)}),Ce._parser.setEscHandler({final:"|"},function(){return Ce.setgLevel(3)}),Ce._parser.setEscHandler({final:"}"},function(){return Ce.setgLevel(2)}),Ce._parser.setEscHandler({final:"~"},function(){return Ce.setgLevel(1)}),Ce._parser.setEscHandler({intermediates:"%",final:"@"},function(){return Ce.selectDefaultCharset()}),Ce._parser.setEscHandler({intermediates:"%",final:"G"},function(){return Ce.selectDefaultCharset()});var je=function(Be){Fe._parser.setEscHandler({intermediates:"(",final:Be},function(){return Ce.selectCharset("("+Be)}),Fe._parser.setEscHandler({intermediates:")",final:Be},function(){return Ce.selectCharset(")"+Be)}),Fe._parser.setEscHandler({intermediates:"*",final:Be},function(){return Ce.selectCharset("*"+Be)}),Fe._parser.setEscHandler({intermediates:"+",final:Be},function(){return Ce.selectCharset("+"+Be)}),Fe._parser.setEscHandler({intermediates:"-",final:Be},function(){return Ce.selectCharset("-"+Be)}),Fe._parser.setEscHandler({intermediates:".",final:Be},function(){return Ce.selectCharset("."+Be)}),Fe._parser.setEscHandler({intermediates:"/",final:Be},function(){return Ce.selectCharset("/"+Be)})},Fe=this;for(var Ge in se.CHARSETS)je(Ge);return Ce._parser.setEscHandler({intermediates:"#",final:"8"},function(){return Ce.screenAlignmentPattern()}),Ce._parser.setErrorHandler(function(Be){return Ce._logService.error("Parsing error: ",Be),Be}),Ce._parser.setDcsHandler({intermediates:"$",final:"q"},new te(Ce._bufferService,Ce._coreService,Ce._logService,Ce._optionsService)),Ce}return E(ge,fe),Object.defineProperty(ge.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),ge.prototype.dispose=function(){fe.prototype.dispose.call(this)},ge.prototype.parse=function(me){var he=this._bufferService.buffer,Se=he.x,ye=he.y;if(this._logService.debug("parsing data",me),this._parseBuffer.length<me.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(me.length,131072))),this._dirtyRowService.clearRange(),me.length>131072)for(var Pe=0;Pe<me.length;Pe+=131072){var we=Pe+131072<me.length?Pe+131072:me.length,De=typeof me=="string"?this._stringDecoder.decode(me.substring(Pe,we),this._parseBuffer):this._utf8Decoder.decode(me.subarray(Pe,we),this._parseBuffer);this._parser.parse(this._parseBuffer,De)}else De=typeof me=="string"?this._stringDecoder.decode(me,this._parseBuffer):this._utf8Decoder.decode(me,this._parseBuffer),this._parser.parse(this._parseBuffer,De);(he=this._bufferService.buffer).x===Se&&he.y===ye||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},ge.prototype.print=function(me,he,Se){var ye,Pe,we=this._bufferService.buffer,De=this._charsetService.charset,xe=this._optionsService.options.screenReaderMode,Ae=this._bufferService.cols,Ce=this._coreService.decPrivateModes.wraparound,je=this._coreService.modes.insertMode,Fe=this._curAttrData,Ge=we.lines.get(we.ybase+we.y);this._dirtyRowService.markDirty(we.y),we.x&&Se-he>0&&Ge.getWidth(we.x-1)===2&&Ge.setCellFromCodePoint(we.x-1,0,1,Fe.fg,Fe.bg,Fe.extended);for(var Be=he;Be<Se;++Be){if(ye=me[Be],Pe=this._unicodeService.wcwidth(ye),ye<127&&De){var tt=De[String.fromCharCode(ye)];tt&&(ye=tt.charCodeAt(0))}if(xe&&this._onA11yChar.fire(ue.stringFromCodePoint(ye)),Pe||!we.x){if(we.x+Pe-1>=Ae){if(Ce){for(;we.x<Ae;)Ge.setCellFromCodePoint(we.x++,0,1,Fe.fg,Fe.bg,Fe.extended);we.x=0,we.y++,we.y===we.scrollBottom+1?(we.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(we.y>=this._bufferService.rows&&(we.y=this._bufferService.rows-1),we.lines.get(we.ybase+we.y).isWrapped=!0),Ge=we.lines.get(we.ybase+we.y)}else if(we.x=Ae-1,Pe===2)continue}if(je&&(Ge.insertCells(we.x,Pe,we.getNullCell(Fe),Fe),Ge.getWidth(Ae-1)===2&&Ge.setCellFromCodePoint(Ae-1,re.NULL_CELL_CODE,re.NULL_CELL_WIDTH,Fe.fg,Fe.bg,Fe.extended)),Ge.setCellFromCodePoint(we.x++,ye,Pe,Fe.fg,Fe.bg,Fe.extended),Pe>0)for(;--Pe;)Ge.setCellFromCodePoint(we.x++,0,0,Fe.fg,Fe.bg,Fe.extended)}else Ge.getWidth(we.x-1)?Ge.addCodepointToCell(we.x-1,ye):Ge.addCodepointToCell(we.x-2,ye)}Se-he>0&&(Ge.loadCell(we.x-1,this._workCell),this._workCell.getWidth()===2||this._workCell.getCode()>65535?this._parser.precedingCodepoint=0:this._workCell.isCombined()?this._parser.precedingCodepoint=this._workCell.getChars().charCodeAt(0):this._parser.precedingCodepoint=this._workCell.content),we.x<Ae&&Se-he>0&&Ge.getWidth(we.x)===0&&!Ge.hasContent(we.x)&&Ge.setCellFromCodePoint(we.x,0,1,Fe.fg,Fe.bg,Fe.extended),this._dirtyRowService.markDirty(we.y)},ge.prototype.addCsiHandler=function(me,he){var Se=this;return me.final!=="t"||me.prefix||me.intermediates?this._parser.addCsiHandler(me,he):this._parser.addCsiHandler(me,function(ye){return!ee(ye.params[0],Se._optionsService.options.windowOptions)||he(ye)})},ge.prototype.addDcsHandler=function(me,he){return this._parser.addDcsHandler(me,new x.DcsHandler(he))},ge.prototype.addEscHandler=function(me,he){return this._parser.addEscHandler(me,he)},ge.prototype.addOscHandler=function(me,he){return this._parser.addOscHandler(me,new y.OscHandler(he))},ge.prototype.bell=function(){this._onRequestBell.fire()},ge.prototype.lineFeed=function(){var me=this._bufferService.buffer;this._dirtyRowService.markDirty(me.y),this._optionsService.options.convertEol&&(me.x=0),me.y++,me.y===me.scrollBottom+1?(me.y--,this._onRequestScroll.fire(this._eraseAttrData())):me.y>=this._bufferService.rows&&(me.y=this._bufferService.rows-1),me.x>=this._bufferService.cols&&me.x--,this._dirtyRowService.markDirty(me.y),this._onLineFeed.fire()},ge.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},ge.prototype.backspace=function(){var me,he=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(he.x>0&&he.x--);if(this._restrictCursor(this._bufferService.cols),he.x>0)he.x--;else if(he.x===0&&he.y>he.scrollTop&&he.y<=he.scrollBottom&&(!((me=he.lines.get(he.ybase+he.y))===null||me===void 0)&&me.isWrapped)){he.lines.get(he.ybase+he.y).isWrapped=!1,he.y--,he.x=this._bufferService.cols-1;var Se=he.lines.get(he.ybase+he.y);Se.hasWidth(he.x)&&!Se.hasContent(he.x)&&he.x--}this._restrictCursor()},ge.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var me=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-me)}},ge.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},ge.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},ge.prototype._restrictCursor=function(me){me===void 0&&(me=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(me,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},ge.prototype._setCursor=function(me,he){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=me,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+he):(this._bufferService.buffer.x=me,this._bufferService.buffer.y=he),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},ge.prototype._moveCursor=function(me,he){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+me,this._bufferService.buffer.y+he)},ge.prototype.cursorUp=function(me){var he=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;he>=0?this._moveCursor(0,-Math.min(he,me.params[0]||1)):this._moveCursor(0,-(me.params[0]||1))},ge.prototype.cursorDown=function(me){var he=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;he>=0?this._moveCursor(0,Math.min(he,me.params[0]||1)):this._moveCursor(0,me.params[0]||1)},ge.prototype.cursorForward=function(me){this._moveCursor(me.params[0]||1,0)},ge.prototype.cursorBackward=function(me){this._moveCursor(-(me.params[0]||1),0)},ge.prototype.cursorNextLine=function(me){this.cursorDown(me),this._bufferService.buffer.x=0},ge.prototype.cursorPrecedingLine=function(me){this.cursorUp(me),this._bufferService.buffer.x=0},ge.prototype.cursorCharAbsolute=function(me){this._setCursor((me.params[0]||1)-1,this._bufferService.buffer.y)},ge.prototype.cursorPosition=function(me){this._setCursor(me.length>=2?(me.params[1]||1)-1:0,(me.params[0]||1)-1)},ge.prototype.charPosAbsolute=function(me){this._setCursor((me.params[0]||1)-1,this._bufferService.buffer.y)},ge.prototype.hPositionRelative=function(me){this._moveCursor(me.params[0]||1,0)},ge.prototype.linePosAbsolute=function(me){this._setCursor(this._bufferService.buffer.x,(me.params[0]||1)-1)},ge.prototype.vPositionRelative=function(me){this._moveCursor(0,me.params[0]||1)},ge.prototype.hVPosition=function(me){this.cursorPosition(me)},ge.prototype.tabClear=function(me){var he=me.params[0];he===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:he===3&&(this._bufferService.buffer.tabs={})},ge.prototype.cursorForwardTab=function(me){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var he=me.params[0]||1;he--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},ge.prototype.cursorBackwardTab=function(me){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var he=me.params[0]||1,Se=this._bufferService.buffer;he--;)Se.x=Se.prevStop()},ge.prototype._eraseInBufferLine=function(me,he,Se,ye){ye===void 0&&(ye=!1);var Pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+me);Pe.replaceCells(he,Se,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),ye&&(Pe.isWrapped=!1)},ge.prototype._resetBufferLine=function(me){var he=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+me);he.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),he.isWrapped=!1},ge.prototype.eraseInDisplay=function(me){var he;switch(this._restrictCursor(),me.params[0]){case 0:for(he=this._bufferService.buffer.y,this._dirtyRowService.markDirty(he),this._eraseInBufferLine(he++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);he<this._bufferService.rows;he++)this._resetBufferLine(he);this._dirtyRowService.markDirty(he);break;case 1:for(he=this._bufferService.buffer.y,this._dirtyRowService.markDirty(he),this._eraseInBufferLine(he,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(he+1).isWrapped=!1);he--;)this._resetBufferLine(he);this._dirtyRowService.markDirty(0);break;case 2:for(he=this._bufferService.rows,this._dirtyRowService.markDirty(he-1);he--;)this._resetBufferLine(he);this._dirtyRowService.markDirty(0);break;case 3:var Se=this._bufferService.buffer.lines.length-this._bufferService.rows;Se>0&&(this._bufferService.buffer.lines.trimStart(Se),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-Se,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-Se,0),this._onScroll.fire(0))}},ge.prototype.eraseInLine=function(me){switch(this._restrictCursor(),me.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},ge.prototype.insertLines=function(me){this._restrictCursor();var he=me.params[0]||1,Se=this._bufferService.buffer;if(!(Se.y>Se.scrollBottom||Se.y<Se.scrollTop)){for(var ye=Se.ybase+Se.y,Pe=this._bufferService.rows-1-Se.scrollBottom,we=this._bufferService.rows-1+Se.ybase-Pe+1;he--;)Se.lines.splice(we-1,1),Se.lines.splice(ye,0,Se.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(Se.y,Se.scrollBottom),Se.x=0}},ge.prototype.deleteLines=function(me){this._restrictCursor();var he=me.params[0]||1,Se=this._bufferService.buffer;if(!(Se.y>Se.scrollBottom||Se.y<Se.scrollTop)){var ye,Pe=Se.ybase+Se.y;for(ye=this._bufferService.rows-1-Se.scrollBottom,ye=this._bufferService.rows-1+Se.ybase-ye;he--;)Se.lines.splice(Pe,1),Se.lines.splice(ye,0,Se.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(Se.y,Se.scrollBottom),Se.x=0}},ge.prototype.insertChars=function(me){this._restrictCursor();var he=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);he&&(he.insertCells(this._bufferService.buffer.x,me.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},ge.prototype.deleteChars=function(me){this._restrictCursor();var he=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);he&&(he.deleteCells(this._bufferService.buffer.x,me.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},ge.prototype.scrollUp=function(me){for(var he=me.params[0]||1,Se=this._bufferService.buffer;he--;)Se.lines.splice(Se.ybase+Se.scrollTop,1),Se.lines.splice(Se.ybase+Se.scrollBottom,0,Se.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(Se.scrollTop,Se.scrollBottom)},ge.prototype.scrollDown=function(me){for(var he=me.params[0]||1,Se=this._bufferService.buffer;he--;)Se.lines.splice(Se.ybase+Se.scrollBottom,1),Se.lines.splice(Se.ybase+Se.scrollTop,0,Se.getBlankLine(ae.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(Se.scrollTop,Se.scrollBottom)},ge.prototype.scrollLeft=function(me){var he=this._bufferService.buffer;if(!(he.y>he.scrollBottom||he.y<he.scrollTop)){for(var Se=me.params[0]||1,ye=he.scrollTop;ye<=he.scrollBottom;++ye){var Pe=he.lines.get(he.ybase+ye);Pe.deleteCells(0,Se,he.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(he.scrollTop,he.scrollBottom)}},ge.prototype.scrollRight=function(me){var he=this._bufferService.buffer;if(!(he.y>he.scrollBottom||he.y<he.scrollTop)){for(var Se=me.params[0]||1,ye=he.scrollTop;ye<=he.scrollBottom;++ye){var Pe=he.lines.get(he.ybase+ye);Pe.insertCells(0,Se,he.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(he.scrollTop,he.scrollBottom)}},ge.prototype.insertColumns=function(me){var he=this._bufferService.buffer;if(!(he.y>he.scrollBottom||he.y<he.scrollTop)){for(var Se=me.params[0]||1,ye=he.scrollTop;ye<=he.scrollBottom;++ye){var Pe=this._bufferService.buffer.lines.get(he.ybase+ye);Pe.insertCells(he.x,Se,he.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(he.scrollTop,he.scrollBottom)}},ge.prototype.deleteColumns=function(me){var he=this._bufferService.buffer;if(!(he.y>he.scrollBottom||he.y<he.scrollTop)){for(var Se=me.params[0]||1,ye=he.scrollTop;ye<=he.scrollBottom;++ye){var Pe=he.lines.get(he.ybase+ye);Pe.deleteCells(he.x,Se,he.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(he.scrollTop,he.scrollBottom)}},ge.prototype.eraseChars=function(me){this._restrictCursor();var he=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);he&&(he.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(me.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},ge.prototype.repeatPrecedingCharacter=function(me){if(this._parser.precedingCodepoint){for(var he=me.params[0]||1,Se=new Uint32Array(he),ye=0;ye<he;++ye)Se[ye]=this._parser.precedingCodepoint;this.print(Se,0,Se.length)}},ge.prototype.sendDeviceAttributesPrimary=function(me){me.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(de.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(de.C0.ESC+"[?6c"))},ge.prototype.sendDeviceAttributesSecondary=function(me){me.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(de.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(de.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(me.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(de.C0.ESC+"[>83;40003;0c"))},ge.prototype._is=function(me){return(this._optionsService.options.termName+"").indexOf(me)===0},ge.prototype.setMode=function(me){for(var he=0;he<me.length;he++)switch(me.params[he]){case 4:this._coreService.modes.insertMode=!0}},ge.prototype.setModePrivate=function(me){for(var he=0;he<me.length;he++)switch(me.params[he]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,se.DEFAULT_CHARSET),this._charsetService.setgCharset(1,se.DEFAULT_CHARSET),this._charsetService.setgCharset(2,se.DEFAULT_CHARSET),this._charsetService.setgCharset(3,se.DEFAULT_CHARSET);break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(132,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!0,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!0;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!0;break;case 66:this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._coreService.decPrivateModes.sendFocus=!0;break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!1;break;case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._eraseAttrData()),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!0}},ge.prototype.resetMode=function(me){for(var he=0;he<me.length;he++)switch(me.params[he]){case 4:this._coreService.modes.insertMode=!1}},ge.prototype.resetModePrivate=function(me){for(var he=0;he<me.length;he++)switch(me.params[he]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!1;break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(80,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!1,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!1;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!1;break;case 66:this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire();break;case 9:case 1e3:case 1002:case 1003:this._coreMouseService.activeProtocol="NONE";break;case 1004:this._coreService.decPrivateModes.sendFocus=!1;break;case 1005:this._logService.debug("DECRST 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="DEFAULT";break;case 1015:this._logService.debug("DECRST 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!0;break;case 1048:this.restoreCursor();break;case 1049:case 47:case 1047:this._bufferService.buffers.activateNormalBuffer(),me.params[he]===1049&&this.restoreCursor(),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!1}},ge.prototype._updateAttrColor=function(me,he,Se,ye,Pe){return he===2?(me|=50331648,me&=-16777216,me|=a.AttributeData.fromColorRGB([Se,ye,Pe])):he===5&&(me&=-50331904,me|=33554432|255&Se),me},ge.prototype._extractColor=function(me,he,Se){var ye=[0,0,-1,0,0,0],Pe=0,we=0;do{if(ye[we+Pe]=me.params[he+we],me.hasSubParams(he+we)){var De=me.getSubParams(he+we),xe=0;do ye[1]===5&&(Pe=1),ye[we+xe+1+Pe]=De[xe];while(++xe<De.length&&xe+we+1+Pe<ye.length);break}if(ye[1]===5&&we+Pe>=2||ye[1]===2&&we+Pe>=5)break;ye[1]&&(Pe=1)}while(++we+he<me.length&&we+Pe<ye.length);for(xe=2;xe<ye.length;++xe)ye[xe]===-1&&(ye[xe]=0);switch(ye[0]){case 38:Se.fg=this._updateAttrColor(Se.fg,ye[1],ye[3],ye[4],ye[5]);break;case 48:Se.bg=this._updateAttrColor(Se.bg,ye[1],ye[3],ye[4],ye[5]);break;case 58:Se.extended=Se.extended.clone(),Se.extended.underlineColor=this._updateAttrColor(Se.extended.underlineColor,ye[1],ye[3],ye[4],ye[5])}return we},ge.prototype._processUnderline=function(me,he){he.extended=he.extended.clone(),(!~me||me>5)&&(me=1),he.extended.underlineStyle=me,he.fg|=268435456,me===0&&(he.fg&=-268435457),he.updateExtended()},ge.prototype.charAttributes=function(me){if(me.length===1&&me.params[0]===0)return this._curAttrData.fg=ae.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=ae.DEFAULT_ATTR_DATA.bg);for(var he,Se=me.length,ye=this._curAttrData,Pe=0;Pe<Se;Pe++)(he=me.params[Pe])>=30&&he<=37?(ye.fg&=-50331904,ye.fg|=16777216|he-30):he>=40&&he<=47?(ye.bg&=-50331904,ye.bg|=16777216|he-40):he>=90&&he<=97?(ye.fg&=-50331904,ye.fg|=16777224|he-90):he>=100&&he<=107?(ye.bg&=-50331904,ye.bg|=16777224|he-100):he===0?(ye.fg=ae.DEFAULT_ATTR_DATA.fg,ye.bg=ae.DEFAULT_ATTR_DATA.bg):he===1?ye.fg|=134217728:he===3?ye.bg|=67108864:he===4?(ye.fg|=268435456,this._processUnderline(me.hasSubParams(Pe)?me.getSubParams(Pe)[0]:1,ye)):he===5?ye.fg|=536870912:he===7?ye.fg|=67108864:he===8?ye.fg|=1073741824:he===2?ye.bg|=134217728:he===21?this._processUnderline(2,ye):he===22?(ye.fg&=-134217729,ye.bg&=-134217729):he===23?ye.bg&=-67108865:he===24?ye.fg&=-268435457:he===25?ye.fg&=-536870913:he===27?ye.fg&=-67108865:he===28?ye.fg&=-1073741825:he===39?(ye.fg&=-67108864,ye.fg|=16777215&ae.DEFAULT_ATTR_DATA.fg):he===49?(ye.bg&=-67108864,ye.bg|=16777215&ae.DEFAULT_ATTR_DATA.bg):he===38||he===48||he===58?Pe+=this._extractColor(me,Pe,ye):he===59?(ye.extended=ye.extended.clone(),ye.extended.underlineColor=-1,ye.updateExtended()):he===100?(ye.fg&=-67108864,ye.fg|=16777215&ae.DEFAULT_ATTR_DATA.fg,ye.bg&=-67108864,ye.bg|=16777215&ae.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",he)},ge.prototype.deviceStatus=function(me){switch(me.params[0]){case 5:this._coreService.triggerDataEvent(de.C0.ESC+"[0n");break;case 6:var he=this._bufferService.buffer.y+1,Se=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(de.C0.ESC+"["+he+";"+Se+"R")}},ge.prototype.deviceStatusPrivate=function(me){switch(me.params[0]){case 6:var he=this._bufferService.buffer.y+1,Se=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(de.C0.ESC+"[?"+he+";"+Se+"R")}},ge.prototype.softReset=function(me){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=ae.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._bufferService.buffer.savedX=0,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1},ge.prototype.setCursorStyle=function(me){var he=me.params[0]||1;switch(he){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}var Se=he%2==1;this._optionsService.options.cursorBlink=Se},ge.prototype.setScrollRegion=function(me){var he,Se=me.params[0]||1;(me.length<2||(he=me.params[1])>this._bufferService.rows||he===0)&&(he=this._bufferService.rows),he>Se&&(this._bufferService.buffer.scrollTop=Se-1,this._bufferService.buffer.scrollBottom=he-1,this._setCursor(0,0))},ge.prototype.windowOptions=function(me){if(ee(me.params[0],this._optionsService.options.windowOptions)){var he=me.length>1?me.params[1]:0;switch(me.params[0]){case 14:he!==2&&this._onRequestWindowsOptionsReport.fire(pe.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(pe.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(de.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:he!==0&&he!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),he!==0&&he!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:he!==0&&he!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),he!==0&&he!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},ge.prototype.saveCursor=function(me){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},ge.prototype.restoreCursor=function(me){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},ge.prototype.setTitle=function(me){this._windowTitle=me,this._onTitleChange.fire(me)},ge.prototype.setIconName=function(me){this._iconName=me},ge.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},ge.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},ge.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},ge.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,se.DEFAULT_CHARSET)},ge.prototype.selectCharset=function(me){me.length===2?me[0]!=="/"&&this._charsetService.setgCharset(b[me[0]],se.CHARSETS[me[1]]||se.DEFAULT_CHARSET):this.selectDefaultCharset()},ge.prototype.index=function(){this._restrictCursor();var me=this._bufferService.buffer;this._bufferService.buffer.y++,me.y===me.scrollBottom+1?(me.y--,this._onRequestScroll.fire(this._eraseAttrData())):me.y>=this._bufferService.rows&&(me.y=this._bufferService.rows-1),this._restrictCursor()},ge.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},ge.prototype.reverseIndex=function(){this._restrictCursor();var me=this._bufferService.buffer;if(me.y===me.scrollTop){var he=me.scrollBottom-me.scrollTop;me.lines.shiftElements(me.ybase+me.y,he,1),me.lines.set(me.ybase+me.y,me.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(me.scrollTop,me.scrollBottom)}else me.y--,this._restrictCursor()},ge.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},ge.prototype.reset=function(){this._curAttrData=ae.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=ae.DEFAULT_ATTR_DATA.clone()},ge.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},ge.prototype.setgLevel=function(me){this._charsetService.setgLevel(me)},ge.prototype.screenAlignmentPattern=function(){var me=new z.CellData;me.content=1<<22|69,me.fg=this._curAttrData.fg,me.bg=this._curAttrData.bg;var he=this._bufferService.buffer;this._setCursor(0,0);for(var Se=0;Se<this._bufferService.rows;++Se){var ye=he.ybase+he.y+Se,Pe=he.lines.get(ye);Pe&&(Pe.fill(me),Pe.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},ge}(ie.Disposable);ve.InputHandler=le},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.DEFAULT_CHARSET=ve.CHARSETS=void 0,ve.CHARSETS={},ve.DEFAULT_CHARSET=ve.CHARSETS.B,ve.CHARSETS[0]={"`":"\u25C6",a:"\u2592",b:"\u2409",c:"\u240C",d:"\u240D",e:"\u240A",f:"\xB0",g:"\xB1",h:"\u2424",i:"\u240B",j:"\u2518",k:"\u2510",l:"\u250C",m:"\u2514",n:"\u253C",o:"\u23BA",p:"\u23BB",q:"\u2500",r:"\u23BC",s:"\u23BD",t:"\u251C",u:"\u2524",v:"\u2534",w:"\u252C",x:"\u2502",y:"\u2264",z:"\u2265","{":"\u03C0","|":"\u2260","}":"\xA3","~":"\xB7"},ve.CHARSETS.A={"#":"\xA3"},ve.CHARSETS.B=void 0,ve.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},ve.CHARSETS.C=ve.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},ve.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},ve.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},ve.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},ve.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},ve.CHARSETS.E=ve.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},ve.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},ve.CHARSETS.H=ve.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},ve.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.Params=void 0;var _e=function(){function E(pe,de){if(pe===void 0&&(pe=32),de===void 0&&(de=32),this.maxLength=pe,this.maxSubParamsLength=de,de>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(pe),this.length=0,this._subParams=new Int32Array(de),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(pe),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return E.fromArray=function(pe){var de=new E;if(!pe.length)return de;for(var se=pe[0]instanceof Array?1:0;se<pe.length;++se){var ne=pe[se];if(ne instanceof Array)for(var ie=0;ie<ne.length;++ie)de.addSubParam(ne[ie]);else de.addParam(ne)}return de},E.prototype.clone=function(){var pe=new E(this.maxLength,this.maxSubParamsLength);return pe.params.set(this.params),pe.length=this.length,pe._subParams.set(this._subParams),pe._subParamsLength=this._subParamsLength,pe._subParamsIdx.set(this._subParamsIdx),pe._rejectDigits=this._rejectDigits,pe._rejectSubDigits=this._rejectSubDigits,pe._digitIsSub=this._digitIsSub,pe},E.prototype.toArray=function(){for(var pe=[],de=0;de<this.length;++de){pe.push(this.params[de]);var se=this._subParamsIdx[de]>>8,ne=255&this._subParamsIdx[de];ne-se>0&&pe.push(Array.prototype.slice.call(this._subParams,se,ne))}return pe},E.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},E.prototype.addParam=function(pe){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(pe<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=pe>2147483647?2147483647:pe}},E.prototype.addSubParam=function(pe){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(pe<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=pe>2147483647?2147483647:pe,this._subParamsIdx[this.length-1]++}},E.prototype.hasSubParams=function(pe){return(255&this._subParamsIdx[pe])-(this._subParamsIdx[pe]>>8)>0},E.prototype.getSubParams=function(pe){var de=this._subParamsIdx[pe]>>8,se=255&this._subParamsIdx[pe];return se-de>0?this._subParams.subarray(de,se):null},E.prototype.getSubParamsAll=function(){for(var pe={},de=0;de<this.length;++de){var se=this._subParamsIdx[de]>>8,ne=255&this._subParamsIdx[de];ne-se>0&&(pe[de]=this._subParams.slice(se,ne))}return pe},E.prototype.addDigit=function(pe){var de;if(!(this._rejectDigits||!(de=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var se=this._digitIsSub?this._subParams:this.params,ne=se[de-1];se[de-1]=~ne?Math.min(10*ne+pe,2147483647):pe}},E}();ve.Params=_e},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.OscHandler=ve.OscParser=void 0;var _e=be(23),E=be(8),pe=function(){function se(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return se.prototype.addHandler=function(ne,ie){this._handlers[ne]===void 0&&(this._handlers[ne]=[]);var ce=this._handlers[ne];return ce.push(ie),{dispose:function(){var ue=ce.indexOf(ie);ue!==-1&&ce.splice(ue,1)}}},se.prototype.setHandler=function(ne,ie){this._handlers[ne]=[ie]},se.prototype.clearHandler=function(ne){this._handlers[ne]&&delete this._handlers[ne]},se.prototype.setHandlerFallback=function(ne){this._handlerFb=ne},se.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},se.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},se.prototype._start=function(){var ne=this._handlers[this._id];if(ne)for(var ie=ne.length-1;ie>=0;ie--)ne[ie].start();else this._handlerFb(this._id,"START")},se.prototype._put=function(ne,ie,ce){var ue=this._handlers[this._id];if(ue)for(var ae=ue.length-1;ae>=0;ae--)ue[ae].put(ne,ie,ce);else this._handlerFb(this._id,"PUT",E.utf32ToString(ne,ie,ce))},se.prototype._end=function(ne){var ie=this._handlers[this._id];if(ie){for(var ce=ie.length-1;ce>=0&&ie[ce].end(ne)===!1;ce--);for(ce--;ce>=0;ce--)ie[ce].end(!1)}else this._handlerFb(this._id,"END",ne)},se.prototype.start=function(){this.reset(),this._id=-1,this._state=1},se.prototype.put=function(ne,ie,ce){if(this._state!==3){if(this._state===1)for(;ie<ce;){var ue=ne[ie++];if(ue===59){this._state=2,this._start();break}if(ue<48||57<ue)return void(this._state=3);this._id===-1&&(this._id=0),this._id=10*this._id+ue-48}this._state===2&&ce-ie>0&&this._put(ne,ie,ce)}},se.prototype.end=function(ne){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(ne)),this._id=-1,this._state=0)},se}();ve.OscParser=pe;var de=function(){function se(ne){this._handler=ne,this._data="",this._hitLimit=!1}return se.prototype.start=function(){this._data="",this._hitLimit=!1},se.prototype.put=function(ne,ie,ce){this._hitLimit||(this._data+=E.utf32ToString(ne,ie,ce),this._data.length>_e.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},se.prototype.end=function(ne){var ie;return this._hitLimit?ie=!1:ne&&(ie=this._handler(this._data)),this._data="",this._hitLimit=!1,ie},se}();ve.OscHandler=de},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.PAYLOAD_LIMIT=void 0,ve.PAYLOAD_LIMIT=1e7},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.DcsHandler=ve.DcsParser=void 0;var _e=be(8),E=be(21),pe=be(23),de=[],se=function(){function ie(){this._handlers=Object.create(null),this._active=de,this._ident=0,this._handlerFb=function(){}}return ie.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},ie.prototype.addHandler=function(ce,ue){this._handlers[ce]===void 0&&(this._handlers[ce]=[]);var ae=this._handlers[ce];return ae.push(ue),{dispose:function(){var oe=ae.indexOf(ue);oe!==-1&&ae.splice(oe,1)}}},ie.prototype.setHandler=function(ce,ue){this._handlers[ce]=[ue]},ie.prototype.clearHandler=function(ce){this._handlers[ce]&&delete this._handlers[ce]},ie.prototype.setHandlerFallback=function(ce){this._handlerFb=ce},ie.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=de,this._ident=0},ie.prototype.hook=function(ce,ue){if(this.reset(),this._ident=ce,this._active=this._handlers[ce]||de,this._active.length)for(var ae=this._active.length-1;ae>=0;ae--)this._active[ae].hook(ue);else this._handlerFb(this._ident,"HOOK",ue)},ie.prototype.put=function(ce,ue,ae){if(this._active.length)for(var oe=this._active.length-1;oe>=0;oe--)this._active[oe].put(ce,ue,ae);else this._handlerFb(this._ident,"PUT",_e.utf32ToString(ce,ue,ae))},ie.prototype.unhook=function(ce){if(this._active.length){for(var ue=this._active.length-1;ue>=0&&this._active[ue].unhook(ce)===!1;ue--);for(ue--;ue>=0;ue--)this._active[ue].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",ce);this._active=de,this._ident=0},ie}();ve.DcsParser=se;var ne=function(){function ie(ce){this._handler=ce,this._data="",this._hitLimit=!1}return ie.prototype.hook=function(ce){this._params=ce.clone(),this._data="",this._hitLimit=!1},ie.prototype.put=function(ce,ue,ae){this._hitLimit||(this._data+=_e.utf32ToString(ce,ue,ae),this._data.length>pe.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},ie.prototype.unhook=function(ce){var ue;return this._hitLimit?ue=!1:ce&&(ue=this._handler(this._data,this._params||new E.Params)),this._params=void 0,this._data="",this._hitLimit=!1,ue},ie}();ve.DcsHandler=ne},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.removeTerminalFromCache=ve.acquireCharAtlas=void 0;var _e=be(26),E=be(43),pe=[];ve.acquireCharAtlas=function(de,se,ne,ie,ce){for(var ue=_e.generateConfig(ie,ce,de,ne),ae=0;ae<pe.length;ae++){var oe=(re=pe[ae]).ownedBy.indexOf(se);if(oe>=0){if(_e.configEquals(re.config,ue))return re.atlas;re.ownedBy.length===1?(re.atlas.dispose(),pe.splice(ae,1)):re.ownedBy.splice(oe,1);break}}for(ae=0;ae<pe.length;ae++){var re=pe[ae];if(_e.configEquals(re.config,ue))return re.ownedBy.push(se),re.atlas}var z={atlas:new E.DynamicCharAtlas(document,ue),config:ue,ownedBy:[se]};return pe.push(z),z.atlas},ve.removeTerminalFromCache=function(de){for(var se=0;se<pe.length;se++){var ne=pe[se].ownedBy.indexOf(de);if(ne!==-1){pe[se].ownedBy.length===1?(pe[se].atlas.dispose(),pe.splice(se,1)):pe[se].ownedBy.splice(ne,1);break}}}},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.is256Color=ve.configEquals=ve.generateConfig=void 0;var _e=be(3);ve.generateConfig=function(E,pe,de,se){var ne={foreground:se.foreground,background:se.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:se.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:E,scaledCharHeight:pe,fontFamily:de.fontFamily,fontSize:de.fontSize,fontWeight:de.fontWeight,fontWeightBold:de.fontWeightBold,allowTransparency:de.allowTransparency,colors:ne}},ve.configEquals=function(E,pe){for(var de=0;de<E.colors.ansi.length;de++)if(E.colors.ansi[de].rgba!==pe.colors.ansi[de].rgba)return!1;return E.devicePixelRatio===pe.devicePixelRatio&&E.fontFamily===pe.fontFamily&&E.fontSize===pe.fontSize&&E.fontWeight===pe.fontWeight&&E.fontWeightBold===pe.fontWeightBold&&E.allowTransparency===pe.allowTransparency&&E.scaledCharWidth===pe.scaledCharWidth&&E.scaledCharHeight===pe.scaledCharHeight&&E.colors.foreground===pe.colors.foreground&&E.colors.background===pe.colors.background},ve.is256Color=function(E){return E<_e.DEFAULT_COLOR}},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.ColorManager=ve.DEFAULT_ANSI_COLORS=void 0;var _e=be(10),E=be(45),pe=_e.css.toColor("#ffffff"),de=_e.css.toColor("#000000"),se=_e.css.toColor("#ffffff"),ne=_e.css.toColor("#000000"),ie={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};ve.DEFAULT_ANSI_COLORS=function(){for(var ue=[_e.css.toColor("#2e3436"),_e.css.toColor("#cc0000"),_e.css.toColor("#4e9a06"),_e.css.toColor("#c4a000"),_e.css.toColor("#3465a4"),_e.css.toColor("#75507b"),_e.css.toColor("#06989a"),_e.css.toColor("#d3d7cf"),_e.css.toColor("#555753"),_e.css.toColor("#ef2929"),_e.css.toColor("#8ae234"),_e.css.toColor("#fce94f"),_e.css.toColor("#729fcf"),_e.css.toColor("#ad7fa8"),_e.css.toColor("#34e2e2"),_e.css.toColor("#eeeeec")],ae=[0,95,135,175,215,255],oe=0;oe<216;oe++){var re=ae[oe/36%6|0],z=ae[oe/6%6|0],a=ae[oe%6];ue.push({css:_e.channels.toCss(re,z,a),rgba:_e.channels.toRgba(re,z,a)})}for(oe=0;oe<24;oe++){var y=8+10*oe;ue.push({css:_e.channels.toCss(y,y,y),rgba:_e.channels.toRgba(y,y,y)})}return ue}();var ce=function(){function ue(ae,oe){this.allowTransparency=oe;var re=ae.createElement("canvas");re.width=1,re.height=1;var z=re.getContext("2d");if(!z)throw new Error("Could not get rendering context");this._ctx=z,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new E.ColorContrastCache,this.colors={foreground:pe,background:de,cursor:se,cursorAccent:ne,selectionTransparent:ie,selectionOpaque:_e.color.blend(de,ie),ansi:ve.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return ue.prototype.onOptionsChange=function(ae){ae==="minimumContrastRatio"&&this._contrastCache.clear()},ue.prototype.setTheme=function(ae){ae===void 0&&(ae={}),this.colors.foreground=this._parseColor(ae.foreground,pe),this.colors.background=this._parseColor(ae.background,de),this.colors.cursor=this._parseColor(ae.cursor,se,!0),this.colors.cursorAccent=this._parseColor(ae.cursorAccent,ne,!0),this.colors.selectionTransparent=this._parseColor(ae.selection,ie,!0),this.colors.selectionOpaque=_e.color.blend(this.colors.background,this.colors.selectionTransparent),_e.color.isOpaque(this.colors.selectionTransparent)&&(this.colors.selectionTransparent=_e.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(ae.black,ve.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(ae.red,ve.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(ae.green,ve.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(ae.yellow,ve.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(ae.blue,ve.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(ae.magenta,ve.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(ae.cyan,ve.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(ae.white,ve.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(ae.brightBlack,ve.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(ae.brightRed,ve.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(ae.brightGreen,ve.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(ae.brightYellow,ve.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(ae.brightBlue,ve.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(ae.brightMagenta,ve.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(ae.brightCyan,ve.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(ae.brightWhite,ve.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},ue.prototype._parseColor=function(ae,oe,re){if(re===void 0&&(re=this.allowTransparency),ae===void 0)return oe;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=ae,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+ae+" is invalid using fallback "+oe.css),oe;this._ctx.fillRect(0,0,1,1);var z=this._ctx.getImageData(0,0,1,1).data;if(z[3]!==255){if(!re)return console.warn("Color: "+ae+" is using transparency, but allowTransparency is false. Using fallback "+oe.css+"."),oe;var a=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(le){return Number(le)}),y=a[0],x=a[1],b=a[2],ee=a[3],te=Math.round(255*ee);return{rgba:_e.channels.toRgba(y,x,b,te),css:ae}}return{css:this._ctx.fillStyle,rgba:_e.channels.toRgba(z[0],z[1],z[2],z[3])}},ue}();ve.ColorManager=ce},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.throwIfFalsy=void 0,ve.throwIfFalsy=function(_e){if(!_e)throw new Error("value must not be falsy");return _e}},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ce,ue){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ae,oe){ae.__proto__=oe}||function(ae,oe){for(var re in oe)oe.hasOwnProperty(re)&&(ae[re]=oe[re])})(ce,ue)},function(ce,ue){function ae(){this.constructor=ce}_e(ce,ue),ce.prototype=ue===null?Object.create(ue):(ae.prototype=ue.prototype,new ae)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.CharacterJoinerRegistry=ve.JoinedCellData=void 0;var pe=be(6),de=be(3),se=be(4),ne=function(ce){function ue(ae,oe,re){var z=ce.call(this)||this;return z.content=0,z.combinedData="",z.fg=ae.fg,z.bg=ae.bg,z.combinedData=oe,z._width=re,z}return E(ue,ce),ue.prototype.isCombined=function(){return 2097152},ue.prototype.getWidth=function(){return this._width},ue.prototype.getChars=function(){return this.combinedData},ue.prototype.getCode=function(){return 2097151},ue.prototype.setFromCharData=function(ae){throw new Error("not implemented")},ue.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},ue}(pe.AttributeData);ve.JoinedCellData=ne;var ie=function(){function ce(ue){this._bufferService=ue,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new se.CellData}return ce.prototype.registerCharacterJoiner=function(ue){var ae={id:this._nextCharacterJoinerId++,handler:ue};return this._characterJoiners.push(ae),ae.id},ce.prototype.deregisterCharacterJoiner=function(ue){for(var ae=0;ae<this._characterJoiners.length;ae++)if(this._characterJoiners[ae].id===ue)return this._characterJoiners.splice(ae,1),!0;return!1},ce.prototype.getJoinedCharacters=function(ue){if(this._characterJoiners.length===0)return[];var ae=this._bufferService.buffer.lines.get(ue);if(!ae||ae.length===0)return[];for(var oe=[],re=ae.translateToString(!0),z=0,a=0,y=0,x=ae.getFg(0),b=ae.getBg(0),ee=0;ee<ae.getTrimmedLength();ee++)if(ae.loadCell(ee,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==x||this._workCell.bg!==b){if(ee-z>1)for(var te=this._getJoinedRanges(re,y,a,ae,z),le=0;le<te.length;le++)oe.push(te[le]);z=ee,y=a,x=this._workCell.fg,b=this._workCell.bg}a+=this._workCell.getChars().length||de.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-z>1)for(te=this._getJoinedRanges(re,y,a,ae,z),le=0;le<te.length;le++)oe.push(te[le]);return oe},ce.prototype._getJoinedRanges=function(ue,ae,oe,re,z){for(var a=ue.substring(ae,oe),y=this._characterJoiners[0].handler(a),x=1;x<this._characterJoiners.length;x++)for(var b=this._characterJoiners[x].handler(a),ee=0;ee<b.length;ee++)ce._mergeRanges(y,b[ee]);return this._stringRangesToCellRanges(y,re,z),y},ce.prototype._stringRangesToCellRanges=function(ue,ae,oe){var re=0,z=!1,a=0,y=ue[re];if(y){for(var x=oe;x<this._bufferService.cols;x++){var b=ae.getWidth(x),ee=ae.getString(x).length||de.WHITESPACE_CELL_CHAR.length;if(b!==0){if(!z&&y[0]<=a&&(y[0]=x,z=!0),y[1]<=a){if(y[1]=x,!(y=ue[++re]))break;y[0]<=a?(y[0]=x,z=!0):z=!1}a+=ee}}y&&(y[1]=this._bufferService.cols)}},ce._mergeRanges=function(ue,ae){for(var oe=!1,re=0;re<ue.length;re++){var z=ue[re];if(oe){if(ae[1]<=z[0])return ue[re-1][1]=ae[1],ue;if(ae[1]<=z[1])return ue[re-1][1]=Math.max(ae[1],z[1]),ue.splice(re,1),ue;ue.splice(re,1),re--}else{if(ae[1]<=z[0])return ue.splice(re,0,ae),ue;if(ae[1]<=z[1])return z[0]=Math.min(ae[0],z[0]),ue;ae[0]<z[1]&&(z[0]=Math.min(ae[0],z[0]),oe=!0)}}return oe?ue[ue.length-1][1]=ae[1]:ue.push(ae),ue},ce}();ve.CharacterJoinerRegistry=ie},function(dt,ve,be){"use strict";function _e(E,pe){var de=pe.getBoundingClientRect();return[E.clientX-de.left,E.clientY-de.top]}Object.defineProperty(ve,"__esModule",{value:!0}),ve.getRawByteCoords=ve.getCoords=ve.getCoordsRelativeToElement=void 0,ve.getCoordsRelativeToElement=_e,ve.getCoords=function(E,pe,de,se,ne,ie,ce,ue){if(ne){var ae=_e(E,pe);if(ae)return ae[0]=Math.ceil((ae[0]+(ue?ie/2:0))/ie),ae[1]=Math.ceil(ae[1]/ce),ae[0]=Math.min(Math.max(ae[0],1),de+(ue?1:0)),ae[1]=Math.min(Math.max(ae[1],1),se),ae}},ve.getRawByteCoords=function(E){if(E)return{x:E[0]+32,y:E[1]+32}}},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.RenderDebouncer=void 0;var _e=function(){function E(pe){this._renderCallback=pe}return E.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},E.prototype.refresh=function(pe,de,se){var ne=this;this._rowCount=se,pe=pe!==void 0?pe:0,de=de!==void 0?de:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,pe):pe,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,de):de,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return ne._innerRefresh()}))},E.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var pe=Math.max(this._rowStart,0),de=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(pe,de)}},E}();ve.RenderDebouncer=_e},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(de,se){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,ie){ne.__proto__=ie}||function(ne,ie){for(var ce in ie)ie.hasOwnProperty(ce)&&(ne[ce]=ie[ce])})(de,se)},function(de,se){function ne(){this.constructor=de}_e(de,se),de.prototype=se===null?Object.create(se):(ne.prototype=se.prototype,new ne)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.ScreenDprMonitor=void 0;var pe=function(de){function se(){var ne=de!==null&&de.apply(this,arguments)||this;return ne._currentDevicePixelRatio=window.devicePixelRatio,ne}return E(se,de),se.prototype.setListener=function(ne){var ie=this;this._listener&&this.clearListener(),this._listener=ne,this._outerListener=function(){ie._listener&&(ie._listener(window.devicePixelRatio,ie._currentDevicePixelRatio),ie._updateDpr())},this._updateDpr()},se.prototype.dispose=function(){de.prototype.dispose.call(this),this.clearListener()},se.prototype._updateDpr=function(){var ne;this._outerListener&&((ne=this._resolutionMediaMatchList)===null||ne===void 0||ne.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},se.prototype.clearListener=function(){this._resolutionMediaMatchList&&this._listener&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._listener=void 0,this._outerListener=void 0)},se}(be(2).Disposable);ve.ScreenDprMonitor=pe},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.clone=void 0,ve.clone=function _e(E,pe){if(pe===void 0&&(pe=5),typeof E!="object")return E;var de=Array.isArray(E)?[]:{};for(var se in E)de[se]=pe<=1?E[se]:E[se]?_e(E[se],pe-1):E[se];return de}},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.Terminal=void 0;var _e=be(4),E=be(35),pe=be(18),de=be(0),se=be(83),ne=function(){function re(z){this._core=new E.Terminal(z),this._addonManager=new se.AddonManager}return re.prototype._checkProposedApi=function(){if(!this._core.optionsService.options.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")},Object.defineProperty(re.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new ae(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"unicode",{get:function(){return this._checkProposedApi(),new oe(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"buffer",{get:function(){return this._checkProposedApi(),new ce(this._core.buffers)},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),re.prototype.blur=function(){this._core.blur()},re.prototype.focus=function(){this._core.focus()},re.prototype.resize=function(z,a){this._verifyIntegers(z,a),this._core.resize(z,a)},re.prototype.open=function(z){this._core.open(z)},re.prototype.attachCustomKeyEventHandler=function(z){this._core.attachCustomKeyEventHandler(z)},re.prototype.registerLinkMatcher=function(z,a,y){return this._checkProposedApi(),this._core.registerLinkMatcher(z,a,y)},re.prototype.deregisterLinkMatcher=function(z){this._checkProposedApi(),this._core.deregisterLinkMatcher(z)},re.prototype.registerLinkProvider=function(z){return this._checkProposedApi(),this._core.registerLinkProvider(z)},re.prototype.registerCharacterJoiner=function(z){return this._checkProposedApi(),this._core.registerCharacterJoiner(z)},re.prototype.deregisterCharacterJoiner=function(z){this._checkProposedApi(),this._core.deregisterCharacterJoiner(z)},re.prototype.registerMarker=function(z){return this._checkProposedApi(),this._verifyIntegers(z),this._core.addMarker(z)},re.prototype.addMarker=function(z){return this.registerMarker(z)},re.prototype.hasSelection=function(){return this._core.hasSelection()},re.prototype.select=function(z,a,y){this._verifyIntegers(z,a,y),this._core.select(z,a,y)},re.prototype.getSelection=function(){return this._core.getSelection()},re.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},re.prototype.clearSelection=function(){this._core.clearSelection()},re.prototype.selectAll=function(){this._core.selectAll()},re.prototype.selectLines=function(z,a){this._verifyIntegers(z,a),this._core.selectLines(z,a)},re.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},re.prototype.scrollLines=function(z){this._verifyIntegers(z),this._core.scrollLines(z)},re.prototype.scrollPages=function(z){this._verifyIntegers(z),this._core.scrollPages(z)},re.prototype.scrollToTop=function(){this._core.scrollToTop()},re.prototype.scrollToBottom=function(){this._core.scrollToBottom()},re.prototype.scrollToLine=function(z){this._verifyIntegers(z),this._core.scrollToLine(z)},re.prototype.clear=function(){this._core.clear()},re.prototype.write=function(z,a){this._core.write(z,a)},re.prototype.writeUtf8=function(z,a){this._core.write(z,a)},re.prototype.writeln=function(z,a){this._core.write(z),this._core.write(`\r
|
|
|
`,a)},re.prototype.paste=function(z){this._core.paste(z)},re.prototype.getOption=function(z){return this._core.optionsService.getOption(z)},re.prototype.setOption=function(z,a){this._core.optionsService.setOption(z,a)},re.prototype.refresh=function(z,a){this._verifyIntegers(z,a),this._core.refresh(z,a)},re.prototype.reset=function(){this._core.reset()},re.prototype.loadAddon=function(z){return this._addonManager.loadAddon(this,z)},Object.defineProperty(re,"strings",{get:function(){return pe},enumerable:!1,configurable:!0}),re.prototype._verifyIntegers=function(){for(var z=[],a=0;a<arguments.length;a++)z[a]=arguments[a];for(var y=0,x=z;y<x.length;y++){var b=x[y];if(b===1/0||isNaN(b)||b%1!=0)throw new Error("This API only accepts integers")}},re}();ve.Terminal=ne;var ie=function(){function re(z,a){this._buffer=z,this.type=a}return re.prototype.init=function(z){return this._buffer=z,this},Object.defineProperty(re.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),re.prototype.getLine=function(z){var a=this._buffer.lines.get(z);if(a)return new ue(a)},re.prototype.getNullCell=function(){return new _e.CellData},re}(),ce=function(){function re(z){var a=this;this._buffers=z,this._onBufferChange=new de.EventEmitter,this._normal=new ie(this._buffers.normal,"normal"),this._alternate=new ie(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return a._onBufferChange.fire(a.active)})}return Object.defineProperty(re.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"active",{get:function(){if(this._buffers.active===this._buffers.normal)return this.normal;if(this._buffers.active===this._buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"normal",{get:function(){return this._normal.init(this._buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"alternate",{get:function(){return this._alternate.init(this._buffers.alt)},enumerable:!1,configurable:!0}),re}(),ue=function(){function re(z){this._line=z}return Object.defineProperty(re.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),re.prototype.getCell=function(z,a){if(!(z<0||z>=this._line.length))return a?(this._line.loadCell(z,a),a):this._line.loadCell(z,new _e.CellData)},re.prototype.translateToString=function(z,a,y){return this._line.translateToString(z,a,y)},re}(),ae=function(){function re(z){this._core=z}return re.prototype.registerCsiHandler=function(z,a){return this._core.addCsiHandler(z,function(y){return a(y.toArray())})},re.prototype.addCsiHandler=function(z,a){return this.registerCsiHandler(z,a)},re.prototype.registerDcsHandler=function(z,a){return this._core.addDcsHandler(z,function(y,x){return a(y,x.toArray())})},re.prototype.addDcsHandler=function(z,a){return this.registerDcsHandler(z,a)},re.prototype.registerEscHandler=function(z,a){return this._core.addEscHandler(z,a)},re.prototype.addEscHandler=function(z,a){return this.registerEscHandler(z,a)},re.prototype.registerOscHandler=function(z,a){return this._core.addOscHandler(z,a)},re.prototype.addOscHandler=function(z,a){return this.registerOscHandler(z,a)},re}(),oe=function(){function re(z){this._core=z}return re.prototype.register=function(z){this._core.unicodeService.register(z)},Object.defineProperty(re.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(z){this._core.unicodeService.activeVersion=z},enumerable:!1,configurable:!0}),re}()},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(Ae,Ce){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(je,Fe){je.__proto__=Fe}||function(je,Fe){for(var Ge in Fe)Fe.hasOwnProperty(Ge)&&(je[Ge]=Fe[Ge])})(Ae,Ce)},function(Ae,Ce){function je(){this.constructor=Ae}_e(Ae,Ce),Ae.prototype=Ce===null?Object.create(Ce):(je.prototype=Ce.prototype,new je)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.Terminal=void 0;var pe=be(36),de=be(37),se=be(38),ne=be(12),ie=be(19),ce=be(40),ue=be(50),ae=be(51),oe=be(11),re=be(7),z=be(18),a=be(54),y=be(55),x=be(56),b=be(57),ee=be(59),te=be(0),le=be(16),fe=be(27),ge=be(60),me=be(5),he=be(61),Se=be(62),ye=be(63),Pe=be(64),we=be(65),De=typeof window!="undefined"?window.document:null,xe=function(Ae){function Ce(je){je===void 0&&(je={});var Fe=Ae.call(this,je)||this;return Fe.browser=oe,Fe._keyDownHandled=!1,Fe._onCursorMove=new te.EventEmitter,Fe._onKey=new te.EventEmitter,Fe._onRender=new te.EventEmitter,Fe._onSelectionChange=new te.EventEmitter,Fe._onTitleChange=new te.EventEmitter,Fe._onFocus=new te.EventEmitter,Fe._onBlur=new te.EventEmitter,Fe._onA11yCharEmitter=new te.EventEmitter,Fe._onA11yTabEmitter=new te.EventEmitter,Fe._setup(),Fe.linkifier=Fe._instantiationService.createInstance(ue.Linkifier),Fe.linkifier2=Fe.register(Fe._instantiationService.createInstance(ye.Linkifier2)),Fe.register(Fe._inputHandler.onRequestBell(function(){return Fe.bell()})),Fe.register(Fe._inputHandler.onRequestRefreshRows(function(Ge,Be){return Fe.refresh(Ge,Be)})),Fe.register(Fe._inputHandler.onRequestReset(function(){return Fe.reset()})),Fe.register(Fe._inputHandler.onRequestScroll(function(Ge,Be){return Fe.scroll(Ge,Be||void 0)})),Fe.register(Fe._inputHandler.onRequestWindowsOptionsReport(function(Ge){return Fe._reportWindowsOptions(Ge)})),Fe.register(te.forwardEvent(Fe._inputHandler.onCursorMove,Fe._onCursorMove)),Fe.register(te.forwardEvent(Fe._inputHandler.onTitleChange,Fe._onTitleChange)),Fe.register(te.forwardEvent(Fe._inputHandler.onA11yChar,Fe._onA11yCharEmitter)),Fe.register(te.forwardEvent(Fe._inputHandler.onA11yTab,Fe._onA11yTabEmitter)),Fe.register(Fe._bufferService.onResize(function(Ge){return Fe._afterResize(Ge.cols,Ge.rows)})),Fe}return E(Ce,Ae),Object.defineProperty(Ce.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(Ce.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),Ce.prototype.dispose=function(){var je,Fe,Ge;this._isDisposed||(Ae.prototype.dispose.call(this),(je=this._renderService)===null||je===void 0||je.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(Ge=(Fe=this.element)===null||Fe===void 0?void 0:Fe.parentNode)===null||Ge===void 0||Ge.removeChild(this.element))},Ce.prototype._setup=function(){Ae.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(Ce.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),Ce.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},Ce.prototype._updateOptions=function(je){var Fe,Ge,Be,tt;switch(Ae.prototype._updateOptions.call(this,je),je){case"fontFamily":case"fontSize":(Fe=this._renderService)===null||Fe===void 0||Fe.clear(),(Ge=this._charSizeService)===null||Ge===void 0||Ge.measure();break;case"cursorBlink":case"cursorStyle":this.refresh(this.buffer.y,this.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":this._renderService&&(this._renderService.clear(),this._renderService.onResize(this.cols,this.rows),this.refresh(0,this.rows-1));break;case"rendererType":this._renderService&&(this._renderService.setRenderer(this._createRenderer()),this._renderService.onResize(this.cols,this.rows));break;case"scrollback":(Be=this.viewport)===null||Be===void 0||Be.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new x.AccessibilityManager(this,this._renderService)):((tt=this._accessibilityManager)===null||tt===void 0||tt.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},Ce.prototype._onTextAreaFocus=function(je){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(ne.C0.ESC+"[I"),this.updateCursorStyle(je),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},Ce.prototype.blur=function(){var je;return(je=this.textarea)===null||je===void 0?void 0:je.blur()},Ce.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(ne.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},Ce.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var je=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),Fe=this._bufferService.buffer.y*je,Ge=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=Ge+"px",this.textarea.style.top=Fe+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=je+"px",this.textarea.style.lineHeight=je+"px",this.textarea.style.zIndex="-5"}},Ce.prototype._initGlobal=function(){var je=this;this._bindKeys(),this.register(re.addDisposableDomListener(this.element,"copy",function(Ge){je.hasSelection()&&se.copyHandler(Ge,je._selectionService)}));var Fe=function(Ge){return se.handlePasteEvent(Ge,je.textarea,je._coreService)};this.register(re.addDisposableDomListener(this.textarea,"paste",Fe)),this.register(re.addDisposableDomListener(this.element,"paste",Fe)),oe.isFirefox?this.register(re.addDisposableDomListener(this.element,"mousedown",function(Ge){Ge.button===2&&se.rightClickHandler(Ge,je.textarea,je.screenElement,je._selectionService,je.options.rightClickSelectsWord)})):this.register(re.addDisposableDomListener(this.element,"contextmenu",function(Ge){se.rightClickHandler(Ge,je.textarea,je.screenElement,je._selectionService,je.options.rightClickSelectsWord)})),oe.isLinux&&this.register(re.addDisposableDomListener(this.element,"auxclick",function(Ge){Ge.button===1&&se.moveTextAreaUnderMouseCursor(Ge,je.textarea,je.screenElement)}))},Ce.prototype._bindKeys=function(){var je=this;this.register(re.addDisposableDomListener(this.textarea,"keyup",function(Fe){return je._keyUp(Fe)},!0)),this.register(re.addDisposableDomListener(this.textarea,"keydown",function(Fe){return je._keyDown(Fe)},!0)),this.register(re.addDisposableDomListener(this.textarea,"keypress",function(Fe){return je._keyPress(Fe)},!0)),this.register(re.addDisposableDomListener(this.textarea,"compositionstart",function(){return je._compositionHelper.compositionstart()})),this.register(re.addDisposableDomListener(this.textarea,"compositionupdate",function(Fe){return je._compositionHelper.compositionupdate(Fe)})),this.register(re.addDisposableDomListener(this.textarea,"compositionend",function(){return je._compositionHelper.compositionend()})),this.register(this.onRender(function(){return je._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(Fe){return je._queueLinkification(Fe.start,Fe.end)}))},Ce.prototype.open=function(je){var Fe=this;if(!je)throw new Error("Terminal requires a parent element.");De.body.contains(je)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=je.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),je.appendChild(this.element);var Ge=De.createDocumentFragment();this._viewportElement=De.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),Ge.appendChild(this._viewportElement),this._viewportScrollArea=De.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=De.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=De.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),Ge.appendChild(this.screenElement),this.textarea=De.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",z.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(re.addDisposableDomListener(this.textarea,"focus",function(Ye){return Fe._onTextAreaFocus(Ye)})),this.register(re.addDisposableDomListener(this.textarea,"blur",function(){return Fe._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var Be=this._instantiationService.createInstance(Pe.CoreBrowserService,this.textarea);this._instantiationService.setService(me.ICoreBrowserService,Be),this._charSizeService=this._instantiationService.createInstance(he.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(me.ICharSizeService,this._charSizeService),this._compositionView=De.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(pe.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(Ge),this._theme=this.options.theme||this._theme,this._colorManager=new fe.ColorManager(De,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(Ye){return Fe._colorManager.onOptionsChange(Ye)})),this._colorManager.setTheme(this._theme);var tt=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(ge.RenderService,tt,this.rows,this.screenElement)),this._instantiationService.setService(me.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(Ye){return Fe._onRender.fire(Ye)})),this.onResize(function(Ye){return Fe._renderService.resize(Ye.cols,Ye.rows)}),this._soundService=this._instantiationService.createInstance(a.SoundService),this._instantiationService.setService(me.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(Se.MouseService),this._instantiationService.setService(me.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(de.Viewport,function(Ye,Ve){return Fe.scrollLines(Ye,Ve)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return Fe.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){Fe._renderService.onCursorMove(),Fe._syncTextArea()})),this.register(this.onResize(function(){return Fe._renderService.onResize(Fe.cols,Fe.rows)})),this.register(this.onBlur(function(){return Fe._renderService.onBlur()})),this.register(this.onFocus(function(){return Fe._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return Fe.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(ae.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(me.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(Ye){return Fe.scrollLines(Ye.amount,Ye.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return Fe._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(Ye){return Fe._renderService.onSelectionChanged(Ye.start,Ye.end,Ye.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(Ye){Fe.textarea.value=Ye,Fe.textarea.focus(),Fe.textarea.select()})),this.register(this.onScroll(function(){Fe.viewport.syncScrollArea(),Fe._selectionService.refresh()})),this.register(re.addDisposableDomListener(this._viewportElement,"scroll",function(){return Fe._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(y.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return Fe._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(re.addDisposableDomListener(this.element,"mousedown",function(Ye){return Fe._selectionService.onMouseDown(Ye)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new x.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},Ce.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(ce.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(b.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},Ce.prototype._setTheme=function(je){var Fe,Ge,Be;this._theme=je,(Fe=this._colorManager)===null||Fe===void 0||Fe.setTheme(je),(Ge=this._renderService)===null||Ge===void 0||Ge.setColors(this._colorManager.colors),(Be=this.viewport)===null||Be===void 0||Be.onThemeChange(this._colorManager.colors)},Ce.prototype.bindMouse=function(){var je=this,Fe=this,Ge=this.element;function Be(ke){var ze,et,Je=Fe._mouseService.getRawByteCoords(ke,Fe.screenElement,Fe.cols,Fe.rows);if(!Je)return!1;switch(ke.overrideType||ke.type){case"mousemove":et=32,ke.buttons===void 0?(ze=3,ke.button!==void 0&&(ze=ke.button<3?ke.button:3)):ze=1&ke.buttons?0:4&ke.buttons?1:2&ke.buttons?2:3;break;case"mouseup":et=0,ze=ke.button<3?ke.button:3;break;case"mousedown":et=1,ze=ke.button<3?ke.button:3;break;case"wheel":ke.deltaY!==0&&(et=ke.deltaY<0?0:1),ze=4;break;default:return!1}return!(et===void 0||ze===void 0||ze>4)&&Fe._coreMouseService.triggerMouseEvent({col:Je.x-33,row:Je.y-33,button:ze,action:et,ctrl:ke.ctrlKey,alt:ke.altKey,shift:ke.shiftKey})}var tt={mouseup:null,wheel:null,mousedrag:null,mousemove:null},Ye=function(ke){return Be(ke),ke.buttons||(je._document.removeEventListener("mouseup",tt.mouseup),tt.mousedrag&&je._document.removeEventListener("mousemove",tt.mousedrag)),je.cancel(ke)},Ve=function(ke){return Be(ke),ke.preventDefault(),je.cancel(ke)},Xe=function(ke){ke.buttons&&Be(ke)},Ze=function(ke){ke.buttons||Be(ke)};this.register(this._coreMouseService.onProtocolChange(function(ke){ke?(je.optionsService.options.logLevel==="debug"&&je._logService.debug("Binding to mouse events:",je._coreMouseService.explainEvents(ke)),je.element.classList.add("enable-mouse-events"),je._selectionService.disable()):(je._logService.debug("Unbinding from mouse events."),je.element.classList.remove("enable-mouse-events"),je._selectionService.enable()),8&ke?tt.mousemove||(Ge.addEventListener("mousemove",Ze),tt.mousemove=Ze):(Ge.removeEventListener("mousemove",tt.mousemove),tt.mousemove=null),16&ke?tt.wheel||(Ge.addEventListener("wheel",Ve,{passive:!1}),tt.wheel=Ve):(Ge.removeEventListener("wheel",tt.wheel),tt.wheel=null),2&ke?tt.mouseup||(tt.mouseup=Ye):(je._document.removeEventListener("mouseup",tt.mouseup),tt.mouseup=null),4&ke?tt.mousedrag||(tt.mousedrag=Xe):(je._document.removeEventListener("mousemove",tt.mousedrag),tt.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(re.addDisposableDomListener(Ge,"mousedown",function(ke){if(ke.preventDefault(),je.focus(),je._coreMouseService.areMouseEventsActive&&!je._selectionService.shouldForceSelection(ke))return Be(ke),tt.mouseup&&je._document.addEventListener("mouseup",tt.mouseup),tt.mousedrag&&je._document.addEventListener("mousemove",tt.mousedrag),je.cancel(ke)})),this.register(re.addDisposableDomListener(Ge,"wheel",function(ke){if(!tt.wheel){if(!je.buffer.hasScrollback){var ze=je.viewport.getLinesScrolled(ke);if(ze===0)return;for(var et=ne.C0.ESC+(je._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(ke.deltaY<0?"A":"B"),Je="",ut=0;ut<Math.abs(ze);ut++)Je+=et;je._coreService.triggerDataEvent(Je,!0)}}},{passive:!0})),this.register(re.addDisposableDomListener(Ge,"wheel",function(ke){if(!tt.wheel)return je.viewport.onWheel(ke)?void 0:je.cancel(ke)},{passive:!1})),this.register(re.addDisposableDomListener(Ge,"touchstart",function(ke){if(!je._coreMouseService.areMouseEventsActive)return je.viewport.onTouchStart(ke),je.cancel(ke)},{passive:!0})),this.register(re.addDisposableDomListener(Ge,"touchmove",function(ke){if(!je._coreMouseService.areMouseEventsActive)return je.viewport.onTouchMove(ke)?void 0:je.cancel(ke)},{passive:!1}))},Ce.prototype.refresh=function(je,Fe){var Ge;(Ge=this._renderService)===null||Ge===void 0||Ge.refreshRows(je,Fe)},Ce.prototype._queueLinkification=function(je,Fe){var Ge;(Ge=this.linkifier)===null||Ge===void 0||Ge.linkifyRows(je,Fe)},Ce.prototype.updateCursorStyle=function(je){this._selectionService&&this._selectionService.shouldColumnSelect(je)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},Ce.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},Ce.prototype.scrollLines=function(je,Fe){Ae.prototype.scrollLines.call(this,je,Fe),this.refresh(0,this.rows-1)},Ce.prototype.paste=function(je){se.paste(je,this.textarea,this._coreService)},Ce.prototype.attachCustomKeyEventHandler=function(je){this._customKeyEventHandler=je},Ce.prototype.registerLinkMatcher=function(je,Fe,Ge){var Be=this.linkifier.registerLinkMatcher(je,Fe,Ge);return this.refresh(0,this.rows-1),Be},Ce.prototype.deregisterLinkMatcher=function(je){this.linkifier.deregisterLinkMatcher(je)&&this.refresh(0,this.rows-1)},Ce.prototype.registerLinkProvider=function(je){return this.linkifier2.registerLinkProvider(je)},Ce.prototype.registerCharacterJoiner=function(je){var Fe=this._renderService.registerCharacterJoiner(je);return this.refresh(0,this.rows-1),Fe},Ce.prototype.deregisterCharacterJoiner=function(je){this._renderService.deregisterCharacterJoiner(je)&&this.refresh(0,this.rows-1)},Object.defineProperty(Ce.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),Ce.prototype.addMarker=function(je){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+je)},Ce.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},Ce.prototype.select=function(je,Fe,Ge){this._selectionService.setSelection(je,Fe,Ge)},Ce.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},Ce.prototype.getSelectionPosition=function(){if(this._selectionService&&this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},Ce.prototype.clearSelection=function(){var je;(je=this._selectionService)===null||je===void 0||je.clearSelection()},Ce.prototype.selectAll=function(){var je;(je=this._selectionService)===null||je===void 0||je.selectAll()},Ce.prototype.selectLines=function(je,Fe){var Ge;(Ge=this._selectionService)===null||Ge===void 0||Ge.selectLines(je,Fe)},Ce.prototype._keyDown=function(je){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(je)===!1)return!1;if(!this._compositionHelper.keydown(je))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var Fe=ee.evaluateKeyboardEvent(je,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(je),Fe.type===3||Fe.type===2){var Ge=this.rows-1;return this.scrollLines(Fe.type===2?-Ge:Ge),this.cancel(je,!0)}return Fe.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,je)||(Fe.cancel&&this.cancel(je,!0),!Fe.key||(Fe.key!==ne.C0.ETX&&Fe.key!==ne.C0.CR||(this.textarea.value=""),this._onKey.fire({key:Fe.key,domEvent:je}),this._showCursor(),this._coreService.triggerDataEvent(Fe.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(je,!0)))},Ce.prototype._isThirdLevelShift=function(je,Fe){var Ge=je.isMac&&!this.options.macOptionIsMeta&&Fe.altKey&&!Fe.ctrlKey&&!Fe.metaKey||je.isWindows&&Fe.altKey&&Fe.ctrlKey&&!Fe.metaKey;return Fe.type==="keypress"?Ge:Ge&&(!Fe.keyCode||Fe.keyCode>47)},Ce.prototype._keyUp=function(je){this._customKeyEventHandler&&this._customKeyEventHandler(je)===!1||(function(Fe){return Fe.keyCode===16||Fe.keyCode===17||Fe.keyCode===18}(je)||this.focus(),this.updateCursorStyle(je))},Ce.prototype._keyPress=function(je){var Fe;if(this._keyDownHandled||this._customKeyEventHandler&&this._customKeyEventHandler(je)===!1)return!1;if(this.cancel(je),je.charCode)Fe=je.charCode;else if(je.which===null||je.which===void 0)Fe=je.keyCode;else{if(je.which===0||je.charCode===0)return!1;Fe=je.which}return!(!Fe||(je.altKey||je.ctrlKey||je.metaKey)&&!this._isThirdLevelShift(this.browser,je))&&(Fe=String.fromCharCode(Fe),this._onKey.fire({key:Fe,domEvent:je}),this._showCursor(),this._coreService.triggerDataEvent(Fe,!0),!0)},Ce.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},Ce.prototype.resize=function(je,Fe){je!==this.cols||Fe!==this.rows?Ae.prototype.resize.call(this,je,Fe):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},Ce.prototype._afterResize=function(je,Fe){var Ge,Be;(Ge=this._charSizeService)===null||Ge===void 0||Ge.measure(),(Be=this.viewport)===null||Be===void 0||Be.syncScrollArea(!0)},Ce.prototype.clear=function(){if(this.buffer.ybase!==0||this.buffer.y!==0){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var je=1;je<this.rows;je++)this.buffer.lines.push(this.buffer.getBlankLine(le.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},Ce.prototype.reset=function(){var je,Fe;this.options.rows=this.rows,this.options.cols=this.cols;var Ge=this._customKeyEventHandler;this._setup(),Ae.prototype.reset.call(this),(je=this._selectionService)===null||je===void 0||je.reset(),this._customKeyEventHandler=Ge,this.refresh(0,this.rows-1),(Fe=this.viewport)===null||Fe===void 0||Fe.syncScrollArea()},Ce.prototype._reportWindowsOptions=function(je){if(this._renderService)switch(je){case ie.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var Fe=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),Ge=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(ne.C0.ESC+"[4;"+Ge+";"+Fe+"t");break;case ie.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var Be=this._renderService.dimensions.scaledCellWidth.toFixed(0),tt=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(ne.C0.ESC+"[6;"+tt+";"+Be+"t")}},Ce.prototype.cancel=function(je,Fe){if(this.options.cancelEvents||Fe)return je.preventDefault(),je.stopPropagation(),!1},Ce.prototype._visualBell=function(){return!1},Ce.prototype._soundBell=function(){return this.options.bellStyle==="sound"},Ce}(we.CoreTerminal);ve.Terminal=xe},function(dt,ve,be){"use strict";var _e=this&&this.__decorate||function(ne,ie,ce,ue){var ae,oe=arguments.length,re=oe<3?ie:ue===null?ue=Object.getOwnPropertyDescriptor(ie,ce):ue;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")re=Reflect.decorate(ne,ie,ce,ue);else for(var z=ne.length-1;z>=0;z--)(ae=ne[z])&&(re=(oe<3?ae(re):oe>3?ae(ie,ce,re):ae(ie,ce))||re);return oe>3&&re&&Object.defineProperty(ie,ce,re),re},E=this&&this.__param||function(ne,ie){return function(ce,ue){ie(ce,ue,ne)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.CompositionHelper=void 0;var pe=be(5),de=be(1),se=function(){function ne(ie,ce,ue,ae,oe,re){this._textarea=ie,this._compositionView=ce,this._bufferService=ue,this._optionsService=ae,this._charSizeService=oe,this._coreService=re,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(ne.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),ne.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},ne.prototype.compositionupdate=function(ie){var ce=this;this._compositionView.textContent=ie.data,this.updateCompositionElements(),setTimeout(function(){ce._compositionPosition.end=ce._textarea.value.length},0)},ne.prototype.compositionend=function(){this._finalizeComposition(!0)},ne.prototype.keydown=function(ie){if(this._isComposing||this._isSendingComposition){if(ie.keyCode===229||ie.keyCode===16||ie.keyCode===17||ie.keyCode===18)return!1;this._finalizeComposition(!1)}return ie.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},ne.prototype._finalizeComposition=function(ie){var ce=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,ie){var ue={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(ce._isSendingComposition){ce._isSendingComposition=!1;var oe=void 0;oe=ce._isComposing?ce._textarea.value.substring(ue.start,ue.end):ce._textarea.value.substring(ue.start),ce._coreService.triggerDataEvent(oe,!0)}},0)}else{this._isSendingComposition=!1;var ae=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(ae,!0)}},ne.prototype._handleAnyTextareaChanges=function(){var ie=this,ce=this._textarea.value;setTimeout(function(){if(!ie._isComposing){var ue=ie._textarea.value.replace(ce,"");ue.length>0&&ie._coreService.triggerDataEvent(ue,!0)}},0)},ne.prototype.updateCompositionElements=function(ie){var ce=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var ue=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),ae=this._bufferService.buffer.y*ue,oe=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=oe+"px",this._compositionView.style.top=ae+"px",this._compositionView.style.height=ue+"px",this._compositionView.style.lineHeight=ue+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var re=this._compositionView.getBoundingClientRect();this._textarea.style.left=oe+"px",this._textarea.style.top=ae+"px",this._textarea.style.width=re.width+"px",this._textarea.style.height=re.height+"px",this._textarea.style.lineHeight=re.height+"px"}ie||setTimeout(function(){return ce.updateCompositionElements(!0)},0)}},ne=_e([E(2,de.IBufferService),E(3,de.IOptionsService),E(4,pe.ICharSizeService),E(5,de.ICoreService)],ne)}();ve.CompositionHelper=se},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ae,oe){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,z){re.__proto__=z}||function(re,z){for(var a in z)z.hasOwnProperty(a)&&(re[a]=z[a])})(ae,oe)},function(ae,oe){function re(){this.constructor=ae}_e(ae,oe),ae.prototype=oe===null?Object.create(oe):(re.prototype=oe.prototype,new re)}),pe=this&&this.__decorate||function(ae,oe,re,z){var a,y=arguments.length,x=y<3?oe:z===null?z=Object.getOwnPropertyDescriptor(oe,re):z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,re,z);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,re,x):a(oe,re))||x);return y>3&&x&&Object.defineProperty(oe,re,x),x},de=this&&this.__param||function(ae,oe){return function(re,z){oe(re,z,ae)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.Viewport=void 0;var se=be(2),ne=be(7),ie=be(5),ce=be(1),ue=function(ae){function oe(re,z,a,y,x,b,ee){var te=ae.call(this)||this;return te._scrollLines=re,te._viewportElement=z,te._scrollArea=a,te._bufferService=y,te._optionsService=x,te._charSizeService=b,te._renderService=ee,te.scrollBarWidth=0,te._currentRowHeight=0,te._lastRecordedBufferLength=0,te._lastRecordedViewportHeight=0,te._lastRecordedBufferHeight=0,te._lastTouchY=0,te._lastScrollTop=0,te._wheelPartialScroll=0,te._refreshAnimationFrame=null,te._ignoreNextScrollEvent=!1,te.scrollBarWidth=te._viewportElement.offsetWidth-te._scrollArea.offsetWidth||15,te.register(ne.addDisposableDomListener(te._viewportElement,"scroll",te._onScroll.bind(te))),setTimeout(function(){return te.syncScrollArea()},0),te}return E(oe,ae),oe.prototype.onThemeChange=function(re){this._viewportElement.style.backgroundColor=re.background.css},oe.prototype._refresh=function(re){var z=this;if(re)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return z._innerRefresh()}))},oe.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var re=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==re&&(this._lastRecordedBufferHeight=re,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var z=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==z&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=z),this._refreshAnimationFrame=null},oe.prototype.syncScrollArea=function(re){if(re===void 0&&(re=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(re);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var z=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===z&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(re)}else this._refresh(re)},oe.prototype._onScroll=function(re){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var z=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(z,!0)}},oe.prototype._bubbleScroll=function(re,z){var a=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(z<0&&this._viewportElement.scrollTop!==0||z>0&&a<this._lastRecordedBufferHeight)||(re.cancelable&&re.preventDefault(),!1)},oe.prototype.onWheel=function(re){var z=this._getPixelsScrolled(re);return z!==0&&(this._viewportElement.scrollTop+=z,this._bubbleScroll(re,z))},oe.prototype._getPixelsScrolled=function(re){if(re.deltaY===0)return 0;var z=this._applyScrollModifier(re.deltaY,re);return re.deltaMode===WheelEvent.DOM_DELTA_LINE?z*=this._currentRowHeight:re.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(z*=this._currentRowHeight*this._bufferService.rows),z},oe.prototype.getLinesScrolled=function(re){if(re.deltaY===0)return 0;var z=this._applyScrollModifier(re.deltaY,re);return re.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(z/=this._currentRowHeight+0,this._wheelPartialScroll+=z,z=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):re.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(z*=this._bufferService.rows),z},oe.prototype._applyScrollModifier=function(re,z){var a=this._optionsService.options.fastScrollModifier;return a==="alt"&&z.altKey||a==="ctrl"&&z.ctrlKey||a==="shift"&&z.shiftKey?re*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:re*this._optionsService.options.scrollSensitivity},oe.prototype.onTouchStart=function(re){this._lastTouchY=re.touches[0].pageY},oe.prototype.onTouchMove=function(re){var z=this._lastTouchY-re.touches[0].pageY;return this._lastTouchY=re.touches[0].pageY,z!==0&&(this._viewportElement.scrollTop+=z,this._bubbleScroll(re,z))},oe=pe([de(3,ce.IBufferService),de(4,ce.IOptionsService),de(5,ie.ICharSizeService),de(6,ie.IRenderService)],oe)}(se.Disposable);ve.Viewport=ue},function(dt,ve,be){"use strict";function _e(se){return se.replace(/\r?\n/g,"\r")}function E(se,ne){return ne?"\x1B[200~"+se+"\x1B[201~":se}function pe(se,ne,ie){se=E(se=_e(se),ie.decPrivateModes.bracketedPasteMode),ie.triggerDataEvent(se,!0),ne.value=""}function de(se,ne,ie){var ce=ie.getBoundingClientRect(),ue=se.clientX-ce.left-10,ae=se.clientY-ce.top-10;ne.style.width="20px",ne.style.height="20px",ne.style.left=ue+"px",ne.style.top=ae+"px",ne.style.zIndex="1000",ne.focus()}Object.defineProperty(ve,"__esModule",{value:!0}),ve.rightClickHandler=ve.moveTextAreaUnderMouseCursor=ve.paste=ve.handlePasteEvent=ve.copyHandler=ve.bracketTextForPaste=ve.prepareTextForTerminal=void 0,ve.prepareTextForTerminal=_e,ve.bracketTextForPaste=E,ve.copyHandler=function(se,ne){se.clipboardData&&se.clipboardData.setData("text/plain",ne.selectionText),se.preventDefault()},ve.handlePasteEvent=function(se,ne,ie){se.stopPropagation(),se.clipboardData&&pe(se.clipboardData.getData("text/plain"),ne,ie)},ve.paste=pe,ve.moveTextAreaUnderMouseCursor=de,ve.rightClickHandler=function(se,ne,ie,ce,ue){de(se,ne,ie),ue&&!ce.isClickInSelection(se)&&ce.selectWordAtCursor(se),ne.value=ce.selectionText,ne.select()}},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ae,oe){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,z){re.__proto__=z}||function(re,z){for(var a in z)z.hasOwnProperty(a)&&(re[a]=z[a])})(ae,oe)},function(ae,oe){function re(){this.constructor=ae}_e(ae,oe),ae.prototype=oe===null?Object.create(oe):(re.prototype=oe.prototype,new re)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.EscapeSequenceParser=ve.VT500_TRANSITION_TABLE=ve.TransitionTable=void 0;var pe=be(2),de=be(15),se=be(21),ne=be(22),ie=be(24),ce=function(){function ae(oe){this.table=new Uint8Array(oe)}return ae.prototype.setDefault=function(oe,re){de.fill(this.table,oe<<4|re)},ae.prototype.add=function(oe,re,z,a){this.table[re<<8|oe]=z<<4|a},ae.prototype.addMany=function(oe,re,z,a){for(var y=0;y<oe.length;y++)this.table[re<<8|oe[y]]=z<<4|a},ae}();ve.TransitionTable=ce,ve.VT500_TRANSITION_TABLE=function(){var ae=new ce(4095),oe=Array.apply(null,Array(256)).map(function(b,ee){return ee}),re=function(b,ee){return oe.slice(b,ee)},z=re(32,127),a=re(0,24);a.push(25),a.push.apply(a,re(28,32));var y,x=re(0,14);for(y in ae.setDefault(1,0),ae.addMany(z,0,2,0),x)ae.addMany([24,26,153,154],y,3,0),ae.addMany(re(128,144),y,3,0),ae.addMany(re(144,152),y,3,0),ae.add(156,y,0,0),ae.add(27,y,11,1),ae.add(157,y,4,8),ae.addMany([152,158,159],y,0,7),ae.add(155,y,11,3),ae.add(144,y,11,9);return ae.addMany(a,0,3,0),ae.addMany(a,1,3,1),ae.add(127,1,0,1),ae.addMany(a,8,0,8),ae.addMany(a,3,3,3),ae.add(127,3,0,3),ae.addMany(a,4,3,4),ae.add(127,4,0,4),ae.addMany(a,6,3,6),ae.addMany(a,5,3,5),ae.add(127,5,0,5),ae.addMany(a,2,3,2),ae.add(127,2,0,2),ae.add(93,1,4,8),ae.addMany(z,8,5,8),ae.add(127,8,5,8),ae.addMany([156,27,24,26,7],8,6,0),ae.addMany(re(28,32),8,0,8),ae.addMany([88,94,95],1,0,7),ae.addMany(z,7,0,7),ae.addMany(a,7,0,7),ae.add(156,7,0,0),ae.add(127,7,0,7),ae.add(91,1,11,3),ae.addMany(re(64,127),3,7,0),ae.addMany(re(48,60),3,8,4),ae.addMany([60,61,62,63],3,9,4),ae.addMany(re(48,60),4,8,4),ae.addMany(re(64,127),4,7,0),ae.addMany([60,61,62,63],4,0,6),ae.addMany(re(32,64),6,0,6),ae.add(127,6,0,6),ae.addMany(re(64,127),6,0,0),ae.addMany(re(32,48),3,9,5),ae.addMany(re(32,48),5,9,5),ae.addMany(re(48,64),5,0,6),ae.addMany(re(64,127),5,7,0),ae.addMany(re(32,48),4,9,5),ae.addMany(re(32,48),1,9,2),ae.addMany(re(32,48),2,9,2),ae.addMany(re(48,127),2,10,0),ae.addMany(re(48,80),1,10,0),ae.addMany(re(81,88),1,10,0),ae.addMany([89,90,92],1,10,0),ae.addMany(re(96,127),1,10,0),ae.add(80,1,11,9),ae.addMany(a,9,0,9),ae.add(127,9,0,9),ae.addMany(re(28,32),9,0,9),ae.addMany(re(32,48),9,9,12),ae.addMany(re(48,60),9,8,10),ae.addMany([60,61,62,63],9,9,10),ae.addMany(a,11,0,11),ae.addMany(re(32,128),11,0,11),ae.addMany(re(28,32),11,0,11),ae.addMany(a,10,0,10),ae.add(127,10,0,10),ae.addMany(re(28,32),10,0,10),ae.addMany(re(48,60),10,8,10),ae.addMany([60,61,62,63],10,0,11),ae.addMany(re(32,48),10,9,12),ae.addMany(a,12,0,12),ae.add(127,12,0,12),ae.addMany(re(28,32),12,0,12),ae.addMany(re(32,48),12,9,12),ae.addMany(re(48,64),12,0,11),ae.addMany(re(64,127),12,12,13),ae.addMany(re(64,127),10,12,13),ae.addMany(re(64,127),9,12,13),ae.addMany(a,13,13,13),ae.addMany(z,13,13,13),ae.add(127,13,0,13),ae.addMany([27,156,24,26],13,14,0),ae.add(160,0,2,0),ae.add(160,8,5,8),ae.add(160,6,0,6),ae.add(160,11,0,11),ae.add(160,13,13,13),ae}();var ue=function(ae){function oe(re){re===void 0&&(re=ve.VT500_TRANSITION_TABLE);var z=ae.call(this)||this;return z._transitions=re,z.initialState=0,z.currentState=z.initialState,z._params=new se.Params,z._params.addParam(0),z._collect=0,z.precedingCodepoint=0,z._printHandlerFb=function(a,y,x){},z._executeHandlerFb=function(a){},z._csiHandlerFb=function(a,y){},z._escHandlerFb=function(a){},z._errorHandlerFb=function(a){return a},z._printHandler=z._printHandlerFb,z._executeHandlers=Object.create(null),z._csiHandlers=Object.create(null),z._escHandlers=Object.create(null),z._oscParser=new ne.OscParser,z._dcsParser=new ie.DcsParser,z._errorHandler=z._errorHandlerFb,z.setEscHandler({final:"\\"},function(){}),z}return E(oe,ae),oe.prototype._identifier=function(re,z){z===void 0&&(z=[64,126]);var a=0;if(re.prefix){if(re.prefix.length>1)throw new Error("only one byte as prefix supported");if((a=re.prefix.charCodeAt(0))&&60>a||a>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(re.intermediates){if(re.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var y=0;y<re.intermediates.length;++y){var x=re.intermediates.charCodeAt(y);if(32>x||x>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");a<<=8,a|=x}}if(re.final.length!==1)throw new Error("final must be a single byte");var b=re.final.charCodeAt(0);if(z[0]>b||b>z[1])throw new Error("final must be in range "+z[0]+" .. "+z[1]);return a<<=8,a|=b},oe.prototype.identToString=function(re){for(var z=[];re;)z.push(String.fromCharCode(255&re)),re>>=8;return z.reverse().join("")},oe.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},oe.prototype.setPrintHandler=function(re){this._printHandler=re},oe.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},oe.prototype.addEscHandler=function(re,z){var a=this._identifier(re,[48,126]);this._escHandlers[a]===void 0&&(this._escHandlers[a]=[]);var y=this._escHandlers[a];return y.push(z),{dispose:function(){var x=y.indexOf(z);x!==-1&&y.splice(x,1)}}},oe.prototype.setEscHandler=function(re,z){this._escHandlers[this._identifier(re,[48,126])]=[z]},oe.prototype.clearEscHandler=function(re){this._escHandlers[this._identifier(re,[48,126])]&&delete this._escHandlers[this._identifier(re,[48,126])]},oe.prototype.setEscHandlerFallback=function(re){this._escHandlerFb=re},oe.prototype.setExecuteHandler=function(re,z){this._executeHandlers[re.charCodeAt(0)]=z},oe.prototype.clearExecuteHandler=function(re){this._executeHandlers[re.charCodeAt(0)]&&delete this._executeHandlers[re.charCodeAt(0)]},oe.prototype.setExecuteHandlerFallback=function(re){this._executeHandlerFb=re},oe.prototype.addCsiHandler=function(re,z){var a=this._identifier(re);this._csiHandlers[a]===void 0&&(this._csiHandlers[a]=[]);var y=this._csiHandlers[a];return y.push(z),{dispose:function(){var x=y.indexOf(z);x!==-1&&y.splice(x,1)}}},oe.prototype.setCsiHandler=function(re,z){this._csiHandlers[this._identifier(re)]=[z]},oe.prototype.clearCsiHandler=function(re){this._csiHandlers[this._identifier(re)]&&delete this._csiHandlers[this._identifier(re)]},oe.prototype.setCsiHandlerFallback=function(re){this._csiHandlerFb=re},oe.prototype.addDcsHandler=function(re,z){return this._dcsParser.addHandler(this._identifier(re),z)},oe.prototype.setDcsHandler=function(re,z){this._dcsParser.setHandler(this._identifier(re),z)},oe.prototype.clearDcsHandler=function(re){this._dcsParser.clearHandler(this._identifier(re))},oe.prototype.setDcsHandlerFallback=function(re){this._dcsParser.setHandlerFallback(re)},oe.prototype.addOscHandler=function(re,z){return this._oscParser.addHandler(re,z)},oe.prototype.setOscHandler=function(re,z){this._oscParser.setHandler(re,z)},oe.prototype.clearOscHandler=function(re){this._oscParser.clearHandler(re)},oe.prototype.setOscHandlerFallback=function(re){this._oscParser.setHandlerFallback(re)},oe.prototype.setErrorHandler=function(re){this._errorHandler=re},oe.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},oe.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},oe.prototype.parse=function(re,z){for(var a=0,y=0,x=this.currentState,b=this._oscParser,ee=this._dcsParser,te=this._collect,le=this._params,fe=this._transitions.table,ge=0;ge<z;++ge){switch((y=fe[x<<8|((a=re[ge])<160?a:160)])>>4){case 2:for(var me=ge+1;;++me){if(me>=z||(a=re[me])<32||a>126&&a<160){this._printHandler(re,ge,me),ge=me-1;break}if(++me>=z||(a=re[me])<32||a>126&&a<160){this._printHandler(re,ge,me),ge=me-1;break}if(++me>=z||(a=re[me])<32||a>126&&a<160){this._printHandler(re,ge,me),ge=me-1;break}if(++me>=z||(a=re[me])<32||a>126&&a<160){this._printHandler(re,ge,me),ge=me-1;break}}break;case 3:this._executeHandlers[a]?this._executeHandlers[a]():this._executeHandlerFb(a),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:ge,code:a,currentState:x,collect:te,params:le,abort:!1}).abort)return;break;case 7:for(var he=this._csiHandlers[te<<8|a],Se=he?he.length-1:-1;Se>=0&&he[Se](le)===!1;Se--);Se<0&&this._csiHandlerFb(te<<8|a,le),this.precedingCodepoint=0;break;case 8:do switch(a){case 59:le.addParam(0);break;case 58:le.addSubParam(-1);break;default:le.addDigit(a-48)}while(++ge<z&&(a=re[ge])>47&&a<60);ge--;break;case 9:te<<=8,te|=a;break;case 10:for(var ye=this._escHandlers[te<<8|a],Pe=ye?ye.length-1:-1;Pe>=0&&ye[Pe]()===!1;Pe--);Pe<0&&this._escHandlerFb(te<<8|a),this.precedingCodepoint=0;break;case 11:le.reset(),le.addParam(0),te=0;break;case 12:ee.hook(te<<8|a,le);break;case 13:for(var we=ge+1;;++we)if(we>=z||(a=re[we])===24||a===26||a===27||a>127&&a<160){ee.put(re,ge,we),ge=we-1;break}break;case 14:ee.unhook(a!==24&&a!==26),a===27&&(y|=1),le.reset(),le.addParam(0),te=0,this.precedingCodepoint=0;break;case 4:b.start();break;case 5:for(var De=ge+1;;De++)if(De>=z||(a=re[De])<32||a>127&&a<=159){b.put(re,ge,De),ge=De-1;break}break;case 6:b.end(a!==24&&a!==26),a===27&&(y|=1),le.reset(),le.addParam(0),te=0,this.precedingCodepoint=0}x=15&y}this._collect=te,this.currentState=x},oe}(pe.Disposable);ve.EscapeSequenceParser=ue},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(b,ee){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,le){te.__proto__=le}||function(te,le){for(var fe in le)le.hasOwnProperty(fe)&&(te[fe]=le[fe])})(b,ee)},function(b,ee){function te(){this.constructor=b}_e(b,ee),b.prototype=ee===null?Object.create(ee):(te.prototype=ee.prototype,new te)}),pe=this&&this.__decorate||function(b,ee,te,le){var fe,ge=arguments.length,me=ge<3?ee:le===null?le=Object.getOwnPropertyDescriptor(ee,te):le;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")me=Reflect.decorate(b,ee,te,le);else for(var he=b.length-1;he>=0;he--)(fe=b[he])&&(me=(ge<3?fe(me):ge>3?fe(ee,te,me):fe(ee,te))||me);return ge>3&&me&&Object.defineProperty(ee,te,me),me},de=this&&this.__param||function(b,ee){return function(te,le){ee(te,le,b)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.Renderer=void 0;var se=be(41),ne=be(47),ie=be(48),ce=be(49),ue=be(29),ae=be(2),oe=be(5),re=be(1),z=be(25),a=be(0),y=1,x=function(b){function ee(te,le,fe,ge,me,he,Se,ye,Pe){var we=b.call(this)||this;we._colors=te,we._screenElement=le,we._bufferService=me,we._charSizeService=he,we._optionsService=Se,we._id=y++,we._onRequestRedraw=new a.EventEmitter;var De=we._optionsService.options.allowTransparency;return we._characterJoinerRegistry=new ue.CharacterJoinerRegistry(we._bufferService),we._renderLayers=[new se.TextRenderLayer(we._screenElement,0,we._colors,we._characterJoinerRegistry,De,we._id,we._bufferService,Se),new ne.SelectionRenderLayer(we._screenElement,1,we._colors,we._id,we._bufferService,Se),new ce.LinkRenderLayer(we._screenElement,2,we._colors,we._id,fe,ge,we._bufferService,Se),new ie.CursorRenderLayer(we._screenElement,3,we._colors,we._id,we._onRequestRedraw,we._bufferService,Se,ye,Pe)],we.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},we._devicePixelRatio=window.devicePixelRatio,we._updateDimensions(),we.onOptionsChanged(),we}return E(ee,b),Object.defineProperty(ee.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),ee.prototype.dispose=function(){for(var te=0,le=this._renderLayers;te<le.length;te++)le[te].dispose();b.prototype.dispose.call(this),z.removeTerminalFromCache(this._id)},ee.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},ee.prototype.setColors=function(te){this._colors=te;for(var le=0,fe=this._renderLayers;le<fe.length;le++){var ge=fe[le];ge.setColors(this._colors),ge.reset()}},ee.prototype.onResize=function(te,le){this._updateDimensions();for(var fe=0,ge=this._renderLayers;fe<ge.length;fe++)ge[fe].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},ee.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},ee.prototype.onBlur=function(){this._runOperation(function(te){return te.onBlur()})},ee.prototype.onFocus=function(){this._runOperation(function(te){return te.onFocus()})},ee.prototype.onSelectionChanged=function(te,le,fe){fe===void 0&&(fe=!1),this._runOperation(function(ge){return ge.onSelectionChanged(te,le,fe)})},ee.prototype.onCursorMove=function(){this._runOperation(function(te){return te.onCursorMove()})},ee.prototype.onOptionsChanged=function(){this._runOperation(function(te){return te.onOptionsChanged()})},ee.prototype.clear=function(){this._runOperation(function(te){return te.reset()})},ee.prototype._runOperation=function(te){for(var le=0,fe=this._renderLayers;le<fe.length;le++)te(fe[le])},ee.prototype.renderRows=function(te,le){for(var fe=0,ge=this._renderLayers;fe<ge.length;fe++)ge[fe].onGridChanged(te,le)},ee.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharTop=this._optionsService.options.lineHeight===1?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.options.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},ee.prototype.registerCharacterJoiner=function(te){return this._characterJoinerRegistry.registerCharacterJoiner(te)},ee.prototype.deregisterCharacterJoiner=function(te){return this._characterJoinerRegistry.deregisterCharacterJoiner(te)},ee=pe([de(4,re.IBufferService),de(5,oe.ICharSizeService),de(6,re.IOptionsService),de(7,re.ICoreService),de(8,oe.ICoreBrowserService)],ee)}(ae.Disposable);ve.Renderer=x},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ae,oe){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,z){re.__proto__=z}||function(re,z){for(var a in z)z.hasOwnProperty(a)&&(re[a]=z[a])})(ae,oe)},function(ae,oe){function re(){this.constructor=ae}_e(ae,oe),ae.prototype=oe===null?Object.create(oe):(re.prototype=oe.prototype,new re)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.TextRenderLayer=void 0;var pe=be(42),de=be(13),se=be(6),ne=be(3),ie=be(29),ce=be(4),ue=function(ae){function oe(re,z,a,y,x,b,ee,te){var le=ae.call(this,re,"text",z,x,a,b,ee,te)||this;return le._characterWidth=0,le._characterFont="",le._characterOverlapCache={},le._workCell=new ce.CellData,le._state=new pe.GridCache,le._characterJoinerRegistry=y,le}return E(oe,ae),oe.prototype.resize=function(re){ae.prototype.resize.call(this,re);var z=this._getFont(!1,!1);this._characterWidth===re.scaledCharWidth&&this._characterFont===z||(this._characterWidth=re.scaledCharWidth,this._characterFont=z,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},oe.prototype.reset=function(){this._state.clear(),this._clearAll()},oe.prototype._forEachCell=function(re,z,a,y){for(var x=re;x<=z;x++)for(var b=x+this._bufferService.buffer.ydisp,ee=this._bufferService.buffer.lines.get(b),te=a?a.getJoinedCharacters(b):[],le=0;le<this._bufferService.cols;le++){ee.loadCell(le,this._workCell);var fe=this._workCell,ge=!1,me=le;if(fe.getWidth()!==0){if(te.length>0&&le===te[0][0]){ge=!0;var he=te.shift();fe=new ie.JoinedCellData(this._workCell,ee.translateToString(!0,he[0],he[1]),he[1]-he[0]),me=he[1]-1}!ge&&this._isOverlapping(fe)&&me<ee.length-1&&ee.getCodePoint(me+1)===ne.NULL_CELL_CODE&&(fe.content&=-12582913,fe.content|=2<<22),y(fe,le,x),le=me}}},oe.prototype._drawBackground=function(re,z){var a=this,y=this._ctx,x=this._bufferService.cols,b=0,ee=0,te=null;y.save(),this._forEachCell(re,z,null,function(le,fe,ge){var me=null;le.isInverse()?me=le.isFgDefault()?a._colors.foreground.css:le.isFgRGB()?"rgb("+se.AttributeData.toColorRGB(le.getFgColor()).join(",")+")":a._colors.ansi[le.getFgColor()].css:le.isBgRGB()?me="rgb("+se.AttributeData.toColorRGB(le.getBgColor()).join(",")+")":le.isBgPalette()&&(me=a._colors.ansi[le.getBgColor()].css),te===null&&(b=fe,ee=ge),ge!==ee?(y.fillStyle=te||"",a._fillCells(b,ee,x-b,1),b=fe,ee=ge):te!==me&&(y.fillStyle=te||"",a._fillCells(b,ee,fe-b,1),b=fe,ee=ge),te=me}),te!==null&&(y.fillStyle=te,this._fillCells(b,ee,x-b,1)),y.restore()},oe.prototype._drawForeground=function(re,z){var a=this;this._forEachCell(re,z,this._characterJoinerRegistry,function(y,x,b){if(!y.isInvisible()&&(a._drawChars(y,x,b),y.isUnderline())){if(a._ctx.save(),y.isInverse())if(y.isBgDefault())a._ctx.fillStyle=a._colors.background.css;else if(y.isBgRGB())a._ctx.fillStyle="rgb("+se.AttributeData.toColorRGB(y.getBgColor()).join(",")+")";else{var ee=y.getBgColor();a._optionsService.options.drawBoldTextInBrightColors&&y.isBold()&&ee<8&&(ee+=8),a._ctx.fillStyle=a._colors.ansi[ee].css}else if(y.isFgDefault())a._ctx.fillStyle=a._colors.foreground.css;else if(y.isFgRGB())a._ctx.fillStyle="rgb("+se.AttributeData.toColorRGB(y.getFgColor()).join(",")+")";else{var te=y.getFgColor();a._optionsService.options.drawBoldTextInBrightColors&&y.isBold()&&te<8&&(te+=8),a._ctx.fillStyle=a._colors.ansi[te].css}a._fillBottomLineAtCells(x,b,y.getWidth()),a._ctx.restore()}})},oe.prototype.onGridChanged=function(re,z){this._state.cache.length!==0&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,re,this._bufferService.cols,z-re+1),this._drawBackground(re,z),this._drawForeground(re,z))},oe.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},oe.prototype._isOverlapping=function(re){if(re.getWidth()!==1||re.getCode()<256)return!1;var z=re.getChars();if(this._characterOverlapCache.hasOwnProperty(z))return this._characterOverlapCache[z];this._ctx.save(),this._ctx.font=this._characterFont;var a=Math.floor(this._ctx.measureText(z).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[z]=a,a},oe}(de.BaseRenderLayer);ve.TextRenderLayer=ue},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.GridCache=void 0;var _e=function(){function E(){this.cache=[]}return E.prototype.resize=function(pe,de){for(var se=0;se<pe;se++){this.cache.length<=se&&this.cache.push([]);for(var ne=this.cache[se].length;ne<de;ne++)this.cache[se].push(void 0);this.cache[se].length=de}this.cache.length=pe},E.prototype.clear=function(){for(var pe=0;pe<this.cache.length;pe++)for(var de=0;de<this.cache[pe].length;de++)this.cache[pe][de]=void 0},E}();ve.GridCache=_e},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(a,y){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,b){x.__proto__=b}||function(x,b){for(var ee in b)b.hasOwnProperty(ee)&&(x[ee]=b[ee])})(a,y)},function(a,y){function x(){this.constructor=a}_e(a,y),a.prototype=y===null?Object.create(y):(x.prototype=y.prototype,new x)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.NoneCharAtlas=ve.DynamicCharAtlas=ve.getGlyphCacheKey=void 0;var pe=be(9),de=be(44),se=be(27),ne=be(46),ie=be(11),ce=be(28),ue=be(10),ae={css:"rgba(0, 0, 0, 0)",rgba:0};function oe(a){return a.code<<21|a.bg<<12|a.fg<<3|(a.bold?0:4)+(a.dim?0:2)+(a.italic?0:1)}ve.getGlyphCacheKey=oe;var re=function(a){function y(x,b){var ee=a.call(this)||this;ee._config=b,ee._drawToCacheCount=0,ee._glyphsWaitingOnBitmap=[],ee._bitmapCommitTimeout=null,ee._bitmap=null,ee._cacheCanvas=x.createElement("canvas"),ee._cacheCanvas.width=1024,ee._cacheCanvas.height=1024,ee._cacheCtx=ce.throwIfFalsy(ee._cacheCanvas.getContext("2d",{alpha:!0}));var te=x.createElement("canvas");te.width=ee._config.scaledCharWidth,te.height=ee._config.scaledCharHeight,ee._tmpCtx=ce.throwIfFalsy(te.getContext("2d",{alpha:ee._config.allowTransparency})),ee._width=Math.floor(1024/ee._config.scaledCharWidth),ee._height=Math.floor(1024/ee._config.scaledCharHeight);var le=ee._width*ee._height;return ee._cacheMap=new ne.LRUMap(le),ee._cacheMap.prealloc(le),ee}return E(y,a),y.prototype.dispose=function(){this._bitmapCommitTimeout!==null&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},y.prototype.beginFrame=function(){this._drawToCacheCount=0},y.prototype.draw=function(x,b,ee,te){if(b.code===32)return!0;if(!this._canCache(b))return!1;var le=oe(b),fe=this._cacheMap.get(le);if(fe!=null)return this._drawFromCache(x,fe,ee,te),!0;if(this._drawToCacheCount<100){var ge=void 0;ge=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var me=this._drawToCache(b,ge);return this._cacheMap.set(le,me),this._drawFromCache(x,me,ee,te),!0}return!1},y.prototype._canCache=function(x){return x.code<256},y.prototype._toCoordinateX=function(x){return x%this._width*this._config.scaledCharWidth},y.prototype._toCoordinateY=function(x){return Math.floor(x/this._width)*this._config.scaledCharHeight},y.prototype._drawFromCache=function(x,b,ee,te){if(!b.isEmpty){var le=this._toCoordinateX(b.index),fe=this._toCoordinateY(b.index);x.drawImage(b.inBitmap?this._bitmap:this._cacheCanvas,le,fe,this._config.scaledCharWidth,this._config.scaledCharHeight,ee,te,this._config.scaledCharWidth,this._config.scaledCharHeight)}},y.prototype._getColorFromAnsiIndex=function(x){return x<this._config.colors.ansi.length?this._config.colors.ansi[x]:se.DEFAULT_ANSI_COLORS[x]},y.prototype._getBackgroundColor=function(x){return this._config.allowTransparency?ae:x.bg===pe.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:x.bg<256?this._getColorFromAnsiIndex(x.bg):this._config.colors.background},y.prototype._getForegroundColor=function(x){return x.fg===pe.INVERTED_DEFAULT_COLOR?ue.color.opaque(this._config.colors.background):x.fg<256?this._getColorFromAnsiIndex(x.fg):this._config.colors.foreground},y.prototype._drawToCache=function(x,b){this._drawToCacheCount++,this._tmpCtx.save();var ee=this._getBackgroundColor(x);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=ee.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var te=x.bold?this._config.fontWeightBold:this._config.fontWeight,le=x.italic?"italic":"";this._tmpCtx.font=le+" "+te+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(x).css,x.dim&&(this._tmpCtx.globalAlpha=pe.DIM_OPACITY),this._tmpCtx.fillText(x.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var fe=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),ge=!1;this._config.allowTransparency||(ge=function(ye,Pe){for(var we=!0,De=Pe.rgba>>>24,xe=Pe.rgba>>>16&255,Ae=Pe.rgba>>>8&255,Ce=0;Ce<ye.data.length;Ce+=4)ye.data[Ce]===De&&ye.data[Ce+1]===xe&&ye.data[Ce+2]===Ae?ye.data[Ce+3]=0:we=!1;return we}(fe,ee));var me=this._toCoordinateX(b),he=this._toCoordinateY(b);this._cacheCtx.putImageData(fe,me,he);var Se={index:b,isEmpty:ge,inBitmap:!1};return this._addGlyphToBitmap(Se),Se},y.prototype._addGlyphToBitmap=function(x){var b=this;!("createImageBitmap"in window)||ie.isFirefox||ie.isSafari||(this._glyphsWaitingOnBitmap.push(x),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return b._generateBitmap()},100)))},y.prototype._generateBitmap=function(){var x=this,b=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(ee){x._bitmap=ee;for(var te=0;te<b.length;te++)b[te].inBitmap=!0}),this._bitmapCommitTimeout=null},y}(de.BaseCharAtlas);ve.DynamicCharAtlas=re;var z=function(a){function y(x,b){return a.call(this)||this}return E(y,a),y.prototype.draw=function(x,b,ee,te){return!1},y}(de.BaseCharAtlas);ve.NoneCharAtlas=z},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.BaseCharAtlas=void 0;var _e=function(){function E(){this._didWarmUp=!1}return E.prototype.dispose=function(){},E.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},E.prototype._doWarmUp=function(){},E.prototype.beginFrame=function(){},E}();ve.BaseCharAtlas=_e},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.ColorContrastCache=void 0;var _e=function(){function E(){this._color={},this._rgba={}}return E.prototype.clear=function(){this._color={},this._rgba={}},E.prototype.setCss=function(pe,de,se){this._rgba[pe]||(this._rgba[pe]={}),this._rgba[pe][de]=se},E.prototype.getCss=function(pe,de){return this._rgba[pe]?this._rgba[pe][de]:void 0},E.prototype.setColor=function(pe,de,se){this._color[pe]||(this._color[pe]={}),this._color[pe][de]=se},E.prototype.getColor=function(pe,de){return this._color[pe]?this._color[pe][de]:void 0},E}();ve.ColorContrastCache=_e},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.LRUMap=void 0;var _e=function(){function E(pe){this.capacity=pe,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return E.prototype._unlinkNode=function(pe){var de=pe.prev,se=pe.next;pe===this._head&&(this._head=se),pe===this._tail&&(this._tail=de),de!==null&&(de.next=se),se!==null&&(se.prev=de)},E.prototype._appendNode=function(pe){var de=this._tail;de!==null&&(de.next=pe),pe.prev=de,pe.next=null,this._tail=pe,this._head===null&&(this._head=pe)},E.prototype.prealloc=function(pe){for(var de=this._nodePool,se=0;se<pe;se++)de.push({prev:null,next:null,key:null,value:null})},E.prototype.get=function(pe){var de=this._map[pe];return de!==void 0?(this._unlinkNode(de),this._appendNode(de),de.value):null},E.prototype.peekValue=function(pe){var de=this._map[pe];return de!==void 0?de.value:null},E.prototype.peek=function(){var pe=this._head;return pe===null?null:pe.value},E.prototype.set=function(pe,de){var se=this._map[pe];if(se!==void 0)se=this._map[pe],this._unlinkNode(se),se.value=de;else if(this.size>=this.capacity)se=this._head,this._unlinkNode(se),delete this._map[se.key],se.key=pe,se.value=de,this._map[pe]=se;else{var ne=this._nodePool;ne.length>0?((se=ne.pop()).key=pe,se.value=de):se={prev:null,next:null,key:pe,value:de},this._map[pe]=se,this.size++}this._appendNode(se)},E}();ve.LRUMap=_e},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(de,se){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,ie){ne.__proto__=ie}||function(ne,ie){for(var ce in ie)ie.hasOwnProperty(ce)&&(ne[ce]=ie[ce])})(de,se)},function(de,se){function ne(){this.constructor=de}_e(de,se),de.prototype=se===null?Object.create(se):(ne.prototype=se.prototype,new ne)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.SelectionRenderLayer=void 0;var pe=function(de){function se(ne,ie,ce,ue,ae,oe){var re=de.call(this,ne,"selection",ie,!0,ce,ue,ae,oe)||this;return re._clearState(),re}return E(se,de),se.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},se.prototype.resize=function(ne){de.prototype.resize.call(this,ne),this._clearState()},se.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},se.prototype.onSelectionChanged=function(ne,ie,ce){if(this._didStateChange(ne,ie,ce,this._bufferService.buffer.ydisp))if(this._clearAll(),ne&&ie){var ue=ne[1]-this._bufferService.buffer.ydisp,ae=ie[1]-this._bufferService.buffer.ydisp,oe=Math.max(ue,0),re=Math.min(ae,this._bufferService.rows-1);if(!(oe>=this._bufferService.rows||re<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,ce){var z=ne[0],a=ie[0]-z,y=re-oe+1;this._fillCells(z,oe,a,y)}else{z=ue===oe?ne[0]:0;var x=oe===re?ie[0]:this._bufferService.cols;this._fillCells(z,oe,x-z,1);var b=Math.max(re-oe-1,0);if(this._fillCells(0,oe+1,this._bufferService.cols,b),oe!==re){var ee=ae===re?ie[0]:this._bufferService.cols;this._fillCells(0,re,ee,1)}}this._state.start=[ne[0],ne[1]],this._state.end=[ie[0],ie[1]],this._state.columnSelectMode=ce,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},se.prototype._didStateChange=function(ne,ie,ce,ue){return!this._areCoordinatesEqual(ne,this._state.start)||!this._areCoordinatesEqual(ie,this._state.end)||ce!==this._state.columnSelectMode||ue!==this._state.ydisp},se.prototype._areCoordinatesEqual=function(ne,ie){return!(!ne||!ie)&&ne[0]===ie[0]&&ne[1]===ie[1]},se}(be(13).BaseRenderLayer);ve.SelectionRenderLayer=pe},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ie,ce){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,ae){ue.__proto__=ae}||function(ue,ae){for(var oe in ae)ae.hasOwnProperty(oe)&&(ue[oe]=ae[oe])})(ie,ce)},function(ie,ce){function ue(){this.constructor=ie}_e(ie,ce),ie.prototype=ce===null?Object.create(ce):(ue.prototype=ce.prototype,new ue)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.CursorRenderLayer=void 0;var pe=be(13),de=be(4),se=function(ie){function ce(ue,ae,oe,re,z,a,y,x,b){var ee=ie.call(this,ue,"cursor",ae,!0,oe,re,a,y)||this;return ee._onRequestRedraw=z,ee._coreService=x,ee._coreBrowserService=b,ee._cell=new de.CellData,ee._state={x:0,y:0,isFocused:!1,style:"",width:0},ee._cursorRenderers={bar:ee._renderBarCursor.bind(ee),block:ee._renderBlockCursor.bind(ee),underline:ee._renderUnderlineCursor.bind(ee)},ee}return E(ce,ie),ce.prototype.resize=function(ue){ie.prototype.resize.call(this,ue),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},ce.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},ce.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},ce.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},ce.prototype.onOptionsChanged=function(){var ue,ae=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new ne(this._coreBrowserService.isFocused,function(){ae._render(!0)})):((ue=this._cursorBlinkStateManager)===null||ue===void 0||ue.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},ce.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},ce.prototype.onGridChanged=function(ue,ae){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},ce.prototype._render=function(ue){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var ae=this._bufferService.buffer.ybase+this._bufferService.buffer.y,oe=ae-this._bufferService.buffer.ydisp;if(oe<0||oe>=this._bufferService.rows)this._clearCursor();else{var re=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(ae).loadCell(re,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var z=this._optionsService.options.cursorStyle;return z&&z!=="block"?this._cursorRenderers[z](re,oe,this._cell):this._renderBlurCursor(re,oe,this._cell),this._ctx.restore(),this._state.x=re,this._state.y=oe,this._state.isFocused=!1,this._state.style=z,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===re&&this._state.y===oe&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](re,oe,this._cell),this._ctx.restore(),this._state.x=re,this._state.y=oe,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},ce.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},ce.prototype._renderBarCursor=function(ue,ae,oe){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(ue,ae,this._optionsService.options.cursorWidth),this._ctx.restore()},ce.prototype._renderBlockCursor=function(ue,ae,oe){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(ue,ae,oe.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(oe,ue,ae),this._ctx.restore()},ce.prototype._renderUnderlineCursor=function(ue,ae,oe){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(ue,ae),this._ctx.restore()},ce.prototype._renderBlurCursor=function(ue,ae,oe){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(ue,ae,oe.getWidth(),1),this._ctx.restore()},ce}(pe.BaseRenderLayer);ve.CursorRenderLayer=se;var ne=function(){function ie(ce,ue){this._renderCallback=ue,this.isCursorVisible=!0,ce&&this._restartInterval()}return Object.defineProperty(ie.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),ie.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},ie.prototype.restartBlinkAnimation=function(){var ce=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){ce._renderCallback(),ce._animationFrame=void 0})))},ie.prototype._restartInterval=function(ce){var ue=this;ce===void 0&&(ce=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(ue._animationTimeRestarted){var ae=600-(Date.now()-ue._animationTimeRestarted);if(ue._animationTimeRestarted=void 0,ae>0)return void ue._restartInterval(ae)}ue.isCursorVisible=!1,ue._animationFrame=window.requestAnimationFrame(function(){ue._renderCallback(),ue._animationFrame=void 0}),ue._blinkInterval=window.setInterval(function(){if(ue._animationTimeRestarted){var oe=600-(Date.now()-ue._animationTimeRestarted);return ue._animationTimeRestarted=void 0,void ue._restartInterval(oe)}ue.isCursorVisible=!ue.isCursorVisible,ue._animationFrame=window.requestAnimationFrame(function(){ue._renderCallback(),ue._animationFrame=void 0})},600)},ce)},ie.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},ie.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},ie}()},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ie,ce){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ue,ae){ue.__proto__=ae}||function(ue,ae){for(var oe in ae)ae.hasOwnProperty(oe)&&(ue[oe]=ae[oe])})(ie,ce)},function(ie,ce){function ue(){this.constructor=ie}_e(ie,ce),ie.prototype=ce===null?Object.create(ce):(ue.prototype=ce.prototype,new ue)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.LinkRenderLayer=void 0;var pe=be(13),de=be(9),se=be(26),ne=function(ie){function ce(ue,ae,oe,re,z,a,y,x){var b=ie.call(this,ue,"link",ae,!0,oe,re,y,x)||this;return z.onShowLinkUnderline(function(ee){return b._onShowLinkUnderline(ee)}),z.onHideLinkUnderline(function(ee){return b._onHideLinkUnderline(ee)}),a.onShowLinkUnderline(function(ee){return b._onShowLinkUnderline(ee)}),a.onHideLinkUnderline(function(ee){return b._onHideLinkUnderline(ee)}),b}return E(ce,ie),ce.prototype.resize=function(ue){ie.prototype.resize.call(this,ue),this._state=void 0},ce.prototype.reset=function(){this._clearCurrentLink()},ce.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var ue=this._state.y2-this._state.y1-1;ue>0&&this._clearCells(0,this._state.y1+1,this._state.cols,ue),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},ce.prototype._onShowLinkUnderline=function(ue){if(ue.fg===de.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:ue.fg&&se.is256Color(ue.fg)?this._ctx.fillStyle=this._colors.ansi[ue.fg].css:this._ctx.fillStyle=this._colors.foreground.css,ue.y1===ue.y2)this._fillBottomLineAtCells(ue.x1,ue.y1,ue.x2-ue.x1);else{this._fillBottomLineAtCells(ue.x1,ue.y1,ue.cols-ue.x1);for(var ae=ue.y1+1;ae<ue.y2;ae++)this._fillBottomLineAtCells(0,ae,ue.cols);this._fillBottomLineAtCells(0,ue.y2,ue.x2)}this._state=ue},ce.prototype._onHideLinkUnderline=function(ue){this._clearCurrentLink()},ce}(pe.BaseRenderLayer);ve.LinkRenderLayer=ne},function(dt,ve,be){"use strict";var _e=this&&this.__decorate||function(ie,ce,ue,ae){var oe,re=arguments.length,z=re<3?ce:ae===null?ae=Object.getOwnPropertyDescriptor(ce,ue):ae;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")z=Reflect.decorate(ie,ce,ue,ae);else for(var a=ie.length-1;a>=0;a--)(oe=ie[a])&&(z=(re<3?oe(z):re>3?oe(ce,ue,z):oe(ce,ue))||z);return re>3&&z&&Object.defineProperty(ce,ue,z),z},E=this&&this.__param||function(ie,ce){return function(ue,ae){ce(ue,ae,ie)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.MouseZone=ve.Linkifier=void 0;var pe=be(0),de=be(1),se=function(){function ie(ce,ue,ae){this._bufferService=ce,this._logService=ue,this._unicodeService=ae,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new pe.EventEmitter,this._onHideLinkUnderline=new pe.EventEmitter,this._onLinkTooltip=new pe.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(ie.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),ie.prototype.attachToDom=function(ce,ue){this._element=ce,this._mouseZoneManager=ue},ie.prototype.linkifyRows=function(ce,ue){var ae=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=ce,this._rowsToLinkify.end=ue):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,ce),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,ue)),this._mouseZoneManager.clearAll(ce,ue),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return ae._linkifyRows()},ie._timeBeforeLatency))},ie.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var ce=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var ue=ce.ydisp+this._rowsToLinkify.start;if(!(ue>=ce.lines.length)){for(var ae=ce.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,oe=Math.ceil(2e3/this._bufferService.cols),re=this._bufferService.buffer.iterator(!1,ue,ae,oe,oe);re.hasNext();)for(var z=re.next(),a=0;a<this._linkMatchers.length;a++)this._doLinkifyRow(z.range.first,z.content,this._linkMatchers[a]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},ie.prototype.registerLinkMatcher=function(ce,ue,ae){if(ae===void 0&&(ae={}),!ue)throw new Error("handler must be defined");var oe={id:this._nextLinkMatcherId++,regex:ce,handler:ue,matchIndex:ae.matchIndex,validationCallback:ae.validationCallback,hoverTooltipCallback:ae.tooltipCallback,hoverLeaveCallback:ae.leaveCallback,willLinkActivate:ae.willLinkActivate,priority:ae.priority||0};return this._addLinkMatcherToList(oe),oe.id},ie.prototype._addLinkMatcherToList=function(ce){if(this._linkMatchers.length!==0){for(var ue=this._linkMatchers.length-1;ue>=0;ue--)if(ce.priority<=this._linkMatchers[ue].priority)return void this._linkMatchers.splice(ue+1,0,ce);this._linkMatchers.splice(0,0,ce)}else this._linkMatchers.push(ce)},ie.prototype.deregisterLinkMatcher=function(ce){for(var ue=0;ue<this._linkMatchers.length;ue++)if(this._linkMatchers[ue].id===ce)return this._linkMatchers.splice(ue,1),!0;return!1},ie.prototype._doLinkifyRow=function(ce,ue,ae){for(var oe,re=this,z=new RegExp(ae.regex.source,(ae.regex.flags||"")+"g"),a=-1,y=function(){var b=oe[typeof ae.matchIndex!="number"?0:ae.matchIndex];if(!b)return x._logService.debug("match found without corresponding matchIndex",oe,ae),"break";if(a=ue.indexOf(b,a+1),z.lastIndex=a+b.length,a<0)return"break";var ee=x._bufferService.buffer.stringIndexToBufferIndex(ce,a);if(ee[0]<0)return"break";var te=x._bufferService.buffer.lines.get(ee[0]);if(!te)return"break";var le=te.getFg(ee[1]),fe=le?le>>9&511:void 0;ae.validationCallback?ae.validationCallback(b,function(ge){re._rowsTimeoutId||ge&&re._addLink(ee[1],ee[0]-re._bufferService.buffer.ydisp,b,ae,fe)}):x._addLink(ee[1],ee[0]-x._bufferService.buffer.ydisp,b,ae,fe)},x=this;(oe=z.exec(ue))!==null&&y()!=="break";);},ie.prototype._addLink=function(ce,ue,ae,oe,re){var z=this;if(this._mouseZoneManager&&this._element){var a=this._unicodeService.getStringCellWidth(ae),y=ce%this._bufferService.cols,x=ue+Math.floor(ce/this._bufferService.cols),b=(y+a)%this._bufferService.cols,ee=x+Math.floor((y+a)/this._bufferService.cols);b===0&&(b=this._bufferService.cols,ee--),this._mouseZoneManager.add(new ne(y+1,x+1,b+1,ee+1,function(te){if(oe.handler)return oe.handler(te,ae);var le=window.open();le?(le.opener=null,le.location.href=ae):console.warn("Opening link blocked as opener could not be cleared")},function(){z._onShowLinkUnderline.fire(z._createLinkHoverEvent(y,x,b,ee,re)),z._element.classList.add("xterm-cursor-pointer")},function(te){z._onLinkTooltip.fire(z._createLinkHoverEvent(y,x,b,ee,re)),oe.hoverTooltipCallback&&oe.hoverTooltipCallback(te,ae,{start:{x:y,y:x},end:{x:b,y:ee}})},function(){z._onHideLinkUnderline.fire(z._createLinkHoverEvent(y,x,b,ee,re)),z._element.classList.remove("xterm-cursor-pointer"),oe.hoverLeaveCallback&&oe.hoverLeaveCallback()},function(te){return!oe.willLinkActivate||oe.willLinkActivate(te,ae)}))}},ie.prototype._createLinkHoverEvent=function(ce,ue,ae,oe,re){return{x1:ce,y1:ue,x2:ae,y2:oe,cols:this._bufferService.cols,fg:re}},ie._timeBeforeLatency=200,ie=_e([E(0,de.IBufferService),E(1,de.ILogService),E(2,de.IUnicodeService)],ie)}();ve.Linkifier=se;var ne=function(ie,ce,ue,ae,oe,re,z,a,y){this.x1=ie,this.y1=ce,this.x2=ue,this.y2=ae,this.clickCallback=oe,this.hoverCallback=re,this.tooltipCallback=z,this.leaveCallback=a,this.willLinkActivate=y};ve.MouseZone=ne},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(b,ee){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,le){te.__proto__=le}||function(te,le){for(var fe in le)le.hasOwnProperty(fe)&&(te[fe]=le[fe])})(b,ee)},function(b,ee){function te(){this.constructor=b}_e(b,ee),b.prototype=ee===null?Object.create(ee):(te.prototype=ee.prototype,new te)}),pe=this&&this.__decorate||function(b,ee,te,le){var fe,ge=arguments.length,me=ge<3?ee:le===null?le=Object.getOwnPropertyDescriptor(ee,te):le;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")me=Reflect.decorate(b,ee,te,le);else for(var he=b.length-1;he>=0;he--)(fe=b[he])&&(me=(ge<3?fe(me):ge>3?fe(ee,te,me):fe(ee,te))||me);return ge>3&&me&&Object.defineProperty(ee,te,me),me},de=this&&this.__param||function(b,ee){return function(te,le){ee(te,le,b)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.SelectionService=void 0;var se=be(11),ne=be(52),ie=be(4),ce=be(0),ue=be(5),ae=be(1),oe=be(30),re=be(53),z=be(2),a="\xA0",y=new RegExp(a,"g"),x=function(b){function ee(te,le,fe,ge,me,he,Se){var ye=b.call(this)||this;return ye._element=te,ye._screenElement=le,ye._bufferService=fe,ye._coreService=ge,ye._mouseService=me,ye._optionsService=he,ye._renderService=Se,ye._dragScrollAmount=0,ye._enabled=!0,ye._workCell=new ie.CellData,ye._mouseDownTimeStamp=0,ye._onLinuxMouseSelection=ye.register(new ce.EventEmitter),ye._onRedrawRequest=ye.register(new ce.EventEmitter),ye._onSelectionChange=ye.register(new ce.EventEmitter),ye._onRequestScrollLines=ye.register(new ce.EventEmitter),ye._mouseMoveListener=function(Pe){return ye._onMouseMove(Pe)},ye._mouseUpListener=function(Pe){return ye._onMouseUp(Pe)},ye._coreService.onUserInput(function(){ye.hasSelection&&ye.clearSelection()}),ye._trimListener=ye._bufferService.buffer.lines.onTrim(function(Pe){return ye._onTrim(Pe)}),ye.register(ye._bufferService.buffers.onBufferActivate(function(Pe){return ye._onBufferActivate(Pe)})),ye.enable(),ye._model=new ne.SelectionModel(ye._bufferService),ye._activeSelectionMode=0,ye}return E(ee,b),Object.defineProperty(ee.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),ee.prototype.dispose=function(){this._removeMouseDownListeners()},ee.prototype.reset=function(){this.clearSelection()},ee.prototype.disable=function(){this.clearSelection(),this._enabled=!1},ee.prototype.enable=function(){this._enabled=!0},Object.defineProperty(ee.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"hasSelection",{get:function(){var te=this._model.finalSelectionStart,le=this._model.finalSelectionEnd;return!(!te||!le)&&(te[0]!==le[0]||te[1]!==le[1])},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"selectionText",{get:function(){var te=this._model.finalSelectionStart,le=this._model.finalSelectionEnd;if(!te||!le)return"";var fe=this._bufferService.buffer,ge=[];if(this._activeSelectionMode===3){if(te[0]===le[0])return"";for(var me=te[1];me<=le[1];me++){var he=fe.translateBufferLineToString(me,!0,te[0],le[0]);ge.push(he)}}else{var Se=te[1]===le[1]?le[0]:void 0;for(ge.push(fe.translateBufferLineToString(te[1],!0,te[0],Se)),me=te[1]+1;me<=le[1]-1;me++){var ye=fe.lines.get(me);he=fe.translateBufferLineToString(me,!0),ye&&ye.isWrapped?ge[ge.length-1]+=he:ge.push(he)}te[1]!==le[1]&&(ye=fe.lines.get(le[1]),he=fe.translateBufferLineToString(le[1],!0,0,le[0]),ye&&ye.isWrapped?ge[ge.length-1]+=he:ge.push(he))}return ge.map(function(Pe){return Pe.replace(y," ")}).join(se.isWindows?`\r
|
|
|
`:`
|
|
|
`)},enumerable:!1,configurable:!0}),ee.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},ee.prototype.refresh=function(te){var le=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return le._refresh()})),se.isLinux&&te&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},ee.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},ee.prototype.isClickInSelection=function(te){var le=this._getMouseBufferCoords(te),fe=this._model.finalSelectionStart,ge=this._model.finalSelectionEnd;return!!(fe&&ge&&le)&&this._areCoordsInSelection(le,fe,ge)},ee.prototype._areCoordsInSelection=function(te,le,fe){return te[1]>le[1]&&te[1]<fe[1]||le[1]===fe[1]&&te[1]===le[1]&&te[0]>=le[0]&&te[0]<fe[0]||le[1]<fe[1]&&te[1]===fe[1]&&te[0]<fe[0]||le[1]<fe[1]&&te[1]===le[1]&&te[0]>=le[0]},ee.prototype.selectWordAtCursor=function(te){var le=this._getMouseBufferCoords(te);le&&(this._selectWordAt(le,!1),this._model.selectionEnd=void 0,this.refresh(!0))},ee.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},ee.prototype.selectLines=function(te,le){this._model.clearSelection(),te=Math.max(te,0),le=Math.min(le,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,te],this._model.selectionEnd=[this._bufferService.cols,le],this.refresh(),this._onSelectionChange.fire()},ee.prototype._onTrim=function(te){this._model.onTrim(te)&&this.refresh()},ee.prototype._getMouseBufferCoords=function(te){var le=this._mouseService.getCoords(te,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(le)return le[0]--,le[1]--,le[1]+=this._bufferService.buffer.ydisp,le},ee.prototype._getMouseEventScrollAmount=function(te){var le=oe.getCoordsRelativeToElement(te,this._screenElement)[1],fe=this._renderService.dimensions.canvasHeight;return le>=0&&le<=fe?0:(le>fe&&(le-=fe),le=Math.min(Math.max(le,-50),50),(le/=50)/Math.abs(le)+Math.round(14*le))},ee.prototype.shouldForceSelection=function(te){return se.isMac?te.altKey&&this._optionsService.options.macOptionClickForcesSelection:te.shiftKey},ee.prototype.onMouseDown=function(te){if(this._mouseDownTimeStamp=te.timeStamp,(te.button!==2||!this.hasSelection)&&te.button===0){if(!this._enabled){if(!this.shouldForceSelection(te))return;te.stopPropagation()}te.preventDefault(),this._dragScrollAmount=0,this._enabled&&te.shiftKey?this._onIncrementalClick(te):te.detail===1?this._onSingleClick(te):te.detail===2?this._onDoubleClick(te):te.detail===3&&this._onTripleClick(te),this._addMouseDownListeners(),this.refresh(!0)}},ee.prototype._addMouseDownListeners=function(){var te=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return te._dragScroll()},50)},ee.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},ee.prototype._onIncrementalClick=function(te){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(te))},ee.prototype._onSingleClick=function(te){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(te)?3:0,this._model.selectionStart=this._getMouseBufferCoords(te),this._model.selectionStart){this._model.selectionEnd=void 0;var le=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);le&&le.length!==this._model.selectionStart[0]&&le.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},ee.prototype._onDoubleClick=function(te){var le=this._getMouseBufferCoords(te);le&&(this._activeSelectionMode=1,this._selectWordAt(le,!0))},ee.prototype._onTripleClick=function(te){var le=this._getMouseBufferCoords(te);le&&(this._activeSelectionMode=2,this._selectLineAt(le[1]))},ee.prototype.shouldColumnSelect=function(te){return te.altKey&&!(se.isMac&&this._optionsService.options.macOptionClickForcesSelection)},ee.prototype._onMouseMove=function(te){if(te.stopImmediatePropagation(),this._model.selectionStart){var le=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(te),this._model.selectionEnd){this._activeSelectionMode===2?this._model.selectionEnd[1]<this._model.selectionStart[1]?this._model.selectionEnd[0]=0:this._model.selectionEnd[0]=this._bufferService.cols:this._activeSelectionMode===1&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(te),this._activeSelectionMode!==3&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var fe=this._bufferService.buffer;if(this._model.selectionEnd[1]<fe.lines.length){var ge=fe.lines.get(this._model.selectionEnd[1]);ge&&ge.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}le&&le[0]===this._model.selectionEnd[0]&&le[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},ee.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var te=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(te.ydisp+this._bufferService.rows,te.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=te.ydisp),this.refresh()}},ee.prototype._onMouseUp=function(te){var le=te.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&le<500&&te.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var fe=this._mouseService.getCoords(te,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(fe&&fe[0]!==void 0&&fe[1]!==void 0){var ge=re.moveToCellSequence(fe[0]-1,fe[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(ge,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},ee.prototype._onBufferActivate=function(te){var le=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=te.activeBuffer.lines.onTrim(function(fe){return le._onTrim(fe)})},ee.prototype._convertViewportColToCharacterIndex=function(te,le){for(var fe=le[0],ge=0;le[0]>=ge;ge++){var me=te.loadCell(ge,this._workCell).getChars().length;this._workCell.getWidth()===0?fe--:me>1&&le[0]!==ge&&(fe+=me-1)}return fe},ee.prototype.setSelection=function(te,le,fe){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[te,le],this._model.selectionStartLength=fe,this.refresh()},ee.prototype._getWordAt=function(te,le,fe,ge){if(fe===void 0&&(fe=!0),ge===void 0&&(ge=!0),!(te[0]>=this._bufferService.cols)){var me=this._bufferService.buffer,he=me.lines.get(te[1]);if(he){var Se=me.translateBufferLineToString(te[1],!1),ye=this._convertViewportColToCharacterIndex(he,te),Pe=ye,we=te[0]-ye,De=0,xe=0,Ae=0,Ce=0;if(Se.charAt(ye)===" "){for(;ye>0&&Se.charAt(ye-1)===" ";)ye--;for(;Pe<Se.length&&Se.charAt(Pe+1)===" ";)Pe++}else{var je=te[0],Fe=te[0];he.getWidth(je)===0&&(De++,je--),he.getWidth(Fe)===2&&(xe++,Fe++);var Ge=he.getString(Fe).length;for(Ge>1&&(Ce+=Ge-1,Pe+=Ge-1);je>0&&ye>0&&!this._isCharWordSeparator(he.loadCell(je-1,this._workCell));){he.loadCell(je-1,this._workCell);var Be=this._workCell.getChars().length;this._workCell.getWidth()===0?(De++,je--):Be>1&&(Ae+=Be-1,ye-=Be-1),ye--,je--}for(;Fe<he.length&&Pe+1<Se.length&&!this._isCharWordSeparator(he.loadCell(Fe+1,this._workCell));){he.loadCell(Fe+1,this._workCell);var tt=this._workCell.getChars().length;this._workCell.getWidth()===2?(xe++,Fe++):tt>1&&(Ce+=tt-1,Pe+=tt-1),Pe++,Fe++}}Pe++;var Ye=ye+we-De+Ae,Ve=Math.min(this._bufferService.cols,Pe-ye+De+xe-Ae-Ce);if(le||Se.slice(ye,Pe).trim()!==""){if(fe&&Ye===0&&he.getCodePoint(0)!==32){var Xe=me.lines.get(te[1]-1);if(Xe&&he.isWrapped&&Xe.getCodePoint(this._bufferService.cols-1)!==32){var Ze=this._getWordAt([this._bufferService.cols-1,te[1]-1],!1,!0,!1);if(Ze){var ke=this._bufferService.cols-Ze.start;Ye-=ke,Ve+=ke}}}if(ge&&Ye+Ve===this._bufferService.cols&&he.getCodePoint(this._bufferService.cols-1)!==32){var ze=me.lines.get(te[1]+1);if(ze&&ze.isWrapped&&ze.getCodePoint(0)!==32){var et=this._getWordAt([0,te[1]+1],!1,!1,!0);et&&(Ve+=et.length)}}return{start:Ye,length:Ve}}}}},ee.prototype._selectWordAt=function(te,le){var fe=this._getWordAt(te,le);if(fe){for(;fe.start<0;)fe.start+=this._bufferService.cols,te[1]--;this._model.selectionStart=[fe.start,te[1]],this._model.selectionStartLength=fe.length}},ee.prototype._selectToWordAt=function(te){var le=this._getWordAt(te,!0);if(le){for(var fe=te[1];le.start<0;)le.start+=this._bufferService.cols,fe--;if(!this._model.areSelectionValuesReversed())for(;le.start+le.length>this._bufferService.cols;)le.length-=this._bufferService.cols,fe++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?le.start:le.start+le.length,fe]}},ee.prototype._isCharWordSeparator=function(te){return te.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(te.getChars())>=0},ee.prototype._selectLineAt=function(te){var le=this._bufferService.buffer.getWrappedRangeForLine(te);this._model.selectionStart=[0,le.first],this._model.selectionEnd=[this._bufferService.cols,le.last],this._model.selectionStartLength=0},ee=pe([de(2,ae.IBufferService),de(3,ae.ICoreService),de(4,ue.IMouseService),de(5,ae.IOptionsService),de(6,ue.IRenderService)],ee)}(z.Disposable);ve.SelectionService=x},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.SelectionModel=void 0;var _e=function(){function E(pe){this._bufferService=pe,this.isSelectAllActive=!1,this.selectionStartLength=0}return E.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(E.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var pe=this.selectionStart[0]+this.selectionStartLength;return pe>this._bufferService.cols?[pe%this._bufferService.cols,this.selectionStart[1]+Math.floor(pe/this._bufferService.cols)]:[pe,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),E.prototype.areSelectionValuesReversed=function(){var pe=this.selectionStart,de=this.selectionEnd;return!(!pe||!de)&&(pe[1]>de[1]||pe[1]===de[1]&&pe[0]>de[0])},E.prototype.onTrim=function(pe){return this.selectionStart&&(this.selectionStart[1]-=pe),this.selectionEnd&&(this.selectionEnd[1]-=pe),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},E}();ve.SelectionModel=_e},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.moveToCellSequence=void 0;var _e=be(12);function E(ce,ue,ae,oe){var re=ce-pe(ae,ce),z=ue-pe(ae,ue);return ie(Math.abs(re-z)-function(a,y,x){for(var b=0,ee=a-pe(x,a),te=y-pe(x,y),le=0;le<Math.abs(ee-te);le++){var fe=de(a,y)==="A"?-1:1,ge=x.buffer.lines.get(ee+fe*le);ge&&ge.isWrapped&&b++}return b}(ce,ue,ae),ne(de(ce,ue),oe))}function pe(ce,ue){for(var ae=0,oe=ce.buffer.lines.get(ue),re=oe&&oe.isWrapped;re&&ue>=0&&ue<ce.rows;)ae++,re=(oe=ce.buffer.lines.get(--ue))&&oe.isWrapped;return ae}function de(ce,ue){return ce>ue?"A":"B"}function se(ce,ue,ae,oe,re,z){for(var a=ce,y=ue,x="";a!==ae||y!==oe;)a+=re?1:-1,re&&a>z.cols-1?(x+=z.buffer.translateBufferLineToString(y,!1,ce,a),a=0,ce=0,y++):!re&&a<0&&(x+=z.buffer.translateBufferLineToString(y,!1,0,ce+1),ce=a=z.cols-1,y--);return x+z.buffer.translateBufferLineToString(y,!1,ce,a)}function ne(ce,ue){var ae=ue?"O":"[";return _e.C0.ESC+ae+ce}function ie(ce,ue){ce=Math.floor(ce);for(var ae="",oe=0;oe<ce;oe++)ae+=ue;return ae}ve.moveToCellSequence=function(ce,ue,ae,oe){var re,z=ae.buffer.x,a=ae.buffer.y;if(!ae.buffer.hasScrollback)return function(x,b,ee,te,le,fe){return E(b,te,le,fe).length===0?"":ie(se(x,b,x,b-pe(le,b),!1,le).length,ne("D",fe))}(z,a,0,ue,ae,oe)+E(a,ue,ae,oe)+function(x,b,ee,te,le,fe){var ge;ge=E(b,te,le,fe).length>0?te-pe(le,te):b;var me=te,he=function(Se,ye,Pe,we,De,xe){var Ae;return Ae=E(Pe,we,De,xe).length>0?we-pe(De,we):ye,Se<Pe&&Ae<=we||Se>=Pe&&Ae<we?"C":"D"}(x,b,ee,te,le,fe);return ie(se(x,ge,ee,me,he==="C",le).length,ne(he,fe))}(z,a,ce,ue,ae,oe);if(a===ue)return re=z>ce?"D":"C",ie(Math.abs(z-ce),ne(re,oe));re=a>ue?"D":"C";var y=Math.abs(a-ue);return ie(function(x,b){return b.cols-x}(a>ue?ce:z,ae)+(y-1)*ae.cols+1+((a>ue?z:ce)-1),ne(re,oe))}},function(dt,ve,be){"use strict";var _e=this&&this.__decorate||function(se,ne,ie,ce){var ue,ae=arguments.length,oe=ae<3?ne:ce===null?ce=Object.getOwnPropertyDescriptor(ne,ie):ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")oe=Reflect.decorate(se,ne,ie,ce);else for(var re=se.length-1;re>=0;re--)(ue=se[re])&&(oe=(ae<3?ue(oe):ae>3?ue(ne,ie,oe):ue(ne,ie))||oe);return ae>3&&oe&&Object.defineProperty(ne,ie,oe),oe},E=this&&this.__param||function(se,ne){return function(ie,ce){ne(ie,ce,se)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.SoundService=void 0;var pe=be(1),de=function(){function se(ne){this._optionsService=ne}return Object.defineProperty(se,"audioContext",{get:function(){if(!se._audioContext){var ne=window.AudioContext||window.webkitAudioContext;if(!ne)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;se._audioContext=new ne}return se._audioContext},enumerable:!1,configurable:!0}),se.prototype.playBellSound=function(){var ne=se.audioContext;if(ne){var ie=ne.createBufferSource();ne.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(ce){ie.buffer=ce,ie.connect(ne.destination),ie.start(0)})}},se.prototype._base64ToArrayBuffer=function(ne){for(var ie=window.atob(ne),ce=ie.length,ue=new Uint8Array(ce),ae=0;ae<ce;ae++)ue[ae]=ie.charCodeAt(ae);return ue.buffer},se.prototype._removeMimeType=function(ne){return ne.split(",")[1]},se=_e([E(0,pe.IOptionsService)],se)}();ve.SoundService=de},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ae,oe){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,z){re.__proto__=z}||function(re,z){for(var a in z)z.hasOwnProperty(a)&&(re[a]=z[a])})(ae,oe)},function(ae,oe){function re(){this.constructor=ae}_e(ae,oe),ae.prototype=oe===null?Object.create(oe):(re.prototype=oe.prototype,new re)}),pe=this&&this.__decorate||function(ae,oe,re,z){var a,y=arguments.length,x=y<3?oe:z===null?z=Object.getOwnPropertyDescriptor(oe,re):z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,re,z);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,re,x):a(oe,re))||x);return y>3&&x&&Object.defineProperty(oe,re,x),x},de=this&&this.__param||function(ae,oe){return function(re,z){oe(re,z,ae)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.MouseZoneManager=void 0;var se=be(2),ne=be(7),ie=be(5),ce=be(1),ue=function(ae){function oe(re,z,a,y,x,b){var ee=ae.call(this)||this;return ee._element=re,ee._screenElement=z,ee._bufferService=a,ee._mouseService=y,ee._selectionService=x,ee._optionsService=b,ee._zones=[],ee._areZonesActive=!1,ee._lastHoverCoords=[void 0,void 0],ee._initialSelectionLength=0,ee.register(ne.addDisposableDomListener(ee._element,"mousedown",function(te){return ee._onMouseDown(te)})),ee._mouseMoveListener=function(te){return ee._onMouseMove(te)},ee._mouseLeaveListener=function(te){return ee._onMouseLeave(te)},ee._clickListener=function(te){return ee._onClick(te)},ee}return E(oe,ae),oe.prototype.dispose=function(){ae.prototype.dispose.call(this),this._deactivate()},oe.prototype.add=function(re){this._zones.push(re),this._zones.length===1&&this._activate()},oe.prototype.clearAll=function(re,z){if(this._zones.length!==0){re&&z||(re=0,z=this._bufferService.rows-1);for(var a=0;a<this._zones.length;a++){var y=this._zones[a];(y.y1>re&&y.y1<=z+1||y.y2>re&&y.y2<=z+1||y.y1<re&&y.y2>z+1)&&(this._currentZone&&this._currentZone===y&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(a--,1))}this._zones.length===0&&this._deactivate()}},oe.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},oe.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},oe.prototype._onMouseMove=function(re){this._lastHoverCoords[0]===re.pageX&&this._lastHoverCoords[1]===re.pageY||(this._onHover(re),this._lastHoverCoords=[re.pageX,re.pageY])},oe.prototype._onHover=function(re){var z=this,a=this._findZoneEventAt(re);a!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),a&&(this._currentZone=a,a.hoverCallback&&a.hoverCallback(re),this._tooltipTimeout=window.setTimeout(function(){return z._onTooltip(re)},this._optionsService.options.linkTooltipHoverDuration)))},oe.prototype._onTooltip=function(re){this._tooltipTimeout=void 0;var z=this._findZoneEventAt(re);z&&z.tooltipCallback&&z.tooltipCallback(re)},oe.prototype._onMouseDown=function(re){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var z=this._findZoneEventAt(re);z!=null&&z.willLinkActivate(re)&&(re.preventDefault(),re.stopImmediatePropagation())}},oe.prototype._onMouseLeave=function(re){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},oe.prototype._onClick=function(re){var z=this._findZoneEventAt(re),a=this._getSelectionLength();z&&a===this._initialSelectionLength&&(z.clickCallback(re),re.preventDefault(),re.stopImmediatePropagation())},oe.prototype._getSelectionLength=function(){var re=this._selectionService.selectionText;return re?re.length:0},oe.prototype._findZoneEventAt=function(re){var z=this._mouseService.getCoords(re,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(z)for(var a=z[0],y=z[1],x=0;x<this._zones.length;x++){var b=this._zones[x];if(b.y1===b.y2){if(y===b.y1&&a>=b.x1&&a<b.x2)return b}else if(y===b.y1&&a>=b.x1||y===b.y2&&a<b.x2||y>b.y1&&y<b.y2)return b}},oe=pe([de(2,ce.IBufferService),de(3,ie.IMouseService),de(4,ie.ISelectionService),de(5,ce.IOptionsService)],oe)}(se.Disposable);ve.MouseZoneManager=ue},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(oe,re){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,a){z.__proto__=a}||function(z,a){for(var y in a)a.hasOwnProperty(y)&&(z[y]=a[y])})(oe,re)},function(oe,re){function z(){this.constructor=oe}_e(oe,re),oe.prototype=re===null?Object.create(re):(z.prototype=re.prototype,new z)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.AccessibilityManager=void 0;var pe=be(18),de=be(11),se=be(31),ne=be(7),ie=be(2),ce=be(32),ue=be(17),ae=function(oe){function re(z,a){var y=oe.call(this)||this;y._terminal=z,y._renderService=a,y._liveRegionLineCount=0,y._charsToConsume=[],y._charsToAnnounce="",y._accessibilityTreeRoot=document.createElement("div"),y._accessibilityTreeRoot.classList.add("xterm-accessibility"),y._rowContainer=document.createElement("div"),y._rowContainer.classList.add("xterm-accessibility-tree"),y._rowContainer.setAttribute("role","list"),y._rowElements=[];for(var x=0;x<y._terminal.rows;x++)y._rowElements[x]=y._createAccessibilityTreeNode(),y._rowContainer.appendChild(y._rowElements[x]);if(y._topBoundaryFocusListener=function(b){return y._onBoundaryFocus(b,0)},y._bottomBoundaryFocusListener=function(b){return y._onBoundaryFocus(b,1)},y._rowElements[0].addEventListener("focus",y._topBoundaryFocusListener),y._rowElements[y._rowElements.length-1].addEventListener("focus",y._bottomBoundaryFocusListener),y._refreshRowsDimensions(),y._accessibilityTreeRoot.appendChild(y._rowContainer),y._renderRowsDebouncer=new se.RenderDebouncer(y._renderRows.bind(y)),y._refreshRows(),y._liveRegion=document.createElement("div"),y._liveRegion.classList.add("live-region"),y._liveRegion.setAttribute("aria-live","assertive"),y._accessibilityTreeRoot.appendChild(y._liveRegion),!y._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return y._terminal.element.insertAdjacentElement("afterbegin",y._accessibilityTreeRoot),y.register(y._renderRowsDebouncer),y.register(y._terminal.onResize(function(b){return y._onResize(b.rows)})),y.register(y._terminal.onRender(function(b){return y._refreshRows(b.start,b.end)})),y.register(y._terminal.onScroll(function(){return y._refreshRows()})),y.register(y._terminal.onA11yChar(function(b){return y._onChar(b)})),y.register(y._terminal.onLineFeed(function(){return y._onChar(`
|
|
|
`)})),y.register(y._terminal.onA11yTab(function(b){return y._onTab(b)})),y.register(y._terminal.onKey(function(b){return y._onKey(b.key)})),y.register(y._terminal.onBlur(function(){return y._clearLiveRegion()})),y.register(y._renderService.onDimensionsChange(function(){return y._refreshRowsDimensions()})),y._screenDprMonitor=new ce.ScreenDprMonitor,y.register(y._screenDprMonitor),y._screenDprMonitor.setListener(function(){return y._refreshRowsDimensions()}),y.register(ne.addDisposableDomListener(window,"resize",function(){return y._refreshRowsDimensions()})),y}return E(re,oe),re.prototype.dispose=function(){oe.prototype.dispose.call(this),ue.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},re.prototype._onBoundaryFocus=function(z,a){var y=z.target,x=this._rowElements[a===0?1:this._rowElements.length-2];if(y.getAttribute("aria-posinset")!==(a===0?"1":""+this._terminal.buffer.lines.length)&&z.relatedTarget===x){var b,ee;if(a===0?(b=y,ee=this._rowElements.pop(),this._rowContainer.removeChild(ee)):(b=this._rowElements.shift(),ee=y,this._rowContainer.removeChild(b)),b.removeEventListener("focus",this._topBoundaryFocusListener),ee.removeEventListener("focus",this._bottomBoundaryFocusListener),a===0){var te=this._createAccessibilityTreeNode();this._rowElements.unshift(te),this._rowContainer.insertAdjacentElement("afterbegin",te)}else te=this._createAccessibilityTreeNode(),this._rowElements.push(te),this._rowContainer.appendChild(te);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(a===0?-1:1),this._rowElements[a===0?1:this._rowElements.length-2].focus(),z.preventDefault(),z.stopImmediatePropagation()}},re.prototype._onResize=function(z){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var a=this._rowContainer.children.length;a<this._terminal.rows;a++)this._rowElements[a]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[a]);for(;this._rowElements.length>z;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},re.prototype._createAccessibilityTreeNode=function(){var z=document.createElement("div");return z.setAttribute("role","listitem"),z.tabIndex=-1,this._refreshRowDimensions(z),z},re.prototype._onTab=function(z){for(var a=0;a<z;a++)this._onChar(" ")},re.prototype._onChar=function(z){var a=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==z&&(this._charsToAnnounce+=z):this._charsToAnnounce+=z,z===`
|
|
|
`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=pe.tooMuchOutput)),de.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){a._accessibilityTreeRoot.appendChild(a._liveRegion)},0))},re.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,de.isMac&&ue.removeElementFromParent(this._liveRegion)},re.prototype._onKey=function(z){this._clearLiveRegion(),this._charsToConsume.push(z)},re.prototype._refreshRows=function(z,a){this._renderRowsDebouncer.refresh(z,a,this._terminal.rows)},re.prototype._renderRows=function(z,a){for(var y=this._terminal.buffer,x=y.lines.length.toString(),b=z;b<=a;b++){var ee=y.translateBufferLineToString(y.ydisp+b,!0),te=(y.ydisp+b+1).toString(),le=this._rowElements[b];le&&(ee.length===0?le.innerHTML=" ":le.textContent=ee,le.setAttribute("aria-posinset",te),le.setAttribute("aria-setsize",x))}this._announceCharacters()},re.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var z=0;z<this._terminal.rows;z++)this._refreshRowDimensions(this._rowElements[z])}},re.prototype._refreshRowDimensions=function(z){z.style.height=this._renderService.dimensions.actualCellHeight+"px"},re.prototype._announceCharacters=function(){this._charsToAnnounce.length!==0&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},re}(ie.Disposable);ve.AccessibilityManager=ae},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(y,x){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,ee){b.__proto__=ee}||function(b,ee){for(var te in ee)ee.hasOwnProperty(te)&&(b[te]=ee[te])})(y,x)},function(y,x){function b(){this.constructor=y}_e(y,x),y.prototype=x===null?Object.create(x):(b.prototype=x.prototype,new b)}),pe=this&&this.__decorate||function(y,x,b,ee){var te,le=arguments.length,fe=le<3?x:ee===null?ee=Object.getOwnPropertyDescriptor(x,b):ee;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")fe=Reflect.decorate(y,x,b,ee);else for(var ge=y.length-1;ge>=0;ge--)(te=y[ge])&&(fe=(le<3?te(fe):le>3?te(x,b,fe):te(x,b))||fe);return le>3&&fe&&Object.defineProperty(x,b,fe),fe},de=this&&this.__param||function(y,x){return function(b,ee){x(b,ee,y)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.DomRenderer=void 0;var se=be(58),ne=be(9),ie=be(2),ce=be(5),ue=be(1),ae=be(0),oe=be(10),re=be(17),z=1,a=function(y){function x(b,ee,te,le,fe,ge,me,he,Se){var ye=y.call(this)||this;return ye._colors=b,ye._element=ee,ye._screenElement=te,ye._viewportElement=le,ye._linkifier=fe,ye._linkifier2=ge,ye._charSizeService=me,ye._optionsService=he,ye._bufferService=Se,ye._terminalClass=z++,ye._rowElements=[],ye._rowContainer=document.createElement("div"),ye._rowContainer.classList.add("xterm-rows"),ye._rowContainer.style.lineHeight="normal",ye._rowContainer.setAttribute("aria-hidden","true"),ye._refreshRowElements(ye._bufferService.cols,ye._bufferService.rows),ye._selectionContainer=document.createElement("div"),ye._selectionContainer.classList.add("xterm-selection"),ye._selectionContainer.setAttribute("aria-hidden","true"),ye.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},ye._updateDimensions(),ye._injectCss(),ye._rowFactory=new se.DomRendererRowFactory(document,ye._optionsService,ye._colors),ye._element.classList.add("xterm-dom-renderer-owner-"+ye._terminalClass),ye._screenElement.appendChild(ye._rowContainer),ye._screenElement.appendChild(ye._selectionContainer),ye._linkifier.onShowLinkUnderline(function(Pe){return ye._onLinkHover(Pe)}),ye._linkifier.onHideLinkUnderline(function(Pe){return ye._onLinkLeave(Pe)}),ye._linkifier2.onShowLinkUnderline(function(Pe){return ye._onLinkHover(Pe)}),ye._linkifier2.onHideLinkUnderline(function(Pe){return ye._onLinkLeave(Pe)}),ye}return E(x,y),Object.defineProperty(x.prototype,"onRequestRedraw",{get:function(){return new ae.EventEmitter().event},enumerable:!1,configurable:!0}),x.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),re.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),y.prototype.dispose.call(this)},x.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var b=0,ee=this._rowElements;b<ee.length;b++){var te=ee[b];te.style.width=this.dimensions.canvasWidth+"px",te.style.height=this.dimensions.actualCellHeight+"px",te.style.lineHeight=this.dimensions.actualCellHeight+"px",te.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var le=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=le,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},x.prototype.setColors=function(b){this._colors=b,this._injectCss()},x.prototype._injectCss=function(){var b=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var ee=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";ee+=this._terminalSelector+" span:not(."+se.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+se.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+se.ITALIC_CLASS+" { font-style: italic;}",ee+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",ee+="@keyframes blink_block_"+this._terminalClass+" { 0% { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+"; } 50% { background-color: "+this._colors.cursorAccent.css+"; color: "+this._colors.cursor.css+"; }}",ee+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+se.CURSOR_CLASS+"."+se.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+se.CURSOR_CLASS+"."+se.CURSOR_BLINK_CLASS+":not(."+se.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+se.CURSOR_CLASS+"."+se.CURSOR_BLINK_CLASS+"."+se.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+se.CURSOR_CLASS+"."+se.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+se.CURSOR_CLASS+"."+se.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+se.CURSOR_CLASS+"."+se.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",ee+=this._terminalSelector+" .xterm-selection { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" .xterm-selection div { position: absolute; background-color: "+this._colors.selectionTransparent.css+";}",this._colors.ansi.forEach(function(te,le){ee+=b._terminalSelector+" .xterm-fg-"+le+" { color: "+te.css+"; }"+b._terminalSelector+" .xterm-bg-"+le+" { background-color: "+te.css+"; }"}),ee+=this._terminalSelector+" .xterm-fg-"+ne.INVERTED_DEFAULT_COLOR+" { color: "+oe.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+ne.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=ee},x.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},x.prototype._refreshRowElements=function(b,ee){for(var te=this._rowElements.length;te<=ee;te++){var le=document.createElement("div");this._rowContainer.appendChild(le),this._rowElements.push(le)}for(;this._rowElements.length>ee;)this._rowContainer.removeChild(this._rowElements.pop())},x.prototype.onResize=function(b,ee){this._refreshRowElements(b,ee),this._updateDimensions()},x.prototype.onCharSizeChanged=function(){this._updateDimensions()},x.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},x.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},x.prototype.onSelectionChanged=function(b,ee,te){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(b&&ee){var le=b[1]-this._bufferService.buffer.ydisp,fe=ee[1]-this._bufferService.buffer.ydisp,ge=Math.max(le,0),me=Math.min(fe,this._bufferService.rows-1);if(!(ge>=this._bufferService.rows||me<0)){var he=document.createDocumentFragment();if(te)he.appendChild(this._createSelectionElement(ge,b[0],ee[0],me-ge+1));else{var Se=le===ge?b[0]:0,ye=ge===me?ee[0]:this._bufferService.cols;he.appendChild(this._createSelectionElement(ge,Se,ye));var Pe=me-ge-1;if(he.appendChild(this._createSelectionElement(ge+1,0,this._bufferService.cols,Pe)),ge!==me){var we=fe===me?ee[0]:this._bufferService.cols;he.appendChild(this._createSelectionElement(me,0,we))}}this._selectionContainer.appendChild(he)}}},x.prototype._createSelectionElement=function(b,ee,te,le){le===void 0&&(le=1);var fe=document.createElement("div");return fe.style.height=le*this.dimensions.actualCellHeight+"px",fe.style.top=b*this.dimensions.actualCellHeight+"px",fe.style.left=ee*this.dimensions.actualCellWidth+"px",fe.style.width=this.dimensions.actualCellWidth*(te-ee)+"px",fe},x.prototype.onCursorMove=function(){},x.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},x.prototype.clear=function(){for(var b=0,ee=this._rowElements;b<ee.length;b++)ee[b].innerHTML=""},x.prototype.renderRows=function(b,ee){for(var te=this._bufferService.buffer.ybase+this._bufferService.buffer.y,le=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),fe=this._optionsService.options.cursorBlink,ge=b;ge<=ee;ge++){var me=this._rowElements[ge];me.innerHTML="";var he=ge+this._bufferService.buffer.ydisp,Se=this._bufferService.buffer.lines.get(he),ye=this._optionsService.options.cursorStyle;me.appendChild(this._rowFactory.createRow(Se,he===te,ye,le,fe,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(x.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),x.prototype.registerCharacterJoiner=function(b){return-1},x.prototype.deregisterCharacterJoiner=function(b){return!1},x.prototype._onLinkHover=function(b){this._setCellUnderline(b.x1,b.x2,b.y1,b.y2,b.cols,!0)},x.prototype._onLinkLeave=function(b){this._setCellUnderline(b.x1,b.x2,b.y1,b.y2,b.cols,!1)},x.prototype._setCellUnderline=function(b,ee,te,le,fe,ge){for(;b!==ee||te!==le;){var me=this._rowElements[te];if(!me)return;var he=me.children[b];he&&(he.style.textDecoration=ge?"underline":"none"),++b>=fe&&(b=0,te++)}},x=pe([de(6,ce.ICharSizeService),de(7,ue.IOptionsService),de(8,ue.IBufferService)],x)}(ie.Disposable);ve.DomRenderer=a},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.DomRendererRowFactory=ve.CURSOR_STYLE_UNDERLINE_CLASS=ve.CURSOR_STYLE_BAR_CLASS=ve.CURSOR_STYLE_BLOCK_CLASS=ve.CURSOR_BLINK_CLASS=ve.CURSOR_CLASS=ve.UNDERLINE_CLASS=ve.ITALIC_CLASS=ve.DIM_CLASS=ve.BOLD_CLASS=void 0;var _e=be(9),E=be(3),pe=be(4),de=be(10);ve.BOLD_CLASS="xterm-bold",ve.DIM_CLASS="xterm-dim",ve.ITALIC_CLASS="xterm-italic",ve.UNDERLINE_CLASS="xterm-underline",ve.CURSOR_CLASS="xterm-cursor",ve.CURSOR_BLINK_CLASS="xterm-cursor-blink",ve.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",ve.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",ve.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var se=function(){function ie(ce,ue,ae){this._document=ce,this._optionsService=ue,this._colors=ae,this._workCell=new pe.CellData}return ie.prototype.setColors=function(ce){this._colors=ce},ie.prototype.createRow=function(ce,ue,ae,oe,re,z,a){for(var y=this._document.createDocumentFragment(),x=0,b=Math.min(ce.length,a)-1;b>=0;b--)if(ce.loadCell(b,this._workCell).getCode()!==E.NULL_CELL_CODE||ue&&b===oe){x=b+1;break}for(b=0;b<x;b++){ce.loadCell(b,this._workCell);var ee=this._workCell.getWidth();if(ee!==0){var te=this._document.createElement("span");if(ee>1&&(te.style.width=z*ee+"px"),ue&&b===oe)switch(te.classList.add(ve.CURSOR_CLASS),re&&te.classList.add(ve.CURSOR_BLINK_CLASS),ae){case"bar":te.classList.add(ve.CURSOR_STYLE_BAR_CLASS);break;case"underline":te.classList.add(ve.CURSOR_STYLE_UNDERLINE_CLASS);break;default:te.classList.add(ve.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&te.classList.add(ve.BOLD_CLASS),this._workCell.isItalic()&&te.classList.add(ve.ITALIC_CLASS),this._workCell.isDim()&&te.classList.add(ve.DIM_CLASS),this._workCell.isUnderline()&&te.classList.add(ve.UNDERLINE_CLASS),this._workCell.isInvisible()?te.textContent=E.WHITESPACE_CELL_CHAR:te.textContent=this._workCell.getChars()||E.WHITESPACE_CELL_CHAR;var le=this._workCell.getFgColor(),fe=this._workCell.getFgColorMode(),ge=this._workCell.getBgColor(),me=this._workCell.getBgColorMode(),he=!!this._workCell.isInverse();if(he){var Se=le;le=ge,ge=Se;var ye=fe;fe=me,me=ye}switch(fe){case 16777216:case 33554432:this._workCell.isBold()&&le<8&&this._optionsService.options.drawBoldTextInBrightColors&&(le+=8),this._applyMinimumContrast(te,this._colors.background,this._colors.ansi[le])||te.classList.add("xterm-fg-"+le);break;case 50331648:var Pe=de.rgba.toColor(le>>16&255,le>>8&255,255&le);this._applyMinimumContrast(te,this._colors.background,Pe)||this._addStyle(te,"color:#"+ne(le.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(te,this._colors.background,this._colors.foreground)||he&&te.classList.add("xterm-fg-"+_e.INVERTED_DEFAULT_COLOR)}switch(me){case 16777216:case 33554432:te.classList.add("xterm-bg-"+ge);break;case 50331648:this._addStyle(te,"background-color:#"+ne(ge.toString(16),"0",6));break;case 0:default:he&&te.classList.add("xterm-bg-"+_e.INVERTED_DEFAULT_COLOR)}y.appendChild(te)}}return y},ie.prototype._applyMinimumContrast=function(ce,ue,ae){if(this._optionsService.options.minimumContrastRatio===1)return!1;var oe=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return oe===void 0&&(oe=de.color.ensureContrastRatio(ue,ae,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,oe!=null?oe:null)),!!oe&&(this._addStyle(ce,"color:"+oe.css),!0)},ie.prototype._addStyle=function(ce,ue){ce.setAttribute("style",""+(ce.getAttribute("style")||"")+ue+";")},ie}();function ne(ie,ce,ue){for(;ie.length<ue;)ie=ce+ie;return ie}ve.DomRendererRowFactory=se},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.evaluateKeyboardEvent=void 0;var _e=be(12),E={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};ve.evaluateKeyboardEvent=function(pe,de,se,ne){var ie={type:0,cancel:!1,key:void 0},ce=(pe.shiftKey?1:0)|(pe.altKey?2:0)|(pe.ctrlKey?4:0)|(pe.metaKey?8:0);switch(pe.keyCode){case 0:pe.key==="UIKeyInputUpArrow"?ie.key=de?_e.C0.ESC+"OA":_e.C0.ESC+"[A":pe.key==="UIKeyInputLeftArrow"?ie.key=de?_e.C0.ESC+"OD":_e.C0.ESC+"[D":pe.key==="UIKeyInputRightArrow"?ie.key=de?_e.C0.ESC+"OC":_e.C0.ESC+"[C":pe.key==="UIKeyInputDownArrow"&&(ie.key=de?_e.C0.ESC+"OB":_e.C0.ESC+"[B");break;case 8:if(pe.shiftKey){ie.key=_e.C0.BS;break}if(pe.altKey){ie.key=_e.C0.ESC+_e.C0.DEL;break}ie.key=_e.C0.DEL;break;case 9:if(pe.shiftKey){ie.key=_e.C0.ESC+"[Z";break}ie.key=_e.C0.HT,ie.cancel=!0;break;case 13:ie.key=pe.altKey?_e.C0.ESC+_e.C0.CR:_e.C0.CR,ie.cancel=!0;break;case 27:ie.key=_e.C0.ESC,pe.altKey&&(ie.key=_e.C0.ESC+_e.C0.ESC),ie.cancel=!0;break;case 37:if(pe.metaKey)break;ce?(ie.key=_e.C0.ESC+"[1;"+(ce+1)+"D",ie.key===_e.C0.ESC+"[1;3D"&&(ie.key=_e.C0.ESC+(se?"b":"[1;5D"))):ie.key=de?_e.C0.ESC+"OD":_e.C0.ESC+"[D";break;case 39:if(pe.metaKey)break;ce?(ie.key=_e.C0.ESC+"[1;"+(ce+1)+"C",ie.key===_e.C0.ESC+"[1;3C"&&(ie.key=_e.C0.ESC+(se?"f":"[1;5C"))):ie.key=de?_e.C0.ESC+"OC":_e.C0.ESC+"[C";break;case 38:if(pe.metaKey)break;ce?(ie.key=_e.C0.ESC+"[1;"+(ce+1)+"A",se||ie.key!==_e.C0.ESC+"[1;3A"||(ie.key=_e.C0.ESC+"[1;5A")):ie.key=de?_e.C0.ESC+"OA":_e.C0.ESC+"[A";break;case 40:if(pe.metaKey)break;ce?(ie.key=_e.C0.ESC+"[1;"+(ce+1)+"B",se||ie.key!==_e.C0.ESC+"[1;3B"||(ie.key=_e.C0.ESC+"[1;5B")):ie.key=de?_e.C0.ESC+"OB":_e.C0.ESC+"[B";break;case 45:pe.shiftKey||pe.ctrlKey||(ie.key=_e.C0.ESC+"[2~");break;case 46:ie.key=ce?_e.C0.ESC+"[3;"+(ce+1)+"~":_e.C0.ESC+"[3~";break;case 36:ie.key=ce?_e.C0.ESC+"[1;"+(ce+1)+"H":de?_e.C0.ESC+"OH":_e.C0.ESC+"[H";break;case 35:ie.key=ce?_e.C0.ESC+"[1;"+(ce+1)+"F":de?_e.C0.ESC+"OF":_e.C0.ESC+"[F";break;case 33:pe.shiftKey?ie.type=2:ie.key=_e.C0.ESC+"[5~";break;case 34:pe.shiftKey?ie.type=3:ie.key=_e.C0.ESC+"[6~";break;case 112:ie.key=ce?_e.C0.ESC+"[1;"+(ce+1)+"P":_e.C0.ESC+"OP";break;case 113:ie.key=ce?_e.C0.ESC+"[1;"+(ce+1)+"Q":_e.C0.ESC+"OQ";break;case 114:ie.key=ce?_e.C0.ESC+"[1;"+(ce+1)+"R":_e.C0.ESC+"OR";break;case 115:ie.key=ce?_e.C0.ESC+"[1;"+(ce+1)+"S":_e.C0.ESC+"OS";break;case 116:ie.key=ce?_e.C0.ESC+"[15;"+(ce+1)+"~":_e.C0.ESC+"[15~";break;case 117:ie.key=ce?_e.C0.ESC+"[17;"+(ce+1)+"~":_e.C0.ESC+"[17~";break;case 118:ie.key=ce?_e.C0.ESC+"[18;"+(ce+1)+"~":_e.C0.ESC+"[18~";break;case 119:ie.key=ce?_e.C0.ESC+"[19;"+(ce+1)+"~":_e.C0.ESC+"[19~";break;case 120:ie.key=ce?_e.C0.ESC+"[20;"+(ce+1)+"~":_e.C0.ESC+"[20~";break;case 121:ie.key=ce?_e.C0.ESC+"[21;"+(ce+1)+"~":_e.C0.ESC+"[21~";break;case 122:ie.key=ce?_e.C0.ESC+"[23;"+(ce+1)+"~":_e.C0.ESC+"[23~";break;case 123:ie.key=ce?_e.C0.ESC+"[24;"+(ce+1)+"~":_e.C0.ESC+"[24~";break;default:if(!pe.ctrlKey||pe.shiftKey||pe.altKey||pe.metaKey)if(se&&!ne||!pe.altKey||pe.metaKey)se&&!pe.altKey&&!pe.ctrlKey&&pe.metaKey?pe.keyCode===65&&(ie.type=1):pe.key&&!pe.ctrlKey&&!pe.altKey&&!pe.metaKey&&pe.keyCode>=48&&pe.key.length===1?ie.key=pe.key:pe.key&&pe.ctrlKey&&pe.key==="_"&&(ie.key=_e.C0.US);else{var ue=E[pe.keyCode],ae=ue&&ue[pe.shiftKey?1:0];if(ae)ie.key=_e.C0.ESC+ae;else if(pe.keyCode>=65&&pe.keyCode<=90){var oe=pe.ctrlKey?pe.keyCode-64:pe.keyCode+32;ie.key=_e.C0.ESC+String.fromCharCode(oe)}}else pe.keyCode>=65&&pe.keyCode<=90?ie.key=String.fromCharCode(pe.keyCode-64):pe.keyCode===32?ie.key=_e.C0.NUL:pe.keyCode>=51&&pe.keyCode<=55?ie.key=String.fromCharCode(pe.keyCode-51+27):pe.keyCode===56?ie.key=_e.C0.DEL:pe.keyCode===219?ie.key=_e.C0.ESC:pe.keyCode===220?ie.key=_e.C0.FS:pe.keyCode===221&&(ie.key=_e.C0.GS)}return ie}},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(z,a){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,x){y.__proto__=x}||function(y,x){for(var b in x)x.hasOwnProperty(b)&&(y[b]=x[b])})(z,a)},function(z,a){function y(){this.constructor=z}_e(z,a),z.prototype=a===null?Object.create(a):(y.prototype=a.prototype,new y)}),pe=this&&this.__decorate||function(z,a,y,x){var b,ee=arguments.length,te=ee<3?a:x===null?x=Object.getOwnPropertyDescriptor(a,y):x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")te=Reflect.decorate(z,a,y,x);else for(var le=z.length-1;le>=0;le--)(b=z[le])&&(te=(ee<3?b(te):ee>3?b(a,y,te):b(a,y))||te);return ee>3&&te&&Object.defineProperty(a,y,te),te},de=this&&this.__param||function(z,a){return function(y,x){a(y,x,z)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.RenderService=void 0;var se=be(31),ne=be(0),ie=be(2),ce=be(32),ue=be(7),ae=be(1),oe=be(5),re=function(z){function a(y,x,b,ee,te,le){var fe=z.call(this)||this;if(fe._renderer=y,fe._rowCount=x,fe._isPaused=!1,fe._needsFullRefresh=!1,fe._isNextRenderRedrawOnly=!0,fe._needsSelectionRefresh=!1,fe._canvasWidth=0,fe._canvasHeight=0,fe._selectionState={start:void 0,end:void 0,columnSelectMode:!1},fe._onDimensionsChange=new ne.EventEmitter,fe._onRender=new ne.EventEmitter,fe._onRefreshRequest=new ne.EventEmitter,fe.register({dispose:function(){return fe._renderer.dispose()}}),fe._renderDebouncer=new se.RenderDebouncer(function(me,he){return fe._renderRows(me,he)}),fe.register(fe._renderDebouncer),fe._screenDprMonitor=new ce.ScreenDprMonitor,fe._screenDprMonitor.setListener(function(){return fe.onDevicePixelRatioChange()}),fe.register(fe._screenDprMonitor),fe.register(le.onResize(function(me){return fe._fullRefresh()})),fe.register(ee.onOptionChange(function(){return fe._renderer.onOptionsChanged()})),fe.register(te.onCharSizeChange(function(){return fe.onCharSizeChanged()})),fe._renderer.onRequestRedraw(function(me){return fe.refreshRows(me.start,me.end,!0)}),fe.register(ue.addDisposableDomListener(window,"resize",function(){return fe.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var ge=new IntersectionObserver(function(me){return fe._onIntersectionChange(me[me.length-1])},{threshold:0});ge.observe(b),fe.register({dispose:function(){return ge.disconnect()}})}return fe}return E(a,z),Object.defineProperty(a.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),a.prototype._onIntersectionChange=function(y){this._isPaused=y.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},a.prototype.refreshRows=function(y,x,b){b===void 0&&(b=!1),this._isPaused?this._needsFullRefresh=!0:(b||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(y,x,this._rowCount))},a.prototype._renderRows=function(y,x){this._renderer.renderRows(y,x),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:y,end:x}),this._isNextRenderRedrawOnly=!0},a.prototype.resize=function(y,x){this._rowCount=x,this._fireOnCanvasResize()},a.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},a.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},a.prototype.dispose=function(){z.prototype.dispose.call(this)},a.prototype.setRenderer=function(y){var x=this;this._renderer.dispose(),this._renderer=y,this._renderer.onRequestRedraw(function(b){return x.refreshRows(b.start,b.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},a.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},a.prototype.setColors=function(y){this._renderer.setColors(y),this._fullRefresh()},a.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},a.prototype.onResize=function(y,x){this._renderer.onResize(y,x),this._fullRefresh()},a.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},a.prototype.onBlur=function(){this._renderer.onBlur()},a.prototype.onFocus=function(){this._renderer.onFocus()},a.prototype.onSelectionChanged=function(y,x,b){this._selectionState.start=y,this._selectionState.end=x,this._selectionState.columnSelectMode=b,this._renderer.onSelectionChanged(y,x,b)},a.prototype.onCursorMove=function(){this._renderer.onCursorMove()},a.prototype.clear=function(){this._renderer.clear()},a.prototype.registerCharacterJoiner=function(y){return this._renderer.registerCharacterJoiner(y)},a.prototype.deregisterCharacterJoiner=function(y){return this._renderer.deregisterCharacterJoiner(y)},a=pe([de(3,ae.IOptionsService),de(4,oe.ICharSizeService),de(5,ae.IBufferService)],a)}(ie.Disposable);ve.RenderService=re},function(dt,ve,be){"use strict";var _e=this&&this.__decorate||function(ie,ce,ue,ae){var oe,re=arguments.length,z=re<3?ce:ae===null?ae=Object.getOwnPropertyDescriptor(ce,ue):ae;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")z=Reflect.decorate(ie,ce,ue,ae);else for(var a=ie.length-1;a>=0;a--)(oe=ie[a])&&(z=(re<3?oe(z):re>3?oe(ce,ue,z):oe(ce,ue))||z);return re>3&&z&&Object.defineProperty(ce,ue,z),z},E=this&&this.__param||function(ie,ce){return function(ue,ae){ce(ue,ae,ie)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.CharSizeService=void 0;var pe=be(1),de=be(0),se=function(){function ie(ce,ue,ae){this._optionsService=ae,this.width=0,this.height=0,this._onCharSizeChange=new de.EventEmitter,this._measureStrategy=new ne(ce,ue,this._optionsService)}return Object.defineProperty(ie.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),ie.prototype.measure=function(){var ce=this._measureStrategy.measure();ce.width===this.width&&ce.height===this.height||(this.width=ce.width,this.height=ce.height,this._onCharSizeChange.fire())},ie=_e([E(2,pe.IOptionsService)],ie)}();ve.CharSizeService=se;var ne=function(){function ie(ce,ue,ae){this._document=ce,this._parentElement=ue,this._optionsService=ae,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return ie.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var ce=this._measureElement.getBoundingClientRect();return ce.width!==0&&ce.height!==0&&(this._result.width=ce.width,this._result.height=Math.ceil(ce.height)),this._result},ie}()},function(dt,ve,be){"use strict";var _e=this&&this.__decorate||function(ne,ie,ce,ue){var ae,oe=arguments.length,re=oe<3?ie:ue===null?ue=Object.getOwnPropertyDescriptor(ie,ce):ue;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")re=Reflect.decorate(ne,ie,ce,ue);else for(var z=ne.length-1;z>=0;z--)(ae=ne[z])&&(re=(oe<3?ae(re):oe>3?ae(ie,ce,re):ae(ie,ce))||re);return oe>3&&re&&Object.defineProperty(ie,ce,re),re},E=this&&this.__param||function(ne,ie){return function(ce,ue){ie(ce,ue,ne)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.MouseService=void 0;var pe=be(5),de=be(30),se=function(){function ne(ie,ce){this._renderService=ie,this._charSizeService=ce}return ne.prototype.getCoords=function(ie,ce,ue,ae,oe){return de.getCoords(ie,ce,ue,ae,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,oe)},ne.prototype.getRawByteCoords=function(ie,ce,ue,ae){var oe=this.getCoords(ie,ce,ue,ae);return de.getRawByteCoords(oe)},ne=_e([E(0,pe.IRenderService),E(1,pe.ICharSizeService)],ne)}();ve.MouseService=se},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ae,oe){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,z){re.__proto__=z}||function(re,z){for(var a in z)z.hasOwnProperty(a)&&(re[a]=z[a])})(ae,oe)},function(ae,oe){function re(){this.constructor=ae}_e(ae,oe),ae.prototype=oe===null?Object.create(oe):(re.prototype=oe.prototype,new re)}),pe=this&&this.__decorate||function(ae,oe,re,z){var a,y=arguments.length,x=y<3?oe:z===null?z=Object.getOwnPropertyDescriptor(oe,re):z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,re,z);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,re,x):a(oe,re))||x);return y>3&&x&&Object.defineProperty(oe,re,x),x},de=this&&this.__param||function(ae,oe){return function(re,z){oe(re,z,ae)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.Linkifier2=void 0;var se=be(1),ne=be(0),ie=be(2),ce=be(7),ue=function(ae){function oe(re){var z=ae.call(this)||this;return z._bufferService=re,z._linkProviders=[],z._linkCacheDisposables=[],z._isMouseOut=!0,z._activeLine=-1,z._onShowLinkUnderline=z.register(new ne.EventEmitter),z._onHideLinkUnderline=z.register(new ne.EventEmitter),z.register(ie.getDisposeArrayDisposable(z._linkCacheDisposables)),z}return E(oe,ae),Object.defineProperty(oe.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),oe.prototype.registerLinkProvider=function(re){var z=this;return this._linkProviders.push(re),{dispose:function(){var a=z._linkProviders.indexOf(re);a!==-1&&z._linkProviders.splice(a,1)}}},oe.prototype.attachToDom=function(re,z,a){var y=this;this._element=re,this._mouseService=z,this._renderService=a,this.register(ce.addDisposableDomListener(this._element,"mouseleave",function(){y._isMouseOut=!0,y._clearCurrentLink()})),this.register(ce.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(ce.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},oe.prototype._onMouseMove=function(re){if(this._lastMouseEvent=re,this._element&&this._mouseService){var z=this._positionFromMouseEvent(re,this._element,this._mouseService);if(z){this._isMouseOut=!1;for(var a=re.composedPath(),y=0;y<a.length;y++){var x=a[y];if(x.classList.contains("xterm"))break;if(x.classList.contains("xterm-hover"))return}this._lastBufferCell&&z.x===this._lastBufferCell.x&&z.y===this._lastBufferCell.y||(this._onHover(z),this._lastBufferCell=z)}}},oe.prototype._onHover=function(re){if(this._activeLine!==re.y)return this._clearCurrentLink(),void this._askForLink(re,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,re)||(this._clearCurrentLink(),this._askForLink(re,!0))},oe.prototype._askForLink=function(re,z){var a=this;this._activeProviderReplies&&z||(this._activeProviderReplies=new Map,this._activeLine=re.y);var y=!1;this._linkProviders.forEach(function(x,b){var ee;z?!((ee=a._activeProviderReplies)===null||ee===void 0)&&ee.get(b)&&(y=a._checkLinkProviderResult(b,re,y)):x.provideLinks(re.y,function(te){var le,fe;if(!a._isMouseOut){var ge=te==null?void 0:te.map(function(me){return{link:me}});(le=a._activeProviderReplies)===null||le===void 0||le.set(b,ge),y=a._checkLinkProviderResult(b,re,y),((fe=a._activeProviderReplies)===null||fe===void 0?void 0:fe.size)===a._linkProviders.length&&a._removeIntersectingLinks(re.y,a._activeProviderReplies)}})})},oe.prototype._removeIntersectingLinks=function(re,z){for(var a=new Set,y=0;y<z.size;y++){var x=z.get(y);if(x)for(var b=0;b<x.length;b++)for(var ee=x[b],te=ee.link.range.start.y<re?0:ee.link.range.start.x,le=ee.link.range.end.y>re?this._bufferService.cols:ee.link.range.end.x,fe=te;fe<=le;fe++){if(a.has(fe)){x.splice(b--,1);break}a.add(fe)}}},oe.prototype._checkLinkProviderResult=function(re,z,a){var y,x=this;if(!this._activeProviderReplies)return a;for(var b=this._activeProviderReplies.get(re),ee=!1,te=0;te<re;te++)this._activeProviderReplies.has(te)&&!this._activeProviderReplies.get(te)||(ee=!0);if(!ee&&b){var le=b.find(function(ge){return x._linkAtPosition(ge.link,z)});le&&(a=!0,this._handleNewLink(le))}if(this._activeProviderReplies.size===this._linkProviders.length&&!a)for(te=0;te<this._activeProviderReplies.size;te++){var fe=(y=this._activeProviderReplies.get(te))===null||y===void 0?void 0:y.find(function(ge){return x._linkAtPosition(ge.link,z)});if(fe){a=!0,this._handleNewLink(fe);break}}return a},oe.prototype._onClick=function(re){if(this._element&&this._mouseService&&this._currentLink){var z=this._positionFromMouseEvent(re,this._element,this._mouseService);z&&this._linkAtPosition(this._currentLink.link,z)&&this._currentLink.link.activate(re,this._currentLink.link.text)}},oe.prototype._clearCurrentLink=function(re,z){this._element&&this._currentLink&&this._lastMouseEvent&&(!re||!z||this._currentLink.link.range.start.y>=re&&this._currentLink.link.range.end.y<=z)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,ie.disposeArray(this._linkCacheDisposables))},oe.prototype._handleNewLink=function(re){var z=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var a=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);a&&this._linkAtPosition(re.link,a)&&(this._currentLink=re,this._currentLink.state={decorations:{underline:re.link.decorations===void 0||re.link.decorations.underline,pointerCursor:re.link.decorations===void 0||re.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,re.link,this._lastMouseEvent),re.link.decorations={},Object.defineProperties(re.link.decorations,{pointerCursor:{get:function(){var y,x;return(x=(y=z._currentLink)===null||y===void 0?void 0:y.state)===null||x===void 0?void 0:x.decorations.pointerCursor},set:function(y){var x,b;!((x=z._currentLink)===null||x===void 0)&&x.state&&z._currentLink.state.decorations.pointerCursor!==y&&(z._currentLink.state.decorations.pointerCursor=y,z._currentLink.state.isHovered&&((b=z._element)===null||b===void 0||b.classList.toggle("xterm-cursor-pointer",y)))}},underline:{get:function(){var y,x;return(x=(y=z._currentLink)===null||y===void 0?void 0:y.state)===null||x===void 0?void 0:x.decorations.underline},set:function(y){var x,b,ee;!((x=z._currentLink)===null||x===void 0)&&x.state&&((ee=(b=z._currentLink)===null||b===void 0?void 0:b.state)===null||ee===void 0?void 0:ee.decorations.underline)!==y&&(z._currentLink.state.decorations.underline=y,z._currentLink.state.isHovered&&z._fireUnderlineEvent(re.link,y))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(y){var x=y.start===0?0:y.start+1+z._bufferService.buffer.ydisp;z._clearCurrentLink(x,y.end+1+z._bufferService.buffer.ydisp)})))}},oe.prototype._linkHover=function(re,z,a){var y;!((y=this._currentLink)===null||y===void 0)&&y.state&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(z,!0),this._currentLink.state.decorations.pointerCursor&&re.classList.add("xterm-cursor-pointer")),z.hover&&z.hover(a,z.text)},oe.prototype._fireUnderlineEvent=function(re,z){var a=re.range,y=this._bufferService.buffer.ydisp,x=this._createLinkUnderlineEvent(a.start.x-1,a.start.y-y-1,a.end.x,a.end.y-y-1,void 0);(z?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(x)},oe.prototype._linkLeave=function(re,z,a){var y;!((y=this._currentLink)===null||y===void 0)&&y.state&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(z,!1),this._currentLink.state.decorations.pointerCursor&&re.classList.remove("xterm-cursor-pointer")),z.leave&&z.leave(a,z.text)},oe.prototype._linkAtPosition=function(re,z){var a=re.range.start.y===re.range.end.y,y=re.range.start.y<z.y,x=re.range.end.y>z.y;return(a&&re.range.start.x<=z.x&&re.range.end.x>=z.x||y&&re.range.end.x>=z.x||x&&re.range.start.x<=z.x||y&&x)&&re.range.start.y<=z.y&&re.range.end.y>=z.y},oe.prototype._positionFromMouseEvent=function(re,z,a){var y=a.getCoords(re,z,this._bufferService.cols,this._bufferService.rows);if(y)return{x:y[0],y:y[1]+this._bufferService.buffer.ydisp}},oe.prototype._createLinkUnderlineEvent=function(re,z,a,y,x){return{x1:re,y1:z,x2:a,y2:y,cols:this._bufferService.cols,fg:x}},oe=pe([de(0,se.IBufferService)],oe)}(ie.Disposable);ve.Linkifier2=ue},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.CoreBrowserService=void 0;var _e=function(){function E(pe){this._textarea=pe}return Object.defineProperty(E.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),E}();ve.CoreBrowserService=_e},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(te,le){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(fe,ge){fe.__proto__=ge}||function(fe,ge){for(var me in ge)ge.hasOwnProperty(me)&&(fe[me]=ge[me])})(te,le)},function(te,le){function fe(){this.constructor=te}_e(te,le),te.prototype=le===null?Object.create(le):(fe.prototype=le.prototype,new fe)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.CoreTerminal=void 0;var pe=be(2),de=be(1),se=be(66),ne=be(67),ie=be(68),ce=be(74),ue=be(75),ae=be(0),oe=be(76),re=be(77),z=be(78),a=be(80),y=be(81),x=be(19),b=be(82),ee=function(te){function le(fe){var ge=te.call(this)||this;return ge._onBinary=new ae.EventEmitter,ge._onData=new ae.EventEmitter,ge._onLineFeed=new ae.EventEmitter,ge._onResize=new ae.EventEmitter,ge._onScroll=new ae.EventEmitter,ge._instantiationService=new se.InstantiationService,ge.optionsService=new ce.OptionsService(fe),ge._instantiationService.setService(de.IOptionsService,ge.optionsService),ge._bufferService=ge.register(ge._instantiationService.createInstance(ie.BufferService)),ge._instantiationService.setService(de.IBufferService,ge._bufferService),ge._logService=ge._instantiationService.createInstance(ne.LogService),ge._instantiationService.setService(de.ILogService,ge._logService),ge._coreService=ge.register(ge._instantiationService.createInstance(ue.CoreService,function(){return ge.scrollToBottom()})),ge._instantiationService.setService(de.ICoreService,ge._coreService),ge._coreMouseService=ge._instantiationService.createInstance(oe.CoreMouseService),ge._instantiationService.setService(de.ICoreMouseService,ge._coreMouseService),ge._dirtyRowService=ge._instantiationService.createInstance(re.DirtyRowService),ge._instantiationService.setService(de.IDirtyRowService,ge._dirtyRowService),ge.unicodeService=ge._instantiationService.createInstance(z.UnicodeService),ge._instantiationService.setService(de.IUnicodeService,ge.unicodeService),ge._charsetService=ge._instantiationService.createInstance(a.CharsetService),ge._instantiationService.setService(de.ICharsetService,ge._charsetService),ge._inputHandler=new x.InputHandler(ge._bufferService,ge._charsetService,ge._coreService,ge._dirtyRowService,ge._logService,ge.optionsService,ge._coreMouseService,ge.unicodeService),ge.register(ae.forwardEvent(ge._inputHandler.onLineFeed,ge._onLineFeed)),ge.register(ge._inputHandler),ge.register(ae.forwardEvent(ge._bufferService.onResize,ge._onResize)),ge.register(ae.forwardEvent(ge._coreService.onData,ge._onData)),ge.register(ae.forwardEvent(ge._coreService.onBinary,ge._onBinary)),ge.register(ge.optionsService.onOptionChange(function(me){return ge._updateOptions(me)})),ge._writeBuffer=new b.WriteBuffer(function(me){return ge._inputHandler.parse(me)}),ge}return E(le,te),Object.defineProperty(le.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(le.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),le.prototype.dispose=function(){var fe;this._isDisposed||(te.prototype.dispose.call(this),(fe=this._windowsMode)===null||fe===void 0||fe.dispose(),this._windowsMode=void 0)},le.prototype.write=function(fe,ge){this._writeBuffer.write(fe,ge)},le.prototype.writeSync=function(fe){this._writeBuffer.writeSync(fe)},le.prototype.resize=function(fe,ge){isNaN(fe)||isNaN(ge)||(fe=Math.max(fe,ie.MINIMUM_COLS),ge=Math.max(ge,ie.MINIMUM_ROWS),this._bufferService.resize(fe,ge))},le.prototype.scroll=function(fe,ge){ge===void 0&&(ge=!1);var me,he=this._bufferService.buffer;(me=this._cachedBlankLine)&&me.length===this.cols&&me.getFg(0)===fe.fg&&me.getBg(0)===fe.bg||(me=he.getBlankLine(fe,ge),this._cachedBlankLine=me),me.isWrapped=ge;var Se=he.ybase+he.scrollTop,ye=he.ybase+he.scrollBottom;if(he.scrollTop===0){var Pe=he.lines.isFull;ye===he.lines.length-1?Pe?he.lines.recycle().copyFrom(me):he.lines.push(me.clone()):he.lines.splice(ye+1,0,me.clone()),Pe?this._bufferService.isUserScrolling&&(he.ydisp=Math.max(he.ydisp-1,0)):(he.ybase++,this._bufferService.isUserScrolling||he.ydisp++)}else{var we=ye-Se+1;he.lines.shiftElements(Se+1,we-1,-1),he.lines.set(ye,me.clone())}this._bufferService.isUserScrolling||(he.ydisp=he.ybase),this._dirtyRowService.markRangeDirty(he.scrollTop,he.scrollBottom),this._onScroll.fire(he.ydisp)},le.prototype.scrollLines=function(fe,ge){var me=this._bufferService.buffer;if(fe<0){if(me.ydisp===0)return;this._bufferService.isUserScrolling=!0}else fe+me.ydisp>=me.ybase&&(this._bufferService.isUserScrolling=!1);var he=me.ydisp;me.ydisp=Math.max(Math.min(me.ydisp+fe,me.ybase),0),he!==me.ydisp&&(ge||this._onScroll.fire(me.ydisp))},le.prototype.scrollPages=function(fe){this.scrollLines(fe*(this.rows-1))},le.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},le.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},le.prototype.scrollToLine=function(fe){var ge=fe-this._bufferService.buffer.ydisp;ge!==0&&this.scrollLines(ge)},le.prototype.addEscHandler=function(fe,ge){return this._inputHandler.addEscHandler(fe,ge)},le.prototype.addDcsHandler=function(fe,ge){return this._inputHandler.addDcsHandler(fe,ge)},le.prototype.addCsiHandler=function(fe,ge){return this._inputHandler.addCsiHandler(fe,ge)},le.prototype.addOscHandler=function(fe,ge){return this._inputHandler.addOscHandler(fe,ge)},le.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},le.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},le.prototype._updateOptions=function(fe){var ge;switch(fe){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((ge=this._windowsMode)===null||ge===void 0||ge.dispose(),this._windowsMode=void 0)}},le.prototype._enableWindowsMode=function(){var fe=this;if(!this._windowsMode){var ge=[];ge.push(this.onLineFeed(y.updateWindowsModeWrappedState.bind(null,this._bufferService))),ge.push(this.addCsiHandler({final:"H"},function(){return y.updateWindowsModeWrappedState(fe._bufferService),!1})),this._windowsMode={dispose:function(){for(var me=0,he=ge;me<he.length;me++)he[me].dispose()}}}},le}(pe.Disposable);ve.CoreTerminal=ee},function(dt,ve,be){"use strict";var _e=this&&this.__spreadArrays||function(){for(var ne=0,ie=0,ce=arguments.length;ie<ce;ie++)ne+=arguments[ie].length;var ue=Array(ne),ae=0;for(ie=0;ie<ce;ie++)for(var oe=arguments[ie],re=0,z=oe.length;re<z;re++,ae++)ue[ae]=oe[re];return ue};Object.defineProperty(ve,"__esModule",{value:!0}),ve.InstantiationService=ve.ServiceCollection=void 0;var E=be(1),pe=be(14),de=function(){function ne(){for(var ie=[],ce=0;ce<arguments.length;ce++)ie[ce]=arguments[ce];this._entries=new Map;for(var ue=0,ae=ie;ue<ae.length;ue++){var oe=ae[ue],re=oe[0],z=oe[1];this.set(re,z)}}return ne.prototype.set=function(ie,ce){var ue=this._entries.get(ie);return this._entries.set(ie,ce),ue},ne.prototype.forEach=function(ie){this._entries.forEach(function(ce,ue){return ie(ue,ce)})},ne.prototype.has=function(ie){return this._entries.has(ie)},ne.prototype.get=function(ie){return this._entries.get(ie)},ne}();ve.ServiceCollection=de;var se=function(){function ne(){this._services=new de,this._services.set(E.IInstantiationService,this)}return ne.prototype.setService=function(ie,ce){this._services.set(ie,ce)},ne.prototype.getService=function(ie){return this._services.get(ie)},ne.prototype.createInstance=function(ie){for(var ce=[],ue=1;ue<arguments.length;ue++)ce[ue-1]=arguments[ue];for(var ae=pe.getServiceDependencies(ie).sort(function(b,ee){return b.index-ee.index}),oe=[],re=0,z=ae;re<z.length;re++){var a=z[re],y=this._services.get(a.id);if(!y)throw new Error("[createInstance] "+ie.name+" depends on UNKNOWN service "+a.id+".");oe.push(y)}var x=ae.length>0?ae[0].index:ce.length;if(ce.length!==x)throw new Error("[createInstance] First service dependency of "+ie.name+" at position "+(x+1)+" conflicts with "+ce.length+" static arguments");return new(ie.bind.apply(ie,_e([void 0],_e(ce,oe))))},ne}();ve.InstantiationService=se},function(dt,ve,be){"use strict";var _e=this&&this.__decorate||function(ce,ue,ae,oe){var re,z=arguments.length,a=z<3?ue:oe===null?oe=Object.getOwnPropertyDescriptor(ue,ae):oe;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(ce,ue,ae,oe);else for(var y=ce.length-1;y>=0;y--)(re=ce[y])&&(a=(z<3?re(a):z>3?re(ue,ae,a):re(ue,ae))||a);return z>3&&a&&Object.defineProperty(ue,ae,a),a},E=this&&this.__param||function(ce,ue){return function(ae,oe){ue(ae,oe,ce)}},pe=this&&this.__spreadArrays||function(){for(var ce=0,ue=0,ae=arguments.length;ue<ae;ue++)ce+=arguments[ue].length;var oe=Array(ce),re=0;for(ue=0;ue<ae;ue++)for(var z=arguments[ue],a=0,y=z.length;a<y;a++,re++)oe[re]=z[a];return oe};Object.defineProperty(ve,"__esModule",{value:!0}),ve.LogService=ve.LogLevel=void 0;var de,se=be(1);(function(ce){ce[ce.DEBUG=0]="DEBUG",ce[ce.INFO=1]="INFO",ce[ce.WARN=2]="WARN",ce[ce.ERROR=3]="ERROR",ce[ce.OFF=4]="OFF"})(de=ve.LogLevel||(ve.LogLevel={}));var ne={debug:de.DEBUG,info:de.INFO,warn:de.WARN,error:de.ERROR,off:de.OFF},ie=function(){function ce(ue){var ae=this;this._optionsService=ue,this._updateLogLevel(),this._optionsService.onOptionChange(function(oe){oe==="logLevel"&&ae._updateLogLevel()})}return ce.prototype._updateLogLevel=function(){this._logLevel=ne[this._optionsService.options.logLevel]},ce.prototype._evalLazyOptionalParams=function(ue){for(var ae=0;ae<ue.length;ae++)typeof ue[ae]=="function"&&(ue[ae]=ue[ae]())},ce.prototype._log=function(ue,ae,oe){this._evalLazyOptionalParams(oe),ue.call.apply(ue,pe([console,"xterm.js: "+ae],oe))},ce.prototype.debug=function(ue){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=de.DEBUG&&this._log(console.log,ue,ae)},ce.prototype.info=function(ue){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=de.INFO&&this._log(console.info,ue,ae)},ce.prototype.warn=function(ue){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=de.WARN&&this._log(console.warn,ue,ae)},ce.prototype.error=function(ue){for(var ae=[],oe=1;oe<arguments.length;oe++)ae[oe-1]=arguments[oe];this._logLevel<=de.ERROR&&this._log(console.error,ue,ae)},ce=_e([E(0,se.IOptionsService)],ce)}();ve.LogService=ie},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ae,oe){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,z){re.__proto__=z}||function(re,z){for(var a in z)z.hasOwnProperty(a)&&(re[a]=z[a])})(ae,oe)},function(ae,oe){function re(){this.constructor=ae}_e(ae,oe),ae.prototype=oe===null?Object.create(oe):(re.prototype=oe.prototype,new re)}),pe=this&&this.__decorate||function(ae,oe,re,z){var a,y=arguments.length,x=y<3?oe:z===null?z=Object.getOwnPropertyDescriptor(oe,re):z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,re,z);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,re,x):a(oe,re))||x);return y>3&&x&&Object.defineProperty(oe,re,x),x},de=this&&this.__param||function(ae,oe){return function(re,z){oe(re,z,ae)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.BufferService=ve.MINIMUM_ROWS=ve.MINIMUM_COLS=void 0;var se=be(1),ne=be(69),ie=be(0),ce=be(2);ve.MINIMUM_COLS=2,ve.MINIMUM_ROWS=1;var ue=function(ae){function oe(re){var z=ae.call(this)||this;return z._optionsService=re,z.isUserScrolling=!1,z._onResize=new ie.EventEmitter,z.cols=Math.max(re.options.cols,ve.MINIMUM_COLS),z.rows=Math.max(re.options.rows,ve.MINIMUM_ROWS),z.buffers=new ne.BufferSet(re,z),z}return E(oe,ae),Object.defineProperty(oe.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),oe.prototype.dispose=function(){ae.prototype.dispose.call(this),this.buffers.dispose()},oe.prototype.resize=function(re,z){this.cols=re,this.rows=z,this.buffers.resize(re,z),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:re,rows:z})},oe.prototype.reset=function(){this.buffers.dispose(),this.buffers=new ne.BufferSet(this._optionsService,this),this.isUserScrolling=!1},oe=pe([de(0,se.IOptionsService)],oe)}(ce.Disposable);ve.BufferService=ue},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(ne,ie){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ce,ue){ce.__proto__=ue}||function(ce,ue){for(var ae in ue)ue.hasOwnProperty(ae)&&(ce[ae]=ue[ae])})(ne,ie)},function(ne,ie){function ce(){this.constructor=ne}_e(ne,ie),ne.prototype=ie===null?Object.create(ie):(ce.prototype=ie.prototype,new ce)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.BufferSet=void 0;var pe=be(70),de=be(0),se=function(ne){function ie(ce,ue){var ae=ne.call(this)||this;return ae._onBufferActivate=ae.register(new de.EventEmitter),ae._normal=new pe.Buffer(!0,ce,ue),ae._normal.fillViewportRows(),ae._alt=new pe.Buffer(!1,ce,ue),ae._activeBuffer=ae._normal,ae.setupTabStops(),ae}return E(ie,ne),Object.defineProperty(ie.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),ie.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},ie.prototype.activateAltBuffer=function(ce){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(ce),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},ie.prototype.resize=function(ce,ue){this._normal.resize(ce,ue),this._alt.resize(ce,ue)},ie.prototype.setupTabStops=function(ce){this._normal.setupTabStops(ce),this._alt.setupTabStops(ce)},ie}(be(2).Disposable);ve.BufferSet=se},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.BufferStringIterator=ve.Buffer=ve.MAX_BUFFER_SIZE=void 0;var _e=be(71),E=be(16),pe=be(4),de=be(3),se=be(72),ne=be(73),ie=be(20),ce=be(6);ve.MAX_BUFFER_SIZE=4294967295;var ue=function(){function oe(re,z,a){this._hasScrollback=re,this._optionsService=z,this._bufferService=a,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=E.DEFAULT_ATTR_DATA.clone(),this.savedCharset=ie.DEFAULT_CHARSET,this.markers=[],this._nullCell=pe.CellData.fromCharData([0,de.NULL_CELL_CHAR,de.NULL_CELL_WIDTH,de.NULL_CELL_CODE]),this._whitespaceCell=pe.CellData.fromCharData([0,de.WHITESPACE_CELL_CHAR,de.WHITESPACE_CELL_WIDTH,de.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new _e.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return oe.prototype.getNullCell=function(re){return re?(this._nullCell.fg=re.fg,this._nullCell.bg=re.bg,this._nullCell.extended=re.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new ce.ExtendedAttrs),this._nullCell},oe.prototype.getWhitespaceCell=function(re){return re?(this._whitespaceCell.fg=re.fg,this._whitespaceCell.bg=re.bg,this._whitespaceCell.extended=re.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new ce.ExtendedAttrs),this._whitespaceCell},oe.prototype.getBlankLine=function(re,z){return new E.BufferLine(this._bufferService.cols,this.getNullCell(re),z)},Object.defineProperty(oe.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"isCursorInViewport",{get:function(){var re=this.ybase+this.y-this.ydisp;return re>=0&&re<this._rows},enumerable:!1,configurable:!0}),oe.prototype._getCorrectBufferLength=function(re){if(!this._hasScrollback)return re;var z=re+this._optionsService.options.scrollback;return z>ve.MAX_BUFFER_SIZE?ve.MAX_BUFFER_SIZE:z},oe.prototype.fillViewportRows=function(re){if(this.lines.length===0){re===void 0&&(re=E.DEFAULT_ATTR_DATA);for(var z=this._rows;z--;)this.lines.push(this.getBlankLine(re))}},oe.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new _e.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},oe.prototype.resize=function(re,z){var a=this.getNullCell(E.DEFAULT_ATTR_DATA),y=this._getCorrectBufferLength(z);if(y>this.lines.maxLength&&(this.lines.maxLength=y),this.lines.length>0){if(this._cols<re)for(var x=0;x<this.lines.length;x++)this.lines.get(x).resize(re,a);var b=0;if(this._rows<z)for(var ee=this._rows;ee<z;ee++)this.lines.length<z+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new E.BufferLine(re,a)):this.ybase>0&&this.lines.length<=this.ybase+this.y+b+1?(this.ybase--,b++,this.ydisp>0&&this.ydisp--):this.lines.push(new E.BufferLine(re,a)));else for(ee=this._rows;ee>z;ee--)this.lines.length>z+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(y<this.lines.maxLength){var te=this.lines.length-y;te>0&&(this.lines.trimStart(te),this.ybase=Math.max(this.ybase-te,0),this.ydisp=Math.max(this.ydisp-te,0),this.savedY=Math.max(this.savedY-te,0)),this.lines.maxLength=y}this.x=Math.min(this.x,re-1),this.y=Math.min(this.y,z-1),b&&(this.y+=b),this.savedX=Math.min(this.savedX,re-1),this.scrollTop=0}if(this.scrollBottom=z-1,this._isReflowEnabled&&(this._reflow(re,z),this._cols>re))for(x=0;x<this.lines.length;x++)this.lines.get(x).resize(re,a);this._cols=re,this._rows=z},Object.defineProperty(oe.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),oe.prototype._reflow=function(re,z){this._cols!==re&&(re>this._cols?this._reflowLarger(re,z):this._reflowSmaller(re,z))},oe.prototype._reflowLarger=function(re,z){var a=se.reflowLargerGetLinesToRemove(this.lines,this._cols,re,this.ybase+this.y,this.getNullCell(E.DEFAULT_ATTR_DATA));if(a.length>0){var y=se.reflowLargerCreateNewLayout(this.lines,a);se.reflowLargerApplyNewLayout(this.lines,y.layout),this._reflowLargerAdjustViewport(re,z,y.countRemoved)}},oe.prototype._reflowLargerAdjustViewport=function(re,z,a){for(var y=this.getNullCell(E.DEFAULT_ATTR_DATA),x=a;x-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<z&&this.lines.push(new E.BufferLine(re,y))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-a,0)},oe.prototype._reflowSmaller=function(re,z){for(var a=this.getNullCell(E.DEFAULT_ATTR_DATA),y=[],x=0,b=this.lines.length-1;b>=0;b--){var ee=this.lines.get(b);if(!(!ee||!ee.isWrapped&&ee.getTrimmedLength()<=re)){for(var te=[ee];ee.isWrapped&&b>0;)ee=this.lines.get(--b),te.unshift(ee);var le=this.ybase+this.y;if(!(le>=b&&le<b+te.length)){var fe=te[te.length-1].getTrimmedLength(),ge=se.reflowSmallerGetNewLineLengths(te,this._cols,re),me=ge.length-te.length,he=void 0;he=this.ybase===0&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+me):Math.max(0,this.lines.length-this.lines.maxLength+me);for(var Se=[],ye=0;ye<me;ye++){var Pe=this.getBlankLine(E.DEFAULT_ATTR_DATA,!0);Se.push(Pe)}Se.length>0&&(y.push({start:b+te.length+x,newLines:Se}),x+=Se.length),te.push.apply(te,Se);var we=ge.length-1,De=ge[we];De===0&&(De=ge[--we]);for(var xe=te.length-me-1,Ae=fe;xe>=0;){var Ce=Math.min(Ae,De);if(te[we].copyCellsFrom(te[xe],Ae-Ce,De-Ce,Ce,!0),(De-=Ce)===0&&(De=ge[--we]),(Ae-=Ce)===0){xe--;var je=Math.max(xe,0);Ae=se.getWrappedLineTrimmedLength(te,je,this._cols)}}for(ye=0;ye<te.length;ye++)ge[ye]<re&&te[ye].setCell(ge[ye],a);for(var Fe=me-he;Fe-- >0;)this.ybase===0?this.y<z-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+x)-z&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+me,this.ybase+z-1)}}}if(y.length>0){var Ge=[],Be=[];for(ye=0;ye<this.lines.length;ye++)Be.push(this.lines.get(ye));var tt=this.lines.length,Ye=tt-1,Ve=0,Xe=y[Ve];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+x);var Ze=0;for(ye=Math.min(this.lines.maxLength-1,tt+x-1);ye>=0;ye--)if(Xe&&Xe.start>Ye+Ze){for(var ke=Xe.newLines.length-1;ke>=0;ke--)this.lines.set(ye--,Xe.newLines[ke]);ye++,Ge.push({index:Ye+1,amount:Xe.newLines.length}),Ze+=Xe.newLines.length,Xe=y[++Ve]}else this.lines.set(ye,Be[Ye--]);var ze=0;for(ye=Ge.length-1;ye>=0;ye--)Ge[ye].index+=ze,this.lines.onInsertEmitter.fire(Ge[ye]),ze+=Ge[ye].amount;var et=Math.max(0,tt+x-this.lines.maxLength);et>0&&this.lines.onTrimEmitter.fire(et)}},oe.prototype.stringIndexToBufferIndex=function(re,z,a){for(a===void 0&&(a=!1);z;){var y=this.lines.get(re);if(!y)return[-1,-1];for(var x=a?y.getTrimmedLength():y.length,b=0;b<x;++b)if(y.get(b)[de.CHAR_DATA_WIDTH_INDEX]&&(z-=y.get(b)[de.CHAR_DATA_CHAR_INDEX].length||1),z<0)return[re,b];re++}return[re,0]},oe.prototype.translateBufferLineToString=function(re,z,a,y){a===void 0&&(a=0);var x=this.lines.get(re);return x?x.translateToString(z,a,y):""},oe.prototype.getWrappedRangeForLine=function(re){for(var z=re,a=re;z>0&&this.lines.get(z).isWrapped;)z--;for(;a+1<this.lines.length&&this.lines.get(a+1).isWrapped;)a++;return{first:z,last:a}},oe.prototype.setupTabStops=function(re){for(re!=null?this.tabs[re]||(re=this.prevStop(re)):(this.tabs={},re=0);re<this._cols;re+=this._optionsService.options.tabStopWidth)this.tabs[re]=!0},oe.prototype.prevStop=function(re){for(re==null&&(re=this.x);!this.tabs[--re]&&re>0;);return re>=this._cols?this._cols-1:re<0?0:re},oe.prototype.nextStop=function(re){for(re==null&&(re=this.x);!this.tabs[++re]&&re<this._cols;);return re>=this._cols?this._cols-1:re<0?0:re},oe.prototype.addMarker=function(re){var z=this,a=new ne.Marker(re);return this.markers.push(a),a.register(this.lines.onTrim(function(y){a.line-=y,a.line<0&&a.dispose()})),a.register(this.lines.onInsert(function(y){a.line>=y.index&&(a.line+=y.amount)})),a.register(this.lines.onDelete(function(y){a.line>=y.index&&a.line<y.index+y.amount&&a.dispose(),a.line>y.index&&(a.line-=y.amount)})),a.register(a.onDispose(function(){return z._removeMarker(a)})),a},oe.prototype._removeMarker=function(re){this.markers.splice(this.markers.indexOf(re),1)},oe.prototype.iterator=function(re,z,a,y,x){return new ae(this,re,z,a,y,x)},oe}();ve.Buffer=ue;var ae=function(){function oe(re,z,a,y,x,b){a===void 0&&(a=0),y===void 0&&(y=re.lines.length),x===void 0&&(x=0),b===void 0&&(b=0),this._buffer=re,this._trimRight=z,this._startIndex=a,this._endIndex=y,this._startOverscan=x,this._endOverscan=b,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return oe.prototype.hasNext=function(){return this._current<this._endIndex},oe.prototype.next=function(){var re=this._buffer.getWrappedRangeForLine(this._current);re.first<this._startIndex-this._startOverscan&&(re.first=this._startIndex-this._startOverscan),re.last>this._endIndex+this._endOverscan&&(re.last=this._endIndex+this._endOverscan),re.first=Math.max(re.first,0),re.last=Math.min(re.last,this._buffer.lines.length);for(var z="",a=re.first;a<=re.last;++a)z+=this._buffer.translateBufferLineToString(a,this._trimRight);return this._current=re.last+1,{range:re,content:z}},oe}();ve.BufferStringIterator=ae},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.CircularList=void 0;var _e=be(0),E=function(){function pe(de){this._maxLength=de,this.onDeleteEmitter=new _e.EventEmitter,this.onInsertEmitter=new _e.EventEmitter,this.onTrimEmitter=new _e.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(pe.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(pe.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(pe.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(pe.prototype,"maxLength",{get:function(){return this._maxLength},set:function(de){if(this._maxLength!==de){for(var se=new Array(de),ne=0;ne<Math.min(de,this.length);ne++)se[ne]=this._array[this._getCyclicIndex(ne)];this._array=se,this._maxLength=de,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(pe.prototype,"length",{get:function(){return this._length},set:function(de){if(de>this._length)for(var se=this._length;se<de;se++)this._array[se]=void 0;this._length=de},enumerable:!1,configurable:!0}),pe.prototype.get=function(de){return this._array[this._getCyclicIndex(de)]},pe.prototype.set=function(de,se){this._array[this._getCyclicIndex(de)]=se},pe.prototype.push=function(de){this._array[this._getCyclicIndex(this._length)]=de,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},pe.prototype.recycle=function(){if(this._length!==this._maxLength)throw new Error("Can only recycle when the buffer is full");return this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1),this._array[this._getCyclicIndex(this._length-1)]},Object.defineProperty(pe.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),pe.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},pe.prototype.splice=function(de,se){for(var ne=[],ie=2;ie<arguments.length;ie++)ne[ie-2]=arguments[ie];if(se){for(var ce=de;ce<this._length-se;ce++)this._array[this._getCyclicIndex(ce)]=this._array[this._getCyclicIndex(ce+se)];this._length-=se}for(ce=this._length-1;ce>=de;ce--)this._array[this._getCyclicIndex(ce+ne.length)]=this._array[this._getCyclicIndex(ce)];for(ce=0;ce<ne.length;ce++)this._array[this._getCyclicIndex(de+ce)]=ne[ce];if(this._length+ne.length>this._maxLength){var ue=this._length+ne.length-this._maxLength;this._startIndex+=ue,this._length=this._maxLength,this.onTrimEmitter.fire(ue)}else this._length+=ne.length},pe.prototype.trimStart=function(de){de>this._length&&(de=this._length),this._startIndex+=de,this._length-=de,this.onTrimEmitter.fire(de)},pe.prototype.shiftElements=function(de,se,ne){if(!(se<=0)){if(de<0||de>=this._length)throw new Error("start argument out of range");if(de+ne<0)throw new Error("Cannot shift elements in list beyond index 0");if(ne>0){for(var ie=se-1;ie>=0;ie--)this.set(de+ie+ne,this.get(de+ie));var ce=de+se+ne-this._length;if(ce>0)for(this._length+=ce;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(ie=0;ie<se;ie++)this.set(de+ie+ne,this.get(de+ie))}},pe.prototype._getCyclicIndex=function(de){return(this._startIndex+de)%this._maxLength},pe}();ve.CircularList=E},function(dt,ve,be){"use strict";function _e(E,pe,de){if(pe===E.length-1)return E[pe].getTrimmedLength();var se=!E[pe].hasContent(de-1)&&E[pe].getWidth(de-1)===1,ne=E[pe+1].getWidth(0)===2;return se&&ne?de-1:de}Object.defineProperty(ve,"__esModule",{value:!0}),ve.getWrappedLineTrimmedLength=ve.reflowSmallerGetNewLineLengths=ve.reflowLargerApplyNewLayout=ve.reflowLargerCreateNewLayout=ve.reflowLargerGetLinesToRemove=void 0,ve.reflowLargerGetLinesToRemove=function(E,pe,de,se,ne){for(var ie=[],ce=0;ce<E.length-1;ce++){var ue=ce,ae=E.get(++ue);if(ae.isWrapped){for(var oe=[E.get(ce)];ue<E.length&&ae.isWrapped;)oe.push(ae),ae=E.get(++ue);if(se>=ce&&se<ue)ce+=oe.length-1;else{for(var re=0,z=_e(oe,re,pe),a=1,y=0;a<oe.length;){var x=_e(oe,a,pe),b=x-y,ee=de-z,te=Math.min(b,ee);oe[re].copyCellsFrom(oe[a],y,z,te,!1),(z+=te)===de&&(re++,z=0),(y+=te)===x&&(a++,y=0),z===0&&re!==0&&oe[re-1].getWidth(de-1)===2&&(oe[re].copyCellsFrom(oe[re-1],de-1,z++,1,!1),oe[re-1].setCell(de-1,ne))}oe[re].replaceCells(z,de,ne);for(var le=0,fe=oe.length-1;fe>0&&(fe>re||oe[fe].getTrimmedLength()===0);fe--)le++;le>0&&(ie.push(ce+oe.length-le),ie.push(le)),ce+=oe.length-1}}}return ie},ve.reflowLargerCreateNewLayout=function(E,pe){for(var de=[],se=0,ne=pe[se],ie=0,ce=0;ce<E.length;ce++)if(ne===ce){var ue=pe[++se];E.onDeleteEmitter.fire({index:ce-ie,amount:ue}),ce+=ue-1,ie+=ue,ne=pe[++se]}else de.push(ce);return{layout:de,countRemoved:ie}},ve.reflowLargerApplyNewLayout=function(E,pe){for(var de=[],se=0;se<pe.length;se++)de.push(E.get(pe[se]));for(se=0;se<de.length;se++)E.set(se,de[se]);E.length=pe.length},ve.reflowSmallerGetNewLineLengths=function(E,pe,de){for(var se=[],ne=E.map(function(z,a){return _e(E,a,pe)}).reduce(function(z,a){return z+a}),ie=0,ce=0,ue=0;ue<ne;){if(ne-ue<de){se.push(ne-ue);break}ie+=de;var ae=_e(E,ce,pe);ie>ae&&(ie-=ae,ce++);var oe=E[ce].getWidth(ie-1)===2;oe&&ie--;var re=oe?de-1:de;se.push(re),ue+=re}return se},ve.getWrappedLineTrimmedLength=_e},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(se,ne){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ie,ce){ie.__proto__=ce}||function(ie,ce){for(var ue in ce)ce.hasOwnProperty(ue)&&(ie[ue]=ce[ue])})(se,ne)},function(se,ne){function ie(){this.constructor=se}_e(se,ne),se.prototype=ne===null?Object.create(ne):(ie.prototype=ne.prototype,new ie)});Object.defineProperty(ve,"__esModule",{value:!0}),ve.Marker=void 0;var pe=be(0),de=function(se){function ne(ie){var ce=se.call(this)||this;return ce.line=ie,ce._id=ne._nextId++,ce.isDisposed=!1,ce._onDispose=new pe.EventEmitter,ce}return E(ne,se),Object.defineProperty(ne.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),ne.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},ne._nextId=1,ne}(be(2).Disposable);ve.Marker=de},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.OptionsService=ve.DEFAULT_OPTIONS=ve.DEFAULT_BELL_SOUND=void 0;var _e=be(0),E=be(11),pe=be(33);ve.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",ve.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:ve.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:E.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var de=["cols","rows"],se=function(){function ne(ie){this._onOptionChange=new _e.EventEmitter,this.options=pe.clone(ve.DEFAULT_OPTIONS);for(var ce=0,ue=Object.keys(ie);ce<ue.length;ce++){var ae=ue[ce];if(ae in this.options){var oe=ie[ae];this.options[ae]=oe}}}return Object.defineProperty(ne.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),ne.prototype.setOption=function(ie,ce){if(!(ie in ve.DEFAULT_OPTIONS))throw new Error('No option with key "'+ie+'"');if(de.indexOf(ie)!==-1)throw new Error('Option "'+ie+'" can only be set in the constructor');this.options[ie]!==ce&&(ce=this._sanitizeAndValidateOption(ie,ce),this.options[ie]!==ce&&(this.options[ie]=ce,this._onOptionChange.fire(ie)))},ne.prototype._sanitizeAndValidateOption=function(ie,ce){switch(ie){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":ce||(ce=ve.DEFAULT_OPTIONS[ie]);break;case"cursorWidth":ce=Math.floor(ce);case"lineHeight":case"tabStopWidth":if(ce<1)throw new Error(ie+" cannot be less than 1, value: "+ce);break;case"minimumContrastRatio":ce=Math.max(1,Math.min(21,Math.round(10*ce)/10));break;case"scrollback":if((ce=Math.min(ce,4294967295))<0)throw new Error(ie+" cannot be less than 0, value: "+ce);break;case"fastScrollSensitivity":case"scrollSensitivity":if(ce<=0)throw new Error(ie+" cannot be less than or equal to 0, value: "+ce)}return ce},ne.prototype.getOption=function(ie){if(!(ie in ve.DEFAULT_OPTIONS))throw new Error('No option with key "'+ie+'"');return this.options[ie]},ne}();ve.OptionsService=se},function(dt,ve,be){"use strict";var _e,E=this&&this.__extends||(_e=function(re,z){return(_e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,y){a.__proto__=y}||function(a,y){for(var x in y)y.hasOwnProperty(x)&&(a[x]=y[x])})(re,z)},function(re,z){function a(){this.constructor=re}_e(re,z),re.prototype=z===null?Object.create(z):(a.prototype=z.prototype,new a)}),pe=this&&this.__decorate||function(re,z,a,y){var x,b=arguments.length,ee=b<3?z:y===null?y=Object.getOwnPropertyDescriptor(z,a):y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ee=Reflect.decorate(re,z,a,y);else for(var te=re.length-1;te>=0;te--)(x=re[te])&&(ee=(b<3?x(ee):b>3?x(z,a,ee):x(z,a))||ee);return b>3&&ee&&Object.defineProperty(z,a,ee),ee},de=this&&this.__param||function(re,z){return function(a,y){z(a,y,re)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.CoreService=void 0;var se=be(1),ne=be(0),ie=be(33),ce=be(2),ue=Object.freeze({insertMode:!1}),ae=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),oe=function(re){function z(a,y,x,b){var ee=re.call(this)||this;return ee._bufferService=y,ee._logService=x,ee._optionsService=b,ee.isCursorInitialized=!1,ee.isCursorHidden=!1,ee._onData=ee.register(new ne.EventEmitter),ee._onUserInput=ee.register(new ne.EventEmitter),ee._onBinary=ee.register(new ne.EventEmitter),ee._scrollToBottom=a,ee.register({dispose:function(){return ee._scrollToBottom=void 0}}),ee.modes=ie.clone(ue),ee.decPrivateModes=ie.clone(ae),ee}return E(z,re),Object.defineProperty(z.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(z.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),z.prototype.reset=function(){this.modes=ie.clone(ue),this.decPrivateModes=ie.clone(ae)},z.prototype.triggerDataEvent=function(a,y){if(y===void 0&&(y=!1),!this._optionsService.options.disableStdin){var x=this._bufferService.buffer;x.ybase!==x.ydisp&&this._scrollToBottom(),y&&this._onUserInput.fire(),this._logService.debug('sending data "'+a+'"',function(){return a.split("").map(function(b){return b.charCodeAt(0)})}),this._onData.fire(a)}},z.prototype.triggerBinaryEvent=function(a){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+a+'"',function(){return a.split("").map(function(y){return y.charCodeAt(0)})}),this._onBinary.fire(a))},z=pe([de(1,se.IBufferService),de(2,se.ILogService),de(3,se.IOptionsService)],z)}(ce.Disposable);ve.CoreService=oe},function(dt,ve,be){"use strict";var _e=this&&this.__decorate||function(ae,oe,re,z){var a,y=arguments.length,x=y<3?oe:z===null?z=Object.getOwnPropertyDescriptor(oe,re):z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,oe,re,z);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(oe,re,x):a(oe,re))||x);return y>3&&x&&Object.defineProperty(oe,re,x),x},E=this&&this.__param||function(ae,oe){return function(re,z){oe(re,z,ae)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.CoreMouseService=void 0;var pe=be(1),de=be(0),se={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(ae){return ae.button!==4&&ae.action===1&&(ae.ctrl=!1,ae.alt=!1,ae.shift=!1,!0)}},VT200:{events:19,restrict:function(ae){return ae.action!==32}},DRAG:{events:23,restrict:function(ae){return ae.action!==32||ae.button!==3}},ANY:{events:31,restrict:function(ae){return!0}}};function ne(ae,oe){var re=(ae.ctrl?16:0)|(ae.shift?4:0)|(ae.alt?8:0);return ae.button===4?(re|=64,re|=ae.action):(re|=3&ae.button,4&ae.button&&(re|=64),8&ae.button&&(re|=128),ae.action===32?re|=32:ae.action!==0||oe||(re|=3)),re}var ie=String.fromCharCode,ce={DEFAULT:function(ae){var oe=[ne(ae,!1)+32,ae.col+32,ae.row+32];return oe[0]>255||oe[1]>255||oe[2]>255?"":"\x1B[M"+ie(oe[0])+ie(oe[1])+ie(oe[2])},SGR:function(ae){var oe=ae.action===0&&ae.button!==4?"m":"M";return"\x1B[<"+ne(ae,!0)+";"+ae.col+";"+ae.row+oe}},ue=function(){function ae(oe,re){this._bufferService=oe,this._coreService=re,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new de.EventEmitter,this._lastEvent=null;for(var z=0,a=Object.keys(se);z<a.length;z++){var y=a[z];this.addProtocol(y,se[y])}for(var x=0,b=Object.keys(ce);x<b.length;x++){var ee=b[x];this.addEncoding(ee,ce[ee])}this.reset()}return ae.prototype.addProtocol=function(oe,re){this._protocols[oe]=re},ae.prototype.addEncoding=function(oe,re){this._encodings[oe]=re},Object.defineProperty(ae.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(oe){if(!this._protocols[oe])throw new Error('unknown protocol "'+oe+'"');this._activeProtocol=oe,this._onProtocolChange.fire(this._protocols[oe].events)},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"areMouseEventsActive",{get:function(){return this._protocols[this._activeProtocol].events!==0},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(oe){if(!this._encodings[oe])throw new Error('unknown encoding "'+oe+'"');this._activeEncoding=oe},enumerable:!1,configurable:!0}),ae.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(ae.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),ae.prototype.triggerMouseEvent=function(oe){if(oe.col<0||oe.col>=this._bufferService.cols||oe.row<0||oe.row>=this._bufferService.rows||oe.button===4&&oe.action===32||oe.button===3&&oe.action!==32||oe.button!==4&&(oe.action===2||oe.action===3)||(oe.col++,oe.row++,oe.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,oe))||!this._protocols[this._activeProtocol].restrict(oe))return!1;var re=this._encodings[this._activeEncoding](oe);return re&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(re):this._coreService.triggerDataEvent(re,!0)),this._lastEvent=oe,!0},ae.prototype.explainEvents=function(oe){return{down:!!(1&oe),up:!!(2&oe),drag:!!(4&oe),move:!!(8&oe),wheel:!!(16&oe)}},ae.prototype._compareEvents=function(oe,re){return oe.col===re.col&&oe.row===re.row&&oe.button===re.button&&oe.action===re.action&&oe.ctrl===re.ctrl&&oe.alt===re.alt&&oe.shift===re.shift},ae=_e([E(0,pe.IBufferService),E(1,pe.ICoreService)],ae)}();ve.CoreMouseService=ue},function(dt,ve,be){"use strict";var _e=this&&this.__decorate||function(se,ne,ie,ce){var ue,ae=arguments.length,oe=ae<3?ne:ce===null?ce=Object.getOwnPropertyDescriptor(ne,ie):ce;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")oe=Reflect.decorate(se,ne,ie,ce);else for(var re=se.length-1;re>=0;re--)(ue=se[re])&&(oe=(ae<3?ue(oe):ae>3?ue(ne,ie,oe):ue(ne,ie))||oe);return ae>3&&oe&&Object.defineProperty(ne,ie,oe),oe},E=this&&this.__param||function(se,ne){return function(ie,ce){ne(ie,ce,se)}};Object.defineProperty(ve,"__esModule",{value:!0}),ve.DirtyRowService=void 0;var pe=be(1),de=function(){function se(ne){this._bufferService=ne,this.clearRange()}return Object.defineProperty(se.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(se.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),se.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},se.prototype.markDirty=function(ne){ne<this._start?this._start=ne:ne>this._end&&(this._end=ne)},se.prototype.markRangeDirty=function(ne,ie){if(ne>ie){var ce=ne;ne=ie,ie=ce}ne<this._start&&(this._start=ne),ie>this._end&&(this._end=ie)},se.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},se=_e([E(0,pe.IBufferService)],se)}();ve.DirtyRowService=de},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.UnicodeService=void 0;var _e=be(0),E=be(79),pe=function(){function de(){this._providers=Object.create(null),this._active="",this._onChange=new _e.EventEmitter;var se=new E.UnicodeV6;this.register(se),this._active=se.version,this._activeProvider=se}return Object.defineProperty(de.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(de.prototype,"activeVersion",{get:function(){return this._active},set:function(se){if(!this._providers[se])throw new Error('unknown Unicode version "'+se+'"');this._active=se,this._activeProvider=this._providers[se],this._onChange.fire(se)},enumerable:!1,configurable:!0}),de.prototype.register=function(se){this._providers[se.version]=se},de.prototype.wcwidth=function(se){return this._activeProvider.wcwidth(se)},de.prototype.getStringCellWidth=function(se){for(var ne=0,ie=se.length,ce=0;ce<ie;++ce){var ue=se.charCodeAt(ce);if(55296<=ue&&ue<=56319){if(++ce>=ie)return ne+this.wcwidth(ue);var ae=se.charCodeAt(ce);56320<=ae&&ae<=57343?ue=1024*(ue-55296)+ae-56320+65536:ne+=this.wcwidth(ae)}ne+=this.wcwidth(ue)}return ne},de}();ve.UnicodeService=pe},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.UnicodeV6=void 0;var _e,E=be(15),pe=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],de=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],se=function(){function ne(){if(this.version="6",!_e){_e=new Uint8Array(65536),E.fill(_e,1),_e[0]=0,E.fill(_e,0,1,32),E.fill(_e,0,127,160),E.fill(_e,2,4352,4448),_e[9001]=2,_e[9002]=2,E.fill(_e,2,11904,42192),_e[12351]=1,E.fill(_e,2,44032,55204),E.fill(_e,2,63744,64256),E.fill(_e,2,65040,65050),E.fill(_e,2,65072,65136),E.fill(_e,2,65280,65377),E.fill(_e,2,65504,65511);for(var ie=0;ie<pe.length;++ie)E.fill(_e,0,pe[ie][0],pe[ie][1]+1)}}return ne.prototype.wcwidth=function(ie){return ie<32?0:ie<127?1:ie<65536?_e[ie]:function(ce,ue){var ae,oe=0,re=ue.length-1;if(ce<ue[0][0]||ce>ue[re][1])return!1;for(;re>=oe;)if(ce>ue[ae=oe+re>>1][1])oe=ae+1;else{if(!(ce<ue[ae][0]))return!0;re=ae-1}return!1}(ie,de)?0:ie>=131072&&ie<=196605||ie>=196608&&ie<=262141?2:1},ne}();ve.UnicodeV6=se},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.CharsetService=void 0;var _e=function(){function E(){this.glevel=0,this._charsets=[]}return E.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},E.prototype.setgLevel=function(pe){this.glevel=pe,this.charset=this._charsets[pe]},E.prototype.setgCharset=function(pe,de){this._charsets[pe]=de,this.glevel===pe&&(this.charset=de)},E}();ve.CharsetService=_e},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.updateWindowsModeWrappedState=void 0;var _e=be(3);ve.updateWindowsModeWrappedState=function(E){var pe=E.buffer.lines.get(E.buffer.ybase+E.buffer.y-1),de=pe==null?void 0:pe.get(E.cols-1),se=E.buffer.lines.get(E.buffer.ybase+E.buffer.y);se&&de&&(se.isWrapped=de[_e.CHAR_DATA_CODE_INDEX]!==_e.NULL_CELL_CODE&&de[_e.CHAR_DATA_CODE_INDEX]!==_e.WHITESPACE_CELL_CODE)}},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.WriteBuffer=void 0;var _e=function(){function E(pe){this._action=pe,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return E.prototype.writeSync=function(pe){if(this._writeBuffer.length){for(var de=this._bufferOffset;de<this._writeBuffer.length;++de){var se=this._writeBuffer[de],ne=this._callbacks[de];this._action(se),ne&&ne()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(pe)},E.prototype.write=function(pe,de){var se=this;if(this._pendingData>5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout(function(){return se._innerWrite()})),this._pendingData+=pe.length,this._writeBuffer.push(pe),this._callbacks.push(de)},E.prototype._innerWrite=function(){for(var pe=this,de=Date.now();this._writeBuffer.length>this._bufferOffset;){var se=this._writeBuffer[this._bufferOffset],ne=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(se),this._pendingData-=se.length,ne&&ne(),Date.now()-de>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout(function(){return pe._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},E}();ve.WriteBuffer=_e},function(dt,ve,be){"use strict";Object.defineProperty(ve,"__esModule",{value:!0}),ve.AddonManager=void 0;var _e=function(){function E(){this._addons=[]}return E.prototype.dispose=function(){for(var pe=this._addons.length-1;pe>=0;pe--)this._addons[pe].instance.dispose()},E.prototype.loadAddon=function(pe,de){var se=this,ne={instance:de,dispose:de.dispose,isDisposed:!1};this._addons.push(ne),de.dispose=function(){return se._wrappedAddonDispose(ne)},de.activate(pe)},E.prototype._wrappedAddonDispose=function(pe){if(!pe.isDisposed){for(var de=-1,se=0;se<this._addons.length;se++)if(this._addons[se]===pe){de=se;break}if(de===-1)throw new Error("Could not dispose an addon that has not been loaded");pe.isDisposed=!0,pe.dispose.apply(pe.instance),this._addons.splice(de,1)}},E}();ve.AddonManager=_e}])})},62522:function(Et){"use strict";Et.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUYAAABYCAYAAACJfF6vAAAAAXNSR0IArs4c6QAAIABJREFUeF7sXQe4FcXZfmd2T7n90jtYsFGModkVUGNJ7BVTVIxdI5ii/iYmxkRjEhV7ohF7wQaxBqOIxgqCQSkWUKRIv72csjvzP9/M7p7ZPefce8EGhOOD95wt0+ed9yvzDcO2z7YW2NYCm00LNL19cQ/H4j/nEt+vKK38LhtyVWazKdz/UEHY/1Bdt1V1Wwts1i3QMGviGRLyJgAVVFCb4YiykZNe2KwLvZUWbhswbqUdu61aW1YL1L0z4TrG8Cuz1IyxOytH3njOllWTraO024Bx6+jHbbXYglugcfaEC4TErZEqNAN4q2rUpEO24KptsUXfBoxbbNdtK/jW0AINsyfsC2CGlIgzBgGJaRzi9jKeeo2NuDO7NdRxS6zDNmDcEnttW5k32xYYP3XZFADfA6QFsKWTj+2/e7HCyld+azeU1S8AsDOAjxnEGZWjbn7z26rc+H8u/yWEPMti9kV3HdN7+rdVjs0h323AuDn0wrYybDUtMH7a8lsh5QW6Qqxl8rH9yopVrmHWhLMl8HcAL1UK93i21y0N30ZD/Hj66rJYKjMZAid5+T82+dj+J38bZdlc8twGjJtLT2wrx1bRAmc+tWy8ZLhb4yJWTz6mf69CFSO2WF9av5QxLG1w2CH99rmx9dtogDP/uXygFHIqgCG6zOyhxkzf0x4/ibnfRnk2lzy3WGBsmDXhTSkxFAxSAksB9jFneIFZztMVw25Zt7k08Jcpx7p9d6lAPD5BMHkKY/K33V9e8MSXSe+berf+zYmdEZO3VpZUnf6/5od35tTloyTkO15bz5t8bP89CrV7/bsTvg+B+2yOoWUjJq36pvomms/4aStugxTne6A4td/RfU+4ijHxbZVnc8l3SwbGP0ng0gIN6TDgXhv896Wjbli+uTT0xpZj7ZihR0gmJwPoocmH/E33GQv+sLHpfBvP18+eOBFS3sAYplWOnHTst1GGbyvPs5/5oqvjOGphZmBP3X1sv+MLAuOsCVM4w2sVIyfd9m2V1c93/D+XHQWBS7Kl8e8/cGhPsob/z3+2WGCsnz3hcEg8X7QHpUwxxi6uHDXpzi2tl2tG7z4ky8UcAHG/7BJ4vueM+d/fEupSN2viSwzyIAbMqxw1qSBj2hLqsallPGPqshYGlDCGP959TP9fR9ORn1yUaKy1llQ4bCf2LYnQm1q3/5X3tlhgbPrg4h6ilR0NoBJgO0vIsQB2zBuEUl5WvedN121JHbruoKHXCSlNZ986Bjat+4wPztgS6tEwa8JqSUyXyb9VjbzpvC2hzF9lGcdPXbYSQG8p+ZH3HNf32WjaTbMvPsQFP7xq5I2XfJX5bkvrq2uBLRYYC4on7168JxPsCgkcGdxnEFzKMRWjbnrtq2u2rzeltWOHPCKBU1QuDNNjrOXkzi99Wv/15vrVpV4/awL539mc48qKEZOu/upS3jJSGj91+ceA3D4Vk90f/sGA2mip62dPuF5IPNBp1KT/bhk1+t8r5VYFjH73Ncye8CspEbBECTxVPWpSQV3P5tjla8cOeVMCezNgJUtnd+v2xkeNm2M5i5WpbtaEJgaUMc4urxxx45+2pLJ/FWU9Y+qyxUz5MPY7uFB6DbMn/LNy5CSSdrZ9NtMW2CqBUT52otWwXZ80AMtr9wVVoyZpd4TN/LNu/916iZhFRiMLjP22x8sf/H4zL3Je8RpmT3xfSjlUQl5fPeqmX2xp5f+y5R0/bdkqJnDF3cf1J+NZ6FP3/mWdrHT69xUjb7zoy+az7f2vrwW2SmCsfeOCATxmf0ZOWV7TPV01avNfoSXA144d8iSAY6jcUoq9er6y0Hf9+PpGwVeccv27E2+DkOcD7M2qUTfSlrf/mc/oV6S9Q92KVY1Z9H/8pH55vom170w8llbryj1vJN/BbZ/NtAW2SmBsmD3xH1LKM/02t5j8XvnIm/69mfaBKtYXhwwZYbns94A83Ctn4/L6RJcRc+Zscftl62dPHAUp/8gku/1/DQDGP7XiO5KJI+85tn9B16r6WRNulen0b6r3vyNP97g5j89vs2xrxgw5jjGc0W3G/KMYIL+Jsmx1wNjwzoS9JZNvBGyR4f6qkZNO+yYa88vksWbskPcBDDXSeKrHjPlbjF70y9R9a3p3/NSlxyezpdNvP6l7U6F61c+e+EjVyBvHbWqdT3/mi10t1zlTSowF5E4ASwJYx4A5kvEn7L59HrlzBNviFtNi7bF27ODnJZhPFu5Yt1pMGLJw4dcevHfrA8bZE5+QUvqAslzEsHun706q29SB+E29t3bMkMslwzWUH62KEjisx4z5L37d+cvHYKEbZYlyoMJuqXFjpby8NCvczjEeY04qYYML2+ash+uyOMAtBlYGLsshEQNYDC6LcUtWA7Ic4EwIxjizOJjkAsxidJGJCsncwVLCBhhnknFIFWiBQzAOFuiDAbrHyKddswPJpNADlUkwSbsyBJikLWt0X0gmXMaRhbBWMmmtEKBnJHkjuABzIaUEE6SpqBdSNoOLLIfMgCHrZuM1YI4DLh3Eso4U1hqb7nGRzXJHCJltTJSiEYl0Fk5jFp+iBWdDMIaCW+bOfnpl/zuP6rOsUL81vTtxqCvkiVWjJl25Kf3q7cMm9yde7H0GLHGZnHjvMQOe2ZQ8Nrd31o4dulJC9vbLxYAVYHig+8vz/+/rLOtWBYzyldOTDWXVtBE/Ro3GGT+hYuQNpLPb7D9LDt6hqlyUUrTmnTjDn7q9PP/6YoWWr8BGBVhtLUqTtSXlJYmycgi7Ck4sASa7u+lYGWDFmO30hcNLYKE7wBOMsTgYejLJ4hDclpIiRYsqSG4ziVJIZlFUGElgxRnBkCLeGp0UYOuP1MidGzxaujGvqVdzjxf5bqCftyKY+UTTMB7JS89/1pezKO/Q+8wvT2TI0yoU3DMKHVSU6iUlY3AkAS1nrWDCYWA1krEWMAWiDgTWSMgUlzIlpFwvuJuyZXwFIFKIpzOOK1en+x1xmpVe+4ps/M+MkuSGJnRCC4YXB9lo/585bfmVUsqrAKxnDA8I4AMmmC0hhzOGEwB00esH9Zz8e1m834RbjmBkhNxiP6vHDrmCAaZaYi1n1v7dXp738ddZqa0KGGvfmrAdt/CZbjBWXzlyRRfGHt88N8MT9wFY7Us7VKRSg7O9GlsqYGdLIXgP1121I+OpXnDRHdyuZpbsxJjVSQpWCclKmJQ9pFBglpRSJomAqWmv0MDXwtDcMJAp+BGFq2KQYsJQ9Huh3/41Dzl1HxSARq93FHCZMFbovWLXjCnhI6AHZBpqc5/QbR/sdENFytce7Ppp5upEeekSRurhP+Lb/ug3Y2jpNxKly94hMktAm5IMKTCWAU9+zJCth4y3CCHXcJlOwyIWm21yXb4STDaCZ1rSPLH2Bvu2C/YQ//7znuL6Fd0WoIVdpTKXJz42P15hV10Mhis1c1f1md0Fy8b9fPG+q+OVxNSBRhc8ZsHiApylwUorIRprIMuTiv8z4cKVaV0hYUGIVkiXQ4hmSLcesu/2EIsBpDdApnpDDv8CEoMhscBodl0mfwR8KZ0gzZF1Ywf/SoKRzSDOwY/rNuP9uUYXfy1ftypglO9eWtUgUrXekrmyetSkvl9FqylxE4ivWwfLcsFdC6LbWjUog832xOLqllaXV9t2SUZaXTi3ezAZJ5GzJ3N5FzDeFRI9mc07A6ySwA2CE0urUF5FUiQhpS0J49RQ9yjYV1GB/4U08hFws6p1troPRLIcidUfdbxcHqAGOA6pYqZIiQyYbAVjDYDbCMbXCVc0AW7dYj4ocV/ZFUeu4X1I90gagvoRLf+87uQNl7/tSrdFZLJpIeBK+geImJWQkkHINIRwmCsAkYgxtyVLugomShgTMt0kZQLSlRAiDVkhITYkId1WyGoBIco1aKYciIGdIeesgmzsBbluIeSJj+s58k0ZTTreuG0/uVUBI1W1ftYE2mM8jCRAy2Kjyobd+O6mNNZvfwv+i8HlXbK1sifSvNrm8c7cinWyLd6VMbu7xa1qzqxO4LyLBOvCGKohUQnBysBo7Y0OB4PB+ZjnPRPmOLq0Siw1eifKrfw6mbxHsxdTxM3VPPe+yZY01zF5nS61foamIf2NDpIoI/OoapBZsbL65TPYROid/HLk6rOxvDZXyxxiFqqr10u6zY26FypYobbVdfV5ajgvP21SmTbvtD9Klr0HKxUOuZjPbr20aLiwMP+lnggUr6Fcw6QszUtxZ8mlmBffW1eDMTky/Urr8al76rq4XzRKiRop3TrhoEYKd42Q7jrhOGuyWacWqUxNS1OmkWWd1kw6kxbSW/yTQCKblK02kwkJ0ZxlMiGYcAUTMgaZtJtcR0JUuhCuC+E4EM0JuCs6w1UAOQgSV+XkmU2Zk9/kO1sdMDbOnnCClOwByeRKKXF39ahJ10YbVOno0n0rG+viXUsEujPBezLGegsXfTh4HyZZDylkD0antUlUMrBySXrLnOwUiKlqSHrj0pdkc0o5z4ziI1wIMQpN9RBihpV6vknGm4hRNAugTOkE1axStooc8nldHczuQmKsLm8Ah+qL94JWOOZLoAaaUTVDeftlNhE+QCC/jB6squS9awFa5Z4JkMtEMm8FYVRnszlVmbz6UTtoSVbZYAKVQyQ7PwFdB7NP9QoVXAuht7d6+Te9l0nFp1rRu57pviPc8i4o+Wx2MBT9quaqXAB28/oqVy4Fxt7w0gpg0gl7+aqsGZ4qGY9/lVDsWV1osi/tkX0Luzrz0N39Akm0YKCz0APPQEpxwVhKSlnPGKsTUtRIR9RIIdesRo+113e6uef2rR988qMVv56damiuyWRaW9GUTrkMrisgkjakEGUiVmFlU2sbnLIyOCGAfBxkSAsj+TeJeB3Ma6sDxkL1llMGHipS1rGMyb6Q6A3BukOgE5R+jmkLnz+PNvsuM2tYiMN0sOc3y8c2k/q0KZZvXBndss5o3XEUkkvnwG74OsKEtl2e9+L74v7yCWji1Xk9/oOWB3F0y30dGgkEwv8uOQ5TSnVMkCGZ2eLCxiszNnMaIOUGIeU615Fr4IgFaz9fMzXT4NZx28rYaSuTSDRkurXAmROHO5w051sAc9zqgdF9aKffs1b+a9J3RyHFJx8B2QgTigAvFVkymEqUaxVK1385yLRAS0eIhrYCe/YTM02TpAQkMELeTHDPk30NohGQqUh5FJnymZXHMXxx3rc2q+YxlvsgiUi5i+UR1ClCBAtaS6IEt+CKF1ZehfI18CJEJs2yRtQVfhbm2hgdNAER9wh5MfsSpSHjpWjdaS+wdAtKF7+dI+9RYlxkrQus/GZbRHDQJ9rm+Izaghp4Nf5ZejreSB4GlykbjPpcWvcz7JhZGGh9cgO+sE7mxqrrsDA+PHj/qOZ7cWTLg6GeUTRD4LP1S9b9JF3XsiZt8VSpY7c2JxozdiMyS5fCGT0T7ubOGrdqYEw/OmC3WGNinnClct+Jgk1uAhSnCG2Sh0KT9Ute+6bza7e4aoR4ui0PGUMLRQhoDEjx5LyNrU8gxptIv7GJtFsp/4G2EjbvheRn7+VcSc2F0v8uyqqR2mE4eUKh5KM3wFPk7/31VCSaarFcNvAemJM8EKutvqiUdTiq6T7wwu6YRVtwXmJv3F15OVK8DF3dL3DN+h/n1Yu63kk7Tyx/f8WfrCRrjgurWTK7pU42prEOmcGD4JiGyw531zf44FYNjM7kHU9mGf6oJN9eY7T4SuygnX32Za7GhUZ7VEHvqxA9lhcARjsd6LOOfKJg6AWV+42hIywg4gfF7cDMIEW+0h+a7eB9z12LgEGR0RFisKbay9N1hfSSAV0LJ+abdvKXq+KNp97xgDpfS9WeiBvpUJ/+muYnkxrr9SCY9CH2JrUeN795cu3XOmh/iJIKJJbMhVW3us1nzaIEY2MTMFTXMLy05I+x3JXAf9Nf3DyJQOmnTcU5vWKMv5fLjsOUygsRlyncsvqIXN2M14SUi5fPXXluvJQ1Omm3IcOtxngy0WyvrEv3BTLYzHWNWzUwtt65ww/jLn9QEDCaKBiwEV1909Jn8KO8GRoeqznbrX6wLXTK3StkVzRFvVw6+fBTeK5EmYtZp0JMJ1zW8DQKrwy5t3NukhD+hhPaz+IHL9ItEF1L/PIWneO0QYU2uXhGg8A6X2BUBj0YEn/1GxE4D4msyhwkhVYle3qA0Dv+4qDsTLRhxtXpcRI5zYKYsGMODbNvc22Q7bUzrOZa8Ib1hlwabqFC7VK4x8Iek+EeD/VSpA/yx3d0/CkzDQG9t6rnl8m7YtiZaqweuLf6Uvyg8T7skpkXeC+YI4tJ+fnn81b83OWsgUlrQ0yI2qxrN6WbmlpTnZAefifoCJICy/03SAvbyGqrBUbyPUxt6D8+LmJ3amAsNk2LgYffatH32gLAQgAZGi5eosWms5mnDzXR8hXLn7zSPF922sCilD2FaG9RGMkfJpX9wfrtDayaC1m3RN23xlwDlHSFXP8R5Nt/Arjt7XjRrDywDkdTi2KMlQAffhHQZWeIF84DpAO+ywmQiQrPckxT2N/5VoCf1X8KufQlr55ha63GM822Wbch4PtcCvHGNZDrFxVHcMq1/wHgIy4E3CzEa78Daj/xDMvR/or2abElAUBJN10WNw1k/LCaxSCxEE60u7y0IaIXXZK83il2v1Ce7aUV6XAhVi6dv/pKxniNbcu1krs16Ra7wSpraUqvRurxx+FcRdrIzfSzVQLjF8/0LpULM/0qZfx7JeXJmzVe+G4o+X57bfdNeJDkGsznN20xCZ+NRlmFv6eOtgSHffWizLNt2DbSregH65C/ALESiDf/AvH5zHzGyyy1DdkHTJNr5IRDT0Sk3W+H3Qq+y5GQzevh3rs/2K7HwDpIez+JFy6E/PRfHt8mNkZfuQJKxcyyzWFcDpVGgg0aB2vMH3VaC5+EePkXsE57A6wy2BbbZreIT56DeOF8nZ/6FBjK8QpYp/8HLF6uvI3dx44BBM1F3WdR4ZvtdgKsg3V8Y+fRo4F1tJ2DGJX/fI6r+e/7eftSR2jZES6scc+BdR8M8fnrcKf9UJW3raU1l4MpqvsuWDSQuUd8zZEYxnuz4Uy5xmSLhcZVWxDsv5v/np9DWPKSQqxa/uHqaxnnG6SUqzmz1ieYqM3EE42OW9f64C3IbgPGb3BV+OLvKE0vLqt0m53ybj26HF7WKXGzIB//Dn/aY4TRhIo8b8UB2rJMcQzShlNvshP40B+CJavgzv0H0LwmkmAhRuc9YieA8t5qosMmj9sqsEQ5ECsFq9oOfMRZGmhWzgGaVwP0fKwcLFain7dLIT5+FuKNP3lMqwAL8EY+6z4U9slTlbjs/udPkB9OhfWj6WAl2u1DNq7SaRA75RYYidWKqVqQGz6B+9gP9G+FWTofk1cRteSH3gq+sz7fy33tj5CpGlU3PvgUINkJ4oOHgHSt1o1W7wA2+ESwRKVidO67t0O8c6PO23TXNFtTuOD7/Rp8+E91Hm/8GfLd2zSr9T4KchTZlWC7nwbrIL0t17n/IMiaxV7ZuUeFiwwiagdKhPpaJe5lIBzYp78K1nVniMX/gvvPM2kLe2EQz0s60jcl3WDtcwmQqoNMNwKpWv03XQ+01kDWL1eLInNaIZ1WQDiA6xi6QlKH5FQfG8n/iigsik0qBibE6s8/WnujZfO1rovVUsq1Nhc1djbe4LgNLdsNQGZzNsBsVYyRxOc1s5Bsaiov4yzbqUvP6sPKqkomuT4wBh6x5rocFbLDQyb8pM8Pciu0b7jweaOaaDQhTnocvO9IiA+fhvPCxZ4uDUD1AMTO1MfPZB86CnLVewGoqGAwBZTnvkKe9d0H9okPKZFZkmjmZIBsi/7nZsG676Ymslj9AeTaBWBOC2SmFcg0AdlGyEwKsuYTyDV01Ehupc/l6Rl8mAV73D/BegyBbK2Dc/d+sI67D7z3cD3xnbQCAaqnEt/pn3TAynuoeso18+E8eoTB5nLtFtL22iWwTnkesnk1xMuXQ9Z+ohYT6+C/gg08FHBaIeY/Cla9Hfh2YyEzjRCLnoCYdw/QsAygxUehdAH6511jJZ1hETjFyyBXzIb4/FXwXY/yyu2V381CiixYWXewLgP14vLpTA0+6z+EePcOSGJqGuVDIE8AZB9xK1i/vVR5Vds4aUgnpVgzXWexUsjapZBLXoTMpnR/ZBohs9Q3zQqAZZ23xT+AzVw+Kt8uuyB22nRISnvtIr0gJjuBlXWB3LAEYtFUWPv+XAGiyjvTAmQaIFMaRClPd/Ydqj455pj/zWSNftNG4c+fEwFLVg72YclJCrl2xeK1t0DytczCSjCsdaS7oYzH62W8saXvjUizbaJ0sZXlq70uT4S1ZgCSLXVl5Yg51V26Vx9eVpW8MQDG3Lje9IwLEUR/BBFK0mTlcdhH3wk+YB/F3sS7d4OVdVK6OVT0gjX0FK2PW/8J7ZEGEhUaTKaekQcmoYLacbBEJ0iaWG5Ki4WK7nCgtDPi57wDWDbcWXdCLHgCiJcCsSRYvBIgYGhaBbn8zQLOf0YuUsA64ApYo87VmNO4GuK/98PaXx9a6L76B4gPHlQTk0RPWAnIT54D67ITrCNuV6DhPD0ekkT56I6fvJkmgdJuQOt6NaH5/leC9dhdM8QuO4OVds4VjAw0NZ9Ctm7Q4LvybYi3/wzJSDTNbW1U4rHPIGlFIda472UqTfHW9bAO+A34sNM73P/is9fgPDEOMPz/Qi+rRXAK+Hb7dTjN6IPurL/BfY0izhmBQCJmJdZ7BGKnPglZsxTZe8eqvuc7HAL7uLvUGHMeP1UvTKQ+GHsVeN8Reux9+gpYCY29LhAeMLZb0I2nk3lJMinWLl+y/jYKSk9nF4HJNSIrakqteJ1b1tjctxLp/1nGKB8bPBCuHAQpi8aPa7eTog/45jO1rBuj1XVBLlmZjGOJtBt3Um4ZHGdEMmH9lHbG+5+8Po9cMBlgVKj10yjozWAnED/jZQVQSnSNWGwL1pNAzVvh5cq5cB4bFwBjSOw0zSjVA2Af9hc1AVi8RInRsElUToDFEjnQI0bnZgE3o1lMthViyb/hvnylLpsPHqbMQNvKuuyK2OkvBEYN2VqD7B3DwYefDZaogniboqE5YBX9YJ/5uqqW89y5kKvngX/nNCXquXNuU2JbSBzxK+Qp9iSBunpAX6DwhtYxD4JvN0axaLF0plI38O+OV/VQrE1kYe14OFj3QSAdo/PcOQCPhZSFwRY7SlYIFYZRZa1CM3LwwaeCb7e/Bm0Sa0lHyWkxs8Gq+oFV9dELQs2nqlxixbtwFePXuswQ41UXBPiw8WBdd1GirFJfWDEwuwSs1x5gSTIm6Y9ib9TGavGkfPW0cF67HuLtSYEDkKnH87+zHQ5C7IR7FMATawSxQiphSTXEp6/CeeInavFDNoXY+JfAuuwAZ/rlcOdOzhmolH7T15WEtQPqqsf88vWI+Xp5s28LmhKlrFu3vOH5eNKqY3G7JlZi11rxWGOs1G7hiVjGSjBhKck+7Nmw0XgQfYGpEBkL2GkffqmwZF+LKK222z465M9w5cVqj7HpEqbcIjyBxHfV8xCo0IAwLZ0+EwjSMxuFGBhZn10JmRWQGQGRykJkSM/yDXy4hfhPZ6pJIVtrwUq7gFX2gkw1wJ17H9Bap9lOayPsH9wAVlIF57Ub4M6ZrEUwEktVDNZ2PiVdYA0frydGlpgjibQEABQrinR8HmWykmBq4nMNnrEyuO/cCqSKn8Kq2p/biJ3zpmKxxApJj5W9bQ8l9lm7/wjW3hfCfeV3kGs/QOzsWWoyOdN/AT5gP7AdD4Xzr4shl7wQ7LQMgYmBKvaJT4GVddWTlvJ4+FDYR98Lvv1BEIunQ3zwAFDWA/b3rldA4D5/gWLJfNg54AP2V7pS59lzizNs4cA66DrwPqNUu0rhQrxzG8RHTytWb+09AeKDRz0Rlqk2tPf7Jaz9LlEDNHPLd4GWdZ6xyke2In2j+s3XK2rDGuszArEfPQEWU0Fu1Mf98F9wpp2r+4PAkwA5VqbGi0xt0NHjinz4bkcjdvStECvmwvn3FWCl3cAHHwtryLFwFz4N8eGziB11qxKjlZhN8X/XLAQavoBM1UEseRli0TPhyCTtjbUvcV86AulaB3aJDavMhl1qgyUssBhX/2B5BjvfDchD17Z8gUO+JV5TBTu2qAdyOEKBh++AvXBi3e17VGRY9iIwdgwDSE9Cr3wEiSeYFHd0n7mwYKT1rwcYH9h1nJT8YSMoV0GfsHC7FytKIe4U2UDviSAaGAVEVkJkXIi0A2Q1MJq6k0JOLB0dA4XSCd4lJiZcMDcDa9+JsMdeDtm4Bumbh+UsiVIgfv5b4J0GwPnPJDiveae8+vvvPKZVzFxEYiMxFPvAn2uWSOxDKdU99kkskUDTyWgdFgR4lx1VEdN3HQK5blFBCddnDFR+a+S5kM3rEDvmFpVG5ubdwfvvA/u4fyiwdT98Fu7L/4f4+f9VE9B58TLw7Q4E3/lwBfDOi5dCLHzUK1euxXILn0Rs/Fs5dtZSg+zfvwP76HvAdzhYMyLSmxK7SlJgcAoBS0HYaZktA7MTEB8RMBJjzG1xC/WrcBA75gHwHccG3ZN94VeQn0xH7IdTFaMia7vzxGkQa96nOOCwD7wc1t4XqD5M37wH0Oody+I78kf87fP0cb5es6IX4uOfA6vonjesss9eCnfu/XpBUM+TTloTJ27nC1YaDHSfxw67GrJuBdyPXlDMnPUdAWvHMXDnPgCxej5iR1wHsfQNuHMfBMq6qrbjuxwG3nMwnNdvgfPqtR4wdnzaB0+amxk6YIqRjkRrTVYBokX/SmzwhAUe46qeKq57QF4L2vQjiuNCMyJsc881NgVrZ2hdgL83zWbHA6xroflNIr4Q7gk9Zy56O3pfFW3D2xdV2sK2K/e+obbhrUs6WXGMEILIOErHAAAgAElEQVQNqBx1w10dBQzzOfnQoGkyI8Pn5vpwvykJtvdOIJ5JFTSOVisFjKkcMLaXxJe/T8Cko+4TxtnDfozYkddDppuRuW0fSIv0g+VAohLxo28G6zwAYvm7EJ+/qXVp8XKIms/hzrymbT0j8cLv/hix718H6WaQuedoyJYNSomvxGYCRkFHfngiavchSJw9XQPj5CMhV7Ud41NLt5rxxM94GtLJIPvYaYidcDdYvBRi1ftwnrkQrKInYqdM8RjjZRDzH4F99GTwgQcpcMw8cITyGwxEt0gDWwf+BqzrrkqsJQNP5o6hiNH7Ox4Cd+49cF75NVjlAMTPelOD8x17KAOCfdhNsIacAPHhM8g+d64WcYM5Y0weSQB/IVjvYbB2OlTlnn1mAsSCJ2GNOg/2mMu16JhqQPaJ8RCfv4HYIX+ANepM1YbpG4dqXa5qD49ntDVIfANQsjPi46eBd90RYsV/wXsP1Zb9T9+AtcO+yviSuf8UiOUUsFYdzKD/UsT0eDGNk1SMnA8+RvUBklVg8QogSeqUcjjvPUxCP+wxl8KZfQ/ceY9p4F/2NuzRl8P6zgnITr8S7ux/dNAi/uVng3AkUrUOrFILdmkMPGnBImCMW+A2qRMIGDsC0JsOHHXTObKk4Sz+yYCxST1e/uDSgsDYOHviLULKC82bDJhROWrSQZvSRPKBXQ6Dw6YJgUTeqlogQf+ZYnmZ99v8TqsvRdPMEjBqUZoYY6H0o8wv90yuI/LZYW4zYTRNThNw2KlK56P+VfcHq+6riTuJyaQLa2cciGWzkL77CCXqFdt0Rm1kDToa8RPuUCKi+8E0rTMk0VfpHMuV0UWJcMpFpwQsUaqB8f4TFBDnPiHhRF32daykx0uc85LKI33zSFijLwPvNRSZR05F4uyZYCWVQTKZB4+F/GK2Knfs2Mlw339YibrayTxaaa0/IVUQ2+4AxE56BLK1HpnbCRj/AT7we5Ak7jev1+JmdX8tCtct021JTChRAZes/c94wFhk4JCVn5X2QuICHZIzO+0CBagkVtt7XajAUTZ+gezTF0N89h/YR/wF9vAfK/AiYITTkktZScse8EaiuvnAycp7In7a4+DdBkLWLkfm4TOQuOAllUbmiYtgDT0G1i4HQbbUIn3PCZBfzM9593AGnsgBY0hOKusK3mUn5c4k0y1K9UBSAS2MSncqXMQOvRr23ucg+8pfwUo7wd7zTGSmTYC16+Gwdj0Umacugjv/iSKRIwsqsUKt2pakVGh+CUcgVedqxkjidIkHjDELzGOMxXCxmERXDEuimKAKzlm2cRZ/MvURO8WrCHVmA4USlJAlYJjEXPmX7jMXri40fJhii9xaAYo9aH6krK18vroru+qqDii+8pN279v1IubImzuiNivo8UpJRtlzm3KsjreXY4wColUDY9SFOn+y5gNEGDz8X4WQTReS7/p9JE65O3iNDAbMd3amePHL5yg9I4m/1sAD1XNi+Xtw3rxNsUrli9ZSqwHAlF9yKQbfeL+9YB90GcgVhXXdAcyy4Mx9HLJ+mU4r06z0m7HRExUIuO89BueNWyDrV+jJrvwNCwCW0Y0K3PuM0MYh8pGzbCXeypoliP/4SfBee0B89qpya3HnP6aNEF0GQjathnSaQ04nofbWMrtus377IDZuigLCzK0EjHeB73QoxLK34C6aBlbSBfYBv1LGF2fG75Uu1tr9VPA+w+Au+iecZ84L+eapRI3thWoZq+yLxLlvaWB86ly4BNhUAgLmIScp0VoxbikQG/corJ0OVm2Yvml3lZ+pw1KqIaVCNJmpNsCwXsOQOPUesMqeCujTdx2tdrskJ+q8Mw+fBffzt5G8aAZYeTcNjg+cAbGEDFgcFLmdE40INq7nwIrv9n3Ej7lZq06U6oDGOY1t7RLkLn9P6Y7t4eOQefYyWP33hLX7sUg/MA72AZfAGjASaWKp5IIUDK6oySTXL21PPH+QROdMGM6IC6TqXc0YCRiTNniSxGjNGEFHqpljMIquHWZD5qDV/aPdStkvNzwcmwUmf+JKcWfPLgvnsMfhytGj7XprQ//qlz8g61rRD2ucM+E44eIeOgNcG6XYUgb5Ghjuqhw56Y22Xm7vnnvPznfCwVlqS6y5KBWw7oUw0A/p5CtUI3UPdY25eitgJJc6ATframDMeCdJRhi5and1zQSIIp0dvBs5vCkoF9Mg1XMI0LIesrUB9l5nIbbv2Sr97L9+j+ysycp1Bs0bEDvkN4gdcJG65372JpxX/gJ36dtaFCbLYRBsthDhot0lxD457GE/RPwHeveI8/5UOHMeUVZQsorb+5yjxTgp4cx/VgMiufvEyuG88w+4S8idxq+AHz3Hm5jCQfz4v4F16g/33fthj/kleOf+yL78JwUa8cOv0oD79l1w/vNnZfW2Rp4Fe8xlkKveR2bKOL0FzmyfCA4r6bHfnoj/8CllrU3fMhixo++EtfNhcN+7D9kXL1dW4sS570BmWpB9bgJYshL23heDVfeDu3Aask+fF1Y7KCdrhY66X0lHWdEfifP0MM48+VOIj2m3Dj3iwP7BLeB9hmuDFG1R7KH9QGXTeqRu2UNbtf0Atyq8qpd+kI/eTxXb+1y9UMUSui73joNY+jZ47+8g+bOXVXbpyePgfvIy+Pb7ITH+UTA7rnSp2eeuRvY/f8uJ0iRSGztz/Ca0Bh4CRscjrPwv4if/A7xzP2Rn3gixar7yOLCGjYM95Eikp5yL2P4XgvcegtTNByB+8p3gPXZF6u+HQ6x8L5h50V0weSzNuJD/rIdaoWgo+pruZgaXGGODgE1MUTFGW4vSpGMkw4vaiu4fuFbA2u/TGdN7wpzDxrz3iZUqji7A/fysj0//Mnuxg+Eq5/2iDNmGDBtx51d2Jq2krXlryl8RjhyV7+cQgVUTGf1o0d4Yz9vLHwHZoGECxkjiNAGjA6QzoUVSRxQxNMn6FI0gzmA09mJQypBsEyGhweomgNIuiB/1V9hDj1RMIjP9j0qsip94q9qJ0HrtborRWbsdgfhRfwKr0lvgRN0KiKWzkH3tZsg1C4MA3N44038qeiNJohkBrEWGFy/Qge+a47nlKCfibAoyTY7dzcqxWzuC0/e00kHRJCkgSOvqxkpQ8qt5ynKenf5HWMNOVuIhiWlUvviJf4M96Ailn8s89CPIbDOs7fZD7NCrVFu7i19B5vGf0GF6hm+e15IGQPIdRiN+ysMK+NI3D0HsyNtg7XI43PfuR/ZflyoxOnHeO5DZFoiPXoQ15JigO5y5DyA7/Vdg3m4OXRfj+AhvceGdBiJxzqsaGJ8gYHzeD+etfDVjB+efZOrMfRDZ5y4J3Jo0kCr1sbJeB2OZRNjD/ojYfufoR9JNECs+gFyzCJJYe2ln2KN+qO5lX/orBInOrQ2wdjsUsf1+Grh0Zd9+COkpF4KXeuqWaLxK10H8Rw/CHnwEUveeivhxN4BX9oQz7ymIlfPgLnoB9sjTwAeMgjN3CuJHXwekm9B67RAkfz4LvKoXWm/YE3LDZ4EVMjqcQ9ZJv74eMQlNR/90yGKRpbz+VTpGAkYlSlvgSQMYycikHCh8v82INUcNdgMFQ9gQsckYZaWvnOM95tQdwC5YV9DaHEGdoj/b0Xp1NJniz7XevdMOiayc5Qp0UZn5QTr9KClm/UNHcuYmUl5gAq+hAv9h3/1HWfgIFCPAqBo6V8agHP71cFSynAnbfC8qeUSov5oEe56O2H7nKh0PsYv0Uz+H885kWLsdhuQZjypdUMs1g8G67QS56gOgvCeSP31KDVy1Y6XuC7TesJdiACFA9McCsZqBo/VuidYGSNoO5oGe2u2gdqF4/oEkT5COjqzWtnYLYdKBILHY1/3lKYf0BXvoMUiMu0ul1fLXkUj+5EHwnrsh+/odyDz3f0p8jR9yBZz50xTzSZz9HJzXb1NuKLF9ztELwtQL4c5/MvChCw00+pGoQOLM6WCdt1dVFcvegVizSIE3+Q6SzyUZqqzvjPO2txEI/UHrGxtWI/3YjyHXfeT5J1KCBYYyjyFxyiPg2+mzT2T9SmSe/xXkZ68q/RwZf2KjL/UAima6C3fFbLiz71QGGO1W5qVN45ZEaXKKpbHgT9ZkJ5T87FWgtBqp+36ExFHXgnffqc2J4342G86cx5E4/jrd55O+pxzplfHFrIb/3XGUCG71+y7SUy5A/Khr1KJFxh3JY8i+eA3cRc+p7ZKJs/6pnpOuA+fNu5B98x+KyZJhT0kk/sfre/UnSjSKld58zhw7/nej7ASM6UapdYtKlPZ1jCROkyit9alF9YzGfAt8iw0cDaauAZqWjVomxZ7s3E8/+bLI9bUDIxXQuX1H8iF6gjxBQt64QekLLQkGapkoEXonPLOVhEMOvWR8oX8kSqfDBDgiUbfbfnkrqxeJL9pwNMFLLvgXWFlnOB88B9Z1R/BOfZCZfg3E8jkouejfevfFuiXg3QciM/MWiDUfIXnyrQqAMtP/BPez1yE+fyeY5OGy5n5R2rH9zgNL0j5pMq5UALQThYwvcdobnQTI2Vs5EpO/nPZvdBZNR2rySdq/0fuE6kcjULhInvcvWNuNgvv5u2i9ZYya+Fb/YZBNG+DMI7CzdNrxUmVp5VU9VWqpxy6E1W+4EtPJpUc7ufvCldHUUiDxw4dg7UqGlkY1YWlrmwIv2srmLwwBpyWLU1w7S7uO3iMsXDhv3AbnndsVTciBmEpF/Zc49m8hlhnUuXGNcnshVqe2zSlLvrc9UKE0bRZIAyIDd8V7cOdP1fVQHg++OJ1rQWvH0aqdnQ+no+SC6eCd+mtH73gy5Mfov+F+9Bpabz0C9t5nQCz7L8SqBVpCiOsAEXkfK4bSKxaq3VNKd632p3O0/HkkxLpPtIph6NGIfe9y8OreSsep+j1RCrFyPlIPnQGxfknIt7TYwO/I/MifEzo18zrFJ0g1SdjEFAkck1bIXYcCJwWxNc2zfkIFi+KCeTN8jzZDAfKH9gWfPtLupO7AA98IMFI5sjdvfxOAnwUBPyMNaVazrXLnkZxIWymrNLnrBMBIq+TXUc3IEKKgCANGqd7m1X2R/NFdSg/XesuhyrhQdqk+CCnz4l8R/94vlOWz5c97IXHsn2EP+h5Ewxq0Xr+vUsq397H6D0fJRS+qx8joQqxDMUjSlZHxJdUImW5Q+6RlayMSx/wR9q4Hwf3kdbT+jazeOd+/PIpCi/n2+8EefjLcj2fCeW8KEifehtieWiQs9hH1q9Dy51F6H7Cn38ub5T4zJ3eFk25HbOQpSE25UDGf5Kn/AO+1a3tVz92ntr1xL22sCoy5xuiQLuLH/x32d46HWL1IuUbZI37UQReRXDbpx86ES47RKlQj7RPXfoehcajiOHr0R9FK2tViwR52EpKn3KwSa73xEIiWWu1mk01BrP7QA3CPkZKlPmYwX1+soeBrvQajdOJrehFReuKEyq/56sGKxpZe8h+wCu2qR+MoNXmcWoSTZzzkAWUD0lMugrPgaWXo+SY+tLakm0SOLXqMkZy7lbuOdxQ6laXQnI6SU7/MhXBCJcXY3dZFn+poIV/B5+tAjILFkn/vXSpSiXdcIYeoBwosTb6Pc4frFVm61Pj0GCMpf2UrsQsyAhRgLcbxoL7A5OupcirksPycC1yWn6L/LlmDS3/xhlrds7MeRfqRs1UorbLfLVKTsvX2YxA/+mpYfYYi+940pKddirLLZumdMPNfQCsNau98rvyjMnWFrZ6DUfpLvR0v9fBFELWfKdZAaShXHfJzI3ZF3xNlsHY6UCnr3c/nomXSgYox6pS0+5H5Ca4Qg1LRc7jaoZI4+Vbw/t/V7h4UtcXbbkgiqVy3BOl/XQuxZkFuEVLJ5tLWUWw8h1zyv+09FPEDL0DqYTJQ0WTlsLbfG9aAEWDlxB7bXAIhm2uQfeV6r4za4T8YV1638e33QfywK5C69xQV4Yj3GwVr6NHgXQbobZvEeok9q10oxIJt75/e1kdMtvX2AzWLVZsHSJQ29ZjeOPaNMV4ZVPbky7rXaUiedKOSCJqu3A2yaa0qIvO2uAftTu+ppjbkW6/tyOUoccx1iB9wLrJznoCz6EUkx92m+pDGS/aNu8F33A/x0efDefdxpJ/9DWQTHbolQe5DJec8Cd5zF6QeOAvu/GfUTp5ceF9/IvpNZ/aXP0V1LMyctGzuS89d1d9yM4SMoHSagzK+EFv0RWmbaUd2ZZXOjbzo3PfVZ8EjxlyPQofF2GKeYiPYZZ8W39bVYVDRD35jwEiZNV/Xb0Qixl93BWhTbwc/hci9iYi5+8qNQjFGjzUq44tpHY1mGV2XzJN7zYlpPtdGsel8j/OegT1wb8imGqQeOh9IlMDabk/ER+ugDK33nq4mSsn4+zWjvPFg8H7fRfKkG9Qq33Lb0RBLXvPdsyP2SQ/gO/VH+ZXzNA44eqeLzFIg1FbtlEx/lb9bg2KmVp/dwXsMhLtqEVr+NDLHGINN3/4uhNxADwtGXhBcK+HhlTezVVQdan9COo+FFhxR5gzwtoTSrKB3yBldJeHFqNT+MLl9owHAhhcpVRAF3JH+MIcGgR3lYerWaPX0YzIqZmvMArKSKpDSoio5XetAHb7xxRCjA5OngYYhC6NE/IDzkTj2GrWQNF0xEGjx521kTBOKBm46EcUbAeOJNyO+7+lovf+ncOY8BmvnMUiefBN41+08RKMtjwJoqVPO8MQslThN/ygqUHUvZP59PZx5Uw3G3PbCk4OHqDhb7Hd4LhG7TjVD6xb9fwmufBjVzhfl4to+/OgnpDpjO899jzY7WDybzboHlfxq+X86CCgdeqz9knUomY4/lP1Lvz9IsCuUz6H3WiHY8Z0WfEujryA2VxDTwqwajtgiGV8IGGm/NDl4k1U6cCQwGVKYlIcPlw+vf9EhlA8furS83zCUnj8VrLQarfefDWunAxDf+0ehxmm5/Vg4H81E2S9ehfvpW0i/+Fe1wpeMuw2Ztx+A++mb2o3BeMuEBHWnpBolZz4MpBqQnnEzxOfvqhBgjMKRKUtw7qPmfef+yulcttRBNHwRWODNsz18C6F5Ho5ieKZ1sJBjqcGW8vqz4Nwzw3x7NTPdYPIKX0TU8t1ofC8DD1uD1T6MxSrVQrAfPO9bYNUFj1P5MX2D8kWsqH5Zi4E3xckkR3irBLL2cyNqQ35sygAqC5WbMSROuR3pJ3+hw4mprVVxZd22B+4D1nV7ZcBj5bQNkBz8adtk+Py3ltuPg/vRyx778+Ubz5JfcKzlH6fgPxaMEc9dR6fmzxndzrRmppoZrCRXOkZb7XrxQDGWE6VDwytvjfOIQEAnfTlHP8j1PJkU++WyiR1HoI49+Y0Do7yhb4mTBVmptUj9ZT6RiWcaX1zSBRnAGMqmEAn9MuXI+QuBd+qL2N6nI/381bCHnYjS8fcoVkeg5Lz7BFLTLtfmTRLjyMjgR+GhkdSRiDx+OUmUVaPDi5i9UeUvhFi5vavmfA8tH1HSRg+aLgOh0WQ2cqTBDWlUgTO5SxlO04GwZu4aK4ZqJuKFQLUdRtTGbd/xOCiHiooSnEgTRtgQEhdoIL9Z1QFaHsFVeftRf1QjFuk9o5DF9EyKAXtxPGkskFqAouwkCJRpF1aVMmw5C6d7W0U3aqDohzdhvvjAaCu2yLUPY0IDo7JKk7/mpqKP1yycs8X1aB3W7dL1/pkRm1C5wq9satG+VAFar+m1vw02wxHKzVN93J12h6juDN7UCL58MVgTiQHGwAhNDDMsj/+YjsRMrDEkSmc0Y2yrooUE87YEhsKCvOeKpAaSACNLaawEvKKH2gusDCJkfS0AfoXwJupkWIi1RjtBY4tmeUEZjUEdGt8+WQsxKd1KodPjvIzz5kYAbsaREb5jut/aClC07kmLvl5PBCDoiUeBGO31kgeIXnVCTK/QPG1v3hbtrzZHsdniOaaYl5c/sEJKzvDxaiH+71Ok0O4ZjwkZB05pQ60uQ6QkoaHhA1cUZMwxFTX6mnOh0DgvNFfMNizWbH6VPOcGtDYzaGD0wJGs7krHaACjP9iCAhs5hQoeLoHFIQQThycvX6WtkF/x51sBRqpD5g+97hISP6XGFD37wdljn1zVhID14VzwZfoAJhPY2upInzH6ojQFkWAeMAYJFZtFHen5jjR+W7O0vRlcKP3QCPceaKsORXu0HQbV7vIRKZw3C0K7morm7TVu4HiaS0tH7MpRSK3jy2evHWn6dp8phDBFXsp/tI2p4gN+gZhZ/ltRcA4t+iZItlcJ1fdt9KU5NqLjpNgYb29cRt9r73lflG4hpsgDxmgpUZopcPSt0ib2hbiP0Q7RvlDqacYeif/6i1Pba65Nvf+tAWPT/3XvEUvyBeT4LZNlWq/TpTvcgYOB0jJVH+v9WeDL29zSGKp3IEordx2pwo75wNheX0bHUxSQ/d+FxlZHMLWtMekDf1vMpth4b69eZrmLMQF1XWVOu4C8H74hQiWQO6XP45TaUZ+e9Qvti9SBf5oBfjkiGGY79K6y49DqaJBKz0Ibqlu08MYKWbQN2hjd6p22Ot1IP1eTcII5K6wpFhqJdnR2bQwwFpjpHV0nOzpWollsypgnUbq1hcM2gJHHmLcl0NsrHR34HZTZbQv1TjoztPSPNcs3Ffjae6+jXddeOht9X/62c2Vaxpa4UnYNtUcsDnfEAZBduyuLoPXOTLD1RgAMf39mgV5W4yuwSoeBcaML2MEXOsLDOphU6LGNSndTR7yZowdyoTnq6/iKjRLf7cQDRUVkzH/tVdwHV2U00yCrPXeIURieP/5uqejq5E+s9vLpyP0oEBbpgDb7JdpOHVaiGYy5DY1jR6qxuTxDRvLWZgJG2vHClI7Rimu2GPgxmsBoLp7FFizveQtoyDp8YMW1q8kv6Wv5fGvA2Hx5tzMtjn/QRgJzfKufsRjcAw4FKqqAbAbWay+CNdbled3ltR+NLwpUSzvjlPHFAcsa26C8JizEvtpadTsy/wq93xG86ggT9J8pNHcVczN1qF6PtsmiCrIh32iam/pRybc9SZlA0WQXxepWcCSb9TAy6kgbRvG9LWbcXnp590N0yQsGFzzkHQLVluRfTPlnFFrt1S8wNovN+I1qVzMf73sU3Iv1ayGmGF2bouKvn5ZmjB4okvElrv/5sRiVp5XXNu0x3mh9KZSjI3BxxbXrtPf81/D5VoBR/hY8k+k6Kyvk8KKdX1UNMeZw7XOXSYPNmw2+fKnh8qDfDDWavyVQnRwpINNuDhgLjYaCANEBqtAubTDQvhgKb2xnbhSF3NjEizwfHfX+Y+YsNl7VkWg6kHexBztax0LPFSlTB0qT5w9UrBgdLV6QZ97sMhvUG70daS+zEsXqXiidQqhVbJX1N+60lU575TDua8ZIbjqenjHhidHEGGmn6JexStPeIs4Wzt+wfo8Rd+IrC3oTrV6Hxs5X+VDTJVUHWbb1b0e07WAutx8IOdIwyqRagYZ68E8+BL6gwKXhUmmdl9DbXsmXMeOCF2CMAaLSl+jgLbocR0ZkdJkrsOypSwa78Db06kyDm5El3SxPG2kGluNIx+R7dURi0kfr3N5yba4+HahzUJz2qFlBW2sbM69Q3gX6L+d76aVl0J5wfxRwQ2m3zJvmutKhuRONqGO+ZI4hf9AXpXPGOI2CXHRs5bVfcfaQ1zTGBb9dyYruOzUpxthMjJGAkURpDouMLqRnJMqnfPN1gYJ1MpK9/lm4UygGheOIoytvqKN9jl/551thjM0/r35RCBwSuG8YSBV1ixO7DQV2HxbykmdPPw7W0qwNAJHO1g7etCPEA0Y6+6SDzWb2S+F4dW0v1x1hFOFncr/ChKcjKRWrlF/y/DSieYedSvIdqcPt4TuO+PmGW9Usf87ZN1w/cy4Xw1gzVf128RiY/spYjCxG38yvj48MujTR9tA1Ldxjha621WvF26TYiMj1b+F0275aCAML1ye/1n7KbY1Vc0NE/kiQ5EuD1iYtSivWGCfG6OkXaTugxxgDA5Y3IMwRQ76tCmw95NX5eH6vKkAPe6Pkr7X7f5m4i34rN8ye+EdIwSua669iY+5NfePA2PCziv0si7/qio7vZpc9egGDhgCdOgPNTWDTnyuMCurYFR2sVjNGB5y2zKnWNro5mEkFhoC/9Sg4klA/83GP/fDgnrfA4TH0qV+E4Z9PxYilT8D2z1cJXCgKyJN5oqPvh+kvlx4tM5/zv7crn3qVMV1FzLoGLVWorv5N754aeQbMRN1C/PshhPENB5EjH6M+qN6AjkYsVkkVCHgaKoc3IbRrR1SpaoBX0fhZHVhoCrWzaorotCsA737bh9rdbG+vfyPNG4Y+T7wIrQyFdBNmFGcvwbzjM83dRZF0g6YIPM/DiuGgqAXu5y0URh1VW+XGghKlPWBUbNEAxoAxlpVD7rob0LMPUFau31+zGuxVHdw37xPpRosR/5GHV93UoA812sSPfOxEq2G7Pp8B6McYFnGJn200MNKu2LVjBl8Bxn4CyL7dZywoo814HSkTGR2bL6qY4YKNDnZMmMt9Macmv7M8uVStJN7ECzCPnhF0DKYEhTxS4JjRJ/aZm5t0dv6JKvqXz14KSR76nsSTw6/B2zuMC1WzqmUVjpp3NYau0FGh/dTCGw8NB2gDdHLP5FxhwvPGZzFmljmeZVsUXVoi49D5zbnJmnPtzokq+m5OwR+wIH81VuZgcxIauzz0i8Lz2CHlhzq+SfW5vq7/MrjSu0fXKLykMjoztadFvxN+V8UG8zaEUBGD5veu5drULLpn96ZgNPosOKXX1LvDJJ0RoL8zhbbaI1I9R9cBLumMWf+7vk42ALquvkum0qB3PViMUBlzDSkw6HNjKddXuUnmj6Yw7JutnQtgEu13nz371/2ezrmPm3n74zyXSi4YRM79KuBgxujNjZXoBlpznIWFXHPkewOGROkoY/R8GHsD+/wAABucSURBVFUUPPI6OHEcUKLPIwo+ixYA71LovSJqi9woUWW2OWaVrmrYh44t6AgGFXqmftYECh31YHCP4bmNBsa1Y4dMkcBJfiKJDOtc/foH7cfKAlB7QenRMfCpjg6YnQdI5n5LP/1CBTTX7CiwqR1SZJH29ktzP0hBCIAjPhFmAMzIObf+dP37mIfRlOiC9RXbwaXzgI3P7sufwwmzL0PSMYIGm2gbraxZljAa6g0i5pY5owH8r7YlUZIQZJlDayp0YLkKpapOryegAhw6WUEyRsZ/VzCWVYGzGMvScdCS0z04YCwrmHrWEf67HA4kpcOFpANS6Oh6AkDun3ziez4GJ0To4328+cppFkU6L1Qvg1/Qa9625LxQAR1acY2+iIroqkjGGhME3aLzuCRhKEG3Bk9IySm8AZNCOQ1JAZtLWLQzmUnYELC4pO+SwhPFoP/SM+o3h9SnmUgZk3SN4o8JWAS8+tBvLSVFu98HAX8BC4edCW1Nymd3+fipr5htHx2Lhd6JElx/Yvlp5es4cjhSYPs76RhbmizYcdIvMs8iTTtY9QmByir9vcOB3n1Cc0k+Ow1s/froxq/gGbN/6Ts1rhDih1V3ND+8KcAo559f3tgS/1ACfkEcbmH3jQLGNQcPPh6CPeG12Ycc7JLuMz54oSMFkhNR0pQqf8+VcpdgNSgACgUVgtFOLvSeVyi9dVRvC6SAtQoYTZSN0kNTtDAzD6homEc6PIHPuo3AGzudjoV9Dg50n10al+K0189Bz/qP2m8OXxqKgDUxKwZGgOaCSYpImiHwAkNGgGckZMayZLLKcreXHM11sP+bgUX7RDPCoueYSyDImHRIzUrbplQoNg6a6WFG5iMOU+cwqXv6EpEm9Vtdo3vK95o8U9TZPSpJdd3rBvVXNavnjmi+5z/nNwpBrHnNZIfRhgu3vE4/UMDkwW74bfKAiUYeFN47/nUCRg+RVU/4bpT0HD2j/qqDlbyFnMDUg5zgvtbSqKWDnvU4sGKcHqMlMLWYgC0JVIWkqItxLhBnAjEpBJ0NmGASCehTNeNcihiBrQQSBL5Mg2oArCFcizZStBGD8d3+sGz7iY1LyAdGHxR1dDfPj9H3U917HyCbBdatA0jlVVoKLPaCb5vspxDJMOa0zbC0Nd28e7fJ2Og90w2zJt4pIc8ykPeqqj0n/W6jgHH12CFEMY9gwPPdEqnj2AuL24rpFWrn+rNLf8OA39OsjwzhQPGthVb/E9m4X2ANKdRVKh4jBWAmcZrgROrjU/XHTD0navqiRTh3X+AsZoZhWNp1OJ4cdS3WVO2sUo87zThh1qXY4/NnNbL48CIgWZKtI320YCwNsLS00CoZUi7jadholUBGcmJujBidQ/GiiZ35sQY0sAn0yKaPtaQsXReLT81YVoMXkUmLutSSHqPzJqpQXE+zNw10mv7RZJacUWPpe/4z6j0tDWnA01oHDZ7+tZwUl2tQxbsM8KUSEcE0G9UvQ0hSz+lh1LMeYG8sUwyNqQhomkCn2sADPaYDIPpDgwRq4ssKgujQQ2/I+HIitVYAlKo1KLShHlZ+7RmtbNRaOuiPar3gPXVqLEG757/uxaZQ95nWClCHqzw8xqrst8RSIYidyhiXMsEEkkyKJHNRYgkkpZRJLmWJbJX9KdyiytyD5lwFw+ojv9JRBUtunvhVy7VsWJTOCdO5J3OGHOF6xhdijN4/Yosq5okPjF7SbUNuIRkgjCBaXyKvq7yr9bIIuLT5s37Wxb8G2NXGQ29Ujlx5IGOPuxsFjGvGDFnLGLrEhLNjp5kfLu1oIRrPiA9iFp+VldB7/Tbp0/6K5QORYoykY8ySHESEK9fdZtaFiCjdN3MK5eqHCvRC+pEaK4Mknh3xa8wdmgsvtseiKRjzn+tQ0lqraQjN/Z1j9yLGUwQy68p3Kuve/EmTJhpCcpoPNJ3ImOfp3bgHWEpbpvV4ssJJ71LlusfV27HJTZa1wtPzqbWAJAoveoTS21GaaocfAZQPah7AabDTQMaZSz7xckPlrmUPDf7bOQctvfHRoeueXk7vkXJbPavCxitKqQBSKXO4vu9SUCB/xvjPqUb0LBIUstG7bxn3Ff7471Ei3kd/s9RpBRszTOhAP/N5oldueNYH91XN1X1trfF/e3VkLleHNyjAI9BS36mzci2pAFA/o6LvUsQ3RpK2pQBTarDTayp1sgJDyodkdQW66h61jMUYl8wR4MpQS897ek71vgZogliS8VVa6rr3jA+uTLCY/DhzjmKlvjHIDzfJPUUqFc4LY0lo68Uh1opYb6dRVKKOEreO9kk2zZBJaaOLb3ghl2S180XHPw6oTi5NM/eOdr/uVovJtHDdfarvyc5tr4xS/taun1X/R8bwS0Pp8BG33f0rht2idtNsHDCOHUKHEn/aY8YHHQ4ZJk9EvKE8/qoA2ysnc0UUq1Hx1kSnQqgW7T2/JbwDi7QBRusa1bZC5oVlUs95Da7S0AnpPdakqyC2SX+9397ZUvq+vmakoL772+AW7XQEnj/oWqQT+iD6ZKoOw+Y/gt0Wv4AeNYsE286etLz7qOTbA04btrjb6BGjP7nxsX0+u2uRMhkxRpFGKWsFaASQJP4qwCMxWDJlT+qdbbnEYWzeukTiX8rsQUyPnieW6AGpAlHJSFkm6JvUpgR11f+uAM8DRmoZx7Jw28iXftMQ7zWcSTc7aMOLt5308c/+TXilwMsDKfW+B2gK2ChXPz6SoANJlQtFbkT7z3MPTP1QkfSO953AMhxBMjesbbI6ej/NwxjMgU/66uhE8J91BRi9T799TWxagJn3FVgLMFdIRmV3XeoC/WE+2HrMkNLzQdTi9A79ttSSRGBqS+8aMU+PUVIa5IFhWSo6GCdIVODnSjpFlERzbkmLCSa5YpuOBk0Swwm7lDFIU1Ddk3RPA6syJtEt6m7pIGEtzVzu6TZzZ197veF3ivJz9XXYEezRyK1BS8Xp9b4zLpVTNt1XbLZAfGCzD2ieNDfQ6sKU+ExitHbVocp6+kWz13wdfyEcCDqjDWOM9z4H/tvQlN6n3+PwTpMrDJH1syY8Rqaf4K7EJzHGDyoddUOw93qjgHH1mCGLOLC++yvz928Plf37tT+J/55x/IYOVwuAxHdmLbIomKuUD0SFvGECNud9UX+IzamtgdqfUekaSX5R2OOdc+Qw7c7jgV14t4ZWAPqBW4N+8VvK+xvs9PJ/A2go74nnxlyLxQNGh5pHhWZQTDCn9ko6jWsunrnPry3XcTgnzkZ6QEYSSMAg9TUlXYlymdmx0nEuWZOIn5/lzLE0eGrA84Dvk96Hdtll3YtrbQ+k6D49p80KZEohxSXtGtBgR3/p923DX/5VTbzvsVTomGj9+IhPr75kZN1Ta+i3gywVSHWJ7ernY2TXNT5kdTA3XobuW/khZ0LPuvnM0NcKk/Uia9i5VLoZIEumJe8T5KUKlitUNmU8Q+n4t/1n6Lx6Lx3KIks2de+TFWDqMTrNlMCR8rT0NdqUwATNco91kgnLLwsBsaWBVz8H5nDJYtqur8BTid2UJgGra3HvpIHgGgEkKVGUSOyCu0zqZyg9BgJPrhwS6LuUlgJaYXHhyJLYisxNkkptgqH/3R/kAUKaSmddgdA88Pex+xMwoBSeyT4ATg2WCjg1+IPYoioggSKBIQGjJ0YrWuwFGgmxUcM7KIotUTwohj1KGcHl9dX3ZH/RFj7J9y/r1JROnS8kjmMMq1wbP+r03Ul15jsbBYxrxg6+k2xJPWbM92Kqtw2PG35of8+22LOOgDrmJzSbom5vCjULMEn/utFBeRY3490cu/NZo+fTqEDSi1Sv5FWv7N4qpWUq739B6ED9UACSBggGZaBONtQgBJif9dkHb3znLHzaZz8IP+S/l50t0mu7NS15+ZCPr31mQO27tcRpCbwc4UrLUjpFQeOLmI4StMBElkH2TbdOdCwsqk2WPgtXAx39s+k+gJk7/GyHFC+3f7DkqkXSAk0ZGXc0YKnfHgBJi6nrpByOW5DXj/jPFQ3xnqdR8eKyZeapSy64eOem15tM5XHCZjLlX/AOpUiQzdr/JIFkDLI1BSTt8HV1LcbU8Tv0DDlntJAY29rquInCLhZEUIjAm6PLShPpKyN0Co1ZRq3gfYg+0VeiCyXeX5YFS9LZONGh6j9E17OS0X16znyQ2eG8MmlweiZtaxClpiCPMDVGfFW2C0bvBddtSQDHFAgToFkaGDUYx4xrksG/t7LHWNaaPDnbecM1TufGLwgYHQJJR/IYPaP1iJyAkyiYSyCZlqUla9NTpEQ8b1umyRBDQYINQIwCZh6g5vSH1MOv7nUJRvz3PpS2bvAS0fNHhQTzWKFmiNroooFT6x8UgG0M8kTBw3w3gpqW0pCIEzo96E5rG53avrsxxcOaMYP3BWOvS5sP7fni+/PbSrruVOzALfutrIvuPqaZUnHBkHLG7jU/bYU5eahaPGcFjL7oS6xRue94Ry6TPKpYYthXJADFAmwwaCDtHOf1fg5D1WDwixN5P2uXYE3nndGa7Cw+Hjj60qrWxYtHLpvyBTFAy4bIusTamAKtWIyipGUVoMU8NihdNe0lTaS+TnrKChsnu3bCIWAjgJMeCMks5F9Hz/nrOfOO+FWXzNqsjwxKXZ9lssR7rhlAaYxJ9TcO9feGnV6/qCXW5bK4aH7gwiWHX97FWRoo/GQcsjwJKTOQDSTzpyFLyY3H+2Rb4TZ31uA2cANcDIbEib5xO2/h6ajSaJPHc6FjyfEY+OLVsJMOeIyAxAfRJrBupWA1JWANLng1gLo6fb5fUIAqgHnMk5M7bOTTnAYrBzkmA82kyi4H+Q4wNBOE608L+QrEJeMecLY6GlRpgaAYJ6VxsJQjWToGVuKClSzvcyRrLbkWahWQNbKq4YzmLms/JLAlIM4yybNZcALYhB1j/neWFaWJdZkZkqzbxuQJ1Fc+MSkCgGqO+tvO6BkFoDkUNcH23UGn4vkD/4B95/4NY9/8c7ASBrxCsUmyQHvH5xAYWp5u0TtRN9qYphTtz/eQ378xx5Q6IDy8cj3DyLcKtdmss2/XKSBV1SZ9NgoYKYe1Y4e8CIaa7i/PP6VYjqtORLfSGJ/pSDYoqLDBqtR7oZbwfCV8tZ/RsXmWk+hqYbLMYJXzwJEU/8pQ4jl8EyB6orYyisg4Ym4vMJRA8Do49uqANKoiFANKowzR4Cn6t7E7QQE7c5vL+V4yzuticQgCKwK1uIAgpiLJM86CTNIZ7zaTIgNJrCpZwoRIM9lLNu1puTi4pqriavJHKEtByjiTFOO8ItEgp+xyz4CPq0bfd8Vr2x9YlYAkp9LqZI651dDvUv2b1vfOLZC0XIkWSNEMefegx3ocvvCkNT0qIft28t4j09poOGxMDgg3aYRtwS+RYWPxzxC3O+dA0a4CsxrCIMnLwKgd/aquawLr4f2gezWtYJ1LIOkvnX9Y1wryRVAjhZeCNabBqlClQDW2rO8vmMsvzzWbXO12qxmbqmioYXEwAtbyOJTvAgFrmktO7NgSoqykxn1Pu/gYjR5gm/7iy0DGj9DX4BkjDQLM1kQ1VncehLcHn44Ptz9UZdB9w4c47/HDQqKgr3P3nbiVvtJnkL6Bx2eMJiaYUldUujTHUPSd6Pjy9Y1MLnFSYv9uT2HVpgzBjQbGdWN230VAvMcYO637jA8eL5Rp3SnsSRfsuA5FWtmUUrfzjm+dVuzQY4+kdyRuoxmlbl07vSOYzC2wbuJzSN4cBkQTBA2wDAFn9LrPcv3JwZBNlcQGpWKx+pJSJmRKg1pZBRfEUirjdVIkIKtLIDes1y917ge5dh3glkLuWo8rHeCJmnIolu5UhrUS13xnye8E7GGXvTLgyHRnyMEAFiwEUp0gh/eCfHwhZLdBtN0IAlfpU1a+hmb/n0nSJyzeeVwMvwPDwgijHJT7PVOtMcCcVWAUTmpBLRgG6eZK1ITfsxvBSpcNIWdlpfNVHy4fkXssUL52vAWsphzM8sC1IQNWjWpkRLqsc0v6EylREurcEMAV6CKfTNAtg00GPz0gmnzow/i0dy6gS2mqBmc+cyK61S1WcykXvIQMODpwr69L9A06PmhGycTXNXAsJmd2elSO2ZT0NxoYKZO1Y4eeLiFvZVwc1v2lhfqAY+Oz4URcyRi7SslY5smQHruLxppV/WGIy37DmWKAfz94zPui/pisUeXpxcnzxWpKyDsFU62IVCa3AjzVP1RuaddDJlfoa9oRTRt7DVk5d2qeN4qiwOmnaFy3ORYtT8qR2RLIHmWQTi2kU5EDp/RqSAIxerXxY0iaRDMPzBVt3y/wQKw3cifeX+V7LepynvnUso/AsGDysf1zk2lTRsO2d76xFigo9nsjr/bgoYOzQr5vFMa17MyQLpmPCYUwZ2cNpslasERP/Z3GUB+wN7MSOpRfCB1zkysqhkafDc05rwD0zufdR+DOI55UV8pa1+P0F09Drw2eNi0kDXoqJ0/fqOaOZ2wJVGL+6Yv+tI+gUO5YHC8tE7wjPeTPf/XXn5IeaxSQ13d7DG0aYop1+CYBIyW2ZuyQ3wH4OYCf9Jgxf6qZQe0xqJZxzIRk3/GP9NA+w74C10DBApYU9VxQUx8BTZ7j93rOzh9OO6oj0SuaYoq+8THVByxLmiX6CCC5BojVEWLmUNoExADho02pfcT88EjaNU+XmQaCzdHsuji+8xD8+/GFYCcOgsRVADXe7/KHbx6Tk+ehk+vg9/ZduKhQJ/7kqRU720x8BMamTj6m33Hf2MzeltHX2gJrxw5ZLoG+QSZMXt3j5QVXmplGwXXdcdg/buFZR6IiEJl9pAvp78OGFOM83WDs5nlqQOLB0XcikW3CoXOvQ0XLGm/06kmiR32uRFqjpOenvu7r6M0a5EzRsrknZKoLwLNg8QawkvXKouWtFQHSezOr6L5ZJaVrr5IPbVvuX/kIPBls47prk4FRgeOYIbcBOE8yXNNDzP8dm5nTR607ChU8jjMZMCKI4rBxZdvkp42AyH6P+b3n15e5dbseL6VNqmCHlS3/J4vXu8qpWrvA5FTw+iySnGomNwpC5TOh3hsT5DG0hkvc3eVJLNjUyjhn4xjCWPsuhBYfP70zpi07g0lMBvDS5GP7H7Kp+Wx7b/NqgTVjhrwFhr38UjHgje4z5u/XXinXHYVdEMNPLaB3ofhV5txgMUXlgp040WGvniXPeXJkJP9JY0ulvzVSbRNVPmOhkpGXrN4PRN60yoEu9/GO7VYX1C4kmoQ1u54opXEYNs/CLl85h8WaOrDH1khcO5z8lzv4x/+3d7WxTZVR+Dn9WBk4BjLWDdmmyBC2zg9C4g+/YIUpxAxKVIjGIKUgiBKJP4zEECDRxBh/kCEJbN0w/jAGYkdggsC6KUJUVJB1w8wfaiewdW5B0cDW9R7z9mN00G39uGs3ec/P3vOec97nNufe956vybUYkIIzHHY3uexY2G/l7VxQvFkheh+MCwro1dyGpi8Tkzjyqz0Lix5lRXMy4ON4V46zOeLb2MhbMryGXht2XmNsz7RDxFBuIWutexcYGwH8WG3JH7Qj+vCaJMdoQsBjNp1lxoNhNnUbnS4Ru/nfUffCGZm9yngHAY+H5eKLfV7TMy+6s6H5VLI3ndAbY8hYj7n4KWaqgnhKEY4R086pzqajo/Ej/y+LZxom9o5rBAefxoQyY73reLKBj1afdy0+01di0COytdZ9HAzRzaKz2pLnT42SNLYR4Geh9XSZPARkMOMKCK1E+Cq73rVlbO9saOuDgd1dIPF/7qeuNEU3b3LjuahLkNXASBXHKAzxzC+6gzUa0ZVikz/7HvwbgQ5B4c97DPgu74vmiG88Yi0XFaW1G1GY29AS95EzGjDaF5aUaBSuYKA/tKFVaE5WY9PP0axPNg/bMKeP8LK+Eq8PpntNrdvFjGJxbJmQNn5SxZIpIuVQkkRgTCIgSiH/LDV9qADrb2yATxqdzeJtMmmkmmMMWdxuLplB4PVgrAaQFfqdwJdEWhgBfzHoKqCkgWkSCCLl6z4Rp0g36HMyjpwdkZGIHWbTWQw8mgjT/s02XJ8SS5egpN0ZkcxrwzZinNHZMUjLcsBa2+YGc57/AUPaR2qW3XU6mTZKXRIBtREQzrGz1HSCgfBUm+U3B3nV1hsuT3XHGBL+6/y7x2VQxpNM/JgCiNrqB4JVVAP3w+gE+DS0dMrX11szrbE1rijScCB1mIv3gGld2FNIYdZsyGlo2jvc2lRcF8cpbyZa9T24nz4WtRSRyepwi5TIQOcK0KZqS15FKuyVOiUCaiLQZS4u6lPIFQrcMqEup971tJo6hpI1Yo4xktKuxTMn9vWMm8qKL12rV7qv6HxdhTH0dEwEFM8Ck5UJ9qAD+VYL2pLlPO9MROZIru2x4RkwrAY7lgylx+po2wZQAUi5zhpNXU359MMjaZeULREIIbC61r0CjPVareatqvLp38SDzKX5s7J02rSlYCXdpyiHc8PaGd4UgOoyOl39J9B4dMWyJqmOMRbD1ObtNM+exay1KMyNOQ0twaESamtRRx6/BoP3Gs4zY7vBjrhatqtjiZQiERgcAavDLYZQlfm/4hB9YF+WJ/obRk2dpXPm+qA5RoFKSXHiqTc6m/oDL+1m0xlizAtc47+NzubMqIUnyHjbOMYEcUrq8l4b9hBhpY6QS3v9zWgkSQRGHQJWh1t89vI7NQKO2y35wklGTZ5SU2N4IJSAq41TXJOf2w9fMFAqar8DrTQZJ4wNrqTl6UrHGPVtTA6jdy22M2MrAe/oq/B2crRKLRKB2BGwOtzioS16WAi6XG3JnxaLlI5Sk+iJ4m9PxODNOsKp9sv8U3YWilmnEbOlZgTliT7nZVn1TSdikZ8Ir3SMiaCn4lp+ERO8BohKolUEdOv6cC/tiz9zX0XTpCiJQEQErI62VoALQxcV+B7aZ7nnXLRweUpNFxiY7XeMGlomBjURaVcCLKaQ3hh/ybzV2NAcPpslWhVx80nHGDd06izkddB7FYiB1TsAFPilEjamVWK3OhqkFInAyCCw5qB7NyvYECbdXm3Jt0WrLdiMpmYI/otEeCO73vVptDLV4pOOUS0kY5TjXYs3WfGXfC0CBb7TBOmTtCo8H6M4yS4RSDoCLx1qK9T4+Dw40Pzc39Bcy3M/Ki+IulCjw1zygsh7DpY/iubevzPoay376to7cMTU0hI+CSNpe5SOMWlQD1TktaGOcUsqzg/6HjwxVN5iisyVaiUCERFYc/CPVayw3T9AQxDzgerlBTcGTY1R3KRjTNGN67NhnQLsCakn4KguHSuoArKkL0X3RKqNDwGrw11GoPcU4gM1S/Pe7R+dG5+4UbFKOsYU3QZ+BTneXlxk4DIBO/RVqByNTTdSBI9UKxFIKQLSMaYQ/t7VeFj/D76n/ZGn5aXQNKlaInBbI/Af7NFDa4Ye3CIAAAAASUVORK5CYII="},60141:function(Et){"use strict";Et.exports="data:image/gif;base64,R0lGODlh6QDIAPf/APrMTf789vrMUPvdi/zfkfi4CvvYef713fnKSfzosP7wyvrSZfjAKPzmqf3wzP767fnHPv7xzf3wzvjFOfe2BP767vi8F/i8GPvagfnGO/jDMv3uxv3svfrNUvzkov724fvWcfzinPvbhPi5DfrTZv734vi6EPzglfnKSP3tw/nJR/3qtv3nrPrRYPjAJf/++/702PvVbvrUbfrUafrQX/rOVvnLTfrWcvi+H/i7Fv7y0P3y0/3wyv3uxPzjoPzglvi/I/vejvvZfPe5D/rTaPrPWvrOVPrKSf3vyPzlpPnNU/nKRvnENfe6E/Ly8v3sv+Xl5frZf9ra2vnIQOjo6Pv7+9jY2PX19d7e3tTU1Ovr6/n5+dzc3O7u7uLi4tDQ0M7Oztvb2/j4+N3d3ezs7NHR0f7+/tXV1fHx8fDw8NLS0uHh4d/f3/jAJvb29vT09M/Pz+/v7/f39+rq6uPj49bW1vr6+uDg4NfX1+Tk5PPz89PT0+np6efn59nZ2e3t7frPWfzmqvnFN/39/fz8/P756/723/vdif3ru/745/zhmObm5vrUav3ps/zim/zdiv757Pzlpvzruvzhmfe3Bve3B/zimvvhmvnCK/jAJ//56v/9+f7z1f702vvciPvXdfnBJ/jFN/jDL/735PvZe/e7Ffzjn/e3CPznq/3twf3ruvi+IPnFNvvdjPzps/3psvrOWP702/rQXfvYevnOWfvUav3quPrWdP302//56/i9G/zejP712/778/nIQv3orfnOV/i3BvnGOv/+/frKR/////3nqv3uw/vYd/3y1frUa/713v3ruPvZevrXd/e2BvnEM//+/P7z1v///f3rufnDMPnHQPe2A/i/JPrIQvnMUP3z2PnLSv/88/e8Gv746P7uxfvUa/vgk/vglPzgk/rNVPvaffnBKf3xz/756vi6D/rSYvrVcPe4C/jENvi7E/789PrPWPnIQfzchv3tv/3svvzquf3qufi9Hfi9Hve4DPnCLvjCL/e1AM3Nzf///yH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ4IDc5LjE2NDAzNiwgMjAxOS8wOC8xMy0wMTowNjo1NyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIxLjAgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MDJDNDJCNzNGQjY2MTFFREE3MTFEMUFDMEEzQzRDM0MiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MDJDNDJCNzRGQjY2MTFFREE3MTFEMUFDMEEzQzRDM0MiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowMkM0MkI3MUZCNjYxMUVEQTcxMUQxQUMwQTNDNEMzQyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowMkM0MkI3MkZCNjYxMUVEQTcxMUQxQUMwQTNDNEMzQyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2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"}}]);
|