(self.webpackChunk=self.webpackChunk||[]).push([[6270],{33463:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return re}});var Se=de(87462),xe=de(67294),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},pe=E,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:pe}))},re=xe.forwardRef(le)},28575:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return re}});var Se=de(87462),xe=de(67294),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},pe=E,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:pe}))},re=xe.forwardRef(le)},84249:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return re}});var Se=de(87462),xe=de(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},pe=E,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:pe}))},re=xe.forwardRef(le)},81893:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return re}});var Se=de(87462),xe=de(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},pe=E,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:pe}))},re=xe.forwardRef(le)},90674:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return re}});var Se=de(87462),xe=de(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},pe=E,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:pe}))},re=xe.forwardRef(le)},55304:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return re}});var Se=de(87462),xe=de(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},pe=E,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:pe}))},re=xe.forwardRef(le)},73148:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return re}});var Se=de(87462),xe=de(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},pe=E,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:pe}))},re=xe.forwardRef(le)},56747:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return re}});var Se=de(87462),xe=de(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},pe=E,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:pe}))},re=xe.forwardRef(le)},50881:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return re}});var Se=de(87462),xe=de(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},pe=E,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:pe}))},re=xe.forwardRef(le)},22751:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return re}});var Se=de(87462),xe=de(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},pe=E,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:pe}))},re=xe.forwardRef(le)},34182:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return re}});var Se=de(87462),xe=de(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},pe=E,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:pe}))},re=xe.forwardRef(le)},74664:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return re}});var Se=de(87462),xe=de(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},pe=E,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:pe}))},re=xe.forwardRef(le)},91034:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return re}});var Se=de(87462),xe=de(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},pe=E,fe=de(74643),le=function(ie,ue){return xe.createElement(fe.Z,(0,Se.Z)({},ie,{ref:ue,icon:pe}))},re=xe.forwardRef(le)},71736:function(_t,ft){"use strict";ft.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},11579:function(_t,ft){"use strict";ft.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"}},12867:function(){"use strict"},22707:function(_t,ft,de){"use strict";var Se=de(67294),xe=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,le=(ie,ue,ae)=>ue in ie?xe(ie,ue,{enumerable:!0,configurable:!0,writable:!0,value:ae}):ie[ue]=ae,re=(ie,ue)=>{for(var ae in ue||(ue={}))pe.call(ue,ae)&&le(ie,ae,ue[ae]);if(E)for(var ae of E(ue))fe.call(ue,ae)&&le(ie,ae,ue[ae]);return ie};const se=ie=>React.createElement("svg",re({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},ie),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"})));ft.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},8861:function(_t,ft,de){"use strict";var Se=de(67294),xe=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,le=(ie,ue,ae)=>ue in ie?xe(ie,ue,{enumerable:!0,configurable:!0,writable:!0,value:ae}):ie[ue]=ae,re=(ie,ue)=>{for(var ae in ue||(ue={}))pe.call(ue,ae)&&le(ie,ae,ue[ae]);if(E)for(var ae of E(ue))fe.call(ue,ae)&&le(ie,ae,ue[ae]);return ie};const se=ie=>React.createElement("svg",re({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},ie),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"})));ft.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},18023:function(){"use strict";function _t(ee,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=ee,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(_t.prototype,"name",{get:function(){return this._name},set:function(ee){if(typeof ee!="string"||ee==="")throw new Error("Shape name must be a valid string.");this._name=ee}}),Object.defineProperty(_t.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("The default value must be a real number, not: "+ee);this._defaultValue=ee}}),Object.defineProperty(_t.prototype,"minimum",{get:function(){return this._minimum},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("Minimum must be a real number, not: "+ee);this._minimum=ee}}),Object.defineProperty(_t.prototype,"maximum",{get:function(){return this._maximum},set:function(ee){if(typeof ee!="number"||isNaN(ee))throw new Error("Maximum must be a real number, not: "+ee);this._maximum=ee}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ee,a){var y=go.Shape._FigureParameters[ee];return y?y[a]:null},go.Shape.setFigureParameter=function(ee,a,y){if(!(y instanceof _t))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValuey.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[ee];x||(x=[],go.Shape._FigureParameters[ee]=x),x[a]=y};var ft=[];function de(ee,a){var y=ft.pop();return y===void 0?new go.Point(ee,a):(y.x=ee,y.y=a,y)}function Se(){var ee=ft.pop();return ee===void 0?new go.Point:ee}function xe(ee){ft.push(ee)}function E(ee,a,y,x,b,z,te,ce,ge){ge||(ge=new go.Point);var he=ee-y,ve=b-te,me=NaN,be=NaN;if(he===0)if(ve===0)ee===y&&(me=ee,be=a);else{var ye=(z-ce)/ve,Pe=z-ye*b;me=ee,be=ye*me+Pe}else if(ve===0){var we=(a-x)/he,Le=a-we*ee;me=b,be=we*me+Le}else{var we=(a-x)/he,ye=(z-ce)/ve,Le=a-we*ee,Pe=z-ye*b;me=(Pe-Le)/(we-ye),be=we*me+Le}return ge.x=me,ge.y=be,ge}function pe(ee,a,y,x,b,z,te,ce,ge,he,ve,me,be,ye){var Pe=1-ge,we=ge,Le=ee*Pe+y*we,Ce=a*Pe+x*we,Te=y*Pe+b*we,Ee=x*Pe+z*we,Re=b*Pe+te*we,De=z*Pe+ce*we,ke=Le*Pe+Te*we,Ie=Ce*Pe+Ee*we,qe=Te*Pe+Re*we,Qe=Ee*Pe+De*we,Je=ke*Pe+qe*we,Ye=Ie*Pe+Qe*we;he.x=Le,he.y=Ce,ve.x=ke,ve.y=Ie,me.x=Je,me.y=Ye,be.x=qe,be.y=Qe,ye.x=Re,ye.y=De}var fe=new go.Spot(.156,.156),le=new go.Spot(.844,.844),re=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new _t("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*re,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,1,-b,-b)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,a,y){var x=a/2,b=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=fe,b.spot2=le,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(ee,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(ee,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(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,re*a,0,a,(1-re)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,re*y,(1-re)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,re*y,re*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-re)*a,0,0,(1-re)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ee,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(ee,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(ee,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(ee,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 _t("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=a,z.endY=y,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())):z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b0&&(te.add(new go.PathSegment(go.PathSegment.Move,a/2+ce,a/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ce,ce).close())),z.spot1=fe,z.spot2=le,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(ee,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(ee,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 _t("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new _t("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ee,a,y){var x=ee?ee.parameter1:NaN,b=ee?ee.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var z=x%360;z<0&&(z+=360);var te=b%360,ce=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ce,ce).add(new go.PathSegment(go.PathSegment.Arc,z,te,ce,ce,ce,ce).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ee,a,y){var x=re/Math.SQRT2*.5,b=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,z*y,a,(1-x)*y,(b+x)*a,(z+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new _t("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,z=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,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,z+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,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,z-b,te-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new _t("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,z=a/2,te=y/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,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,z+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,y)).add(new go.PathSegment(go.PathSegment.Line,z-b,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,z-b,te-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new _t("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ee,a,y){var x=ee?ee.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}else{var z=a/2,te=y/2,ce=Math.atan2(y,a),ge=x-Math.min(Math.cos(ce)*x/2,z),he=x-Math.min(Math.sin(ce)*x/2,te),b=new go.Geometry,ve=new go.PathFigure(ge,0,!0);return b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,z,.2*y)),ve.add(new go.PathSegment(go.PathSegment.Line,a-ge,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,he)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,a,y-he)),ve.add(new go.PathSegment(go.PathSegment.Line,a-ge,y)),ve.add(new go.PathSegment(go.PathSegment.Line,z,.8*y)),ve.add(new go.PathSegment(go.PathSegment.Line,ge,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,y-he)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,0,he).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new _t("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,z=new go.PathFigure(.1*a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new _t("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new _t("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(ee,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,re*a,0,a,(.5-re/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+re/2)*y,re*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ee,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(ee,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(ee,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(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var z=.2,te=.3,ce=0,ge=z*re;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+z+ce)*y,(.5-z+te)*a,(.5+ge+ce)*y,(.5-ge+te)*a,(.5+z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*a,(.5+ce)*y,(.5+ge+te)*a,(.5+z+ce)*y,(.5+z+te)*a,(.5+ge+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+ce)*y,(1-.5+z+te)*a,(.5-ge+ce)*y,(.5+ge+te)*a,(.5-z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-ge+te)*a,(.5-z+ce)*y,(.5-z+te+.05)*a,(.5-ge+ce-.02)*y)),z=.2,te=0,ce=-.3,ge=z*re,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*a,(.5+ce)*y,(.5+ge+te)*a,(.5+z+ce)*y,(.5+z+te)*a,(.5+ge+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+ce)*y,(1-.5+z+te)*a,(.5-ge+ce)*y,(.5+ge+te)*a,(.5-z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*a,(.5+ce)*y,(.5-ge+te)*a,(.5-z+ce)*y,(.5-z+te)*a,(.5-ge+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ge+te)*a,(.5+z+ce)*y,(.5-z+te)*a,(.5+ge+ce)*y,(.5-ge+te)*a,(.5+z+ce)*y)),z=.2,te=-.3,ce=0,ge=z*re,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-z+ce)*y,(1-.5+z+te-.05)*a,(.5-ge+ce-.02)*y,(.5+ge+te)*a,(.5-z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*a,(.5+ce)*y,(.5-ge+te)*a,(.5-z+ce)*y,(.5-z+te)*a,(.5-ge+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+z+ce)*y,(.5-z+te)*a,(.5+ge+ce)*y,(.5-ge+te)*a,(.5+z+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+ge+te)*a,(.5+z+ce)*y,(.5+z+te)*a,(.5+ge+ce)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var z=.1,te=.5,ce=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(te+z)*a,ce*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*te,y*ce,z*a,z*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ce=.75,b=new go.PathFigure((te+z)*a,ce*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*te,y*ce,z*a,z*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ee,a,y){var x=.8535533905932737,b=.5*a,z=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,z,b,z)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ee,a,y){var x=new go.Geometry,b=re*.5,z=.5,te=.5,ce=.5,ge=new go.PathFigure(te*a,(ce-z)*y);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-z)*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y)),z=.4,b=re*.4;var he=Se(),ve=Se(),me=Se(),be=Se();pe(te,ce-z,te+b,ce-z,te+z,ce-b,te+z,ce,.42,he,ve,me,be,be);var ye=Se(),Pe=Se(),we=Se();pe(te,ce-z,te+b,ce-z,te+z,ce-b,te+z,ce,.58,be,be,we,ye,Pe);var Le=Se(),Ce=Se(),Te=Se();pe(te,ce+z,te-b,ce+z,te-z,ce+b,te-z,ce,.42,Le,Ce,Te,be,be);var Ee=Se(),Re=Se(),De=Se();return pe(te,ce+z,te-b,ce+z,te-z,ce+b,te-z,ce,.58,be,be,De,Ee,Re),ge.add(new go.PathSegment(go.PathSegment.Move,De.x*a,De.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,Ee.x*a,Ee.y*y,Re.x*a,Re.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-z)*y,(te-z)*a,(ce-b)*y,(te-b)*a,(ce-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,he.x*a,he.y*y,ve.x*a,ve.y*y)),ge.add(new go.PathSegment(go.PathSegment.Line,De.x*a,De.y*y).close()),ge.add(new go.PathSegment(go.PathSegment.Move,Te.x*a,Te.y*y)),ge.add(new go.PathSegment(go.PathSegment.Line,we.x*a,we.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,ye.x*a,ye.y*y,Pe.x*a,Pe.y*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te+z)*a,(ce+b)*y,(te+b)*a,(ce+z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,Te.x*a,Te.y*y,Le.x*a,Le.y*y,Ce.x*a,Ce.y*y).close()),xe(he),xe(ve),xe(me),xe(be),xe(ye),xe(Pe),xe(we),xe(Le),xe(Ce),xe(Te),xe(Ee),xe(Re),xe(De),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ee,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 _t("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,z=b+x;return new go.Geometry().add(new go.PathFigure(z,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,b,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ee,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(ee,a,y){var x=new go.Geometry,b=re*.4,z=.4,te=.5,ce=.5,ge=Se(),he=Se(),ve=Se(),me=Se(),be=new go.PathFigure((te-z)*a,ce*y,!1);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-z)*y,(te-z)*a,(ce-b)*y,(te-b)*a,(ce-z)*y)),pe(te,ce-z,te+b,ce-z,te+z,ce-b,te+z,ce,.44,ve,me,he,ge,ge),be.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,ve.x*a,ve.y*y,me.x*a,me.y*y));var ye=de(he.x,he.y);pe(te,ce-z,te+b,ce-z,te+z,ce-b,te+z,ce,.56,ge,ge,he,ve,me);var Pe=de(he.x,he.y);be.add(new go.PathSegment(go.PathSegment.Line,(ye.x*.1+.95*.9)*a,ye.y*.1*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,ye.y*.1*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),be.add(new go.PathSegment(go.PathSegment.Line,a,0)),be.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),be.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,.15*y)),be.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,(Pe.y*.1+.05*.9)*y)),be.add(new go.PathSegment(go.PathSegment.Line,Pe.x*a,Pe.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,ve.x*a,ve.y*y,me.x*a,me.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te+z)*a,(ce+b)*y,(te+b)*a,(ce+z)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,(te-b)*a,(ce+z)*y,(te-z)*a,(ce+b)*y)),z=.35,b=re*.35;var we=new go.PathFigure(te*a,(ce-z)*y,!1);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-z)*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y));var Le=new go.PathFigure((te-z)*a,ce*y,!1);return x.add(Le),xe(ge),xe(he),xe(ve),xe(me),xe(ye),xe(Pe),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(ee,a,y){var x=new go.Geometry,b=.375,z=0,te=-.125,ce=b*re,ge=new go.PathFigure((.525+z)*a,(.5+b+te)*y,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+te)*y,(.5+ce+z)*a,(.5+b+te)*y,(.5+b+z)*a,(.5+ce+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+te)*y,(1-.5+b+z)*a,(.5-ce+te)*y,(.5+ce+z)*a,(.5-b+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+te)*y,(.5-ce+z)*a,(.5-b+te)*y,(.5-b+z)*a,(.5-ce+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*a,(.5+b+te)*y,(.5-b+z)*a,(.5+ce+te)*y,(.5-ce+z)*a,(.5+b+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),ge.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),ge.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,z=0,te=-.125,ce=b*re;var ge=new go.PathFigure((1-.5+b+z)*a,(.5+te)*y,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+b+te)*y,(.5+b+z)*a,(.5+ce+te)*y,(.5+ce+z)*a,(.5+b+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+te)*y,(.5-ce+z)*a,(.5+b+te)*y,(.5-b+z)*a,(.5+ce+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-b+te)*y,(.5-b+z)*a,(.5-ce+te)*y,(.5-ce+z)*a,(.5-b+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*a,(.5+te)*y,(.5+ce+z)*a,(.5-b+te)*y,(1-.5+b+z)*a,(.5-ce+te)*y));var ge=new go.PathFigure((.525+z)*a,(.5+b+te)*y,!1);return x.add(ge),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(ee,a,y){var x=ee?ee.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(ee,a,y){var x=ee?ee.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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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 _t("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new _t("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var b=ee?ee.parameter2:NaN;isNaN(b)&&(b=.3);var z=(1-x)*a,te=(.5-b/2)*y,ce=(.5+b/2)*y,ge=new go.Geometry,he=new go.PathFigure(0,te,!0);ge.add(he),he.add(new go.PathSegment(go.PathSegment.Line,z,te)),he.add(new go.PathSegment(go.PathSegment.Line,z,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Line,z,y)),he.add(new go.PathSegment(go.PathSegment.Line,z,ce)),he.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),ge.spot1=new go.Spot(0,te/y);var ve=E(0,ce/y,1,ce/y,z/a,1,1,.5,Se());return ge.spot2=new go.Spot(ve.x,ve.y),xe(ve),ge}),go.Shape.setFigureParameter("Arrow2",0,new _t("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new _t("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=ee?ee.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var z=a-x,te=(y-b)/2,ce=te+b,ge=new go.Geometry,he=new go.PathFigure(0,te,!0);ge.add(he),he.add(new go.PathSegment(go.PathSegment.Line,z,te)),he.add(new go.PathSegment(go.PathSegment.Line,z,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Line,z,y)),he.add(new go.PathSegment(go.PathSegment.Line,z,ce)),he.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),ge.spot1=new go.Spot(0,te/y);var ve=E(0,ce/y,1,ce/y,z/a,1,1,.5,Se());return ge.spot2=new go.Spot(ve.x,ve.y),xe(ve),ge}),go.Shape.defineFigureGenerator("Chevron",function(ee,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(ee,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 _t("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,z=(.5+x/2)*y,te=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var ge=E(0,.5,.3,0,0,b/y,.1,b/y,Se());return te.spot1=new go.Spot(ge.x,ge.y),ge=E(.7,1,1,.5,0,z/y,1,z/y,ge),te.spot2=new go.Spot(ge.x,ge.y),xe(ge),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new _t("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new _t("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=40);var b=ee?ee.parameter2:NaN;isNaN(b)&&(b=100);var z=(y-x)/2,te=z+x,ce=(y-b)/2,ge=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,te=z+x,ce=0,ge=y):(z=0,te=y,ce=0,ge=y));var he=new go.Geometry,ve=new go.PathFigure(a,.5*y,!0);he.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ge)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,ge)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close());var me=E(0,.5,.3,ce/y,0,z/y,1,z/y,Se());return he.spot1=new go.Spot(me.x,me.y),me=E(.7,ge/y,1,.5,0,te/y,1,te/y,me),he.spot2=new go.Spot(me.x,me.y),xe(me),he}),go.Shape.setFigureParameter("IBeamArrow",0,new _t("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,z=(.5+x/2)*y,te=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(0,b/y);var ge=E(.7,1,1,.5,0,z/y,1,z/y,Se());return te.spot2=new go.Spot(ge.x,ge.y),xe(ge),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new _t("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new _t("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=40);var b=ee?ee.parameter2:NaN;isNaN(b)&&(b=100);var z=(y-x)/2,te=z+x,ce=(y-b)/2,ge=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,z=(y-x)/2,te=z+x,ce=0,ge=y):(z=0,te=y,ce=0,ge=y));var he=new go.Geometry,ve=new go.PathFigure(a,.5*y,!0);he.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ge)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ge)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ge)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,ce)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close()),he.spot1=new go.Spot(0,z/y);var me=E(.7,ge/y,1,.5,0,te/y,1,te/y,Se());return he.spot2=new go.Spot(me.x,me.y),xe(me),he}),go.Shape.setFigureParameter("Pointer",0,new _t("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var te=E(.2,.65,1,.65,0,1,1,.5,Se());return b.spot2=new go.Spot(te.x,te.y),xe(te),b}),go.Shape.setFigureParameter("RoundedPointer",0,new _t("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var te=E(0,.65,1,.65,0,1,1,.5,Se());return b.spot2=new go.Spot(te.x,te.y),xe(te),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new _t("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,z=(.5+x/2)*y,te=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,0,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,.3);var ge=E(.7,1,1,.5,0,z/y,1,z/y,Se());return te.spot2=new go.Spot(ge.x,ge.y),xe(ge),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new _t("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,z=b+x;x>y&&(b=0,z=y);var te=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),ce.add(new go.PathSegment(go.PathSegment.Line,0,z)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),te.spot1=new go.Spot(.2,b/y);var ge=E(.7,1,1,.5,0,z/y,1,z/y,Se());return te.spot2=new go.Spot(ge.x,ge.y),xe(ge),te}),go.Shape.setFigureParameter("SquareArrow",0,new _t("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,z=new go.PathFigure(a,.5*y,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(ee,a,y){var x=new go.Geometry,b=re*.5,z=re*.1,te=new go.PathFigure(0,.9*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var z=new go.PathFigure(0,.9*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var z=new go.PathFigure(.5*a,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var z=new go.PathFigure(0,.3*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,z=re*.5,te=new go.PathFigure(0,x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,re*x,(.5-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+z)*a,0,1*a,re*x)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-re*x,(.5+z)*a,1*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,1*y,0,y-re*x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x));var ce=new go.PathFigure(a,x,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-re*x,(.5+z)*a,2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*a,2*x,0,2*x-re*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,z=re*.5,te=new go.PathFigure(0,y-x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,re*x,(.5-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+z)*a,0,a,re*x)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-re*x,(.5+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-z)*a,y,0,y-re*x));var ce=new go.PathFigure(0,y-x,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-re*x,(.5-z)*a,y-2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+z)*a,y-2*x,a,y-x-re*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=re*.5,te=new go.PathFigure(x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-re*x,0,a,(.5-z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-re*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,re*x,y,0,(.5+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,re*x,0));var ce=new go.PathFigure(x,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+re*x,0,2*x,(.5-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+z)*y,x+re*x,y)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=re*.5,te=new go.PathFigure(a-x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-re*x,0,a,(.5-z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+z)*y,a-re*x,y)),te.add(new go.PathSegment(go.PathSegment.Line,x,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,re*x,y,0,(.5+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*y,re*x,0)),te.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ce=new go.PathFigure(a-x,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-re*x,0,a-2*x,(.5-z)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+z)*y,a-x-re*x,y)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(.25*a,.25*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),z.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var z=new go.PathFigure(.5*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),z.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ee,a,y){var x=new go.Geometry,b=.2,z=.1,te=re*b,ce=re*z,ge=.5,he=.1,ve=new go.PathFigure(ge*a,(he+z)*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ge-b)*a,he*y,(ge-te)*a,(he+z)*y,(ge-b)*a,(he+ce)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he-z)*y,(ge-b)*a,(he-ce)*y,(ge-te)*a,(he-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ge+b)*a,he*y,(ge+te)*a,(he-z)*y,(ge+b)*a,(he-ce)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he+z)*y,(ge+b)*a,(he+ce)*y,(ge+te)*a,(he+z)*y));var me=.05,be=re*me;ge=.05,he=.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)),ge=.95,he=.25,ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge+me)*a,he*y,(ge+be)*a,(he-me)*y,(ge+me)*a,(he-be)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),me=.025,be=re*me,ge=.825,he=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he-me)*y,(ge+me)*a,(he-be)*y,(ge+be)*a,(he-me)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge-me)*a,he*y,(ge-be)*a,(he-me)*y,(ge-me)*a,(he-be)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),me=.05,be=re*me,ge=.5,he=.7,ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he-me)*y,(ge+me)*a,(he-be)*y,(ge+be)*a,(he-me)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge-me)*a,he*y,(ge-be)*a,(he-me)*y,(ge-me)*a,(he-be)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),me=.025,be=re*me,ge=.175,he=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he-me)*y,(ge+me)*a,(he-be)*y,(ge+be)*a,(he-me)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge-me)*a,he*y,(ge-be)*a,(he-me)*y,(ge-me)*a,(he-be)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),me=.05,be=re*me,ge=.05,he=.25,ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he-me)*y,(ge-me)*a,(he-be)*y,(ge-be)*a,(he-me)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new _t("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ee,a,y){var x=ee?ee.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(a,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),z.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var z=new go.PathFigure(.5*a,.5*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var 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(ee,a,y){var x=new go.Geometry,b=re*.5,z=re*.1,te=new go.PathFigure(a,.1*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*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-z)*y,(.5-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*y));var ce=new go.PathFigure(a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+z)*y,(.5+b)*a,.4*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+z)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ee,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(ee,a,y){var x=new go.Geometry,b=re*.5,z=re*.1,te=new go.PathFigure(a,.1*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+z)*y,(.5+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+z)*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-z)*y,(.5-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-z)*y));var ce=new go.PathFigure(a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+z)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+z)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+z)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+z)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ee,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(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var z=re*.2,te=new go.PathFigure(0,.2*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-z)*y,(.2-z)*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+z)*a,0,a,(.2-z)*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+z)*y,(.8+z)*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-z)*a,y,0,(.8+z)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ce=new go.PathFigure(0,b*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var 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(ee,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(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var 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(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var z=new go.PathFigure(.1*a,.4*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(.75*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var z=new go.PathFigure(a,.5*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y));var 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(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN,z=ee?ee.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.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 ce=new go.PathFigure(b*a,0,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,z*y)),ce.add(new go.PathSegment(go.PathSegment.Line,a,z*y)),x}),go.Shape.defineFigureGenerator("Junction",function(ee,a,y){var x=new go.Geometry,b=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,te=re*.5,ce=.5,ge=new go.PathFigure(a,ce*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,y,a,(ce+te)*y,(ce+te)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,ce*y,(ce-te)*a,y,0,(ce+te)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,0,0,(ce-te)*y,(ce-te)*a,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,ce*y,(ce+te)*a,0,a,(ce-te)*y));var he=new go.PathFigure((z+b)*a,(z+b)*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,z*a,z*y)),he.add(new go.PathSegment(go.PathSegment.Move,z*a,(z+b)*y)),he.add(new go.PathSegment(go.PathSegment.Line,(z+b)*a,z*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ee,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var z=new go.PathFigure(.1*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ee,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(ee,a,y){var x=new go.Geometry,b=re*.5,z=.5,te=new go.PathFigure(.5*a,y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*a,.9*y,a,(z+b)*y,(z+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(ee,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(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ee,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(ee,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var z=new go.PathFigure(.1*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var z=new go.PathFigure(.2*a,.1*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.1);var z=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 ce=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ee,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(ee,a,y){var x=new go.Geometry,b=re*.5,z=.5,te=new go.PathFigure(a,z*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var ce=new go.PathFigure(a,.5*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ee,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(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN,z=ee?ee.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.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-z)*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(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN,z=ee?ee.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var 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(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var 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(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(b*a,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var 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(ee,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(ee,a,y){var x=new go.Geometry,b=ee?ee.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ee,a,y){var x=new go.Geometry,b=re*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ee,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(ee,a,y){var x=new go.Geometry,b=re*.5,z=.5,te=new go.PathFigure(a,z*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,a,(z+b)*y,(z+b)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*y,(z-b)*a,y,0,(z+b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,0,0,(z-b)*y,(z-b)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,z*y,(z+b)*a,0,a,(z-b)*y));var ce=new go.PathFigure(a,z*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,z*y));var ge=new go.PathFigure(.8*a,.75*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(ee,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(ee,a,y){var x=new go.Geometry,b=re*.1,z=.1,te=.9,ce=.5,ge=new go.PathFigure(.8*a,.5*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,0,y)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var he=new go.PathFigure((te+z)*a,ce*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te+z)*a,(ce+b)*y,(te+b)*a,(ce+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,(te-b)*a,(ce+z)*y,(te-z)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-z)*y,(te-z)*a,(ce-b)*y,(te-b)*a,(ce-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,(te+b)*a,(ce-z)*y,(te+z)*a,(ce-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ee,a,y){var x=new go.Geometry,b=re*.5,z=re*.4,te=re*.1,ce=.1,ge=.9,he=.5,ve=new go.PathFigure(.8*a,.5*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+z)*y,(.4+b)*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,0)),ve.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-z)*y));var me=new go.PathFigure((ge+ce)*a,he*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he+ce)*y,(ge+ce)*a,(he+te)*y,(ge+te)*a,(he+ce)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce)*a,he*y,(ge-te)*a,(he+ce)*y,(ge-ce)*a,(he+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he-ce)*y,(ge-ce)*a,(he-te)*y,(ge-te)*a,(he-ce)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce)*a,he*y,(ge+te)*a,(he-ce)*y,(ge+ce)*a,(he-te)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ee,a,y){var x=new go.Geometry,b=.5,z=re*b,te=0,ce=.5,ge=new go.PathFigure(.8*a,.5*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+z)*a,(ce-b)*y,.7*a,(ce-z)*y)),b=.1,z=re*.1,te=.9,ce=.5;var he=new go.PathFigure((te-b)*a,ce*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ee,a,y){var x=new go.Geometry,b=.5,z=re*b,te=0,ce=.5,ge=new go.PathFigure(0,0,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+z+z)*a,(ce-b)*y,.8*a,(ce-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ce+z)*y,(te+z+z)*a,(ce+b)*y)),ge.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(ee,a,y){var x=new go.Geometry,b=.5,z=re*b,te=.2,ce=.5,ge=new go.PathFigure(.1*a,0,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var he=new go.PathFigure(.8*a,.5*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(te+z)*a,(ce-b)*y,.7*a,(ce-z)*y)),b=.1,z=re*.1,te=.9,ce=.5;var ve=new go.PathFigure((te-b)*a,ce*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ee,a,y){var x=new go.Geometry,b=.5,z=re*b,te=.2,ce=.5,ge=new go.PathFigure(.1*a,0,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var he=new go.PathFigure(.2*a,0,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(te+z)*a,(ce-b)*y,.9*a,(ce-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),he.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(ee,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(ee,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(ee,a,y){var x=new go.Geometry,b=re*.1,z=.1,te=.1,ce=.5,ge=new go.PathFigure((te-b*.5)*a,y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-b)*a,y,(te-z)*a,0)),te=.3,ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+b)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-b)*a,y,(te-z)*a,0)),te=.5,ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+b)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-b)*a,y,(te-z)*a,0)),te=.7,ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,(te+z)*a,0,(te+b)*a,y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,0,(te-b)*a,y,(te-z)*a,0)),te=.9,ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b*.5)*a,y,(te+z)*a,0,(te+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ee,a,y){var x=new go.Geometry,b=re*.5,z=.5,te=.5,ce=.5,ge=new go.PathFigure((te-z)*a,ce*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-z)*y,(te-z)*a,(ce-b)*y,(te-b)*a,(ce-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,(te+b)*a,(ce-z)*y,(te+z)*a,(ce-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te+z)*a,(ce+b)*y,(te+b)*a,(ce+z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,(te-b)*a,(ce+z)*y,(te-z)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Move,(te-z+.1)*a,ce*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z-.1)*a,ce*y,te*a,(ce-z)*y,te*a,(ce+z)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ee,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(ee,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(ee,a,y){var x=new go.Geometry,b=a,z=y;a=a*.38,y=y*.6;var te=re*.8,ce=.8,ge=0,he=.5,ve=(b-a)/2,me=(z-y)/2,be=new go.PathFigure(ge*a+ve,(he+ce)*y+me,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce)*a+ve,he*y+me,(ge-te)*a+ve,(he+ce)*y+me,(ge-ce)*a+ve,(he+te)*y+me)),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(he-ce)*y+me,(ge-ce)*a+ve,(he-te)*y+me,(ge-te)*a+ve,(he-ce)*y+me)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce+te*.5)*a+ve,he*y+me,ge*a+ve,(he-ce)*y+me,(ge-ce+te*.5)*a+ve,(he-te)*y+me)),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(he+ce)*y+me,(ge-ce+te*.5)*a+ve,(he+te)*y+me,ge*a+ve,(he+ce)*y+me).close()),te=re*.4,ce=.4,ge=.2,he=.5;var ye=new go.PathFigure(ge*a+ve,(he+ce)*y+me,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce)*a+ve,he*y+me,(ge-te)*a+ve,(he+ce)*y+me,(ge-ce)*a+ve,(he+te)*y+me)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(he-ce)*y+me,(ge-ce)*a+ve,(he-te)*y+me,(ge-te)*a+ve,(he-ce)*y+me)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce+te*.5)*a+ve,he*y+me,ge*a+ve,(he-ce)*y+me,(ge-ce+te*.5)*a+ve,(he-te)*y+me)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(he+ce)*y+me,(ge-ce+te*.5)*a+ve,(he+te)*y+me,ge*a+ve,(he+ce)*y+me).close()),te=re*.2,ce=.2,ge=.5,he=.5;var Pe=new go.PathFigure((ge-ce)*a+ve,he*y+me,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(he-ce)*y+me,(ge-ce)*a+ve,(he-te)*y+me,(ge-te)*a+ve,(he-ce)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce)*a+ve,he*y+me,(ge+te)*a+ve,(he-ce)*y+me,(ge+ce)*a+ve,(he-te)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(he+ce)*y+me,(ge+ce)*a+ve,(he+te)*y+me,(ge+te)*a+ve,(he+ce)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce)*a+ve,he*y+me,(ge-te)*a+ve,(he+ce)*y+me,(ge-ce)*a+ve,(he+te)*y+me)),te=re*.4,ce=.4,ge=.8,he=.5;var we=new go.PathFigure(ge*a+ve,(he-ce)*y+me,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce)*a+ve,he*y+me,(ge+te)*a+ve,(he-ce)*y+me,(ge+ce)*a+ve,(he-te)*y+me)),we.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(he+ce)*y+me,(ge+ce)*a+ve,(he+te)*y+me,(ge+te)*a+ve,(he+ce)*y+me)),we.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce-te*.5)*a+ve,he*y+me,ge*a+ve,(he+ce)*y+me,(ge+ce-te*.5)*a+ve,(he+te)*y+me)),we.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(he-ce)*y+me,(ge+ce-te*.5)*a+ve,(he-te)*y+me,ge*a+ve,(he-ce)*y+me).close()),te=re*.8,ce=.8,ge=1,he=.5;var Le=new go.PathFigure(ge*a+ve,(he-ce)*y+me,!0);return x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce)*a+ve,he*y+me,(ge+te)*a+ve,(he-ce)*y+me,(ge+ce)*a+ve,(he-te)*y+me)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(he+ce)*y+me,(ge+ce)*a+ve,(he+te)*y+me,(ge+te)*a+ve,(he+ce)*y+me)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce-te*.5)*a+ve,he*y+me,ge*a+ve,(he+ce)*y+me,(ge+ce-te*.5)*a+ve,(he+te)*y+me)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ge*a+ve,(he-ce)*y+me,(ge+ce-te*.5)*a+ve,(he-te)*y+me,ge*a+ve,(he-ce)*y+me).close()),x}),go.Shape.defineFigureGenerator("Email",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var z=new go.PathFigure(.1*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var 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 ce=new go.PathFigure(0,.5*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(ee,a,y){var x=new go.Geometry,b=re*.4,z=.4,te=.5,ce=.5,ge=Se(),he=Se(),ve=Se(),me=Se();pe(te,ce-z,te+b,ce-z,te+z,ce-b,te+z,ce,.5,ge,ge,he,ve,me);var be=de(he.x,he.y),ye=new go.PathFigure(he.x*a,he.y*y,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,ve.x*a,ve.y*y,me.x*a,me.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te+z)*a,(ce+b)*y,(te+b)*a,(ce+z)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,(te-b)*a,(ce+z)*y,(te-z)*a,(ce+b)*y)),pe(te-z,ce,te-z,ce-b,te-b,ce-z,te,ce-z,.5,ve,me,he,ge,ge),ye.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,ve.x*a,ve.y*y,me.x*a,me.y*y)),b=re*.3,z=.3,pe(te-z,ce,te-z,ce-b,te-b,ce-z,te,ce-z,.5,ve,me,he,ge,ge),ye.add(new go.PathSegment(go.PathSegment.Line,he.x*a,he.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,ce*y,me.x*a,me.y*y,ve.x*a,ve.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+z)*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,ce*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),pe(te,ce-z,te+b,ce-z,te+z,ce-b,te+z,ce,.5,ge,ge,he,ve,me),ye.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,me.x*a,me.y*y,ve.x*a,ve.y*y).close());var ye=new go.PathFigure(.45*a,0,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),xe(ge),xe(he),xe(ve),xe(me),xe(be),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function z(te,ce,ge){te.add(new go.PathSegment(go.PathSegment.Move,(.3+ce)*a,(.8+ge)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ce)*a,(.5+ge)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+ce)*a,(.5+ge)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+ce)*a,(.8+ge)*y).close())}return z(b,0,0),z(b,.4,0),z(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ee,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(ee,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(ee,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(ee,a,y){var x=new go.Geometry,b=.5,z=0,te=0,ce=b*re,ge=.4*Math.SQRT2/2+.5,he=.5-.5*Math.SQRT2/2,ve=1,me=.5,be=.5,ye=0,Pe=new go.PathFigure(ge*a,(1-he)*y,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,me*y,ve*a,.7*y,ve*a,me*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(be+z)*a,(ye+z)*y,(.5+b+z)*a,(.5-ce+z)*y,(.5+ce+z)*a,(.5-b+z)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*a,(.5+te)*y,(.5-ce+z)*a,(.5-b+te)*y,(.5-b+z)*a,(.5-ce+te)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*a,.9*y,(.5-b+z)*a,(.5+ce+te)*y,(.5-ce+z)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*a,.8*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ee,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(ee,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(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(a,y,!1);x.add(z);var 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(ee,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(ee,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(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var z=new go.PathFigure(.45*a,.73*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),z.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),z.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),z.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var te=.5-.285,ce=.5,ge=te,he=Math.PI/4,ve=4*(1-Math.cos(he))/(3*Math.sin(he)),me=ve*.5,be=te,ye=te,Pe=ve*be,we=ve*ye;z.add(new go.PathSegment(go.PathSegment.Bezier,(ce-be)*a,ge*y,(ce-(Pe+be)/2)*a,(ge+(ye+we)/2)*y,(ce-be)*a,(ge+we)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(ge-ye)*y,(ce-be)*a,(ge-we)*y,(ce-Pe)*a,(ge-ye)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ce+be)*a,ge*y,(ce+Pe)*a,(ge-ye)*y,(ce+be)*a,(ge-we)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ce+be)*a,(ge+we)*y,(ce+(Pe+be)/2)*a,(ge+(ye+we)/2)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),z.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Le=new go.PathFigure(.2*a,y,!1);x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Ce=new go.PathFigure(.8*a,y,!1);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.2*a,.2*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ee,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(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(a,y,!1);x.add(z);var 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(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var z=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,z*a,z*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),b.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),b.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var z=new go.PathFigure(.475*a,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),z.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),z.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var 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(ee,a,y){var x=new go.Geometry,b=.5,z=re*.5,te=new go.PathFigure(a,b*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+z)*y,(b+z)*a,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-z)*a,y,0,(b+z)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-z)*y,(b-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+z)*a,0,a,(b-z)*y));var ce=new go.PathFigure(b*a,0,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,.15*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var 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(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var 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(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var z=new go.PathFigure(.15*a,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ee,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(ee,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(ee,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(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var te=.1,ce=re*.1,ge=.2,he=.9,ve=new go.PathFigure((ge-te)*a,he*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he-te)*y,(ge-te)*a,(he-ce)*y,(ge-ce)*a,(he-te)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ge+te)*a,he*y,(ge+ce)*a,(he-te)*y,(ge+te)*a,(he-ce)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he+te)*y,(ge+te)*a,(he+ce)*y,(ge+ce)*a,(he+te)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ge-te)*a,he*y,(ge-ce)*a,(he+te)*y,(ge-te)*a,(he+ce)*y).close()),te=.1,ce=re*.1,ge=.8,he=.9;var me=new go.PathFigure((ge-te)*a,he*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he-te)*y,(ge-te)*a,(he-ce)*y,(ge-ce)*a,(he-te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ge+te)*a,he*y,(ge+ce)*a,(he-te)*y,(ge+te)*a,(he-ce)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(he+te)*y,(ge+te)*a,(he+ce)*y,(ge+ce)*a,(he+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ge-te)*a,he*y,(ge-ce)*a,(he+te)*y,(ge-te)*a,(he+ce)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ee,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(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var 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 ce=new go.PathFigure(.5*a,.7*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var ge=.1,he=re*.1,ve=.1,me=.9,be=new go.PathFigure((ve-ge)*a,me*y,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-ge)*y,(ve-ge)*a,(me-he)*y,(ve-he)*a,(me-ge)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*a,me*y,(ve+he)*a,(me-ge)*y,(ve+ge)*a,(me-he)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+ge)*y,(ve+ge)*a,(me+he)*y,(ve+he)*a,(me+ge)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ge)*a,me*y,(ve-he)*a,(me+ge)*y,(ve-ge)*a,(me+he)*y)),ge=.1,he=re*.1,ve=.4,me=.9;var ye=new go.PathFigure((ve-ge)*a,me*y,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-ge)*y,(ve-ge)*a,(me-he)*y,(ve-he)*a,(me-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ge)*a,me*y,(ve+he)*a,(me-ge)*y,(ve+ge)*a,(me-he)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+ge)*y,(ve+ge)*a,(me+he)*y,(ve+he)*a,(me+ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ge)*a,me*y,(ve-he)*a,(me+ge)*y,(ve-ge)*a,(me+he)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var z=new go.PathFigure(.45*a,.7*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var te=new go.PathFigure(.55*a,.4*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var ve=.05,me=re*.05,be=.175,ye=.95,ce=new go.PathFigure((be-ve)*a,ye*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye-ve)*y,(be-ve)*a,(ye-me)*y,(be-me)*a,(ye-ve)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(be+ve)*a,ye*y,(be+me)*a,(ye-ve)*y,(be+ve)*a,(ye-me)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye+ve)*y,(be+ve)*a,(ye+me)*y,(be+me)*a,(ye+ve)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(be-ve)*a,ye*y,(be-me)*a,(ye+ve)*y,(be-ve)*a,(ye+me)*y));var ve=.05,me=re*.05,be=.375,ye=.95,ge=new go.PathFigure((be-ve)*a,ye*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye-ve)*y,(be-ve)*a,(ye-me)*y,(be-me)*a,(ye-ve)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(be+ve)*a,ye*y,(be+me)*a,(ye-ve)*y,(be+ve)*a,(ye-me)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye+ve)*y,(be+ve)*a,(ye+me)*y,(be+me)*a,(ye+ve)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(be-ve)*a,ye*y,(be-me)*a,(ye+ve)*y,(be-ve)*a,(ye+me)*y));var ve=.05,me=re*.05,be=.625,ye=.95,he=new go.PathFigure((be-ve)*a,ye*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye-ve)*y,(be-ve)*a,(ye-me)*y,(be-me)*a,(ye-ve)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(be+ve)*a,ye*y,(be+me)*a,(ye-ve)*y,(be+ve)*a,(ye-me)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye+ve)*y,(be+ve)*a,(ye+me)*y,(be+me)*a,(ye+ve)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(be-ve)*a,ye*y,(be-me)*a,(ye+ve)*y,(be-ve)*a,(ye+me)*y));var ve=.05,me=re*.05,be=.825,ye=.95,Pe=new go.PathFigure((be-ve)*a,ye*y,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye-ve)*y,(be-ve)*a,(ye-me)*y,(be-me)*a,(ye-ve)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(be+ve)*a,ye*y,(be+me)*a,(ye-ve)*y,(be+ve)*a,(ye-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ye+ve)*y,(be+ve)*a,(ye+me)*y,(be+me)*a,(ye+ve)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(be-ve)*a,ye*y,(be-me)*a,(ye+ve)*y,(be-ve)*a,(ye+me)*y).close());var we=new go.PathFigure(0,y,!1);return x.add(we),we.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var 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 ce=.05,ge=re*.05,he=.35,ve=.775,me=new go.PathFigure((he-ce)*a,ve*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ve-ce)*y,(he-ce)*a,(ve-ge)*y,(he-ge)*a,(ve-ce)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(he+ce)*a,ve*y,(he+ge)*a,(ve-ce)*y,(he+ce)*a,(ve-ge)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(ve+ce)*y,(he+ce)*a,(ve+ge)*y,(he+ge)*a,(ve+ce)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(he-ce)*a,ve*y,(he-ge)*a,(ve+ce)*y,(he-ce)*a,(ve+ge)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ee,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(ee,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(ee,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(ee,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(ee,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(ee,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(ee,a,y){var x=new go.Geometry,b=.3,z=re*.3,te=.5,ce=.7,ge=new go.PathFigure((te-b)*a,ce*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y));var he=new go.PathFigure(0,.7*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ee,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(ee,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(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var z=new go.PathFigure(0,.6*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(ee,a,y){var x=new go.Geometry,b=.5,z=re*.5,te=.5,ce=.5,ge=new go.PathFigure((te-b)*a,ce*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y));var he=new go.PathFigure(.15*a,.5*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(ee,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(ee,a,y){var x=new go.Geometry,b=.5,z=re*.5,te=.5,ce=.5,ge=new go.PathFigure((te-b)*a,ce*y,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y).close()),b=.05,z=re*.05,te=.5,ce=.8;var he=new go.PathFigure((te-b)*a,ce*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce-b)*y,(te-b)*a,(ce-z)*y,(te-z)*a,(ce-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*a,ce*y,(te+z)*a,(ce-b)*y,(te+b)*a,(ce-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(ce+b)*y,(te+b)*a,(ce+z)*y,(te+z)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*a,ce*y,(te-z)*a,(ce+b)*y,(te-b)*a,(ce+z)*y).close()),he.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),he.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),he.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(ee,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(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.2*a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(ee,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(ee,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(ee,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(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var z=new go.PathFigure(0,y*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ee,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(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var z=new go.PathFigure(.126*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var 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 ce=new go.PathFigure(.678*a,.85*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var ge=new go.PathFigure(.5*a,.1*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),ge.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ee,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(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var z=new go.PathFigure(a*.204,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var 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 ce=new go.PathFigure(a*.612,y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var ge=new go.PathFigure(a*.816,y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),ge.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),ge.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var z=new go.PathFigure(a*.055,.07*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var 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 ce=new go.PathFigure(a*.055,.18*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var ge=new go.PathFigure(a*1,0,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),ge.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ee,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(ee,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(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var 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 ce=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var ge=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),ge.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),ge.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ee,a,y){var x=new go.Geometry,b=8,z=b*re,te=new go.PathFigure(b,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),te.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),te.add(new go.PathSegment(go.PathSegment.Line,b,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,z,z,0).close());var ce=new go.PathFigure(a*.83,0,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var ge=new go.PathFigure(a*.83,y*1,!1);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var he=new go.PathFigure(a*.78,y*.05,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),he.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),he.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ee,a,y){var x=ee?ee.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*re,z=y*.8,te=new go.Geometry,ce=new go.PathFigure(x,0,!0);return te.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,a,z-x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,z,a,z-b,a-b,z)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,z)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.55,z)),ce.add(new go.PathSegment(go.PathSegment.Line,x,z)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,b,z,0,z-b)),ce.add(new go.PathSegment(go.PathSegment.Line,0,x)),ce.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(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var z=new go.PathFigure(a*1,y*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),z.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ee,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(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var z=new go.PathFigure(a*.1,y*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),z.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var 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(ee,a,y){var x=new go.Geometry,b=15,z=b*re,te=new go.PathFigure(a*.62,y*.475,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-z,a-z,y)),te.add(new go.PathSegment(go.PathSegment.Line,b,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,z,y,0,y-z)),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()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close());var 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(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-z)).close());var 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(ee,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(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var z=new go.PathFigure(a*.235,y*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),z.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),z.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ee,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,y*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},61016:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var _t={},ft="5.0",de={},Se=null,xe=!1,E=!1,pe=null,fe=!1,le=null,re=null,se=0;se4?parseFloat(He):5};_t.setHTML5Codebase=function(He,Fe){re=He,Qe(He,Fe)},_t.setJavaCodebase=_t.setJavaCodebaseVersion=_t.isCompiledInstalled=_t.setPreCompiledScriptPath=_t.setPreCompiledResourcePath=function(){},_t.setHTML5CodebaseVersion=function(He,Fe){var je=parseFloat(He);if(je!==NaN&&je<5){console.log("The GeoGebra HTML5 codebase version "+je+" is deprecated. Using version latest instead.");return}le=He,qe(He,Fe)},_t.getHTML5CodebaseVersion=function(){return ee},_t.getParameters=function(){return de},_t.setFontsCSSURL=function(He){te=He},_t.setGiacJSURL=function(He){},_t.setJNLPFile=function(He){ue=He},_t.setJNLPBaseDir=function(He){},_t.inject=function(){function He(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Fe="auto",je=de.id,et,tt=!1,it=0;it=5)return!0;var He=_t.getAppletObject();return He&&typeof He.recalculateEnvironments=="function"?(He.recalculateEnvironments(),!0):!1},_t.startAnimation=function(){var He=_t.getAppletObject();return He&&typeof He.startAnimation=="function"?(He.startAnimation(),!0):!1},_t.stopAnimation=function(){var He=_t.getAppletObject();return He&&typeof He.stopAnimation=="function"?(He.stopAnimation(),!0):!1},_t.getAppletObject=function(){var He=de.id!==void 0?de.id:"ggbApplet";return window[He]},_t.resize=function(){};var Pe=function(He,Fe,je){var et=document.createElement("param");et.setAttribute("name",Fe),et.setAttribute("value",je),He.appendChild(et)},we=function(He){return He&&He!=="false"},Le=function(He,Fe,je){ge(ee)<=4.2&&(je=!0);var et=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ee||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(et=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var tt=document.createElement("div");tt.classList.add("appletParameters","notranslate");var it=Fe.width,Xe=Fe.height;if(Fe.disableAutoScale=Fe.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Fe.disableAutoScale,Fe.width!==void 0)if(ge(ee)<=4.4)we(Fe.showToolBar)&&(Fe.height-=7),we(Fe.showAlgebraInput)&&(Fe.height-=37),Fe.width<605&&we(Fe.showToolBar)&&(Fe.width=605,it=605);else{var Ke=100;(we(Fe.showToolBar)||we(Fe.showMenuBar))&&(Fe.hasOwnProperty("customToolBar")&&(Fe.customToolbar=Fe.customToolBar),Ke=we(Fe.showMenuBar)?245:155),it=5?(Fe.appletOnLoad=function(ut){var nt=He.querySelector(".ggb_preview");nt&&nt.parentNode.removeChild(nt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Ae),window.GGBT_wsf_view&&$(window).trigger("resize"),Ve(ut)},Be||Ae.appendChild($e)):tt.appendChild($e),Ae.appendChild(tt),Be||He.appendChild(Ae),setTimeout(function(){_t.resize()},1)}else{var Ze=document.createElement("div");Ze.className="applet_scaler",Ze.style.position="relative",Ze.style.display="block",Ze.appendChild(tt),He.appendChild(Ze),Fe.appletOnLoad=function(ut){_t.resize(),Ve(ut)}}function ze(ut,nt){nt&&typeof nt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(ut,nt.appletOnLoad):renderGGBElement(ut),Je("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",nt)}function _e(ut,nt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:ut,params:nt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(vt){ze(vt.article,vt.params)}),html5AppletsToProcess=null)},ge(ee)<5&&(ut.className+=" geogebraweb")):ze(ut,nt)}if(et){scriptLoadStarted=!0;for(var Oe=0;Oe0?(Me.remove(),Ae.attr("id","fullscreencontent").show(),jQuery(Ve).append(Ae),window.dispatchEvent(new Event("resize"))):Le(Me,Fe,!1),window.GGBT_wsf_view.launchFullScreen(Ve)}else ne=et,Le(He,Fe,!1);if(!window.GGBT_wsf_view)for(Xe=0;XeHe/4*3&&(Me=He/4*3),Ve=Me/5.8,Ke.setAttribute("src",b),Ke.setAttribute("width",Me),Ke.setAttribute("height",Ve);var Ae=(He-Me)/2,Be=(Fe-Ve)/2;Ke.style.left=Ae+"px",Ke.style.top=Be+"px",tt.appendChild(Ke)}}return tt.appendChild(Xe),tt},ke=function(He){return He=He.toLowerCase(),He==="html5"||He==="screenshot"?He:"html5"},Ie=["web","webSimple","web3d","tablet","tablet3d","phone"],qe=function(He,Fe){if(ee=He,Fe){Qe(ee,!0);return}var je=!xe;if(je){var et=ge(ee);!isNaN(et)&&et<4.4&&(je=!1)}var tt,it;window.location.protocol.substr(0,4)==="http"?tt=window.location.protocol:tt="http:";var Xe=ee.indexOf("//");Xe>0?it=ee:Xe===0?it=tt+ee:it="https://www.geogebra.org/apps/5.2.814.0/";for(var Ke in Ie)if(ee.slice(Ie[Ke].length*-1)===Ie[Ke]||ee.slice((Ie[Ke].length+1)*-1)===Ie[Ke]+"/"){Qe(it,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&je&&!Se.is3D&&!Se.AV&&!Se.SV&&!Se.CV&&!Se.EV2&&!Se.CP&&!Se.PC&&!Se.DA&&!Se.FI&&!Se.PV&&!we(de.showToolBar)&&!we(de.showMenuBar)&&!we(de.showAlgebraInput)&&!we(de.enableRightClick)&&(!de.appName||de.appName=="classic")?it+="webSimple/":it+="web3d/",Qe(it,!1)},Qe=function(He,Fe){if(He.requirejs){ae=He;return}He.slice(-1)!=="/"&&(He+="/"),ae=He,Fe===null&&(Fe=He.indexOf("http")===-1),oe=Fe,a="web.nocache.js",y=!1;var je=ae.split("/");je.length>1&&(!Fe&&je[je.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Ie.indexOf(je[je.length-2])>=0&&(a=je[je.length-2]+".nocache.js")),je=He.split("/"),ee=je[je.length-3],ee.substr(0,4)==="test"?ee=ee.substr(4,1)+"."+ee.substr(5,1):(ee.substr(0,3)==="war"||ee.substr(0,4)==="beta")&&(ee="5.0");var et=parseFloat(ee);et!==NaN&&et<5&&He.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+et+" is deprecated. Using version latest instead."),qe("5.0",Fe))},Je=function(He,Fe){window.console&&window.console.log&&(!Fe||typeof Fe.showLogging=="undefined"||Fe.showLogging&&Fe.showLogging!=="false")&&console.log(He)};de.material_id!==void 0?me(Ye):Ye();function Ye(){var He=ft;le!==null?He=le:parseFloat(He)<5&&(He="5.0"),qe(He,!1),re!==null&&Qe(re,oe),fe=!0}return _t},GGBAppletUtils=function(){"use strict";function _t(){return window.GGBT_wsf_edit!==void 0}function ft(fe,le){le!=1?(fe.style.transformOrigin="0% 0% 0px",fe.style.webkitTransformOrigin="0% 0% 0px",fe.style.transform="scale("+le+","+le+")",fe.style.webkitTransform="scale("+le+","+le+")",fe.style.maxWidth="initial",fe.querySelector(".ggb_preview")!==null&&(fe.querySelector(".ggb_preview").style.maxWidth="initial"),fe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(fe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),fe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(fe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(fe.style.transform="none",fe.style.webkitTransform="none")}function de(fe,le,re,se,ie,ue){var ae=null;if(ue!=null&&ue!="")for(var oe=fe.parentNode;oe!=null;)if((" "+oe.className+" ").indexOf(" "+ue+" ")>-1){ae=oe;break}else oe=oe.parentNode;var ne=0,ee=0,a=0,y=0,x=0,b=0,z=0;if(ae)ne=ae.offsetWidth,ee=Math.max(se?ae.offsetWidth:0,ae.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ne=Math.min(window.innerWidth,document.documentElement.clientWidth),ee=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ne):(ne=window.innerWidth,ee=window.innerHeight,a=window.innerWidth),fe){var te=fe.getBoundingClientRect();te.left>0&&te.left<=ne&&(ie===void 0||!ie)&&(document.dir==="rtl"?(x=ne-te.width-te.left,b=a<=480?10:30):(b=te.left,x=a<=480?10:30),y=b+x)}if(fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ce=fe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,z=40)}}return fe&&((re===void 0||!re)&&le>0&&le+y1&&(ue=!0)),le&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ue=!0),!(fe.hasOwnProperty("disableAutoScale")&&fe.disableAutoScale))ie=Se(fe,le,ue,re,fe.scaleContainerClass);else return se;return ue&&(!fe.hasOwnProperty("scale")||se===1)?ie:Math.min(se,ie)}function E(fe){var le=Math.min(window.innerWidth,document.documentElement.clientWidth),re=Math.min(window.innerHeight,document.documentElement.clientHeight),se=fe.getBoundingClientRect(),ie=(le-se.width)/2,ue=(re-se.height)/2;ue<0&&(ue=0),fe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ie<40?fe.style.left="40px":fe.style.left=ie+"px",fe.style.top=ue+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ue<40?fe.style.top="40px":fe.style.top=ue+"px",fe.style.left=ie+"px")}function pe(fe,le){var re=fe.querySelector(".appletParameters");if(re){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(le.id!==re.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(fe)}if(re.parentElement&&/fullscreen/.test(re.parentElement.className))return;var se=xe(le,fe);_t()&&re.setAttribute("data-param-scale",se);for(var ie=null,ue=0;ue=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(_t){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(_t){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(_t){var ft=c[_t];return ft==null?null:ft},r=d,webModule.__errFn=e}function B(){function _t(fe){var le=fe.lastIndexOf(rb);le==-1&&(le=fe.length);var re=fe.indexOf(sb);re==-1&&(re=fe.length);var se=fe.lastIndexOf(tb,Math.min(re,le));return se>=O?fe.substring(O,se+P):W}function ft(fe){if(!fe.match(/^\w+:\/\//)){var le=o.createElement(ub);le.src=fe+vb,fe=_t(le.src)}return fe}function de(){var fe=__gwt_getMetaProperty(wb);return fe!=null?fe:W}function Se(){for(var fe=o.getElementsByTagName(_),le=O;leO?fe[fe.length-P].href:W}function E(){var fe=o.location;return fe.href==fe.protocol+zb+fe.host+fe.pathname+fe.search+fe.hash}var pe=de();return pe==W&&(pe=Se()),pe==W&&(pe=xe()),pe==W&&E()&&(pe=_t(o.location.href)),pe=ft(pe),pe}function C(_t){return _t.match(/^\//)||_t.match(/^[a-zA-Z]+:\/\//)?_t:webModule.__moduleBase+_t}function D(){var _t=[],ft=O,de=[],Se=[];function xe(fe){var le=Se[fe](),re=de[fe];if(le in re)return le;var se=[];for(var ie in re)se[re[ie]]=ie;throw r&&r(fe,se,le),null}if(__gwt_isKnownPropertyValue=function(fe,le){return le in de[fe]},webModule.__getPropMap=function(){var fe={};for(var le in de)de.hasOwnProperty(le)&&(fe[le]=xe(le));return fe},webModule.__computePropValue=xe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var pe=E.indexOf(Db);pe!=-1&&(ft=parseInt(E.substring(pe+P),$),E=E.substring(O,pe))}catch(fe){}return webModule.__softPermutationId=ft,C(E+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},15476:function(_t,ft,de){"use strict";de.d(ft,{Ax:function(){return pe},Ds:function(){return fe},KI:function(){return re},SI:function(){return E},f1:function(){return xe}});var Se=de(11320);function xe(se){let ie=!0;if(se.length>0){for(let ue=0;ueCe in Le?y(Le,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Le[Ce]=Te,he=(Le,Ce)=>{for(var Te in Ce||(Ce={}))te.call(Ce,Te)&&ge(Le,Te,Ce[Te]);if(z)for(var Te of z(Ce))ce.call(Ce,Te)&&ge(Le,Te,Ce[Te]);return Le},ve=(Le,Ce)=>x(Le,b(Ce)),me=(Le,Ce,Te)=>new Promise((Ee,Re)=>{var De=qe=>{try{Ie(Te.next(qe))}catch(Qe){Re(Qe)}},ke=qe=>{try{Ie(Te.throw(qe))}catch(Qe){Re(Qe)}},Ie=qe=>qe.done?Ee(qe.value):Promise.resolve(qe.value).then(De,ke);Ie((Te=Te.apply(Le,Ce)).next())});const be=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:ye}=xe.default,Pe=({exercise:Le,socket:Ce,dispatch:Te,onStartScreenshot:Ee,onCloseScreenshot:Re,handleToDetail:De})=>{const[ke,Ie]=E.default.useModal(),qe=(0,Se.useRef)(),[Qe,Je]=(0,Se.useState)(!0),Ye=(0,Se.useRef)(!1),He=(0,ne.useParams)();(0,Se.useEffect)(()=>{var Ne,Ge,rt;if(document.addEventListener((0,fe.gH)(),_e,!1),window.addEventListener("blur",Ze,!1),(Ne=Le.exerciseUserInfo)!=null&&Ne.screen_open&&(0,fe.vp)()&&Je(!1),(Ge=Le.exerciseUserInfo)!=null&&Ge.screen_open&&!(0,fe.vp)()){(0,oe.RG)(" ",!0);const pt=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?Le.exerciseUserInfo.screen_sec+3:Le.exerciseUserInfo.screen_sec+10+1;qe.current=E.default.info({icon:null,centered:!0,width:444,title:(0,ee._V)(ee.CP.recordScreen1),keyboard:!1,content:a.createElement("div",null,(0,ee._V)(ee.CP.recordScreen2),a.createElement("span",{style:{color:"#FF9849"}},Le.exerciseUserInfo.screen_num-Le.exerciseUserInfo.used_screen_num),(0,ee._V)(ee.CP.recordScreen3)),okText:a.createElement("span",null,(0,ee._V)(ee.CP.recordScreen4),"\uFF08",a.createElement("span",{style:{display:"inline-block"}},a.createElement(ye,{onFinish:()=>me(void 0,null,function*(){var ut;const nt=yield ze();(ut=qe.current)==null||ut.destroy(),nt.used_screen_num&&Ae(nt.used_screen_num+1)}),valueStyle:{fontSize:14,lineHeight:1.4,color:"#FFF",display:"inline-block"},format:"ss",value:Date.now()+pt*1e3})),"S\uFF09"),onOk:()=>{var ut;(0,oe.RG)(" ",!0),(ut=qe.current)==null||ut.destroy(),Je(!1),(0,fe.Dj)(document.body),document.getElementById("root").addEventListener("click",je,!1)}})}return(rt=Le.exerciseUserInfo)!=null&&rt.screen_open&&!(0,fe.vp)()||document.getElementById("root").addEventListener("click",je,!1),()=>{document.getElementById("root").removeEventListener("click",je,!1),document.removeEventListener((0,fe.gH)(),_e,!1),window.removeEventListener("blur",Ze,!1)}},[]),(0,Se.useEffect)(()=>{setTimeout(()=>{Le.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",je,!1),document.removeEventListener((0,fe.gH)(),_e,!1))},500),et()},[Le.actionTabs]),(0,Se.useEffect)(()=>{setTimeout(()=>{Le.exerciseUserInfo.used_screen_num>Le.exerciseUserInfo.screen_num&&Be()},500)},[Le.exerciseUserInfo]);const Fe=()=>me(void 0,null,function*(){const Ne=yield ze();setTimeout(()=>{var Ge,rt;(Ge=qe.current)==null||Ge.destroy(),qe.current=E.default.info({okText:a.createElement("span",null,"\u56DE\u5230\u8003\u8BD5"),content:a.createElement("div",null,"\u60A8\u5DF2\u5207\u5C4F",a.createElement("span",{className:"c-red"},Ne.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",a.createElement("span",{className:"c-red"},(rt=Le.exerciseUserInfo)==null?void 0:rt.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>me(void 0,null,function*(){(0,fe.Dj)(document.body)})})},1e3)}),je=Ne=>{!(0,fe.vp)()&&Ne.target.nodeName!=="A"&&Ne.target.nodeName!=="BUTTON"&&Ne.target.innerHTML!=="\u786E \u5B9A"&&(0,fe.Dj)(document.body)},et=()=>me(void 0,null,function*(){const Ne=yield Te({type:"exercise/getExerciseUserInfo",payload:he({},He)});return Ne==null?void 0:Ne.data}),tt=Ne=>me(void 0,null,function*(){var Ge;if((Ge=Le.exerciseUserInfo)!=null&&Ge.screen_at){const pt=yield(0,le.ck)(ve(he({},He),{reset:!0}));if((pt==null?void 0:pt.status)===-6)return}const rt=yield(0,le.oy)({id:He.categoryId});if(rt!=null&&rt.is_commit){E.default.destroyAll(),yield it(),$e(!0);return}else Ae(Ne+1)}),it=()=>me(void 0,null,function*(){var Ne;const Ge=se()(),rt=Le.exerciseUserInfo.screen_sec;if(Me.current.length>0){const pt=Ge.format("YYYY-MM-DD HH:mm:ss");let ut=Math.floor(Ge.diff(se()(Me.current[0].start))/1e3);const nt=Me.current.length;ut/rt>>0>nt&&(ut=(nt+1)*rt-1),yield(0,le.P8)(He.categoryId,{exercise_user_id:(Ne=Le.exerciseUserInfo)==null?void 0:Ne.exercise_user_id,time:pt,time_long:ut,count:nt})}Me.current=[]}),Xe=(0,Se.useRef)(0),Ke=(0,Se.useRef)(0),Me=(0,Se.useRef)([]),Ve=(0,Se.useRef)(!1),Ae=Ne=>me(void 0,null,function*(){var Ge;Ye.current||(Ee(),E.default.destroyAll(),Xe.current=se()().valueOf(),Ve.current=!0,qe.current=E.default.info({icon:null,maskClosable:!1,width:1080,keyboard:!1,centered:!0,className:ie.exitFullScreenModalWrapper,okText:a.createElement("span",null,(0,ee._V)(ee.CP.recordScreen8)),content:a.createElement("div",{className:ie.exitFullScreenModal},a.createElement("img",{src:ue,alt:"",className:ie.warningIcon}),a.createElement("div",{className:ie.warningText,style:{marginBottom:50,fontWeight:500}},(0,ee._V)(ee.CP.recordScreen9)),a.createElement("div",{style:{marginBottom:40}},(0,ee._V)(ee.CP.recordScreen10)),a.createElement("div",{style:{marginBottom:40}},(0,ee._V)(ee.CP.recordScreen11),a.createElement("span",{className:ie.warningText},((Ge=Le.exerciseUserInfo)==null?void 0:Ge.screen_num)+1),(0,ee._V)(ee.CP.recordScreen12),a.createElement("span",{className:ie.warningText,style:{fontWeight:600}},(0,ee._V)(ee.CP.recordScreen13)),",",(0,ee._V)(ee.CP.recordScreen14),a.createElement("span",{className:ie.warningText},Ne-1),(0,ee._V)(ee.CP.recordScreen15)),a.createElement("div",null,a.createElement("span",null,a.createElement(ye,{className:ie.countdownWrapper,onFinish:()=>{Ke.current=se()().valueOf(),Me.current.push({start:Xe.current,end:Ke.current}),tt(Ne)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(Le.exerciseUserInfo.screen_sec+1)*1e3}),(0,ee._V)(ee.CP.recordScreen25)),(0,ee._V)(ee.CP.recordScreen16))),onOk:()=>{(0,oe.RG)(" ",!0),it(),(0,fe.Dj)(document.body),Re(),qe.current.destroy(),Ve.current=!1}}))}),Be=()=>me(void 0,null,function*(){E.default.destroyAll(),(yield(0,le.VL)({categoryId:He.categoryId,commit_method:1}))&&$e()}),$e=(Ne=!1)=>me(void 0,null,function*(){var Ge,rt;if(document.removeEventListener((0,fe.gH)(),_e,!1),(0,fe.BU)(),E.default.destroyAll(),Ye.current=!0,Ne){const pt=yield(0,le.Yu)(He.categoryId,{exercise_user_id:(Ge=Le.exerciseUserInfo)==null?void 0:Ge.exercise_user_id});ke.confirm({icon:null,closable:!1,maskClosable:!1,okText:"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5",cancelText:"\u8FD4\u56DE",width:616,className:ie.forcedModalWrapper,centered:!0,content:a.createElement("div",{className:ie.forcedModalContent},a.createElement("img",{src:ae,alt:""}),a.createElement("div",{className:ie.forcedText},(0,ee._V)(ee.CP.recordScreen17)),a.createElement("div",{className:ie.screenNumText},(0,ee._V)(ee.CP.recordScreen18),(rt=Le.exerciseUserInfo)==null?void 0:rt.screen_num,(0,ee._V)(ee.CP.recordScreen19)),a.createElement(pe.default,{dataSource:pt==null?void 0:pt.data,pagination:!1,rowKey:"time",bordered:!0,columns:[{title:(0,ee._V)(ee.CP.recordScreen20),align:"center",dataIndex:"time"},{title:(0,ee._V)(ee.CP.recordScreen21),align:"center",dataIndex:"time_long"},{title:(0,ee._V)(ee.CP.recordScreen22),align:"center",dataIndex:"count"}]})),onCancel:()=>{Re(),De()},onOk:()=>{ne.history.push(`/classrooms/${He.coursesId}/exercisenotice/${He.categoryId}/users/${He.login}?isShowApply=true`)}})}else ke.info({content:a.createElement("div",{className:"tc font16"},(0,ee._V)(ee.CP.recordScreen23),a.createElement("br",null),(0,ee._V)(ee.CP.recordScreen24)),onOk:()=>{De()}})}),Ze=Ne=>{(0,fe.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!Ve.current&&(0,fe.BU)()},ze=()=>me(void 0,null,function*(){var Ne;if((Ne=Le.exerciseUserInfo)!=null&&Ne.screen_at){const pt=yield(0,le.ck)(ve(he({},He),{reset:!0}));if((pt==null?void 0:pt.status)===-6)return}const Ge=yield(0,le.oy)({id:He.categoryId});if(Ge!=null&&Ge.is_commit){$e();return}return yield et()}),_e=()=>me(void 0,null,function*(){var Ne;if((0,oe.RG)(" ",!0),(0,fe.vp)()){if((Ne=Le.exerciseUserInfo)!=null&&Ne.screen_at){var Ge=yield(0,le.ck)(ve(he({},He),{reset:!0}));if((Ge==null?void 0:Ge.status)===-6)return}}else if(!Ve.current){var Ge=yield(0,le.ck)(he({},He));if((Ge==null?void 0:Ge.status)===-6)return;const pt=yield et();Ae(pt.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),Oe=()=>me(void 0,null,function*(){(0,le.ck)(he({},He));const Ne=yield et();Ae(Ne.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")});return a.createElement("div",null,Ie)};var we=(0,ne.connect)(({exercise:Le,globalSetting:Ce})=>({globalSetting:Ce,exercise:Le}))(Pe)},96325:function(_t,ft,de){"use strict";de.d(ft,{X:function(){return pe},y:function(){return E}});var Se=de(67294),xe=de(2453);const E=fe=>{(0,Se.useEffect)(()=>{if(fe){const le=se=>{se.key==="F12"&&(se.preventDefault(),console.log("F12\u88AB\u7981\u7528"))},re=se=>{se.preventDefault()};return document.addEventListener("keydown",le),document.addEventListener("contextmenu",re),()=>{document.removeEventListener("keydown",le),document.removeEventListener("contextmenu",re)}}},[fe])},pe=()=>{const[fe,le]=(0,Se.useState)(!1),re=se=>{const{keyCode:ie,ctrlKey:ue,metaKey:ae,type:oe}=se;(oe==="paste"||(ie===67||ie===86)&&(ae||ue))&&(xe.ZP.warning("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"),se.preventDefault(),se.stopPropagation())};return(0,Se.useEffect)(()=>(fe&&(window.addEventListener("keydown",re,!0),window.addEventListener("paste",re,!0)),()=>{window.removeEventListener("keydown",re,!0),window.removeEventListener("paste",re,!0)}),[fe]),{setOpenDisableCopyAndPaste:le,disableCopyAndPaste:fe}}},63205:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return ae}});var Se=de(67294),xe={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=de(94184),pe=de.n(E),fe=de(57953),le=de(15979),re=de(33170),se=de(28706),ie=(oe,ne,ee)=>new Promise((a,y)=>{var x=te=>{try{z(ee.next(te))}catch(ce){y(ce)}},b=te=>{try{z(ee.throw(te))}catch(ce){y(ce)}},z=te=>te.done?a(te.value):Promise.resolve(te.value).then(x,b);z((ee=ee.apply(oe,ne)).next())}),ae=({data:oe,className:ne,fullWidth:ee,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:z})=>{const te=(0,Se.useRef)(null),ce=(0,Se.useRef)(null),ge=(0,Se.useRef)(null),he=(0,Se.useRef)(null),[ve,me]=(0,Se.useState)(!1),[be,ye]=(0,Se.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,Se.useEffect)(()=>{ge.current||(ge.current=document.createElement("style"),document.head.appendChild(ge.current)),oe!=null&&oe.visible?(document.body.setAttribute("data-custom","y-hidden"),ge.current.innerHTML=" html { overflow-y: hidden; }",oe!=null&&oe.src&&Pe()):(document.body.removeAttribute("data-custom"),ge.current&&(document.head.removeChild(ge.current),ge.current=null))},[oe==null?void 0:oe.visible]);const Pe=()=>ie(void 0,null,function*(){me(!0),ye("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ee=yield(0,se.ZJ)(oe==null?void 0:oe.src);te.current.src="",te.current.src=Ee,te.current.onload=function(){Te()},me(!1),ye("")}),we=()=>{document.body.removeAttribute("data-custom"),ge.current.innerHTML=" ",y()},Le=Ee=>ie(void 0,null,function*(){me(!0),ye("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Re=yield(0,re.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:oe.title,file:Ee.dataUrl}});Re!=null&&Re.id&&!z?(yield(0,re.ZP)(`/api/attachments/${oe.id}/add_subitem.json`,{method:"post",body:{subitem_id:Re==null?void 0:Re.id,settings:JSON.stringify(Ee.state)}})).status===0&&x():Re!=null&&Re.id&&x(Re),document.body.removeAttribute("data-custom"),ge.current.innerHTML=" ",me(!1),ye("")}),Ce=()=>{const Ee=document.querySelector('a[href="https://markerjs.com/"]');Ee&&Ee.parentNode&&(Ee.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(De=>{const ke=document.querySelector(De.name);ke&&ke.setAttribute("title",De.title)})},Te=()=>{ce.current=new le.hP(te.current),ce.current.targetRoot=he.current,ce.current.addEventListener("render",Le),ce.current.addEventListener("beforeclose",we),b&&(ce.current.availableMarkerTypes=ce.current.ALL_MARKER_TYPES,ce.current.uiStyleSettings.redoButtonVisible=!0,ce.current.uiStyleSettings.notesButtonVisible=!0,ce.current.uiStyleSettings.zoomButtonVisible=!0,ce.current.uiStyleSettings.zoomOutButtonVisible=!0,ce.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ce.current.uiStyleSettings,ce.current.show(),oe!=null&&oe.snapshotData&&ce.current.restoreState(oe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ce()},300)};return Se.createElement(Se.Fragment,null,(oe==null?void 0:oe.visible)&&Se.createElement(fe.Z,{spinning:ve,tip:be,style:{position:"absolute"}},Se.createElement("div",{ref:he,className:pe()(xe.imageDimensions,ne,ee?xe.fullWidth:""),style:a},Se.createElement("img",{className:xe.img,ref:te}))))}},36527:function(_t,ft,de){"use strict";var Se=de(67294),xe=de(71230),E=de(15746),pe=de(66368),fe=de(71577),le=de(85725),re=de(71736),se=de(84279),ie=de(67294);const ue=(0,Se.forwardRef)(({callback:ae,showSaveButton:oe,value:ne=""},ee)=>{const a=(0,Se.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=ce=>{a.current.setValue(a.current.getValue()+" "+ce.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:ie.createElement(xe.Z,{className:re.Z.lists,gutter:[10,10]},y.map((ce,ge)=>ie.createElement(E.Z,{flex:"110px",className:re.Z.item},ie.createElement("div",null,ie.createElement(le.Z,{value:`$$${ce.value}$$`}),ce.name),ie.createElement("div",{className:re.Z.children},ce.children.map((he,ve)=>ie.createElement("div",{key:ve},ie.createElement("h1",null,he.name),ie.createElement(xe.Z,{gutter:[10,10]},he.data.map((me,be)=>ie.createElement(E.Z,{key:be,onClick:()=>b(me),className:re.Z.diamond},ie.createElement(le.Z,{value:"`$$"+me.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:ie.createElement(xe.Z,{className:re.Z.lists,gutter:[10,10]},x.map((ce,ge)=>ie.createElement(E.Z,{flex:"110px",className:re.Z.item},ie.createElement("div",null,ie.createElement(le.Z,{value:"`$$"+ce.value+"$$`"}),ce.name),ie.createElement("div",{className:re.Z.children},ce.children.map((he,ve)=>ie.createElement("div",{key:ve},he.name&&ie.createElement("h1",null,he.name),ie.createElement(xe.Z,{gutter:[10,10]},he.data.map((me,be)=>ie.createElement(E.Z,{key:be,onClick:()=>b(me),className:re.Z.diamond},ie.createElement(le.Z,{value:"`$$"+me.value+"$$`"}))))))))))}],te=()=>{var ce=document.createElement("div");ce.innerHTML=a.current.getValue();var ge=ce.innerText;return ae&&ae(ge),ge};return(0,Se.useImperativeHandle)(ee,()=>({getData:te})),ie.createElement("div",{className:re.Z.mathWrap},ie.createElement(pe.default,{defaultActiveKey:"1",items:z}),ie.createElement("math-field",{locale:"zh_cn",className:re.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},ne||""),oe&&ie.createElement("div",{className:re.Z.button},ie.createElement(fe.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});ft.Z=ue},7621:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return pe}});var Se=de(35973),xe={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},E=de(67294),pe=({message:fe,className:le,children:re,style:se={}})=>E.createElement("div",{className:`custom-spinner ${xe.idsRingWrapper} ${le}`},E.createElement("div",{className:xe.ldsRing},E.createElement("div",null),E.createElement("div",null),E.createElement("div",null),E.createElement("div",null)),fe?E.createElement("p",{style:se},fe):null,re,E.createElement(Se.Outlet,null))},60076:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return pe}});var Se=de(67294),xe=de(33054),E=de(67294),pe=({defaultX:fe="40%",leftChild:le,rightChild:re,className:se,hideResize:ie=!1})=>{const[ue,ae]=(0,Se.useState)(fe),oe=(0,Se.useRef)();function ne(){oe.current=!0}(0,Se.useEffect)(()=>{function y(b){oe.current&&(xe.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 ee=typeof ue=="number"&&ue!==.01?`${ue}px`:fe,a=`calc(100% - ${ie?"0px":"4px"} - ${ee})`;return E.createElement("div",{className:`split-panel-container ${se}`},E.createElement("section",{style:{width:ee,display:ue===.01?"none":""}},le),E.createElement("section",{className:"resize-x-bar",onMouseDown:ne},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}},re))}},38658:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return le}});var Se=de(67294),xe={flex_box_center:"flex_box_center___Gc4dd",flex_space_between:"flex_space_between___K2f1v",flex_box_vertical_center:"flex_box_vertical_center___pupRp",flex_box_center_end:"flex_box_center_end___UDLRC",flex_box_column:"flex_box_column___a5uDo",result:"result___gu5zt",title:"title___xrnx2",left:"left___IAxp9",leftNode:"leftNode___HL8fG",right:"right___ZXYmw",rightNode:"rightNode___jYL5_"},E=de(94184),pe=de.n(E),le=({className:re,style:se={},leftNode:ie,leftTitle:ue="\u81EA\u6D4B\u8F93\u5165",rightNode:ae,rightTitle:oe="\u8FD0\u884C\u7ED3\u679C"})=>Se.createElement("div",{className:pe()(xe.result,re),style:se},Se.createElement("div",{className:xe.left},Se.createElement("div",{className:xe.title},Se.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),Se.createElement("span",null,ue)),Se.createElement("div",{className:xe.leftNode},ie)),Se.createElement("div",{className:xe.right},Se.createElement("div",{className:xe.title},Se.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),Se.createElement("span",null,oe)),Se.createElement("div",{className:xe.rightNode},ae)))},88508:function(_t,ft,de){"use strict";var Se=de(67294);const xe=pe=>String(pe).length===1?`0${pe}`:pe,E=({className:pe="",onChange:fe,defaultValue:le=0})=>{const[re,se]=(0,Se.useState)(le);(0,Se.useEffect)(()=>{const oe=setTimeout(()=>{se(re+1e3)},1e3);return fe(re+1e3),()=>{clearInterval(oe)}},[re]);const ie=parseInt(re/(60*6e4))||"00",ue=parseInt(re%(60*6e4)/6e4)||"00",ae=parseInt(re%6e4/1e3)||"00";return Se.createElement("div",{className:pe},xe(ie),":",xe(ue),":",xe(ae))};ft.Z=E},71865:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return pe}});var Se=de(67294),xe=de(33054),E=de(99398),pe=()=>{const[fe,le]=(0,Se.useState)(""),[re,se]=(0,Se.useState)(0);let[ie,ue]=(0,Se.useState)(),[ae,oe]=(0,Se.useState)();const[ne,ee]=(0,Se.useState)(!1),a=(0,Se.useRef)("");(0,Se.useEffect)(()=>xe.Z.subscribe("preview-image",be=>{le(be),console.log(he.current),document.body.style.overflow="hidden"}),[]),(0,Se.useEffect)(()=>(document.addEventListener("keydown",y),()=>{document.removeEventListener("keydown",y)}),[]),(0,Se.useEffect)(()=>{a.current=fe},[fe]);function y(me){me.keyCode==27&&a.current&&x()}function x(){document.body.style.overflow="auto",ue(void 0),oe(void 0),se(0),le("")}function b(){se(re+90)}function z(){ie=he.current.width*1.1,ae=he.current.height*1.1,oe(ae),ue(ie)}function te(){ie=he.current.width/1.1,ae=he.current.height/1.1,oe(ae),ue(ie)}const ce=(0,Se.useRef)(),ge=(0,Se.useRef)(),he=(0,Se.useRef)(),ve=me=>{(me.nativeEvent.target===ce.current||me.nativeEvent.target===ge.current)&&x()};return Se.createElement(Se.Fragment,null,fe?Se.createElement("div",null,Se.createElement("div",{className:"preview-wrp-group",ref:ge},Se.createElement(E.Z,{className:"image-preview",src:fe,style:{display:"none"},preview:{visible:!0,src:fe,movable:!1,onVisibleChange:me=>{le("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},57444:function(_t,ft,de){"use strict";de.d(ft,{h:function(){return ce}});var Se=de(67294),xe=de(11713),E=de(22150),pe=de(71577),fe=de(4631),le=de.n(fe),re=de(71749),se=de(30483),ie=Object.defineProperty,ue=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,a=(ge,he,ve)=>he in ge?ie(ge,he,{enumerable:!0,configurable:!0,writable:!0,value:ve}):ge[he]=ve,y=(ge,he)=>{for(var ve in he||(he={}))ne.call(he,ve)&&a(ge,ve,he[ve]);if(oe)for(var ve of oe(he))ee.call(he,ve)&&a(ge,ve,he[ve]);return ge},x=(ge,he)=>ue(ge,ae(he));const b=xe.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},te={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};ft.Z=({callback:ge,onCancel:he})=>{const[ve,me]=(0,Se.useState)("python");function be(Pe){me(te[Pe][1])}function ye(Pe){ge(Pe)}return Se.createElement(E.default,x(y({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ye,style:{width:500}}),Se.createElement(E.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},Se.createElement(xe.default,{getPopupContainer:Pe=>Pe.parentNode,onChange:be},Object.keys(te).map(Pe=>Se.createElement(b,{key:Pe,value:Pe},te[Pe][0])))),Se.createElement(E.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},Se.createElement(ce,{mode:ve})),Se.createElement("div",{className:"flex-container flex-end"},Se.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Se.createElement(pe.ZP,{type:"ghost",onClick:he},"\u53D6\u6D88")))};function ce({value:ge,onChange:he,mode:ve,options:me={}}){const be=(0,Se.useRef)(),[ye,Pe]=(0,Se.useState)();return(0,Se.useEffect)(()=>{if(ye){let we=function(Le){const Ce=Le.getValue();he&&he(Ce)};return ye.on("change",we),()=>{ye.off("change",we)}}},[ye,he]),(0,Se.useEffect)(()=>{ye&&ye.setOption("mode",ve)},[ye,ve]),(0,Se.useEffect)(()=>{ye&&(ge!==ye.getValue()||ge==="")&&setTimeout(()=>{ye.setValue(ge||"")},300)},[ye,ge]),(0,Se.useEffect)(()=>{if(be.current&&!ye){const we=le().fromTextArea(be.current,y({mode:ve,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},me));Pe(we)}},[be.current,ye]),Se.createElement("div",{className:"my-codemirror-container"},Se.createElement("textarea",{ref:be}))}},35567:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return Zn}});var Se=de(67294),xe=de(4631),E=de.n(xe),pe=de(91033),fe=de(71749),le=de(57341),re=de(82801),se=de(88386),ie=de(49047),ue=de(80785),ae=de(85725),oe=({value:Lt="",className:Nt,showTextOnly:Mt,showLines:xn,style:Hn={}})=>{const Fn=(0,Se.useMemo)(()=>"",[Lt]);return Se.createElement(Se.Fragment,null,Se.createElement("div",{dangerouslySetInnerHTML:{__html:Fn}}))},ne=de(67294),ee=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(Lt,Nt,Mt)=>Nt in Lt?ee(Lt,Nt,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Lt[Nt]=Mt,ce=(Lt,Nt)=>{for(var Mt in Nt||(Nt={}))b.call(Nt,Mt)&&te(Lt,Mt,Nt[Mt]);if(x)for(var Mt of x(Nt))z.call(Nt,Mt)&&te(Lt,Mt,Nt[Mt]);return Lt},ge=(Lt,Nt)=>a(Lt,y(Nt));let he=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function ve({onActionCallback:Lt,title:Nt,icon:Mt,actionName:xn,className:Hn="",children:Fn}){function wr(){Lt(xn)}return ne.createElement("a",{title:Nt,className:Hn,onClick:wr},ne.createElement("i",{className:`${Mt}`}),Fn)}var me=({watch:Lt,showNullButton:Nt,showNullProgramButton:Mt,onActionCallback:xn,fullScreen:Hn,insertTemp:Fn,hidetoolBar:wr,extraUse:dr})=>{const Sr=[...he,{title:`${Lt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Lt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ne.createElement("ul",{className:"markdown-toolbar-container"},!wr&&Sr.map((jr,ho)=>ne.createElement("li",{key:ho},jr.actionName?ne.createElement(ve,ge(ce({},jr),{onActionCallback:xn})):ne.createElement("span",{className:"v-line"}))),Nt?ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:xn},ne.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Mt?ne.createElement(ne.Fragment,null,ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:xn},ne.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:xn},ne.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Fn&&ne.createElement("li",null,ne.createElement(ve,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Fn}`,onActionCallback:xn},ne.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),dr&&ne.createElement("li",null,dr),ne.createElement("li",{className:"btn-full-screen"},ne.createElement(ve,{icon:`${Hn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Hn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:xn})))},be=de(76621),ye=de(22150),Pe=de(69677),we=de(71577),Le=Object.defineProperty,Ce=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,ke=(Lt,Nt,Mt)=>Nt in Lt?Le(Lt,Nt,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Lt[Nt]=Mt,Ie=(Lt,Nt)=>{for(var Mt in Nt||(Nt={}))Re.call(Nt,Mt)&&ke(Lt,Mt,Nt[Mt]);if(Ee)for(var Mt of Ee(Nt))De.call(Nt,Mt)&&ke(Lt,Mt,Nt[Mt]);return Lt},qe=(Lt,Nt)=>Ce(Lt,Te(Nt));const Qe={labelCol:{span:4},wrapperCol:{span:20}};var Je=({callback:Lt,onCancel:Nt})=>{function Mt(xn){Lt(xn)}return Se.createElement(ye.default,qe(Ie({},Qe),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Mt,style:{width:500}}),Se.createElement(ye.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},Se.createElement(Pe.default,null)),Se.createElement(ye.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},Se.createElement(Pe.default,null)),Se.createElement("div",{className:"flex-container flex-end"},Se.createElement(we.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Se.createElement(we.ZP,{type:"ghost",onClick:Nt},"\u53D6\u6D88")))},Ye=de(57444),He=de(70859),Fe=de(14446),je=de(71230),et=de(63205),tt=de(67294),it=({callback:Lt,onCancel:Nt})=>{const Mt=document.createElement("canvas"),xn=Mt.getContext("2d");Mt.width=1e3,Mt.height=800,xn.fillStyle="#ffffff",xn.fillRect(0,0,Mt.width,Mt.height);const Hn=Mt.toDataURL("image/png");return tt.createElement(Fe.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},tt.createElement(je.Z,{style:{height:"100vh"}},tt.createElement(et.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Hn,visible:!0,title:String(Date.now())},onOk:Fn=>{Lt({src:Fn.url})},onClose:Nt})))},Xe=de(23495);function Ke(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Ke,go.CommandHandler),Ke.prototype.canAlignSelection=function(){var Lt=this.diagram;return!(Lt===null||Lt.isReadOnly||Lt.isModelReadOnly||Lt.selection.count<2)},Ke.prototype.alignLeft=function(){var Lt=this.diagram;Lt.startTransaction("aligning left");var Nt=1/0;Lt.selection.each(function(Mt){Mt instanceof go.Link||(Nt=Math.min(Mt.position.x,Nt))}),Lt.selection.each(function(Mt){Mt instanceof go.Link||Mt.move(new go.Point(Nt,Mt.position.y))}),Lt.commitTransaction("aligning left")},Ke.prototype.alignRight=function(){var Lt=this.diagram;Lt.startTransaction("aligning right");var Nt=-1/0;Lt.selection.each(function(Mt){if(!(Mt instanceof go.Link)){var xn=Mt.actualBounds.x+Mt.actualBounds.width;Nt=Math.max(xn,Nt)}}),Lt.selection.each(function(Mt){Mt instanceof go.Link||Mt.move(new go.Point(Nt-Mt.actualBounds.width,Mt.position.y))}),Lt.commitTransaction("aligning right")},Ke.prototype.alignTop=function(){var Lt=this.diagram;Lt.startTransaction("alignTop");var Nt=1/0;Lt.selection.each(function(Mt){Mt instanceof go.Link||(Nt=Math.min(Mt.position.y,Nt))}),Lt.selection.each(function(Mt){Mt instanceof go.Link||Mt.move(new go.Point(Mt.position.x,Nt))}),Lt.commitTransaction("alignTop")},Ke.prototype.alignBottom=function(){var Lt=this.diagram;Lt.startTransaction("aligning bottom");var Nt=-1/0;Lt.selection.each(function(Mt){if(!(Mt instanceof go.Link)){var xn=Mt.actualBounds.y+Mt.actualBounds.height;Nt=Math.max(xn,Nt)}}),Lt.selection.each(function(Mt){Mt instanceof go.Link||Mt.move(new go.Point(Mt.actualBounds.x,Nt-Mt.actualBounds.height))}),Lt.commitTransaction("aligning bottom")},Ke.prototype.alignCenterX=function(){var Lt=this.diagram,Nt=Lt.selection.first();if(Nt){Lt.startTransaction("aligning Center X");var Mt=Nt.actualBounds.x+Nt.actualBounds.width/2;Lt.selection.each(function(xn){xn instanceof go.Link||xn.move(new go.Point(Mt-xn.actualBounds.width/2,xn.actualBounds.y))}),Lt.commitTransaction("aligning Center X")}},Ke.prototype.alignCenterY=function(){var Lt=this.diagram,Nt=Lt.selection.first();if(Nt){Lt.startTransaction("aligning Center Y");var Mt=Nt.actualBounds.y+Nt.actualBounds.height/2;Lt.selection.each(function(xn){xn instanceof go.Link||xn.move(new go.Point(xn.actualBounds.x,Mt-xn.actualBounds.height/2))}),Lt.commitTransaction("aligning Center Y")}},Ke.prototype.alignColumn=function(Lt){var Nt=this.diagram;Nt.startTransaction("align Column"),Lt===void 0&&(Lt=0),Lt=parseFloat(Lt);var Mt=new Array;Nt.selection.each(function(dr){dr instanceof go.Link||Mt.push(dr)});for(var xn=0;xn0){for(var dr=Fn.elt(wr-1);dr!==null&&dr.isTreeExpanded&&!dr.isTreeLeaf;){var Sr=this._sortTreeChildrenByY(dr);dr=Sr.last()}dr!==null&&Lt.select(dr)}else Lt.select(Hn)}}else if(Mt.key==="Down")if(Nt.isTreeExpanded&&!Nt.isTreeLeaf){var xn=this._sortTreeChildrenByY(Nt).first();xn!==null&&Lt.select(xn)}else for(;Nt!==null;){var Hn=Nt.findTreeParentNode();if(Hn===null)break;var Fn=this._sortTreeChildrenByY(Hn),wr=Fn.indexOf(Nt);if(wrFn.y?1:Hn.xFn.x?1:0}),Nt},Ke.prototype.copyToClipboard=function(Lt){go.CommandHandler.prototype.copyToClipboard.call(this,Lt),this._lastPasteOffset.set(this.pasteOffset)},Ke.prototype.pasteFromClipboard=function(){var Lt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Lt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Lt},Object.defineProperty(Ke.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Lt){if(Lt!=="move"&&Lt!=="select"&&Lt!=="scroll"&&Lt!=="tree"&&Lt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Lt);this._arrowKeyBehavior=Lt}}),Object.defineProperty(Ke.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Lt){if(!(Lt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Lt);this._pasteOffset.set(Lt)}});var Me=Ke,Ve=de(18023),Ae=de(15746),Be=de(33170),$e={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ze=de(67294),ze=(Lt,Nt,Mt)=>new Promise((xn,Hn)=>{var Fn=Sr=>{try{dr(Mt.next(Sr))}catch(jr){Hn(jr)}},wr=Sr=>{try{dr(Mt.throw(Sr))}catch(jr){Hn(jr)}},dr=Sr=>Sr.done?xn(Sr.value):Promise.resolve(Sr.value).then(Fn,wr);dr((Mt=Mt.apply(Lt,Nt)).next())});function _e({onCancel:Lt,callback:Nt}){let Mt=(0,Se.useRef)(),xn=(0,Se.useRef)(),Hn=(0,Se.useRef)(),Fn=(0,Se.useRef)(!1);const wr=(0,Se.useRef)(!1),[dr,Sr]=(0,Se.useState)(0);function jr(){const Sn=Xe.bx.make,Dr={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};Mt.current=new Xe.S0(xn.current,{padding:20,grid:Sn(Xe.s_,"Grid",Sn(Xe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Sn(Xe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Un=>{var or=Un.diagram.commandHandler.addTopLevelParts(Un.diagram.selection,!0);or||Un.diagram.currentTool.doCancel()},commandHandler:Sn(Me),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Un=>{var or=Un.subject;or.location=or.location.copy().snapToGridPoint(Un.diagram.grid.gridOrigin,Un.diagram.grid.gridCellSize),setTimeout(()=>{Un.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Un=>{var or=Un.subject;setTimeout(()=>{Un.diagram.commandHandler.editTextBlock()})},LinkRelinked:Un=>{var or=Un.parameter.part;or.invalidateConnectedLinks();var Er=Un.subject;Un.diagram.toolManager.linkingTool.isForwards?Er.toNode.invalidateConnectedLinks():Er.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Mt.current.nodeTemplate=Sn(Xe.NB,"Auto",{locationSpot:Xe.z6.Center,locationObjectName:"SHAPE",desiredSize:new Xe.$u(120,60),minSize:new Xe.$u(40,40),resizable:!0,resizeCellSize:new Xe.$u(10,10),rotatable:!0},new Xe.KX("location","loc",Xe.E9.parse).makeTwoWay(Xe.E9.stringify),new Xe.KX("desiredSize","size",Xe.$u.parse).makeTwoWay(Xe.$u.stringify),Sn(Xe.bn,{name:"SHAPE",fill:Dr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Xe.z6.AllSides,toSpot:Xe.z6.AllSides},new Xe.KX("figure"),new Xe.KX("fill"),new Xe.KX("stroke","borderColor"),new Xe.KX("strokeWidth","thickness"),new Xe.KX("strokeDashArray","dash")),Sn(Xe.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Sn(Xe.al,{margin:1,textAlign:"center",overflow:Xe.al.OverflowEllipsis,editable:!0},new Xe.KX("text").makeTwoWay(),new Xe.KX("stroke","color"))),Mt.current.nodeTemplate.toolTip=Sn("ToolTip",Sn(Xe.s_,"Vertical",{maxSize:new Xe.$u(200,NaN)},Sn(Xe.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Xe.KX("text")),Sn(Xe.al,{font:"10pt sans-serif",textAlign:"center"},new Xe.KX("text","details"))));function Ft(Un,or){var Er=(Yn,yo)=>{Yn.handled=!0,Yn.diagram.model.commit(Mr=>{var To=yo.part.adornedPart,Mo=new Xe.E9().setRectSpot(To.actualBounds,Un);Mo.subtract(To.location),Mo.scale(2,2),Mo.x+=Math.sign(Mo.x)*130,Mo.y+=Math.sign(Mo.y)*130,Mo.add(To.location),Mo.snapToGridPoint(Yn.diagram.grid.gridOrigin,Yn.diagram.grid.gridCellSize);var Po=Mr.copyNodeData(To.data);Mr.setGroupKeyForNodeData(Po,Mr.getGroupKeyForNodeData(To.data)),Mr.addNodeData(Po);var Dt={from:To.key,to:Mr.getKeyForNodeData(Po)};Mr.addLinkData(Dt);var At=Yn.diagram.findNodeForData(Po);At.location=Mo,Yn.diagram.select(At),setTimeout(()=>{Yn.diagram.commandHandler.editTextBlock()},20)})};return Sn(Xe.bn,{figure:or,alignment:Un,alignmentFocus:Un.opposite(),width:Un.equals(Xe.z6.Top)||Un.equals(Xe.z6.Bottom)?25:18,height:Un.equals(Xe.z6.Top)||Un.equals(Xe.z6.Bottom)?18:25,fill:"orange",stroke:Dr.white,strokeWidth:4,mouseEnter:(Yn,yo)=>yo.fill="dodgerblue",mouseLeave:(Yn,yo)=>yo.fill="orange",isActionable:!0,click:Er,contextClick:Er})}function dn(Un){return Sn(Xe.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:(or,Er)=>Er.fill="dodgerblue",mouseLeave:(or,Er)=>Er.fill="orange",click:(or,Er)=>{or.diagram.commandHandler.showContextMenu(Er.part.adornedPart)}},Un||{})}Mt.current.nodeTemplate.selectionAdornmentTemplate=Sn(Xe.uz,"Spot",Sn(Xe.Vm,{padding:10}),Ft(Xe.z6.Top,"TriangleUp"),Ft(Xe.z6.Left,"TriangleLeft"),Ft(Xe.z6.Right,"TriangleRight"),Ft(Xe.z6.Bottom,"TriangleDown"),dn({alignment:new Xe.z6(.75,0)}));function rn(Un,or){return(Er,Yn)=>{Er.handled=!0,Er.diagram.model.commit(yo=>{yo.set(Yn.part.adornedPart.data,Un,or)})}}function fn(Un,or){return or||(or="color"),Sn(Xe.bn,{width:16,height:16,stroke:"lightgray",fill:Un,margin:1,background:"transparent",mouseEnter:(Er,Yn)=>Yn.stroke="dodgerblue",mouseLeave:(Er,Yn)=>Yn.stroke="lightgray",click:rn(or,Un),contextClick:rn(or,Un)})}function Nn(){return[Sn("ContextMenuButton",Sn(Xe.s_,"Horizontal",fn(Dr.white,"fill"),fn(Dr.beige,"fill"),fn(Dr.extralightblue,"fill"),fn(Dr.extralightred,"fill"))),Sn("ContextMenuButton",Sn(Xe.s_,"Horizontal",fn(Dr.lightgray,"fill"),fn(Dr.lightgreen,"fill"),fn(Dr.lightblue,"fill"),fn(Dr.lightred,"fill")))]}function ln(){return[Sn("ContextMenuButton",Sn(Xe.s_,"Horizontal",fn(Dr.black),fn(Dr.green),fn(Dr.blue),fn(Dr.red))),Sn("ContextMenuButton",Sn(Xe.s_,"Horizontal",fn(Dr.white),fn(Dr.magenta),fn(Dr.purple),fn(Dr.orange)))]}function Vt(Un,or){return or||(or="thickness"),Sn(Xe.bn,"LineH",{width:16,height:16,strokeWidth:Un,margin:1,background:"transparent",mouseEnter:(Er,Yn)=>Yn.background="dodgerblue",mouseLeave:(Er,Yn)=>Yn.background="transparent",click:rn(or,Un),contextClick:rn(or,Un)})}function vn(Un,or){return or||(or="dash"),Sn(Xe.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Un,margin:1,background:"transparent",mouseEnter:(Er,Yn)=>Yn.background="dodgerblue",mouseLeave:(Er,Yn)=>Yn.background="transparent",click:rn(or,Un),contextClick:rn(or,Un)})}function br(){return[Sn("ContextMenuButton",Sn(Xe.s_,"Horizontal",Vt(1),Vt(2),Vt(3),Vt(4))),Sn("ContextMenuButton",Sn(Xe.s_,"Horizontal",vn(null),vn([2,4]),vn([4,4])))]}function cr(Un,or){return or||(or="figure"),Sn(Xe.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Un,margin:1,background:"transparent",mouseEnter:(Er,Yn)=>Yn.fill="dodgerblue",mouseLeave:(Er,Yn)=>Yn.fill="lightgray",click:rn(or,Un),contextClick:rn(or,Un)})}Mt.current.nodeTemplate.contextMenu=Sn("ContextMenu",Sn("ContextMenuButton",Sn(Xe.s_,"Horizontal",cr("Rectangle"),cr("RoundedRectangle"),cr("Ellipse"),cr("Diamond"))),Sn("ContextMenuButton",Sn(Xe.s_,"Horizontal",cr("Parallelogram2"),cr("ManualOperation"),cr("Procedure"),cr("Cylinder1"))),Sn("ContextMenuButton",Sn(Xe.s_,"Horizontal",cr("Terminator"),cr("CreateRequest"),cr("Document"),cr("TriangleDown"))),Nn(),ln(),br()),Mt.current.groupTemplate=Sn(Xe.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Xe.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Un,or)=>{var Er=or.addMembers(or.diagram.selection,!0);Er||or.diagram.currentTool.doCancel()},avoidable:!1},new Xe.KX("location","loc",Xe.E9.parse).makeTwoWay(Xe.E9.stringify),Sn(Xe.s_,"Auto",{name:"BODY"},Sn(Xe.bn,{parameter1:10,fill:Dr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Xe.z6.AllSides,toSpot:Xe.z6.AllSides},new Xe.KX("fill"),new Xe.KX("stroke","color"),new Xe.KX("strokeWidth","thickness"),new Xe.KX("strokeDashArray","dash")),Sn(Xe.Vm,{background:"transparent",margin:20})),Sn(Xe.al,{alignment:Xe.z6.Top,alignmentFocus:Xe.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Xe.KX("text"),new Xe.KX("stroke","color"))),Mt.current.groupTemplate.selectionAdornmentTemplate=Sn(Xe.uz,"Spot",Sn(Xe.s_,"Auto",Sn(Xe.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Sn(Xe.Vm,{margin:1.5})),dn({alignment:Xe.z6.TopRight,alignmentFocus:Xe.z6.BottomRight})),Mt.current.groupTemplate.contextMenu=Sn("ContextMenu",Nn(),ln(),br()),Mt.current.linkTemplate=Sn(Xe.rU,{layerName:"Foreground",routing:Xe.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Xe.KX("fromSpot","fromSpot",Xe.z6.parse),new Xe.KX("toSpot","toSpot",Xe.z6.parse),new Xe.KX("fromShortLength","dir",Un=>Un>=1?10:0),new Xe.KX("toShortLength","dir",Un=>Un>=1?10:0),new Xe.KX("points").makeTwoWay(),Sn(Xe.bn,{strokeWidth:2},new Xe.KX("stroke","color"),new Xe.KX("strokeWidth","thickness"),new Xe.KX("strokeDashArray","dash")),Sn(Xe.bn,{segmentIndex:0,segmentOffset:new Xe.E9(15,0),segmentOrientation:Xe.rU.OrientAlong,alignmentFocus:Xe.z6.Right,figure:"circle",width:10,strokeWidth:0},new Xe.KX("fill","color"),new Xe.KX("visible","dir",Un=>Un===1)),Sn(Xe.bn,{segmentIndex:-1,segmentOffset:new Xe.E9(-10,6),segmentOrientation:Xe.rU.OrientPlus90,alignmentFocus:Xe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Xe.KX("fill","color"),new Xe.KX("visible","dir",Un=>Un>=1),new Xe.KX("width","thickness",Un=>7+3*Un),new Xe.KX("height","thickness",Un=>7+3*Un),new Xe.KX("segmentOffset","thickness",Un=>new Xe.E9(-15,4+1.5*Un))),Sn(Xe.bn,{segmentIndex:0,segmentOffset:new Xe.E9(15,-6),segmentOrientation:Xe.rU.OrientMinus90,alignmentFocus:Xe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Xe.KX("fill","color"),new Xe.KX("visible","dir",Un=>Un===2),new Xe.KX("width","thickness",Un=>7+3*Un),new Xe.KX("height","thickness",Un=>7+3*Un),new Xe.KX("segmentOffset","thickness",Un=>new Xe.E9(-15,4+1.5*Un))),Sn(Xe.al,{alignmentFocus:new Xe.z6(0,1,-4,0),editable:!0},new Xe.KX("text").makeTwoWay(),new Xe.KX("stroke","color"))),Mt.current.linkTemplate.selectionAdornmentTemplate=Sn(Xe.uz,Sn(Xe.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Or(2)},new Xe.KX("pathPattern","thickness",Or)),dn({alignmentFocus:new Xe.z6(0,0,-6,-4)}));function Or(Un){return Sn(Xe.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Un+4).toString()+" H3"})}function zr(Un){var or="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Un===0?or="M0 0 M16 16 M0 8 L16 8":Un===2&&(or="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Sn(Xe.bn,{geometryString:or,margin:2,background:"transparent",mouseEnter:(Er,Yn)=>Yn.background="dodgerblue",mouseLeave:(Er,Yn)=>Yn.background="transparent",click:rn("dir",Un),contextClick:rn("dir",Un)})}function co(Un){var or=(Er,Yn)=>{Er.handled=!0,Er.diagram.model.commit(yo=>{var Mr=Yn.part.adornedPart;yo.set(Mr.data,Un?"toSpot":"fromSpot",Xe.z6.stringify(Xe.z6.AllSides)),(Un?Mr.toNode:Mr.fromNode).invalidateConnectedLinks()})};return Sn(Xe.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Er,Yn)=>Yn.background="dodgerblue",mouseLeave:(Er,Yn)=>Yn.background="transparent",click:or,contextClick:or})}function ro(Un,or){var Er=0,Yn=Xe.z6.RightSide;Un.equals(Xe.z6.Top)?(Er=270,Yn=Xe.z6.TopSide):Un.equals(Xe.z6.Left)?(Er=180,Yn=Xe.z6.LeftSide):Un.equals(Xe.z6.Bottom)&&(Er=90,Yn=Xe.z6.BottomSide),or||(Er-=180);var yo=(Mr,To)=>{Mr.handled=!0,Mr.diagram.model.commit(Mo=>{var Po=To.part.adornedPart;Mo.set(Po.data,or?"toSpot":"fromSpot",Xe.z6.stringify(Yn)),(or?Po.toNode:Po.fromNode).invalidateConnectedLinks()})};return Sn(Xe.bn,{alignment:Un,alignmentFocus:Un.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Er,background:"transparent",mouseEnter:(Mr,To)=>To.background="dodgerblue",mouseLeave:(Mr,To)=>To.background="transparent",click:yo,contextClick:yo})}Mt.current.linkTemplate.contextMenu=Sn("ContextMenu",ln(),br(),Sn("ContextMenuButton",Sn(Xe.s_,"Horizontal",zr(0),zr(1),zr(2))),Sn("ContextMenuButton",Sn(Xe.s_,"Horizontal",Sn(Xe.s_,"Spot",co(!1),ro(Xe.z6.Top,!1),ro(Xe.z6.Left,!1),ro(Xe.z6.Right,!1),ro(Xe.z6.Bottom,!1)),Sn(Xe.s_,"Spot",{margin:new Xe.Zt(0,0,0,2)},co(!0),ro(Xe.z6.Top,!0),ro(Xe.z6.Left,!0),ro(Xe.z6.Right,!0),ro(Xe.z6.Bottom,!0)))));const qr=`{ "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 Ln=["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 io(Un){return console.log("shapeName:",Un),Ln.indexOf(Un)>=0}var Uo=new Xe.YI(Hn.current,{maxSelectionCount:1,linkTemplate:Sn(Xe.rU,{locationSpot:Xe.z6.Center,selectionAdornmentTemplate:Sn(Xe.uz,"Link",{locationSpot:Xe.z6.Center},Sn(Xe.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Sn(Xe.bn,{toArrow:"Standard",stroke:null}))},{routing:Xe.rU.AvoidsNodes,curve:Xe.rU.JumpOver,corner:5,toShortLength:4},new Xe.KX("points"),Sn(Xe.bn,{isPanelMain:!0,strokeWidth:2}),Sn(Xe.bn,{toArrow:"Standard",stroke:null})),model:new Xe.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Xe.bn.getFigureGenerators().toArray().map(Un=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Un.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Mt.current.addDiagramListener("TextEdited",function(Un){var or;const Er=Un.subject.part;var Yn=(or=document.activeElement)==null?void 0:or.value;typeof Yn=="string"&&Yn.trim()===""&&Mt.current.model.commit(function(yo){yo.set(Er.data,"text","\u672A\u547D\u540D"),Mt.current.commandHandler.stopCommand()},"increment")}),Uo.nodeTemplate=Sn(Xe.NB,"Auto",{locationSpot:Xe.z6.Center},new Xe.KX("location","location",Xe.E9.parse).makeTwoWay(Xe.E9.stringify),Sn(Xe.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 Xe.KX("stroke").makeTwoWay(),new Xe.KX("fill").makeTwoWay(),new Xe.KX("figure")),Sn(Xe.al,{margin:new Xe.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Xe.$u(16,16),maxSize:new Xe.$u(10,NaN),textAlign:"center",editable:!0},new Xe.KX("key").makeTwoWay())),setTimeout(()=>{Mt.current.grid=Sn(Xe.s_,"Grid",Sn(Xe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Sn(Xe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Mt.current.grid.visible=!0,Mt.current.grid.gridCellStroke="darkgray",Mt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Mt.current,Mt.current}const ho=()=>ze(this,null,function*(){var Sn=Mt.current.makeImage();const Dr=yield(0,Be.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Sn.src}});Nt({src:Dr.url})});return(0,Se.useEffect)(()=>(setTimeout(()=>{jr()},500),Sr(dr+1),()=>{Mt.current=null}),[]),Ze.createElement("div",{ref:wr,className:Fn.current?`${$e.maxH60} body-overflow-initial`:"body-overflow-initial"},Ze.createElement(Fe.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!dr,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Ze.createElement(je.Z,null,Ze.createElement(Ae.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Ze.createElement(Ae.Z,{onClick:()=>{var Sn,Dr,Ft=Mt.current.selection.first();if(Fn.current=!Fn.current,document.activeElement&&Ft){let dn=(Dr=(Sn=document.activeElement)==null?void 0:Sn.value)==null?void 0:Dr.trim();typeof dn=="string"&&Mt.current.model.commit(function(rn){rn.set(Ft.data,"text",dn||"\u672A\u547D\u540D"),Mt.current.commandHandler.stopCommand()},"increment")}Sr(dr+1)}},Ze.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Lt},Ze.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:$e.flowChartWrp},Ze.createElement("div",{style:{display:"flex",height:"100%"}},Ze.createElement("div",{style:{width:"300px",height:"100%"}},Ze.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Ze.createElement("div",{style:{height:"calc(100% - 50px)"},className:$e.myPaletteDiv,ref:Hn})),Ze.createElement("div",{style:{flex:1,position:"relative"}},Ze.createElement("div",{ref:xn,style:{height:"80vh"}}))),Ze.createElement("div",{className:"tr"},Ze.createElement(we.ZP,{size:"large",onClick:ho,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Oe=_e,Ne=de(78045),Ge=de(31795);const rt=Ne.ZP.Group,pt={margin:"0 8px"};var ut=({callback:Lt,onCancel:Nt})=>{function Mt(xn){Lt(xn)}return Se.createElement(ye.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Mt},Se.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},Se.createElement("span",{style:pt},"\u5355\u5143\u683C\u6570\uFF1A"),Se.createElement("span",{style:pt},"\u884C\u6570"),Se.createElement(ye.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},Se.createElement(Ge.Z,null)),Se.createElement("span",{style:pt},"\u5217\u6570"),Se.createElement(ye.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},Se.createElement(Ge.Z,null))),Se.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},Se.createElement("span",{style:pt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),Se.createElement(ye.default.Item,{name:"align"},Se.createElement(rt,null,Se.createElement(Ne.ZP,{value:"default"},Se.createElement("i",{className:"fa fa-align-justify"})),Se.createElement(Ne.ZP,{value:"left"},Se.createElement("i",{className:"fa fa-align-left"})),Se.createElement(Ne.ZP,{value:"center"},Se.createElement("i",{className:"fa fa-align-center"})),Se.createElement(Ne.ZP,{value:"right"},Se.createElement("i",{className:"fa fa-align-right"}))))),Se.createElement("div",{className:"flex-container flex-end"},Se.createElement(we.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Se.createElement(we.ZP,{type:"ghost",onClick:Nt},"\u53D6\u6D88")))},nt=de(47897),vt=de(61016),xt=de.n(vt),at=(0,Se.forwardRef)(({use3d:Lt,width:Nt,height:Mt,callback:xn,showSaveButton:Hn},Fn)=>{const wr=(0,Se.useRef)(),dr=(0,Se.useRef)(),[Sr,jr]=(0,Se.useState)(!1),ho=(0,Se.useRef)({id:wr,appName:"graphing",width:Nt||1e3,height:Mt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,Se.useEffect)(()=>{dr.current=new(xt())(ho.current,!0),window.onload=function(){dr.current.inject("applet_container")}},[]);const Sn=()=>{var Dr=window.ggbApplet.getPNGBase64(1,!0,72);return xn&&xn(Dr),Dr};return(0,Se.useEffect)(()=>{ho.current.appName=Sr?"3D":"graphing",dr.current.inject("applet_container")},[Sr]),(0,Se.useEffect)(()=>{jr(Lt)},[Lt]),(0,Se.useImperativeHandle)(Fn,()=>({getImgData:Sn})),Se.createElement(Se.Fragment,null,Se.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:wr}),Se.createElement(je.Z,{align:"middle"},Se.createElement(Ae.Z,{flex:1},Se.createElement(nt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Sr,onChange:Dr=>jr(Dr)})),Se.createElement(Ae.Z,null,Se.createElement(we.ZP,{size:"large",onClick:Sn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Et=de(36527),st=de(25934),gt=de(2453);const St="link",wt="upload-image",Tt="add-flowchart",Wt="draw-image",hn="add-flowchart",pn="code-block",Tn="add-table",Cn="------------",Vn={default:Cn,left:`:${Cn}`,center:`:${Cn}:`,right:`${Cn}:`};var Qn=de(99914),fr=(Lt,Nt,Mt)=>new Promise((xn,Hn)=>{var Fn=Sr=>{try{dr(Mt.next(Sr))}catch(jr){Hn(jr)}},wr=Sr=>{try{dr(Mt.throw(Sr))}catch(jr){Hn(jr)}},dr=Sr=>Sr.done?xn(Sr.value):Promise.resolve(Sr.value).then(Fn,wr);dr((Mt=Mt.apply(Lt,Nt)).next())});function kr(){}let Vr=0;const Ur=1e4,Rr="\u2581",Pn="@\u2581\u2581@",Xt="@\u2581@",nn=` **\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`,bn=["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 Mn(Lt){return/^\d+$/.test(Lt)?`${Lt}px`:Lt}const Xn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",pr={[Xn+"-B"]:"bold",[Xn+"-I"]:"italic"},hr={[St]:"\u6DFB\u52A0\u94FE\u63A5",[pn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[wt]:"\u6DFB\u52A0\u56FE\u7247",[Wt]:"\u6DFB\u52A0\u753B\u56FE",[Tt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Tn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Zn=({defaultValue:Lt="",onChange:Nt,width:Mt="100%",height:xn=400,miniToolbar:Hn=!1,isFocus:Fn=!1,watch:wr,insertTemp:dr,mode:Sr="markdown",id:jr="markdown-editor-id",showResizeBar:ho=!1,noStorage:Sn=!1,showNullButton:Dr=!1,showNullProgramButton:Ft=!1,hidetoolBar:dn=!1,fullScreen:rn=!1,onBlur:fn,onCMBeforeChange:Nn,onFullScreen:ln,className:Vt="",disablePaste:vn=!1,disabled:br=!1,disabledFill:cr=!1,placeholder:Or="",values:zr="",extraUse:co,isShowTool:ro=!0,disableImageUpload:qr=!1})=>{const[Ln,io]=(0,Se.useState)(null),[Uo,Un]=(0,Se.useState)(Lt),[or,Er]=(0,Se.useState)(wr),[Yn,yo]=(0,Se.useState)(rn),[Mr,To]=(0,Se.useState)(""),[Mo,Po]=(0,Se.useState)(0),[Dt,At]=(0,Se.useState)(xn),[on,yn]=(0,Se.useState)(!1),On=(0,Se.useRef)((0,st.Z)()),tn=(0,Se.useRef)(!1),mr=(0,Se.useRef)(),[Ar,Kr]=(0,Se.useState)(0),[to,Yr]=(0,Se.useState)(0),po=(0,Se.useRef)(),ur=(0,Se.useRef)(),Ct=(0,Se.useRef)(),Bt=(0,Se.useRef)(),sn=()=>fr(void 0,null,function*(){var Qt;const Zt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:On.current}});(Qt=Zt==null?void 0:Zt.attachments)!=null&&Qt.length&&(console.log("cm:",Ln,po),Zt.attachments.map(Gt=>{Gt.content_type.indexOf("image")>-1?Ln.replaceSelection(`![,](/api/attachments/${Gt.id}?type=${Gt.content_type})`):Gt.content_type.indexOf("video")>-1?Ln.replaceSelection(``):Gt.content_type.indexOf("pdf")>-1?Ln.replaceSelection(`${Gt.name}`):Ln.replaceSelection(`[${Gt.name}](${ENV.API_SERVER}/api/attachments/${Gt.id}?type=${Gt.content_type})`)}))});(0,Se.useEffect)(()=>{const Qt=window.scrollY||window.pageYOffset;Un(zr),Ln==null||Ln.setValue(zr),window.scrollTo(0,Qt)},[zr]),(0,Se.useEffect)(()=>{ln==null||ln(Yn)},[Yn]),(0,Se.useEffect)(()=>{if(po.current){let Qt=function(Gt,$t){var wn,ct;if(vn){$t.preventDefault();return}const lt=$t.clipboardData;if(lt){const mt=lt.types.toString(),Ot=lt.items;if(mt==="Files"||lt.types.indexOf("Files")>-1){if($t.preventDefault(),Sr=="stex")return;try{let It=Ot[1];((wn=Ot[0])==null?void 0:wn.kind)==="file"&&(It=Ot[0]);const kt=It.getAsFile(),un=kt.name.split(".").pop();if(qr&&((ct=kt==null?void 0:kt.type)==null?void 0:ct.indexOf("image"))>-1)return!0;(0,He.I)(kt,En=>{var Bn,Gn,zn;En.id?((Bn=kt==null?void 0:kt.type)==null?void 0:Bn.indexOf("image"))>-1?Zt.replaceSelection(``):((Gn=kt==null?void 0:kt.type)==null?void 0:Gn.indexOf("video"))>-1?Zt.replaceSelection(``):((zn=kt==null?void 0:kt.type)==null?void 0:zn.indexOf("pdf"))>-1?Zt.replaceSelection(`${kt.name}`):bn.includes(un)?Zt.replaceSelection(`${kt.name}`):Zt.replaceSelection(`[${kt.name}](/api/attachments/${En.id}?type=${En.content_type})`):(En==null?void 0:En.status)===401&&(gt.ZP.warning((En==null?void 0:En.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(It){gt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Zt=E().fromTextArea(po.current,{mode:Sr,lineNumbers:!Hn,lineWrapping:!0,value:Lt,autoCloseTags:!Ft,autoCloseBrackets:!0});return Zt.on("keyup",function(Gt,$t){$t.keyCode===8&&(Gt.getValue()==""?Zt.setOption("placeholder",Or):Zt.setOption("placeholder",null))}),Zt.on("keydown",function(Gt,$t){if($t.keyCode===8){var wn=cn(Gt);wn&&$t.preventDefault()}}),Fn&&Zt.focus(),Zt.on("paste",Qt),Zt.on("dragleave",function(Gt,$t){ur.current.classList.remove("mouse-hover-md")}),br&&Zt.on("beforeChange",function(Gt,$t){($t.origin==="paste"||$t.origin==="+input")&&$t.cancel()}),io(Zt),()=>{Zt.off("paste",Qt)}}},[]);const ht=(0,Se.useCallback)(()=>{if(ur.current)try{}catch(Qt){console.log(Qt,"---- to set md editor body height")}},[Dt,ur,Yn]);(0,Se.useEffect)(()=>{function Qt(){let Zt=new pe.Z(Gt=>{for(let $t of Gt)($t.target.offsetHeight>0||$t.target.offsetWidth>0)&&(ht(),Ln.setSize("100%","100%"),Ln.refresh())});return Zt.observe(po.current.parentElement),Zt}if(Ln){const Zt=Qt();return()=>{var Gt,$t;(Gt=po.current)!=null&&Gt.parentElement&&Zt.unobserve(($t=po.current)==null?void 0:$t.parentElement)}}},[Ln,ht]),(0,Se.useEffect)(()=>{if(Ln){let Qt=[];for(const[Zt,Gt]of Object.entries(pr)){let $t={[Zt]:()=>{_n(Gt)}};Qt.push($t),Ln.addKeyMap($t)}return mr.current=setInterval(()=>{tn.current&&sn()},4e3),()=>{clearInterval(mr.current);for(let Zt of Qt)Ln.removeKeyMap(Zt)}}},[Ln]),(0,Se.useEffect)(()=>{rn!==Yn&&yo(rn)},[rn]),(0,Qn.Z)(()=>{if(!Sn&&Mo>0){let Qt=new Date().getTime(),Zt=window.sessionStorage.getItem(jr);Qt>=Mo+Ur&&(!Zt||Zt!==Uo)&&(window.sessionStorage.setItem(jr,Uo),yn(!0))}},Ur),(0,Se.useEffect)(()=>{Er(wr)},[Ln,wr]),(0,Se.useEffect)(()=>{Ln&&Fn&&Ln.focus()},[Ln,Fn]),(0,Se.useEffect)(()=>{if(or&&Ln){let Qt=function(Gt){let $t=Gt.target;if(Bt.current){let wn=$t.scrollTop/$t.scrollHeight;Bt.current.scrollTop=Bt.current.scrollHeight*wn}};const Zt=Ln.getScrollerElement();return Zt.addEventListener("scroll",Qt),()=>{Zt.removeEventListener("scroll",Qt)}}},[Ln,or]),(0,Se.useEffect)(()=>{if(Ln&&Nn){let Qt=function(Zt,Gt){Nn(Zt,Gt)};return Ln.on("beforeChange",Qt),()=>{Ln.off("beforeChange",Qt)}}},[Ln,Nn]),(0,Se.useEffect)(()=>{if(Ln&&fn){let Qt=function(){fn(Ln.getValue())};return Ln.on("blur",Qt),()=>{Ln.off("blur",Qt)}}},[Ln,fn]);function cn(Qt,Zt){var Gt=Qt.getDoc(),$t=Gt.getCursor(),wn=Gt.getLine($t.line),ct=wn.charAt($t.ch-1),lt=wn.lastIndexOf("@\u2581@",$t.ch),mt=wn.lastIndexOf("@\u2581\u2581@",$t.ch),Ot=lt>mt?lt:mt,It=lt>mt?3:4;if(Pn.indexOf(ct)===-1)return null;if(console.log("change1:",Zt,Qt,wn,$t,Ot,lt,mt,ct),Ot>=0&&$t.ch-Ot<5){var kt=Ot+It;return Gt.replaceRange("",{line:$t.line,ch:Ot},{line:$t.line,ch:kt}),{line:$t.line,ch:kt}}return null}(0,Se.useEffect)(()=>{if(Ln){let Qt=function(Zt,Gt){const $t=Zt.getValue();Un($t),Po(new Date().getTime()),Zt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Nt&&(Ft?Nt($t,Pt($t)):Nt($t))};return Ln.on("change",Qt),()=>{Ln.off("change",Qt)}}},[Ln,Nt]),(0,Se.useEffect)(()=>{if(Ln)if(Lt==null)Ln.setValue(""),Un("");else{const Qt=window.scrollY||window.pageYOffset;Lt!==Ln.getValue()&&(Ln.setValue(Lt),Un(Lt),Ln.setCursor(br?1:Ln.lineCount(),0),window.scrollTo(0,Qt))}},[Ln,Lt]);const _n=(0,Se.useCallback)(Qt=>{const Zt=Ln.getCursor(),Gt=Ln.getSelection();let $t=Gt.split(` `);switch(Qt){case"bold":return Ln.replaceSelection("**"+Gt+"**"),Gt===""&&Ln.setCursor(Zt.line,Zt.ch+2),Ln.focus();case"italic":return Ln.replaceSelection("*"+Gt+"*"),Gt===""&&Ln.setCursor(Zt.line,Zt.ch+1),Ln.focus();case"code":return Ln.replaceSelection("`"+Gt+"`"),Gt===""&&Ln.setCursor(Zt.line,Zt.ch+1),Ln.focus();case"inline-latex":return To("inline-latex"),Ln.focus();case"latex":return Ln.replaceSelection("```latex\n"+Gt+"\n```"),Ln.setCursor(Zt.line+1,Gt.length+1),Ln.focus();case"line-break":return Ln.replaceSelection(`
`),Ln.focus();case"list-ul":return Gt===""?Ln.replaceSelection("- "+Gt):Ln.replaceSelection($t.map(wn=>wn===""?"":`- ${wn}`).join(` `)),Ln.focus();case"list-ol":return Gt===""?Ln.replaceSelection("1. "+Gt):Ln.replaceSelection($t.map((wn,ct)=>wn===""?"":`${ct+1}. ${wn}`).join(` `)),Ln.focus();case"add-null-ch":return Gt===""&&Ln.setCursor(Zt.line,Zt.ch),Ln.replaceSelection(Rr),Ln.focus();case"add-signal":return Gt===""&&Ln.setCursor(Zt.line,Zt.ch),Ln.replaceSelection(Xt),Ln.focus();case"add-multiple":return Gt===""&&Ln.setCursor(Zt.line,Zt.ch),Ln.replaceSelection(Pn),Ln.focus();case"inster-template-1":return Gt===""&&Ln.setCursor(Zt.line,Zt.ch),Ln.replaceSelection(nn),Ln.focus();case"eraser":return Ln.setValue(""),Ln.focus();case"trigger-watch":return Er(!or),Ln.focus();case"trigger-full-screen":return yo(!Yn),Ln.focus();case St:To(St);return;case pn:To(pn);return;case wt:To(wt);return;case Wt:To(Wt);return;case"maths-latex":To("maths-latex");return;case Tt:To(Tt);return;case Tn:To(Tn);return;default:throw new Error}},[Ln,or,Yn]),An=(0,Se.useCallback)((Qt,Zt)=>{var Gt,$t,wn,ct,lt,mt;if(To(""),!(qr&&Mr==wt))switch(Mr){case St:const{title:En,link:Bn}=Qt;return Ln.replaceSelection(`[${En}](${Bn})`),Ln.focus();case pn:const{language:Gn,content:zn}=Qt;return Ln.replaceSelection(["```"+Gn,zn,"```"].join(` `)),Ln.focus();case"maths-latex":for(var Ot=atob(Qt),It=new Uint8Array(Ot.length),kt=0;kt{so.id?Ln.replaceSelection(`![,](/api/attachments/${so.id}?type=${so.content_type})`):(so==null?void 0:so.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Ln.replaceSelection("`$$"+Qt+"$$`");break;case wt:case Wt:case hn:const{src:$n,alt:Wn}=Qt,Kn=Zt,_r=(wn=($t=(Gt=Kn==null?void 0:Kn.name)==null?void 0:Gt.split("."))==null?void 0:$t.pop)==null?void 0:wn.call($t);return((ct=Kn==null?void 0:Kn.type)==null?void 0:ct.indexOf("image"))>-1||!(Kn!=null&&Kn.type)?Kn.align||Kn.width?Ln.replaceSelection(`

${Wn||

`):Ln.replaceSelection(`${Wn||`):((lt=Kn==null?void 0:Kn.type)==null?void 0:lt.indexOf("video"))>-1?Ln.replaceSelection(``):((mt=Kn==null?void 0:Kn.type)==null?void 0:mt.indexOf("pdf"))>-1?Ln.replaceSelection(`${Kn.name}`):bn.includes(_r)?Ln.replaceSelection(`${Kn.name}`):Ln.replaceSelection(`[${Kn.name}](${$n})`),Ln.focus();case Tn:const{row:Nr,col:Lr,align:Wr}=Qt;let Jr=` `;for(let so=0;so{switch(Mr){case St:return Se.createElement(Je,{callback:An,onCancel:Yt});case pn:return Se.createElement(Ye.Z,{callback:An,onCancel:Yt});case wt:return Se.createElement(He.Z,{callback:An,onCancel:Yt});case Tt:return Se.createElement(Oe,{callback:An,onCancel:Yt});case Tn:return Se.createElement(ut,{callback:An,onCancel:Yt});case"maths-latex":return Se.createElement(at,{showSaveButton:!0,callback:An});case"inline-latex":return Se.createElement(Et.Z,{showSaveButton:!0,callback:An});default:return null}},[Mr]);function Yt(){To("")}(0,Se.useEffect)(()=>{if(Ct.current){let Qt=function(lt){wn=!0,ct=lt.pageY},Zt=function(){wn=!1},Gt=function(lt){if(wn){let mt=lt.pageY-ct;mt<0&&(mt=0),mt>300&&(mt=300);let Ot=xn+mt+"px";At(Ot)}},$t=Ct.current,wn=!1,ct=0;return $t.addEventListener("mousedown",Qt),document.addEventListener("mousemove",Gt),document.addEventListener("mouseup",Zt),()=>{$t.removeEventListener("mousedown",Qt),document.removeEventListener("mousemove",Gt),document.removeEventListener("mouseup",Zt)}}},[Ln,Ct]),(0,Se.useEffect)(()=>{At(xn)},[xn]);const qt=Mn(Mt),jn=Mn(Dt),er={width:qt,height:jn},ar=(0,Se.useMemo)(()=>{if(Mo){let Qt=new Date(Mo),Zt=Qt.getHours(),Gt=Qt.getMinutes(),$t=Qt.getSeconds();return Zt=Zt<10?"0"+Zt:Zt,Gt=Gt<10?"0"+Gt:Gt,$t=$t<10?"0"+$t:$t,`${Zt}:${Gt}:${$t}`}return 0},[Mo]),Pt=Qt=>{const Zt=[];if(Ft){let Gt=-1;Qt=Qt.replace(/(@▁▁@|@▁@)/g,function($t,wn,ct){Zt.push({multiLine:$t!==Xt})})}return Zt};function Ut(){window.sessionStorage.removeItem(jr),yn(!1),Po(0)}function Jt(){yn(!1),Po(0),Ln.setValue(window.sessionStorage.getItem(jr))}(0,Se.useEffect)(()=>{hr[Mr]&&Mr!==Wt&&Mr!==Tt&&setTimeout(()=>{const Qt=document.getElementsByClassName("markdown-popup-form")[0],Zt=window.innerWidth/2-Qt.offsetWidth/2,Gt=window.innerHeight/2-Qt.offsetHeight/2;Kr(Zt),Yr(Gt)},0)},[Mr]);const kn=Qt=>{Qt.preventDefault();const Zt=Qt.clientX-Ar,Gt=Qt.clientY-to;document.body.onmousemove=$t=>{let wn=$t.clientX-Zt,ct=$t.clientY-Gt;const lt=document.getElementsByClassName("markdown-popup-form")[0],mt=window.innerWidth-lt.offsetWidth,Ot=window.innerHeight-lt.offsetHeight;wn=Math.max(0,Math.min(wn,mt)),ct=Math.max(0,Math.min(ct,Ot)),mn($t.clientX,$t.clientY,Zt,Gt)&&(Kr(wn),Yr(ct))},document.body.onmouseup=function(){document.body.onmousemove=null}},mn=(Qt,Zt,Gt,$t)=>{const wn=document.body.clientHeight,ct=document.body.clientWidth;return Qt<20&&Gt>Qt||Qt>ct-20&&GtZt||Zt>wn-20&&$tPe in ye?oe(ye,Pe,{enumerable:!0,configurable:!0,writable:!0,value:we}):ye[Pe]=we,z=(ye,Pe)=>{for(var we in Pe||(Pe={}))y.call(Pe,we)&&b(ye,we,Pe[we]);if(a)for(var we of a(Pe))x.call(Pe,we)&&b(ye,we,Pe[we]);return ye},te=(ye,Pe)=>ne(ye,ee(Pe));const{useForm:ce}=Se.default,ge={width:280,marginRight:10},he={labelCol:{span:5},wrapperCol:{span:19}};var ve=({callback:ye,onCancel:Pe})=>{const[we]=ce();let Le=(0,ie.useRef)();function Ce(Re){Le.current.width=we.getFieldValue("width"),Le.current.align=we.getFieldValue("align"),ye(Re,Le.current)}function Te(Re,De){if(Re.status===-1){xe.ZP.error(Re.message);return}we.setFieldsValue({src:`/api/attachments/${Re.id}`,type:De.type})}function Ee(Re){let De=Re.target.files[0];Le.current=De,be(De,Te)}return ae.createElement(Se.default,te(z({form:we},he),{className:"upload-image-panel",onFinish:Ce,style:{width:470,overflow:"hidden"}}),ae.createElement(Se.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ae.createElement("div",{className:"flex-container"},ae.createElement(Se.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ae.createElement(E.default,{style:ge})),ae.createElement(me,{onFileChange:Ee}))),ae.createElement(Se.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ae.createElement(E.default,{style:{width:264}})),ae.createElement(Se.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ae.createElement(pe.Z,null,ae.createElement(Se.default.Item,{name:"width",style:{margin:0}},ae.createElement(fe.Z,{style:{width:264}})),ae.createElement("span",{className:"ml8"},"%"))),ae.createElement(Se.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ae.createElement(le.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(Se.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ae.createElement(re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(re.ZP,{type:"default",onClick:Pe},"\u53D6\u6D88"))))};function me({onFileChange:ye}){return ae.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ae.createElement("input",{type:"file",onChange:ye}))}function be(ye,Pe){if(!ye)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ue.bg)())throw xe.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let we=new FormData;we.append("editormd-image-file",ye),we.append("file_param_name","editormd-image-file"),we.append("byxhr","true");var Le=new window.XMLHttpRequest;Le.withCredentials=!0,Le.addEventListener("load",function(Ce){Pe(JSON.parse(Ce.target.responseText),ye)},!1),Le.addEventListener("error",function(Ce){console.error(Ce)},!1),Le.open("POST",`${se.KI}/api/attachments.json`),Le.send(we)}},76621:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return E}});var Se=de(67294),xe=de(73935);class E extends Se.Component{constructor(fe){super(fe);const le=window.document;this.node=le.createElement("div"),le.body.appendChild(this.node)}render(){const{children:fe}=this.props;return(0,xe.createPortal)(fe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},21434:function(_t,ft,de){"use strict";var Se=de(12867),xe=de(11713),E=de(47897),pe=de(67294);const fe=xe.default.Option;ft.Z=({isTheoretical:le,onFontSizeChange:re,cmFontSize:se,cmCodeMode:ie,autoFormat:ue,onCodeModeChange:ae,onTabToSpace:oe,onAutoFormat:ne,formatDocument:ee,className:a="",tabToSpace:y,children:x,code_editor:b,challenge:z,shixun_environment_id:te,shixun_environments:ce})=>{var ge;const he={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"},ve=(ge=ce==null?void 0:ce.find(me=>me.shixun_environment_id===te))==null?void 0:ge.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(xe.default,{bordered:!1,size:"small",value:ie,onChange:ae},pe.createElement(fe,{value:"vs"},"\u767D\u8272\u80CC\u666F"),pe.createElement(fe,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!le&&pe.createElement(pe.Fragment,null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),pe.createElement(xe.default,{bordered:!1,size:"small",value:se,onChange:re},pe.createElement(fe,{value:12},"12px"),pe.createElement(fe,{value:14},"14px"),pe.createElement(fe,{value:16},"16px"),pe.createElement(fe,{value:18},"18px"),pe.createElement(fe,{value:20},"20px"),pe.createElement(fe,{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:ee},pe.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!le&&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),!le&&pe.createElement(pe.Fragment,null,pe.createElement("h3",null,"\u5FEB\u6377\u952E"),pe.createElement("section",null,ve&&pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u7F16\u7A0B\u8BED\u8A00"),pe.createElement("span",null,ve)),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),pe.createElement("span",null,he[z==null?void 0:z.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")))))}},99914:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return xe}});var Se=de(67294);function xe(E,pe){const fe=(0,Se.useRef)();(0,Se.useEffect)(()=>{fe.current=E}),(0,Se.useEffect)(()=>{function le(){fe.current()}if(pe!==null){let re=setInterval(le,pe);return()=>clearInterval(re)}},[pe])}},97917:function(_t,ft,de){"use strict";var Se=de(67294),xe=de(55054),E=de(31795),pe=de(22150),fe=de(14446),le=de(57953),re=de(9430),se=de(69677),ie=de(71230),ue=de(15746),ae=de(71577),oe=de(15835),ne=de(27484),ee=de.n(ne),a=de(35973),y=de(28706),x=de(53814),b=de(52262),z=de(9343),te=de(67294),ce=(me,be,ye)=>new Promise((Pe,we)=>{var Le=Ee=>{try{Te(ye.next(Ee))}catch(Re){we(Re)}},Ce=Ee=>{try{Te(ye.throw(Ee))}catch(Re){we(Re)}},Te=Ee=>Ee.done?Pe(Ee.value):Promise.resolve(Ee.value).then(Le,Ce);Te((ye=ye.apply(me,be)).next())});const{Countdown:ge}=xe.default,he=({value:me,onChange:be,MaxMinutes:ye})=>te.createElement(te.Fragment,null,te.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",te.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u3002",te.createElement("br",null)),te.createElement(E.Z,{value:me,onChange:be,min:0,precision:0,max:ye,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${ye}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),ve=({exercise:me,successCb:be,dispatch:ye})=>{var Pe,we,Le,Ce;const Te=(0,a.useParams)(),[Ee]=pe.default.useForm(),Re=pe.default.useWatch("time",Ee),[De,ke]=(0,Se.useState)(!1),Ie=(0,Se.useRef)(),{actionTabs:qe}=me,[Qe,Je]=(0,Se.useState)(),[,Ye,He,Fe]=(0,z.U)(oe.n7,{id:Te.categoryId}),[,je,et]=(0,z.U)(oe.Cd,{});(0,Se.useEffect)(()=>{me.actionTabs.key==="student-unlock"&&(ke(!1),Ee.resetFields())},[me.actionTabs.key]);const tt=()=>new Promise(Ze=>ce(void 0,null,function*(){var ze,_e;return Ie.current=yield(0,x.y)({ip_limit:(ze=qe==null?void 0:qe.exerciseParams)==null?void 0:ze.ip_limit,ip_bind:(_e=qe==null?void 0:qe.exerciseParams)==null?void 0:_e.ip_bind_type}),Ze()})),it=()=>ce(void 0,null,function*(){var Ze,ze,_e,Oe,Ne;yield Ee.validateFields();const Ge=Ee.getFieldsValue();if(ke(!0),(((Ze=qe==null?void 0:qe.exerciseParams)==null?void 0:Ze.ip_limit)!=="no"||(ze=qe==null?void 0:qe.exerciseParams)!=null&&ze.ip_bind_type)&&(yield tt()),(yield(0,oe.ZD)((_e=qe==null?void 0:qe.exerciseParams)==null?void 0:_e.id,{exercise_user_id:(Oe=qe==null?void 0:qe.exerciseParams)==null?void 0:Oe.exercise_user_id,unlock_key:Ge.unlock_key,time:Ge.time,ip:Ie.current})).status===0){if(be){ye({type:"exercise/setActionTabs",payload:{}}),be();return}const pt=qe==null?void 0:qe.exerciseParams;(0,y.nr)({inner_ip:pt.inner_ip,public_ip:pt.public_ip,open_camera:pt.open_camera,ip_limit:pt.ip_limit,ip_bind:pt.ip_bind,ip_bind_type:pt.ip_bind_type,exercise_tips:pt.exercise_tips,exerciseId:pt.id,screen_open:pt.screen_open,screen_num:pt.screen_num,screen_sec:pt.screen_sec,coursesId:Te.coursesId,login:(Ne=(0,b.eY)())==null?void 0:Ne.login,history,identity_verify:pt.identity_verify,open_phone_video_recording:pt.open_phone_video_recording,current_status:pt.current_status}),ye({type:"exercise/setActionTabs",payload:{}})}ke(!1)}),Xe=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:Ze=>te.createElement("span",{className:Ze.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},Ze)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:Ze=>te.createElement("span",{className:Ze.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},Ze)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],Ke=((Pe=qe==null?void 0:qe.exerciseParams)==null?void 0:Pe.errorMessage)&&typeof((we=qe==null?void 0:qe.exerciseParams)==null?void 0:we.errorMessage)=="object";(0,Se.useEffect)(()=>{me.actionTabs.key==="student-unlock"&&ce(void 0,null,function*(){const Ze=yield et(Te);yield He({}),Ze.status||Je(Ze)})},[me.actionTabs.key]);const{time:Me,end_time:Ve}=(Qe==null?void 0:Qe.exercise)||{},Ae=Fe!=null&&Fe.user_end_time?ee()(Fe==null?void 0:Fe.user_end_time).add(1,"minutes"):ee()(),Be=ee()(Fe==null?void 0:Fe.user_total_end_time)>Ae?Math.round(ee().duration(ee()(Fe==null?void 0:Fe.user_total_end_time).diff(Ae.startOf("minute"))).asMinutes()):0,$e=((Fe==null?void 0:Fe.student_left_minutes)||0)+(Re||0);return te.createElement(te.Fragment,null,te.createElement(fe.default,{width:514,centered:!0,closable:!!((Le=qe==null?void 0:qe.exerciseParams)!=null&&Le.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:me.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{ye({type:"exercise/setActionTabs",payload:{}})}},te.createElement(le.Z,{spinning:Ye||je},Ke&&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 "),!Ke&&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"),Ke&&te.createElement(re.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Ce=qe==null?void 0:qe.exerciseParams)==null?void 0:Ce.errorMessage)||{}],columns:Xe}),te.createElement("div",{className:""},te.createElement(pe.default,{form:Ee,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(se.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Me!==-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",ee()(Fe==null?void 0:Fe.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},te.createElement(he,{MaxMinutes:Be})),te.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",te.createElement("span",{className:"ml5"},Ye||je?"--":$e),"\u5206\u949F",$e!==0&&(Fe==null?void 0:Fe.user_end_time)&&te.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",te.createElement("span",{className:"ml5"},ee()(Fe==null?void 0:Fe.user_end_time).add(Re||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 ",ee()(Ve).format("YYYY-MM-DD HH:mm")))),te.createElement(ie.Z,{justify:"space-between",align:"middle"},te.createElement(ue.Z,null),te.createElement(ue.Z,null,te.createElement(ae.ZP,{loading:De,onClick:it},"\u8FDB\u5165\u8003\u8BD5"))))))};ft.Z=(0,a.connect)(({exercise:me})=>({exercise:me}))(ve)},38365:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return a}});var Se=de(67294),xe=de(35973),E=de(14446),pe=de(71577),fe=de(57953),le=de(88742),re=de(72971),se=de(36295),ie=de(19575),ue=de(27484),ae=de.n(ue),oe=de(94189),ne=de(67294),ee=(y,x,b)=>new Promise((z,te)=>{var ce=ve=>{try{he(b.next(ve))}catch(me){te(me)}},ge=ve=>{try{he(b.throw(ve))}catch(me){te(me)}},he=ve=>ve.done?z(ve.value):Promise.resolve(ve.value).then(ce,ge);he((b=b.apply(y,x)).next())}),a=({open:y,onClose:x})=>{const[b,z]=(0,Se.useState)(void 0);console.log((0,xe.useLocation)(),33);const te=(0,xe.useLocation)();(0,Se.useEffect)(()=>{y&&function(){return ee(this,null,function*(){const Je=yield(0,le.X6)(y);z(Je.data)})}()},[y]);const{status:ce,created_at:ge,code:he,name:ve,language:me,pass_sets_count:be,set_count:ye,error_msg:Pe,output:we,input:Le,expected_output:Ce,execute_memory:Te,user:Ee,execute_time:Re,input_file_url:De,output_file_url:ke,is_file:Ie,expected_output_file_url:qe}=b||{};return ne.createElement(E.default,{open:y,width:1e3,onCancel:()=>x(!1),footer:ne.createElement(pe.ZP,{type:"primary",onClick:()=>x(!1)},"\u5173\u95ED"),centered:!0},ne.createElement(fe.Z,{spinning:!b,delay:500},ne.createElement("div",{className:"record-detail-info"},b?ne.createElement(ne.Fragment,null,ne.createElement("div",{className:"record-detail-body"},ne.createElement("h2",null," \u63D0\u4EA4\u8BB0\u5F55 "),ne.createElement("ul",{className:"record-info"},ne.createElement("li",null," \u8BC4\u6D4B\u7ED3\u679C\uFF1A",ne.createElement("span",{className:ce===0?"c-green":"c-red"},re.Im[ce])," "),ne.createElement("li",null," \u63D0\u4EA4\u65F6\u95F4\uFF1A",ne.createElement("span",null,ae()(ge).format("YYYY-MM-DD HH:mm:ss"))," "),ne.createElement("li",null," \u8BED\u8A00\uFF1A",ne.createElement("span",null,me)," "),ne.createElement("li",null," \u6267\u884C\u7528\u65F6\uFF1A",ne.createElement("span",null,Re*1e3,"ms")," "),ne.createElement("li",null," ",`${ce===oe.h.HIDE_COMPILE_STATUS?"--":be} / ${ye} \u4E2A\u901A\u8FC7\u7684\u6D4B\u8BD5\u7528\u4F8B`," ")),(0,re.gZ)({status:ce,error_msg:Pe,execute_time:Re,output:we,input:Le,expected_output:Ce,input_file_url:De,output_file_url:ke,is_file:Ie,expected_output_file_url:qe}),ne.createElement("h2",null," \u63D0\u4EA4\u7684\u5185\u5BB9 "),ne.createElement(se.ZP,{height:"200px",width:"100%",language:me==null?void 0:me.toLocaleLowerCase(),value:ie.Base64.decode(he),options:{readOnly:!0}}))):null)))}},86276:function(_t,ft,de){"use strict";de.d(ft,{Im:function(){return ye},Y4:function(){return we}});var Se=de(67294),xe=de(69677),E=de(2453),pe=de(71577),fe=de(96707),le=de(19575),re=de.n(le),se=de(11579),ie=de(7621),ue=de(85725),ae=de(28706),oe=de(12320),ne=de.n(oe),ee=de(33170),a=de(35973),y=de(38365),x=de(33054),b=de(88742),z=de(30546),te=de(91613),ce=de(94184),ge=de.n(ce),he=de(51959),ve=de(67294),me=(Te,Ee,Re)=>new Promise((De,ke)=>{var Ie=Je=>{try{Qe(Re.next(Je))}catch(Ye){ke(Ye)}},qe=Je=>{try{Qe(Re.throw(Je))}catch(Ye){ke(Ye)}},Qe=Je=>Je.done?De(Je.value):Promise.resolve(Je.value).then(Ie,qe);Qe((Re=Re.apply(Te,Ee)).next())});const{TextArea:be}=xe.default,ye={[fe.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[fe.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[fe.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=(Te=>(Te[Te.SET_VISIBLE=0]="SET_VISIBLE",Te[Te.SET_TABINDEX=1]="SET_TABINDEX",Te))(Pe||{});function we(Te){const{status:Ee,error_msg:Re,output:De,input:ke,expected_output:Ie,is_file:qe,input_file_url:Qe,output_file_url:Je,expected_output_file_url:Ye,setMonacoValue:He,setData:Fe}=Te,je=(0,Se.useRef)(),et=(0,Se.useRef)(),tt=(0,Se.useRef)();let it=null;const Xe={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch((0,Se.useEffect)(()=>{if(De&&!qe&&je.current){const Ke=new oe.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ke.open(je.current);const Me=(0,ae.pp)(le.Base64.decode(De));Ke.write(Me),Ke.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{Ke.scrollToTop()}catch(Ve){}},100)}if(ke&&!qe&&et.current){const Ke=new oe.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ke.open(et.current),Ke.write((0,ae.pp)(ke)),Ke.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{Ke.scrollToTop()}catch(Me){}},100)}if(Ie&&!qe&&tt.current){const Ke=new oe.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ke.open(tt.current),Ke.write((0,ae.pp)(le.Base64.decode(Ie))),Ke.setOption("theme",{background:"#1e1e1e"}),setTimeout(()=>{try{Ke.scrollToTop()}catch(Me){}},100)}},[De]),Ee){case fe.h.NOMATCH:it=ve.createElement(ve.Fragment,null,ve.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!qe&&ve.createElement("div",{ref:je}),qe&&ve.createElement("div",{style:Xe},ve.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(this,null,function*(){const Ke=yield(0,ee.ZP)(Je,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});He(Ke),setTimeout(()=>{Fe(Je)},200)})},De)),ve.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!qe&&ve.createElement("div",{ref:tt}),qe&&ve.createElement("div",{style:Xe},ve.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(this,null,function*(){const Ke=yield fetch(Ye,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});He(yield Ke.text()),setTimeout(()=>{Fe(Ye)},200)})},Ie)));break;case fe.h.EXECUTEFAILURE:it=ve.createElement(ve.Fragment,null,ve.createElement("div",{style:{border:"1px #F6F7F9 solid"}},ve.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!qe&&ve.createElement(ue.Z,{value:ke,style:Xe}),qe&&ve.createElement("div",{style:Xe},ve.createElement("a",{onClick:()=>(0,ae.LR)(Qe,ke)},ke))),ve.createElement("div",{style:{border:"1px #F6F7F9 solid",marginTop:"10px"}},ve.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ve.createElement("pre",{className:se.Z.error,style:{color:"#E30000",padding:"0 10px"}},le.Base64.decode(Re),"111")));break;case fe.h.COMPILEFAILURE:it=ve.createElement(ve.Fragment,null,ve.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ve.createElement("pre",{className:se.Z.error},le.Base64.decode(Re)));break;case fe.h.PODFAILURE:it=ve.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case fe.h.TIMEOUT:it=ve.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ve.createElement(ve.Fragment,null," ",it," ")}function Le(Te){const{status:Ee,error_msg:Re,execute_time:De,output:ke,input:Ie,expected_output:qe,is_file:Qe,input_file_url:Je,output_file_url:Ye,expected_output_file_url:He}=Te;let Fe=null;switch(Ee){case fe.h.OK:case fe.h.NOMATCH:case fe.h.EXECUTEFAILURE:case fe.h.COMPILEFAILURE:Fe=ve.createElement("div",{id:"outputResultRef",className:"h100"});break;case fe.h.PODFAILURE:Fe=ve.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case fe.h.TIMEOUT:Fe=ve.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ve.createElement(ve.Fragment,null," ",Fe," ")}function Ce({value:Te,className:Ee}){return ve.createElement("span",{className:Ee},Te)}ft.ZP=({input:Te,is_file:Ee,debuging:Re,submitting:De,executingMessage:ke,debugResult:Ie,onChangeInput:qe,onDebugCode:Qe,onSubmitCode:Je,hack:Ye,user:He,submitResult:Fe,isWhiteTheme:je,topDispatch:et})=>{const[tt]=(0,a.useSearchParams)(),it=(0,a.useParams)(),[Xe,Ke]=(0,Se.useState)(!1),[Me,Ve]=(0,Se.useState)(!1),[Ae,Be]=(0,Se.useState)(1),[$e,Ze]=(0,Se.useState)(!1),[ze,_e]=(0,Se.useState)(0),[Oe,Ne]=(0,Se.useState)(!1),[Ge,rt]=(0,Se.useState)(""),[pt,ut]=(0,Se.useState)(""),nt=(0,Se.useRef)(),vt=(0,Se.useRef)(),xt=(0,Se.useRef)(null),Rt=(0,Se.useRef)(null),at=(0,Se.useRef)(null);console.log(Fe,"submitResult",it);const{status:Et,id:st,input:gt,output:St,expected_output:wt,is_file:Tt,input_file_url:Wt,output_file_url:hn,expected_output_file_url:pn,error_msg:Tn,hack_sets:Cn}=Fe||{};(0,Se.useEffect)(()=>{Et===0&&(Be(1),_e(0))},[Et,st]),(0,Se.useEffect)(()=>{me(void 0,null,function*(){var nn;const bn=yield(0,b.rX)(it==null?void 0:it.id,"submit");(bn==null?void 0:bn.status)===0&&(bn!=null&&bn.data&&((nn=bn==null?void 0:bn.data)==null?void 0:nn.status)!==0?(et({type:z.Types.SET_SUBMIT_RESULT,payload:{submitResult:bn==null?void 0:bn.data}}),Be(2),_e(320)):(Be(1),_e(0)))})},[it==null?void 0:it.id]),(0,Se.useEffect)(()=>{if(nt.current){let Xt=function(Zn){tr=Mn.offsetHeight,Xn=!0,pr=Zn.pageY,at.current.style.display="block"},nn=function(){Xn=!1,at.current.style.display="none"},bn=function(Zn){if(Xn){Vn();let Lt=pr-Zn.pageY,Nt=tr+Lt;if(Nt<0&&(Nt=0),Nt>window.innerHeight-150&&(Nt=window.innerHeight-150),Ae===1){Nt<=34?_e(0):_e(Nt);return}console.log(Nt,"resizeH"),_e(Nt)}};const Mn=xt.current;let tr=0,Xn=!1,pr=0;const hr=document.getElementById("case-y-bar");return hr==null||hr.addEventListener("mousedown",Xt),document.addEventListener("mousemove",bn),document.addEventListener("mouseup",nn),()=>{const Zn=document.getElementById("case-y-bar");Zn==null||Zn.removeEventListener("mousedown",Xt),document.removeEventListener("mousemove",bn),document.removeEventListener("mouseup",nn)}}},[nt,Ae]),(0,Se.useEffect)(()=>{const Xt=x.Z.subscribe("resize-move-bar",Vn);if(tt.get("type")!=="exercises")return document.addEventListener((0,he.gH)(),kr),()=>{document.removeEventListener((0,he.gH)(),kr),Xt()}},[]),(0,Se.useEffect)(()=>{});function Vn(){var Xt,nn,bn,Mn;const tr=document.getElementById("outputResultRef");if(tr){let Xn=tr.dataset.text;vt.current.reset(),vt.current.writeln(Xn);const pr=document.getElementById("outputResultRef").offsetWidth-20,hr=((Mn=(bn=(nn=(Xt=vt.current)==null?void 0:Xt._core)==null?void 0:nn._renderService)==null?void 0:bn.dimensions)==null?void 0:Mn.actualCellWidth)||10,Zn=Math.ceil(pr/hr);vt.current.resize(Zn,Math.ceil(tr.clientHeight/16))}}function Qn(){Ke(!Xe),setTimeout(()=>{Vn()},300),_e(Xe?320:window.innerHeight-150)}function fr(){Me?(Ve(!1),(0,he.BU)()):(Ve(!0),(0,he.Dj)(Rt.current))}const kr=Xt=>{(0,he.vp)()||Ve(!1)},Vr=(0,Se.useMemo)(()=>{if(Ie){const{status:Xt,output:nn,error_msg:bn}=Ie;return setTimeout(()=>{let Mn="",tr=document.getElementById("outputResultRef");nn?Mn=le.Base64.decode(nn):bn&&(Mn=le.Base64.decode(bn)),vt.current=new oe.Terminal({fontSize:14,theme:{background:"#181e2e",cursor:"transparent"},rendererType:"dom"}),vt.current.open(tr),vt.current.onKey(function(Xn){var pr;if(Xn.domEvent.key.toLocaleUpperCase()==="C"&&Xn.domEvent.ctrlKey){Xn.domEvent.preventDefault();let hr=(pr=vt.current)==null?void 0:pr.getSelection();navigator.clipboard.writeText(hr).then(()=>{})}}),tr.dataset.text=Mn,vt.current.setOption("convertEol",!0),Vn()},300),ve.createElement(ve.Fragment,null,Le(Ie))}return null},[Ie]);function Ur(){var Xt,nn;if(!(Ye!=null&&Ye.code)||((Xt=Ye==null?void 0:Ye.code)==null?void 0:Xt.trim().length)===0){(nn=E.ZP)==null||nn.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}Be(1),_e(320),Qe()}const Rr=Xt=>me(void 0,null,function*(){let nn=yield(0,ee.ZP)(`/api/problems/${Xt}/start.json`,{method:"get",params:{hack_user_id:He==null?void 0:He.user_id}});nn&&(window.location.href=`/myproblems/${nn==null?void 0:nn.identifier}${window.location.search}`)});function Pn(){Tt?navigator.clipboard.writeText(le.Base64.decode(Tn)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")}):navigator.clipboard.writeText(le.Base64.decode(St)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")})}return ve.createElement(Se.Fragment,null,ve.createElement("div",{className:ge()(se.Z.case,je&&se.Z.whiteCase),style:{height:ze},ref:xt},ve.createElement("div",{className:se.Z.fullMask,ref:at}),ve.createElement("div",{className:se.Z["resize-y-bar"],id:"case-y-bar",ref:nt,draggable:!1},Ae===2&&ve.createElement("i",{className:"iconfont icon-guangbiao",draggable:!1})),Ae===1&&(ze<=34?ve.createElement("div",{onClick:()=>{_e(320)},className:se.Z.unfoldBtn},"\u63A7\u5236\u53F0",ve.createElement("i",{className:"iconfont icon-zhankai9 ml10 font12"})):ve.createElement("div",{onClick:()=>{_e(0)},className:se.Z.unfoldBtn,style:{borderRadius:"0px 0px 8px 8px",top:0}},"\u63A7\u5236\u53F0",ve.createElement("i",{className:"iconfont icon-shouqi8 ml10 font12"}))),ve.createElement("div",null,ve.createElement("div",{className:se.Z.caseHead},ve.createElement("div",{className:se.Z.dot}),ve.createElement("div",{className:se.Z.text},Ae===1?"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C":"\u8BC4\u6D4B\u7ED3\u679C"),Ae===2&&!De&&typeof Et=="number"&&ve.createElement(ve.Fragment,null,Et===fe.h.OK?ve.createElement("div",{className:se.Z.pass},ve.createElement("i",{className:"iconfont icon-tongguo font14 mr5"}),"\u8BC4\u6D4B\u901A\u8FC7"):ve.createElement("div",{className:se.Z.noPass},ve.createElement("i",{className:"iconfont icon-jinggao-3 font14 mr5"}),ye[Et])),ve.createElement("div",{className:se.Z.btns},Ae===2&&!De&&ve.createElement(ve.Fragment,null,Et!==fe.h.OK&&ve.createElement("div",{onClick:Pn},ve.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236\u9519\u8BEF\u4FE1\u606F"),ve.createElement("div",{onClick:()=>{Ne(st)}},ve.createElement("i",{className:"iconfont icon-danceng-xinjianwenjian"}),"\u663E\u793A\u8BE6\u60C5")),tt.get("type")!=="exercises"&&ve.createElement("div",{title:"\u5C55\u5F00/\u6536\u7F29",onClick:()=>Qn()},ve.createElement("i",{className:`iconfont icon-${Xe?"suoxiao1":"fangda"}`})))),ve.createElement("div",{style:{display:Ae===1?"block":"none"}},Re?ve.createElement(ie.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):ve.createElement("div",{style:{height:ze-34}},ve.createElement("div",{className:se.Z.result},ve.createElement("div",{className:se.Z.left},ve.createElement("div",{className:se.Z.title},ve.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ve.createElement("span",null,"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B")),ve.createElement("div",{className:se.Z.leftNode},ve.createElement(be,{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:Ee?"":Te,onChange:qe}))),ve.createElement("div",{className:se.Z.right},ve.createElement("div",{className:se.Z.title},ve.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),ve.createElement("span",null,"\u4EE3\u7801\u6267\u884C\u7ED3\u679C")),ve.createElement("div",{className:se.Z.node},Ie?Vr:ve.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")))))),ve.createElement("div",{style:{display:Ae===2?"block":"none"}},De?ve.createElement(ie.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):ve.createElement("div",{style:{height:ze-34,display:"flex",flexDirection:"column",overflow:"hidden"}},ve.createElement("div",{ref:Rt,className:se.Z.elseNode},ve.createElement("div",{className:se.Z.nameWrap},ve.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ve.createElement("span",null,"\u5B9E\u9645\u8F93\u5165")),ve.createElement("div",{className:se.Z.scroll},ve.createElement("pre",{className:se.Z.scrollBox,style:$e?{height:Me?"calc(100vh - 20px)":200}:{height:24,overflow:"hidden"}},!Tt&&ve.createElement(Ce,{value:gt}),Tt&&ve.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const Xt=yield fetch(Wt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});ut(yield Xt.text()),setTimeout(()=>{rt(Wt)},200)})},gt)),gt&&ve.createElement("div",{className:se.Z.action},ve.createElement("span",{onClick:()=>Ze(!$e)},$e?"\u6536\u8D77":"\u5C55\u5F00"),tt.get("type")!=="exercises"&&ve.createElement("i",{title:"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",onClick:()=>fr(),className:`iconfont icon-${Me?"suoxiao1":"fangda"}`})))),ve.createElement("div",{className:se.Z.result,style:{flex:1,overflow:"hidden"}},ve.createElement("div",{className:se.Z.left},ve.createElement("div",{className:se.Z.title},ve.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ve.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),ve.createElement("div",{className:se.Z.node,style:{background:"#1B2333",color:"#2ABD8C"}},ve.createElement("pre",null,!Tt&&ve.createElement(Ce,{className:"mb10",value:wt&&le.Base64.decode(wt)||""}),Tt&&ve.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const Xt=yield fetch(pn,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});ut(yield Xt.text()),setTimeout(()=>{rt(pn)},200)})},wt)))),ve.createElement("div",{className:se.Z.right},ve.createElement("div",{className:se.Z.title},ve.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),ve.createElement("span",null,"\u5B9E\u9645\u8F93\u51FA")),ve.createElement("div",{className:se.Z.node,style:{color:Et===fe.h.OK?"#2ABD8C":"#FF2C29"}},ve.createElement("pre",null,(Et===4||Et===5)&&ve.createElement(Ce,{className:"mb10",value:Tn&&le.Base64.decode(Tn)||""}),Et!=4&&Et!=5&&(Tt?ve.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const Xt=yield(0,ee.ZP)(hn,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});try{ut(Xt)}catch(nn){ut("")}setTimeout(()=>{rt(hn)},200)})},St):ve.createElement(Ce,{className:"mb10",value:St&&le.Base64.decode(St)||""})))))))))),ve.createElement("div",{className:ge()(se.Z.footer,je&&se.Z.whiteFooter),style:{zIndex:100}},(Ye==null?void 0:Ye.is_program)&&(Ye==null?void 0:Ye.above_question)&&ve.createElement(pe.ZP,{className:"mr10",type:"primary",onClick:()=>Rr(Ye==null?void 0:Ye.above_question),id:"oj-prev",ghost:!0},"\u4E0A\u4E00\u9898"),(Ye==null?void 0:Ye.is_program)&&(Ye==null?void 0:Ye.under_question)&&ve.createElement(pe.ZP,{className:"mr10",type:"primary",onClick:()=>Rr(Ye==null?void 0:Ye.under_question),id:"oj-next",ghost:!0},"\u4E0B\u4E00\u9898"),ve.createElement(pe.ZP,{style:{border:"1px solid #2ABD8C",color:"#2ABD8C"},ghost:!0,disabled:Re||De,loading:Re,color:"#2ABD8C",className:"mr10",onClick:Ur},"\u8C03\u8BD5\u4EE3\u7801"),tt.get("qtype")!=="8"&&ve.createElement(pe.ZP,{className:se.Z.disabled,type:"primary",icon:ve.createElement("i",{className:"iconfont icon-bofang1"}),loading:De,disabled:Re||De,onClick:()=>{var Xt,nn;if(!(Ye!=null&&Ye.code)||((Xt=Ye==null?void 0:Ye.code)==null?void 0:Xt.trim().length)===0){(nn=E.ZP)==null||nn.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}Be(2),_e(320),Je()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4")),ve.createElement(y.Z,{onClose:Ne,open:Oe}),ve.createElement(te.Z,{close:!0,data:Ge,type:Ge.length?"txt":"",onClose:()=>rt(""),monacoEditor:{value:pt,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}}))}},30546:function(_t,ft,de){"use strict";de.r(ft),de.d(ft,{Types:function(){return An},default:function(){return jn}});var Se=de(67294),xe=de(35973),E=de(55054),pe=de(14446),fe=de(57953),le=de(71577),re=de(83062),se=de(71230),ie=de(88742),ue=de(15835),ae=de(51959),oe=de(60076),ne=de(11320),ee=de(55304),a=de(72565),y=de(36295),x=de(76621),b=de(40471),z=de(21434),te=de(2453),ce={list:"list___IRN6i",copy:"copy___qCn9B"},ge=de(74855),he=de(33170),ve=(Pt,Ut,Jt)=>new Promise((kn,mn)=>{var Qt=$t=>{try{Gt(Jt.next($t))}catch(wn){mn(wn)}},Zt=$t=>{try{Gt(Jt.throw($t))}catch(wn){mn(wn)}},Gt=$t=>$t.done?kn($t.value):Promise.resolve($t.value).then(Qt,Zt);Gt((Jt=Jt.apply(Pt,Ut)).next())}),be=({showResourceCentre:Pt,identifier:Ut})=>{const Jt=(0,xe.useParams)(),[kn,mn]=(0,Se.useState)(null);(0,Se.useEffect)(()=>{Pt&&Qt()},[Pt]);const Qt=()=>ve(void 0,null,function*(){const Zt=yield(0,he.ZP)(`/api/problems/${Ut}/attachment_list.json`,{method:"get"});(Zt==null?void 0:Zt.status)==0&&mn(Zt.data||[])});return Se.createElement("div",{className:"tpi-code-setting"},Se.createElement("h3",null,"\u8D44\u6E90\u4E2D\u5FC3"),!(kn!=null&&kn.length)&&Se.createElement("div",{className:"tc mt50 c-grey-999"},"\u6682\u65E0\u8D44\u6E90\u6570\u636E"),kn==null?void 0:kn.map((Zt,Gt)=>Se.createElement("dl",{className:ce.list,key:Gt},Se.createElement(re.Z,{title:Zt.title},Se.createElement("dt",null,Se.createElement("i",{className:"icon-wenjian4 mr5"}),Zt.title)),Se.createElement("dd",null,Se.createElement(ge.CopyToClipboard,{text:Zt.saved_file_path,onCopy:()=>te.ZP.success("\u590D\u5236\u6210\u529F")},Se.createElement("span",{className:`${ce.copy} current`},"\u70B9\u51FB\u590D\u5236"))))))},ye=de(67294),Pe=Object.defineProperty,we=Object.defineProperties,Le=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,Re=(Pt,Ut,Jt)=>Ut in Pt?Pe(Pt,Ut,{enumerable:!0,configurable:!0,writable:!0,value:Jt}):Pt[Ut]=Jt,De=(Pt,Ut)=>{for(var Jt in Ut||(Ut={}))Te.call(Ut,Jt)&&Re(Pt,Jt,Ut[Jt]);if(Ce)for(var Jt of Ce(Ut))Ee.call(Ut,Jt)&&Re(Pt,Jt,Ut[Jt]);return Pt},ke=(Pt,Ut)=>we(Pt,Le(Ut));const Ie={theme:(0,b.G)("ProgrammingCodeMode","vs-dark"),fontSize:(0,b.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,b.G)("cmTabToSpace",!0),showResourceCentre:!1};var qe=(Pt=>(Pt[Pt.set_font_size=0]="set_font_size",Pt[Pt.set_theme=1]="set_theme",Pt[Pt.on_tab_to_space=2]="on_tab_to_space",Pt[Pt.set_show_editor_setting=3]="set_show_editor_setting",Pt[Pt.set_show_respurce_center=4]="set_show_respurce_center",Pt))(qe||{});function Qe(Pt,Ut){switch(Ut.type){case 3:return ke(De({},Pt),{showEditorSetting:Ut.payload});case 1:return ke(De({},Pt),{theme:Ut.payload});case 0:return ke(De({},Pt),{fontSize:Ut.payload});case 2:return ke(De({},Pt),{tabToSpace:Ut.payload});case 4:return ke(De({},Pt),{showResourceCentre:Ut.payload});default:throw new Error}}var Je=({isLoading:Pt,value:Ut,onChange:Jt,language:kn,onUpdateCode:mn,ActionBarRender:Qt,setIsWhiteTheme:Zt,identifier:Gt})=>{const[$t,wn]=(0,Se.useReducer)(Qe,Ie),{theme:ct,fontSize:lt,showEditorSetting:mt,tabToSpace:Ot,showResourceCentre:It}=$t,kt=(0,Se.useRef)(),un=(0,Se.useRef)();(0,Se.useEffect)(()=>{Zt(ct==="vs")},[ct]);const En={onFontSizeChange:Kn=>{wn({type:0,payload:Kn}),(0,b.t)("cmFontSize",Kn)},tabToSpace:Ot,cmFontSize:lt,className:"oj",cmCodeMode:ct,onTabToSpace:Kn=>{wn({type:2,payload:Kn}),(0,b.t)("cmTabToSpace",Kn)},onCodeModeChange:Kn=>{wn({type:1,payload:Kn}),(0,b.t)("ProgrammingCodeMode",Kn)}};function Bn(){wn({type:3,payload:!1})}function Gn(){wn({type:3,payload:!0})}function zn(){wn({type:4,payload:!1})}function $n(){wn({type:4,payload:!0})}const Wn={value:Ut,language:kn,theme:ct,options:{fontSize:lt,insertSpaces:Ot},onChange:Kn=>{Jt(Kn),un.current=Kn,clearTimeout(kt.current),kt.current=setTimeout(()=>{mn(un.current)},1e4)},onEditBlur:Kn=>{un.current&&mn(un.current)}};return ye.createElement(Se.Fragment,null,Qt(Gn,$n),ye.createElement("div",{style:{flex:1,overflow:"hidden"}},!Pt&&ye.createElement(y.ZP,De({},Wn))),ye.createElement(x.Z,null,ye.createElement(a.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:mt,onClose:Bn},ye.createElement(z.Z,De({},En)))),ye.createElement(x.Z,null,ye.createElement(a.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:It,onClose:zn},ye.createElement(be,{showResourceCentre:It,identifier:Gt}))))},Ye=de(60141),He=de(19575),Fe=de(86276),je={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"},tt=de(9430),it=de(28452),Xe=de(3407),Ke=de(38365),Me=de(27484),Ve=de.n(Me),Ae=de(67294);const{Column:Be}=tt.default;var $e=({submitResult:Pt,submitting:Ut,submitRecords:Jt,page:kn,onPageChange:mn,topicId:Qt})=>{const[Zt]=(0,xe.useSearchParams)(),{records:Gt,records_count:$t}=Jt||{},[wn,ct]=(0,Se.useState)(!1),lt=Zt.get("type")==="1";return Ae.createElement(fe.Z,{spinning:Ut,tip:"\u8BC4\u6D4B\u4E2D...",indicator:Ae.createElement(Xe.Z,{style:{fontSize:24},spin:!0})},(Gt==null?void 0:Gt.length)>0?Ae.createElement(tt.default,{dataSource:Gt,rowKey:"id",pagination:!1},Ae.createElement(Be,{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(mt,Ot)=>Ae.createElement("span",null," ",Ve()(mt).format("YYYY-MM-DD HH:mm:ss"))}),Ae.createElement(Be,{title:"\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"status",key:"status",render:(mt,Ot)=>{var It;return Ae.createElement("span",{className:`${mt===0?"c-green":"c-red"} current`,onClick:()=>{ct(Ot.id)}},(It=Fe.Im[mt])==null?void 0:It.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))}}),Ae.createElement(Be,{title:`\u6267\u884C\u7528\u65F6 (${lt?"MS":"S"})`,dataIndex:"execute_time",key:"execute_time",render:mt=>mt?lt?mt:mt/1e3:""}),Ae.createElement(Be,{title:`\u5185\u5B58\u6D88\u8017\uFF08${lt?"KB":"MB"}\uFF09`,dataIndex:"execute_memory",key:"execute_memory",render:mt=>mt?lt?mt:parseFloat((mt/1024).toFixed(2)):""}),Ae.createElement(Be,{title:"\u8BED\u8A00",dataIndex:"language",key:"language"}),Ae.createElement(Be,{title:"\u64CD\u4F5C",dataIndex:"status",key:"status",render:(mt,Ot)=>Ae.createElement("span",{className:"c-light-primary current",onClick:()=>{ct(Ot.id)}},"\u67E5\u770B")})):Ae.createElement("div",{style:{height:300,width:"100%"}}),Ae.createElement(Ke.Z,{onClose:ct,open:wn}),$t>15?Ae.createElement(it.Z,{className:et.pagination,current:kn,pageSize:15,total:$t,onChange:mn}):null)},Ze=de(26194),ze=de(66309),_e={desc:"desc___iOAgd",info:"info___GPALq",info_tag:"info_tag___CFEn8"},Oe=de(85725),Ne=de(67294);const Ge={1:{name:"\u7B80\u5355",color:"#52c41a"},2:{name:"\u4E2D\u7B49",color:"#faad14"},3:{name:"\u56F0\u96BE",color:"#f5222d"}};var rt=({hack:Pt})=>{const{language:Ut,difficult:Jt,time_limit:kn,description:mn}=Pt,[Qt]=(0,xe.useSearchParams)(),Zt=Ge[Jt];return Ne.createElement(Ne.Fragment,null,Ne.createElement("ul",{className:_e.info},Ne.createElement("li",null,"\u7F16\u7A0B\u8BED\u8A00\xA0\xA0",Ne.createElement("b",{className:_e.info_tag},Ut)),Ne.createElement("li",null,Ne.createElement("span",{className:"ml20"},"\u96BE\u5EA6"),"\xA0\xA0",Ne.createElement(ze.default,{color:Zt==null?void 0:Zt.color},Zt==null?void 0:Zt.name)),Ne.createElement("li",null,Ne.createElement("span",{className:"ml20"},"\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"),"\xA0\xA0",Ne.createElement("span",{style:{color:"#333333"}},kn,"\u79D2"))),Qt.get("qtype")==="8"?Ne.createElement(Oe.Z,{value:mn,showProgramFill:!0,className:_e.desc}):Ne.createElement(Oe.Z,{value:mn,className:_e.desc}))},pt={},ut=de(67294),nt=({hack:Pt,current_user:Ut})=>ut.createElement("div",{className:pt.answer},Pt!=null&&Pt.answer_text?ut.createElement(Oe.Z,{style:{padding:"13px 0"},value:(Pt==null?void 0:Pt.answer_text)||""}):ut.createElement(Ze.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u53C2\u8003\u7B54\u6848~"})),vt=de(33054);function xt(Pt,Ut){return(0,he.U2)(`/problems/${Pt}/comments.json`,{page:Ut,limit:10})}function Rt(Pt){return(0,he.v_)(`/discusses/${Pt}/plus.json`,{container_type:"Discuss",type:1})}function at(Pt,Ut,Jt){return(0,he.v_)(`/problems/${Pt}/comments/reply.json`,{comments:{content:Jt,parent_id:Ut}})}function Et(Pt,Ut){return(0,he.v_)(`/problems/${Pt}/comments.json`,{comments:{content:Ut}})}function st(Pt,Ut,Jt){return(0,he.v_)(`/problems/${Pt}/comments/${Ut}/hidden.json`,Jt)}function gt(Pt,Ut){return(0,he.IV)(`/problems/${Pt}/comments/${Ut}`)}var St=de(93989);function wt({author:Pt}){return Se.createElement("a",{href:`/users/${Pt.login}`,target:"_blank"},Se.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",style:{borderRadius:"50%"},src:`${ne.Z.IMG_SERVER}/images/${Pt.image_url}`,width:"50"}))}function Tt({data:Pt,index:Ut,parentDiscussIndex:Jt,user:kn,onSetActionType:mn}){const{author:Qt,can_delete:Zt,content:Gt,id:$t,time:wn}=Pt;function ct(){mn({id:$t,index:Ut,type:"delete-discuss",parentDiscussIndex:Jt,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}const lt=kn.admin||Zt||Qt.user_id===kn.user_id;return Se.createElement("div",{className:"discuss-item-container second-discuss "},Se.createElement(wt,{author:Qt}),Se.createElement("section",null,Se.createElement("div",{className:"discuss-info"},Se.createElement("a",{href:`/users/${Qt.login}`,target:"_blank"},Qt.name),Se.createElement("span",{className:"grey"},wn),Se.createElement("div",{className:"btn-group",style:{marginBottom:0}},lt?Se.createElement("a",{onClick:ct,title:"\u5220\u9664"},Se.createElement("i",{className:"iconfont icon-shanchu"})):null)),Se.createElement(Oe.Z,{className:"discuss-content",value:Gt})))}var Wt=({user:Pt,data:Ut,index:Jt,onPlusDiscuss:kn,onSetActionType:mn,activeDiscussIndex:Qt,onReplyDiscuss:Zt,onSetActiveDiscussIndex:Gt})=>{const{content:$t,children:wn,hidden:ct,id:lt,praise_count:mt,time:Ot,user_praise:It,can_delete:kt,author:un}=Ut;function En(){Gt(lt)}function Bn(){kn(lt,!It,Jt)}function Gn(){mn({id:lt,index:Jt,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function zn(){mn({id:lt,index:Jt,params:{hidden:ct?"0":"1"},type:"hidden-discuss",message:ct?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const $n=Pt.admin||Pt.user_id===un.user_id;return Se.createElement("div",{className:"discuss-item-container",key:lt},Se.createElement(wt,{author:un}),Se.createElement("section",null,Se.createElement("div",{className:"discuss-info"},Se.createElement("a",{href:`/users/${un.login}`,target:"_blank"}," ",un.name," "),Se.createElement("span",{className:"grey"},Ot)),Se.createElement(Oe.Z,{className:"discuss-content",value:$t}),wn&&wn.length>0?Se.createElement("div",{className:"reply-discuss-container"},wn.map((Wn,Kn)=>Se.createElement(Tt,{key:Wn.id,data:Wn,index:Kn,user:Pt,onSetActionType:mn,parentDiscussIndex:Jt}))):null,Se.createElement("div",{className:"btn-group"},$n?Se.createElement("a",{onClick:zn,title:ct?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},Se.createElement("i",{className:ct?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,kt&&(!wn||wn.length==0)?Se.createElement("a",{onClick:Gn,title:"\u5220\u9664"},Se.createElement("i",{className:"iconfont icon-shanchu"})):null,Se.createElement("a",{onClick:En,title:"\u56DE\u590D"}," ",Se.createElement("i",{className:"iconfont icon-huifu1"})," "),Se.createElement("a",{onClick:Bn,className:It?"c-orange":""},Se.createElement("i",{className:It?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),Se.createElement("span",null,mt||""))),Se.createElement(St.Z,{id:lt,activeDiscussIndex:Qt,onReplyDiscuss:Zt})))},hn=de(71865),pn={"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"},Tn=de(35567),Cn=(Pt,Ut,Jt)=>new Promise((kn,mn)=>{var Qt=$t=>{try{Gt(Jt.next($t))}catch(wn){mn(wn)}},Zt=$t=>{try{Gt(Jt.throw($t))}catch(wn){mn(wn)}},Gt=$t=>$t.done?kn($t.value):Promise.resolve($t.value).then(Qt,Zt);Gt((Jt=Jt.apply(Pt,Ut)).next())}),Vn=({user_praise:Pt,praise_count:Ut,praisePlus:Jt,onCreateDiscuss:kn,discuss_count:mn})=>{const[Qt,Zt]=(0,Se.useState)(!1),[Gt,$t]=(0,Se.useState)("");function wn(Ot){$t(Ot)}function ct(){Zt(!0)}function lt(){Zt(!1)}function mt(){return Cn(this,null,function*(){kn(Gt),$t(""),Zt(!1)})}return Se.createElement("div",{className:`${pn["dis-input-editor-container"]} ${Qt?pn.active:""} `},Se.createElement("div",{className:Qt?`hide ${pn["text-area"]}`:pn["text-area"]},Se.createElement("input",{placeholder:"\u8BF4\u70B9\u4EC0\u4E48",onClick:ct}),Se.createElement("a",null," ",Se.createElement("i",{className:"iconfont icon-huifu1"})," \xA0 \xA0",mn," "),Se.createElement("a",{className:"c-light-black",onClick:Jt,title:Pt?"\u53D6\u6D88\u70B9\u8D5E":"\u70B9\u8D5E"},Se.createElement("i",{className:`mr3 ${Pt?"iconfont icon-dianzan c-orange":"iconfont icon-dianzan-xian"} `}),Ut?Se.createElement("span",null,Ut):"")),Qt?Se.createElement("div",{className:pn["input-mask"],onClick:lt}):null,Se.createElement("div",{className:Qt?pn["md-container"]:`${pn["md-container"]} hide`},Se.createElement(Tn.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:Gt,height:240,onChange:wn}),Se.createElement("div",{className:pn["tip-container"],onClick:lt},Se.createElement("a",{className:pn["btn-send"],onClick:mt}," \u53D1\u9001 "))))},Qn=de(67294),fr=Object.defineProperty,kr=Object.defineProperties,Vr=Object.getOwnPropertyDescriptors,Ur=Object.getOwnPropertySymbols,Rr=Object.prototype.hasOwnProperty,Pn=Object.prototype.propertyIsEnumerable,Xt=(Pt,Ut,Jt)=>Ut in Pt?fr(Pt,Ut,{enumerable:!0,configurable:!0,writable:!0,value:Jt}):Pt[Ut]=Jt,nn=(Pt,Ut)=>{for(var Jt in Ut||(Ut={}))Rr.call(Ut,Jt)&&Xt(Pt,Jt,Ut[Jt]);if(Ur)for(var Jt of Ur(Ut))Pn.call(Ut,Jt)&&Xt(Pt,Jt,Ut[Jt]);return Pt},bn=(Pt,Ut)=>kr(Pt,Vr(Ut)),Mn=(Pt,Ut,Jt)=>new Promise((kn,mn)=>{var Qt=$t=>{try{Gt(Jt.next($t))}catch(wn){mn(wn)}},Zt=$t=>{try{Gt(Jt.throw($t))}catch(wn){mn(wn)}},Gt=$t=>$t.done?kn($t.value):Promise.resolve($t.value).then(Qt,Zt);Gt((Jt=Jt.apply(Pt,Ut)).next())});const tr={loading:!1,page:1,data:[],count:0,actionType:null,activeDiscussIndex:null};var Xn=(Pt=>(Pt[Pt.GET_DISCUSSES=0]="GET_DISCUSSES",Pt[Pt.TOP_OR_DOWN_DISCUSS=1]="TOP_OR_DOWN_DISCUSS",Pt[Pt.ACTIVE_DISCUSS_INDEX=2]="ACTIVE_DISCUSS_INDEX",Pt[Pt.PLUS_DISCUSS=3]="PLUS_DISCUSS",Pt[Pt.SET_ACTION_TYPE=4]="SET_ACTION_TYPE",Pt[Pt.SET_PAGE=5]="SET_PAGE",Pt[Pt.SHOW_DISCUSSES_LOADING=6]="SHOW_DISCUSSES_LOADING",Pt))(Xn||{});function pr(Pt,Ut){switch(Ut.type){case 6:return bn(nn({},Pt),{loading:!0});case 0:return nn(nn({},Pt),Ut.payload);case 1:return nn(nn({},Pt),Ut.payload);case 4:return nn(nn({},Pt),Ut.payload);case 3:return nn(nn({},Pt),Ut.payload);case 5:return bn(nn({},Pt),{page:Ut.payload});case 2:return nn(nn({},Pt),Ut.payload);default:throw new Error}}var hr=({user:Pt,identifier:Ut,hack:Jt,onTriggerPraise:kn,activeIndex:mn})=>{const[Qt,Zt]=(0,Se.useReducer)(pr,tr),{loading:Gt,page:$t,data:wn,count:ct,actionType:lt,activeDiscussIndex:mt}=Qt,Ot=(0,Se.useCallback)(()=>Mn(void 0,null,function*(){Zt({type:6});const Wn=yield xt(Ut,$t),{comments:Kn,disscuss_count:_r}=Wn;Zt({type:0,payload:{data:Kn,count:_r,loading:!1}})}),[$t,Ut]);(0,Se.useEffect)(()=>{mn==="2"&&Ot()},[Ut,$t,mn]);function It(Wn){Zt({type:5,payload:Wn})}function kt(Wn){Zt({type:4,payload:{actionType:Wn}})}function un(Wn){Zt(mt===Wn?{type:2,payload:{activeDiscussIndex:null}}:{type:2,payload:{activeDiscussIndex:Wn}})}function En(Wn,Kn,_r){return Mn(this,null,function*(){try{const Nr=yield Rt(Wn);wn[_r].user_praise=Kn,wn[_r].praise_count=Nr.praise_count,Zt({type:3,payload:{data:[...wn]}})}catch(Nr){console.log(Nr)}})}function Bn(){return Mn(this,null,function*(){const{id:Wn,params:Kn,type:_r,index:Nr,parentDiscussIndex:Lr}=lt;if(_r==="hidden-discuss"&&(yield st(Ut,Wn,Kn),Lr?wn[Lr].children[Nr].hidden=Kn.hidden==1:wn[Nr].hidden=Kn.hidden==1,Zt({type:4,payload:{actionType:null,data:[...wn]}})),_r==="delete-discuss"){if(yield gt(Ut,Wn),Lr||Lr===0){let Wr=wn[Lr].children;for(let Jr=Wr.length-1;Jr>=0;Jr--)if(Wr[Jr].id===Wn){Wr.splice(Jr,1);break}wn[Lr].children=Wr}else for(let Wr=wn.length-1;Wr>=0;Wr--)if(wn[Wr].id===Wn){wn.splice(Wr,1);break}Zt({type:4,payload:{actionType:null,data:[...wn]}})}})}function Gn(){Zt({type:4,payload:{actionType:null}})}function zn(Wn,Kn){return Mn(this,null,function*(){try{yield at(Ut,Wn,Kn),Ot()}catch(_r){console.log(_r)}})}function $n(Wn){return Mn(this,null,function*(){Zt({type:6}),yield Et(Ut,Wn),Ot()})}return Qn.createElement(Qn.Fragment,null,Qn.createElement("div",{className:"discuss-panel"},wn.length===0?Qn.createElement(Ze.Z,null):wn.map((Wn,Kn)=>Qn.createElement(Wt,{onReplyDiscuss:zn,onPlusDiscuss:En,onSetActiveDiscussIndex:un,onSetActionType:kt,data:Wn,index:Kn,user:Pt,activeDiscussIndex:mt})),ct>10?Qn.createElement("div",{className:"pagination-container"},Qn.createElement(it.Z,{showQuickJumper:!0,onChange:It,current:$t,total:ct})):null),Qn.createElement(Vn,{user_praise:Jt.user_praise,praise_count:Jt.praises_count,praisePlus:kn,discuss_count:Jt.comments_count,onCreateDiscuss:$n}),Qn.createElement(x.Z,null,Qn.createElement(pe.default,{centered:!0,title:"\u63D0\u793A",open:!!lt,onOk:Bn,onCancel:Gn},Qn.createElement("p",null,lt?lt.message:"")),Qn.createElement(hn.Z,null)))},Zn=de(11713),Lt=de(69677),Nt=de(79753),Mt={},xn=de(67294),Hn=({hack:Pt,current_user:Ut})=>xn.createElement("div",{className:Mt.answer},Pt!=null&&Pt.analysis?xn.createElement(Oe.Z,{style:{padding:"13px 0"},value:(Pt==null?void 0:Pt.analysis)||""}):xn.createElement(Ze.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u9898\u76EE\u89E3\u6790~"})),Fn={hackSets:"hackSets___tw75g",collapseWrapper:"collapseWrapper___TteKi",panelHeader:"panelHeader___Y_Xjq",rateInput:"rateInput___y1qUi",open:"open___xrixP",close:"close___jb6D2",uploadTableWrapper:"uploadTableWrapper___U9Tz_"},wr=de(47221),dr=de(15746),Sr=de(22150),jr=de(31795),ho=de(32259),Sn=de(67294);const{TextArea:Dr}=Lt.default,{Panel:Ft}=wr.default;var dn=({data:Pt,hack:Ut})=>(console.log(Pt,Ut,"data"),Ut!=null&&Ut.is_file?Sn.createElement(ho.Y2,{disabled:!0,className:Fn.uploadTableWrapper,showScore:!Ut.test_set_score,data:Pt,isProgramHomework:!0}):Sn.createElement("div",{className:Fn.hackSets},Pt==null?void 0:Pt.map((Jt,kn)=>Sn.createElement(wr.default,{accordion:!0,bordered:!1,key:kn,defaultActiveKey:kn===0&&Jt.id,className:Fn.collapseWrapper,expandIcon:({isActive:mn})=>Sn.createElement("i",{className:`iconfont icon-weizhankai ${mn?Fn.open:Fn.close}`,style:{fontSize:14,transition:"all .2s"}})},Sn.createElement(Ft,{key:Jt.id,header:Sn.createElement(se.Z,{align:"middle",justify:"space-between",wrap:!1},Sn.createElement(dr.Z,{className:Fn.panelHeader},Sn.createElement("span",null,"\u6D4B\u8BD5\u7528\u4F8B",kn+1)),Sn.createElement(dr.Z,{flex:1},Sn.createElement(se.Z,{align:"middle",justify:"end",wrap:!1},!(Ut!=null&&Ut.test_set_score)&&Sn.createElement(dr.Z,{className:Fn.rateInput},Sn.createElement("span",{className:"mr20"},"\u8BC4\u5206\u5360\u6BD4"),Sn.createElement("div",null,Sn.createElement(Sr.default.Item,{noStyle:!0},Sn.createElement(jr.Z,{value:Jt==null?void 0:Jt.score,className:Fn.baseFormItem,min:0,max:100,disabled:!0}))),Sn.createElement("span",{className:"ml10"},"%")))))},Sn.createElement(Sr.default.Item,{label:"\u8F93\u5165",labelCol:{span:24}},Sn.createElement(Dr,{readOnly:!0,value:Jt==null?void 0:Jt.input,rows:4})),Sn.createElement(Sr.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24}},Sn.createElement(Dr,{readOnly:!0,value:Jt==null?void 0:Jt.output,rows:4}))))))),rn={tabs:"tabs___p2jIb",tabWarp:"tabWarp___mt05L",tab:"tab___IYGdQ",active:"active___fQMlP",content:"content___GWVJY"},fn=de(67294),ln=(0,Se.forwardRef)(({data:Pt=[]},Ut)=>{var Jt;const[kn,mn]=(0,Se.useState)(),Qt=Pt.filter(Gt=>Gt.show);(0,Se.useEffect)(()=>{Qt.length&&mn(Qt[0].id)},[Pt==null?void 0:Pt.length]);const Zt=((Jt=Qt.find(Gt=>Gt.id===kn))==null?void 0:Jt.element)||null;return(0,Se.useImperativeHandle)(Ut,()=>({setActiveTab:Gt=>mn(Gt)})),fn.createElement("div",{className:rn.tabs},fn.createElement("div",{className:rn.tabWarp},Qt.map(Gt=>fn.createElement("div",{onClick:()=>mn(Gt.id),className:`${rn.tab} ${Gt.id===kn?rn.active:""}`,key:Gt.id},Gt.name))),fn.createElement("div",{className:rn.content},Zt))}),Vt=de(67294),vn=Object.defineProperty,br=Object.defineProperties,cr=Object.getOwnPropertyDescriptors,Or=Object.getOwnPropertySymbols,zr=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable,ro=(Pt,Ut,Jt)=>Ut in Pt?vn(Pt,Ut,{enumerable:!0,configurable:!0,writable:!0,value:Jt}):Pt[Ut]=Jt,qr=(Pt,Ut)=>{for(var Jt in Ut||(Ut={}))zr.call(Ut,Jt)&&ro(Pt,Jt,Ut[Jt]);if(Or)for(var Jt of Or(Ut))co.call(Ut,Jt)&&ro(Pt,Jt,Ut[Jt]);return Pt},Ln=(Pt,Ut)=>br(Pt,cr(Ut)),io=(Pt,Ut,Jt)=>new Promise((kn,mn)=>{var Qt=$t=>{try{Gt(Jt.next($t))}catch(wn){mn(wn)}},Zt=$t=>{try{Gt(Jt.throw($t))}catch(wn){mn(wn)}},Gt=$t=>$t.done?kn($t.value):Promise.resolve($t.value).then(Qt,Zt);Gt((Jt=Jt.apply(Pt,Ut)).next())});const Uo={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},Un={1:"#2fa34f",2:"#0152d9",3:"#fa6400"};var or=({hack:Pt,onTriggerPraise:Ut,topicId:Jt,page:kn,onPageChange:mn,user:Qt,current_user:Zt,submitRecords:Gt,submitting:$t,submitResult:wn,setActiveIndex:ct,hack_sets:lt})=>{var mt,Ot;const[It]=(0,xe.useSearchParams)(),[kt,un]=(0,Se.useState)("0"),En=(0,xe.useLocation)(),[Bn,Gn]=(0,Se.useState)(!1),[zn,$n]=(0,Se.useState)(null),[Wn,Kn]=(0,Se.useState)([]),[_r,Nr]=(0,Se.useState)([]),[Lr,Wr]=(0,Se.useState)({page:1,limit:10}),Jr=(0,Se.useRef)(null),so=(0,Se.useRef)(null);console.log(Qt,"user");let[gr,oo]=(0,Se.useState)(Ln(qr({},(0,xe.useParams)()),{page:1,per_page:20,name:""}));(0,Se.useEffect)(()=>{so.current&&(Pt==null?void 0:Pt.is_close_tips)===!1&&zn===null&&$n(!0)},[so.current,Pt==null?void 0:Pt.is_close_tips,zn]);function wo(){return io(this,null,function*(){yield(0,he.ZP)("/api/users/close_tips.json",{method:"post"})})}(0,Se.useEffect)(()=>{ct(kt)},[kt]);function Do(Hr){return io(this,null,function*(){let xo=Hr.target.id;if(xo==="1"){let Oo=yield(0,he.ZP)(`/api/myproblems/${gr.id}/redo_logs.json`,{method:"get",params:qr({},Lr)});(Oo==null?void 0:Oo.status)===0&&Nr(Oo==null?void 0:Oo.data)}un(xo)})}(0,Se.useEffect)(()=>vt.Z.subscribe("to-commit-info",()=>{un("1"),Jr.current&&Jr.current.setActiveTab("1")}),[]),(0,Se.useEffect)(()=>vt.Z.subscribe("to-reset-info",()=>{Do({target:{id:"1"}}),Jr.current&&Jr.current.setActiveTab("2")}),[]);function uo(){un("2")}function So(){return io(this,null,function*(){let Hr=yield(0,he.ZP)("/api/problems/my_hack_list.json",{method:"get",params:qr({identifier:gr==null?void 0:gr.id},gr)});Kn(Hr)})}const ir=[{title:null,description:Vt.createElement("div",null,Vt.createElement("b",{onClick:()=>{$n(!1),wo(),Gn(!0),So()},className:"c-light-primary font16 current"},"\u67E5\u770B\u9898\u76EE\u5217\u8868\u5165\u53E3"),Vt.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"),Vt.createElement(le.ZP,{onClick:()=>{$n(!1),wo()},style:{padding:"2px 29px",height:30,float:"right"},type:"primary"},"\u77E5\u9053\u4E86")),target:()=>so.current}];return Vt.createElement("div",{className:je["left-panel"]},Vt.createElement("ul",{className:`${je["s-navs"]} ${je["bg-white"]} ${je.b1}`},(Pt==null?void 0:Pt.is_program)&&!It.get("pageId")&&Vt.createElement(re.Z,{title:"\u9898\u76EE\u5217\u8868"},Vt.createElement("div",{onClick:()=>{So(),Gn(!0)},className:je.btns,ref:so,style:zn?{pointerEvents:"none"}:{}},Vt.createElement("i",{className:"iconfont icon-yidongdaomulu1 font14 c-white"}))),Vt.createElement("li",{style:{marginLeft:20}},Vt.createElement("a",{className:kt==="0"?je.active:"",id:"0",onClick:Do},"\u9898\u76EE\u63CF\u8FF0")),Vt.createElement("li",null,Vt.createElement("a",{className:kt==="1"?je.active:"",id:"1",onClick:Do},"\u64CD\u4F5C\u8BB0\u5F55")),(It.get("type")!=="exercises"&&(Pt==null?void 0:Pt.answer_text_show)||It.get("type")!=="exercises"&&(Pt==null?void 0:Pt.analysis_show))&&Vt.createElement("li",null,Vt.createElement("a",{className:kt==="4"?je.active:"",id:"4",onClick:Do},"\u89E3\u7B54\u53C2\u8003")),It.get("type")!=="exercises"&&Vt.createElement("li",null,Vt.createElement("a",{className:kt==="2"?je.active:"",id:"2",onClick:Do},"\u8BC4\u8BBA")),!!(lt!=null&<.length)&&It.get("type")!=="exercises"&&It.get("type")!=="1"&&Vt.createElement("li",null,Vt.createElement("a",{className:kt==="5"?je.active:"",id:"5",onClick:Do},"\u6D4B\u8BD5\u7528\u4F8B"))),Vt.createElement("div",{className:`${je["tab-panel-body"]} ${kt==="0"?"":"hide"}`,style:{borderRight:"1px #dddddd solid",padding:0}},Vt.createElement(rt,{hack:Pt,onTriggerPraise:Ut,toDiscuss:uo})),Vt.createElement("div",{style:{padding:"12px"},className:`${je["tab-panel-body"]} ${kt==="1"?"":"hide"}`},Vt.createElement(ln,{ref:Jr,data:[{id:"1",show:It.get("qtype")!=="8",name:"\u63D0\u4EA4\u8BB0\u5F55",element:Vt.createElement(Vt.Fragment,null,Gt!=null&&Gt.records_count||$t?Vt.createElement($e,{page:kn,onPageChange:mn,topicId:Jt,submitting:$t,key:(wn==null?void 0:wn.id)||1,submitRecords:Gt,submitResult:wn}):Vt.createElement(Ze.Z,null))},{id:"2",show:It.get("type")==="exercises"||(Pt==null?void 0:Pt.homework_common_id),name:"\u91CD\u7F6E\u8BB0\u5F55",element:Vt.createElement(Vt.Fragment,null,Vt.createElement(tt.default,{pagination:!1,dataSource:_r==null?void 0:_r.list,columns:[{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(Hr,xo,Oo)=>Ve()(Hr).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(Hr,xo,Oo)=>{var bo;return(bo=[{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(Eo=>Eo.id===Hr))==null?void 0:bo.name}}]}),Vt.createElement(it.Z,{style:{marginTop:10},current:Lr.page,total:_r==null?void 0:_r.count,hideOnSinglePage:!0,onChange:Hr=>io(void 0,null,function*(){Lr.page=Hr,Wr(Lr);let xo=yield(0,he.ZP)(`/api/myproblems/${gr.id}/redo_logs.json`,{method:"get",params:Ln(qr({},Lr),{courseId:gr.courseId})});(xo==null?void 0:xo.status)===0&&Nr(xo==null?void 0:xo.data)})}))}]})),Vt.createElement("div",{style:{padding:"12px"},className:`${je["tab-panel-body"]} ${kt==="4"?"":"hide"}`},Vt.createElement(ln,{data:[{id:"1",show:It.get("type")!=="exercises"&&(Pt==null?void 0:Pt.answer_text_show),name:"\u7B54\u6848",element:Vt.createElement(Vt.Fragment,null,Vt.createElement(nt,{hack:Pt,current_user:Zt}))},{id:"2",show:It.get("type")!=="exercises"&&(Pt==null?void 0:Pt.analysis_show),name:"\u89E3\u6790",element:Vt.createElement(Vt.Fragment,null,Vt.createElement(Hn,{hack:Pt,current_user:Zt}))}]})),Vt.createElement("div",{className:`${je["tab-panel-body"]} ${kt==="2"?"":"hide"}`,style:{padding:0}},Vt.createElement(hr,{user:Qt,activeIndex:kt,identifier:Pt.identifier,hack:Pt,onTriggerPraise:Ut})),Vt.createElement("div",{className:`${je["tab-panel-body"]} ${kt==="5"?"":"hide"}`,style:{padding:12}},Vt.createElement(dn,{data:lt||[],hack:Pt})),Vt.createElement(a.Z,{rootClassName:je.drawer,closable:!1,title:null,bodyStyle:{background:"#1B2333",padding:25,display:"flex",flexDirection:"column"},footer:null,width:500,placement:"left",onClose:()=>Gn(!1),open:Bn},Vt.createElement(se.Z,null,Vt.createElement("b",{style:{color:"#008CFF",fontWeight:500,lineHeight:"19px"},className:"font16"},"\u9898\u76EE\u5217\u8868"),Vt.createElement("span",{style:{color:"#FA8D30",fontWeight:500},className:"font12 ml10"},"\u5171",Wn==null?void 0:Wn.total_count,"\u9898\xA0[\xA0",Wn==null?void 0:Wn.total_score,"\u5206\xA0]\xA0"),!(Qt!=null&&Qt.hack_manager)&&Vt.createElement("span",{style:{color:"#FA8D30",fontWeight:500,marginLeft:"auto"},className:"font12"},"\u6211\u7684\u5F97\u5206\xA0:\xA0",Wn==null?void 0:Wn.work_score,"\u5206")),Vt.createElement("div",{style:{height:1,background:"#1C313F",marginTop:12}}),Vt.createElement(se.Z,{align:"middle",className:"mt10 mb10"},!(Qt!=null&&Qt.hack_manager)&&Vt.createElement(Zn.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u901A\u8FC7\u60C5\u51B5",onChange:Hr=>{gr.page=1,gr.finish_status=Hr,oo(qr({},gr)),So()}},Vt.createElement(Zn.default.Option,{value:""},"\u5168\u90E8"),Vt.createElement(Zn.default.Option,{value:0},"\u672A\u5F00\u59CB"),Vt.createElement(Zn.default.Option,{value:1},"\u8FDB\u884C\u4E2D"),Vt.createElement(Zn.default.Option,{value:2},"\u5DF2\u5B8C\u6210")),Vt.createElement(Zn.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u9898\u76EE\u96BE\u5EA6",onChange:Hr=>{gr.page=1,gr.difficult=Hr||null,oo(qr({},gr)),So()}},Vt.createElement(Zn.default.Option,{value:0},"\u5168\u90E8"),Vt.createElement(Zn.default.Option,{value:1},"\u7B80\u5355"),Vt.createElement(Zn.default.Option,{value:2},"\u9002\u4E2D"),Vt.createElement(Zn.default.Option,{value:3},"\u56F0\u96BE")),Vt.createElement(Lt.default.Search,{size:"large",onSearch:Hr=>{gr.name=Hr,gr.page=1,oo(qr({},gr)),So()},style:{flex:1},placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0\u8FDB\u884C\u641C\u7D22"})),Vt.createElement("div",{className:je.list,style:{height:36,background:"#3D445C"}},!(Qt!=null&&Qt.hack_manager)&&Vt.createElement("span",null,"\u72B6\u6001"),Vt.createElement("span",null,"\u5E8F\u53F7"),Vt.createElement("span",{style:{flex:1}},"\u9898\u76EE\u540D\u79F0"),Vt.createElement("span",{style:{flexBasis:48,paddingRight:0}},"\u96BE\u5EA6")),Vt.createElement("div",{style:{overflow:"auto",flex:1}},(mt=Wn==null?void 0:Wn.data)!=null&&mt.length?(Ot=Wn==null?void 0:Wn.data)==null?void 0:Ot.map((Hr,xo)=>Vt.createElement("div",{onClick:()=>io(void 0,null,function*(){let Oo=yield(0,he.ZP)(`/api/problems/${Hr==null?void 0:Hr.identifier}/start.json`,{method:"get",params:{hack_user_id:Qt==null?void 0:Qt.user_id}});Oo&&(window.location.href=`/myproblems/${Oo==null?void 0:Oo.identifier}${window.location.search}`)}),className:`${je.list} ${Hr!=null&&Hr.checked?je.active:""}`},!(Qt!=null&&Qt.hack_manager)&&Vt.createElement(Vt.Fragment,null,!(Hr!=null&&Hr.opened)&&Vt.createElement("span",{style:{color:"#E02020"}},"\u672A\u5F00\u59CB"),(Hr==null?void 0:Hr.opened)&&!(Hr!=null&&Hr.passed)&&Vt.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),(Hr==null?void 0:Hr.opened)&&(Hr==null?void 0:Hr.passed)&&Vt.createElement("span",{style:{color:"#24C074"}},"\u5DF2\u5B8C\u6210")),Vt.createElement("span",null,(gr.page-1)*20+(xo+1)),Vt.createElement("span",{style:{flex:1},title:Hr.name},`[${Hr==null?void 0:Hr.score}\u5206]`,"\xA0",Hr.name),Vt.createElement("span",{style:{flexBasis:48,paddingRight:0}},Uo[Hr.difficult]))):Vt.createElement(Ze.Z,null)),Vt.createElement(it.Z,{current:gr.page,className:"mt20",hideOnSinglePage:!0,total:Wn==null?void 0:Wn.count,pageSize:gr.per_page,onChange:(Hr,xo)=>{gr.page=Hr,gr.per_page=xo,So()}})),Vt.createElement(Nt.Z,{rootClassName:je.tour,closeIcon:!1,open:!!zn,steps:ir,gap:{offset:3,radius:2}}))},Er=de(62522),Yn=de(53814),yo=de(88508),Mr=de(97917),To=de(43462),Mo=de(93137),Po=de(11579),Dt=de(94184),At=de.n(Dt),on=de(96325),yn=de(22707),On=de(8861),tn=de(67294),mr=Object.defineProperty,Ar=Object.defineProperties,Kr=Object.getOwnPropertyDescriptors,to=Object.getOwnPropertySymbols,Yr=Object.prototype.hasOwnProperty,po=Object.prototype.propertyIsEnumerable,ur=(Pt,Ut,Jt)=>Ut in Pt?mr(Pt,Ut,{enumerable:!0,configurable:!0,writable:!0,value:Jt}):Pt[Ut]=Jt,Ct=(Pt,Ut)=>{for(var Jt in Ut||(Ut={}))Yr.call(Ut,Jt)&&ur(Pt,Jt,Ut[Jt]);if(to)for(var Jt of to(Ut))po.call(Ut,Jt)&&ur(Pt,Jt,Ut[Jt]);return Pt},Bt=(Pt,Ut)=>Ar(Pt,Kr(Ut)),sn=(Pt,Ut)=>{var Jt={};for(var kn in Pt)Yr.call(Pt,kn)&&Ut.indexOf(kn)<0&&(Jt[kn]=Pt[kn]);if(Pt!=null&&to)for(var kn of to(Pt))Ut.indexOf(kn)<0&&po.call(Pt,kn)&&(Jt[kn]=Pt[kn]);return Jt},ht=(Pt,Ut,Jt)=>new Promise((kn,mn)=>{var Qt=$t=>{try{Gt(Jt.next($t))}catch(wn){mn(wn)}},Zt=$t=>{try{Gt(Jt.throw($t))}catch(wn){mn(wn)}},Gt=$t=>$t.done?kn($t.value):Promise.resolve($t.value).then(Qt,Zt);Gt((Jt=Jt.apply(Pt,Ut)).next())});const{Countdown:cn}=E.default,_n={Java:"java",C:"c",Python:"py","C++":"c"};var An=(Pt=>(Pt[Pt.SET_LOADING=0]="SET_LOADING",Pt[Pt.GET_DATA=1]="GET_DATA",Pt[Pt.GET_SUBMIT_RECORDS=2]="GET_SUBMIT_RECORDS",Pt[Pt.SET_DATA=3]="SET_DATA",Pt[Pt.SET_DEBUGING=4]="SET_DEBUGING",Pt[Pt.SET_SUBMITING=5]="SET_SUBMITING",Pt[Pt.SET_EXECUTE_MESSAGE=6]="SET_EXECUTE_MESSAGE",Pt[Pt.SET_EXECUTE_RESULT=7]="SET_EXECUTE_RESULT",Pt[Pt.SET_SUBMIT_RESULT=8]="SET_SUBMIT_RESULT",Pt[Pt.SET_SHOW_NOTE=9]="SET_SHOW_NOTE",Pt[Pt.SET_PAGE=10]="SET_PAGE",Pt))(An||{});function Kt(){return new Date().getTime()}const Yt={loading:!0,data:void 0,showNote:!1,debugResult:void 0,submitResult:void 0,debuging:!1,submitting:!1,submitRecords:void 0,submitRecordPage:1,executingMessage:""};function qt(Pt,Ut){switch(Ut.type){case 1:return Ct(Ct({},Pt),Ut.payload);case 3:return Bt(Ct({},Pt),{data:Ut.payload});case 0:return Bt(Ct({},Pt),{loading:Ut.payload});case 9:return Bt(Ct({},Pt),{showNote:Ut.payload});case 4:return Bt(Ct({},Pt),{debuging:Ut.payload});case 5:return Bt(Ct({},Pt),{submitting:Ut.payload});case 2:return Bt(Ct({},Pt),{submitRecords:Ut.payload});case 10:return Bt(Ct({},Pt),{submitRecordPage:Ut.payload});case 6:return Bt(Ct({},Pt),{executingMessage:Ut.payload});case 7:return Ct(Ct({},Pt),Ut.payload);case 8:return Ct(Ct({},Pt),Ut.payload);default:throw new Error}}var jn=({children:Pt})=>{var Ut,Jt,kn,mn,Qt;const[Zt,Gt]=(0,Se.useReducer)(qt,Yt),{id:$t}=(0,xe.useParams)(),wn=(0,xe.useLocation)(),[ct]=(0,xe.useSearchParams)(),{loading:lt,data:mt,debugResult:Ot,submitResult:It,submitRecords:kt,submitRecordPage:un,showNote:En,debuging:Bn,submitting:Gn,executingMessage:zn}=Zt,[$n,Wn]=(0,Se.useState)("#37AD83"),[Kn,_r]=(0,Se.useState)(null),[Nr,Lr]=(0,Se.useState)({}),[Wr,Jr]=(0,Se.useState)(!0),[so,gr]=(0,Se.useState)(!1),[oo,wo]=(0,Se.useState)(!1),Do=(0,Se.useRef)(null),uo=(0,Se.useRef)(0),So=mt==null?void 0:mt.user,ir=mt==null?void 0:mt.hack,[Hr,xo]=(0,Se.useState)(!1),Oo=(0,Se.useRef)(1),bo=(0,Se.useRef)(!1);(0,on.y)(ct.get("type")==="exercises");const{setOpenDisableCopyAndPaste:Eo}=(0,on.X)(),[Bo,Jo]=(0,Se.useState)(""),oa=(0,To._)(Nr);(0,Se.useEffect)(()=>{function Cr(){return ht(this,null,function*(){var no,Xo,ha,Aa,$a;Jr(!0);const _a=yield(0,ie.fu)($t,{exercise_id:ct.get("exercisesId")});if(setTimeout(()=>{Jr(!1)},800),_a.status!==401){try{_a.hack.code=He.Base64.decode(_a.hack.code)}catch(ta){console.log(ta)}_a.hack=Bt(Ct({},_a.hack),{is_program:ct.get("type")==="1"}),Gt({type:1,payload:{loading:!1,data:_a}})}if(ct.get("type")==="exercises"){if(window.self===window.top){window.top.location.href="/";return}let ta;ct.get("coursesId")=="coursesId"?ta=yield(0,ue._F)({categoryId:ct.get("exercisesId"),login:ct.get("login")}):ta=yield(0,ue._B)({categoryId:ct.get("exercisesId"),login:ct.get("login")}),Lr(Ct({},ta)),Eo((no=ta==null?void 0:ta.exercise)==null?void 0:no.forbid_copy),typeof((Xo=ta==null?void 0:ta.exercise)==null?void 0:Xo.left_time)=="number"&&(_r(Date.now()+((ha=ta==null?void 0:ta.exercise)==null?void 0:ha.left_time)*1e3),setTimeout(()=>{Wn("red")},(((Aa=ta==null?void 0:ta.exercise)==null?void 0:Aa.left_time)-300>0?(($a=ta==null?void 0:ta.exercise)==null?void 0:$a.left_time)-300:0)*1e3))}})}$t&&Cr()},[$t]),(0,Se.useEffect)(()=>{var Cr;return ct.get("type")==="exercises"&&((Cr=Nr==null?void 0:Nr.exercise)!=null&&Cr.screen_open)&&(window.removeEventListener("blur",Vo,!1),Mo.U.forEach((no,Xo)=>{window.addEventListener(no,Vo,!1)}),window.addEventListener("blur",Vo,!1),window.focus()),()=>{document.removeEventListener((0,ae.gH)(),Vo)}},[Nr]),(0,Se.useEffect)(()=>{Bo==="1"&&$t&&ir!=null&&ir.language&&la()},[$t,un,ir==null?void 0:ir.language,Bo]),(0,Se.useEffect)(()=>(ir!=null&&ir.is_program&&(uo.current=0,Do.current=setInterval(()=>{Ro()},15e3)),()=>{clearInterval(Do.current)}),[ir==null?void 0:ir.is_program]);const Ro=()=>ht(void 0,null,function*(){let Cr=yield(0,he.ZP)(`/api/myproblems/${$t}/save_long_time.json`,{method:"get",params:{answer_long_time:uo.current}})}),Vo=()=>{bo.current||(0,ae.BU)(),window.parent.postMessage("backExercise","*")};function la(){return ht(this,null,function*(){try{const Cr=yield(0,ie.zO)($t,{limit:15,page:un,language:ir==null?void 0:ir.language});Gt({type:2,payload:Cr})}catch(Cr){console.log(Cr)}})}function pa(Cr){Gt({type:10,payload:Cr})}function aa(Cr){return ht(this,null,function*(){var no;let Xo;(ct.get("ip_limit")==="inner"||ct.get("ip_bind_type")==="true")&&(Xo=yield(0,Yn.y)({ip_limit:ct.get("ip_limit"),ip_bind:ct.get("ip_bind_type")==="true"}));const ha=yield(0,ie.n4)($t,{code:He.Base64.encode(Cr||ir.code),language:ir==null?void 0:ir.language,exercise_id:ct.get("exercisesId"),question_id:ct.get("questionId"),ip:Xo});return ha.status===-5&&(0,xe.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:Bt(Ct({errorMessage:ha==null?void 0:ha.message},(Nr==null?void 0:Nr.exercise)||{}),{exercise_user_id:(no=Nr==null?void 0:Nr.exercise)==null?void 0:no.exercise_user_id,id:ct.get("exercisesId")})}}),ha})}function Wo(){return ht(this,null,function*(){if(Oo.current=2,!Gn){Gt({type:5,payload:!0});try{vt.Z.publish("to-commit-info");const Cr=yield aa();if(console.log(Cr,1),Cr.status===0){let _a=function(){return ht(this,null,function*(){const{status:ta,data:Va}=yield(0,ie.rX)($t,"submit"),Wa=Kt()-$a>(ha*Aa+30)*1e3;if(ta!==0&&!Wa&&setTimeout(_a,1e3),Wa&&ta!==0){pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),Gt({type:5,payload:!1});return}if(ta===0){Va.status===2&&pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),(Va==null?void 0:Va.status)===0&&ct.get("type")==="1"&&wo(!0);const Xa=yield(0,ie.zO)($t,{limit:15,page:un,language:ir==null?void 0:ir.language});Gt({type:8,payload:Bt(Ct({},Zt),{submitResult:Va,submitting:!1,submitRecords:Xa})})}})},no={};ct.get("type")==="exercises"&&(no.extras={exercise_id:ct.get("exercisesId"),question_id:ct.get("questionId")},(ct.get("ip_limit")==="inner"||ct.get("ip_bind_type")==="true")&&(no.extras.ip=yield(0,Yn.y)({ip_limit:ct.get("ip_limit"),ip_bind:ct.get("ip_bind_type")==="true"})));const Xo=yield(0,ie.bM)($t,no);if(Xo.status===-1&&ct.get("exercisesId")){window.parent.location.href=`/classrooms/${ct.get("coursesId")}/exercise/${ct.get("exercisesId")}/detail`;return}const{time_limit:ha,test_case_size:Aa}=ir,$a=Kt();Xo.status>-1?_a():Gt({type:5,payload:!1})}else Gt({type:5,payload:!1})}catch(Cr){console.log(Cr),Gt({type:5,payload:!1})}xo(!1)}})}function ma(){return ht(this,null,function*(){Oo.current=1,Zt.debuging=!0,Gt({type:4,payload:!0});try{if((yield aa()).status===0){let $a=function(){return ht(this,null,function*(){const{status:_a,message:ta,data:Va}=yield(0,ie.rX)($t,"debug"),Wa=Kt()-Aa>(no+30)*1e3;if(_a!==0&&!Wa&&(Gt({type:6,payload:ta}),setTimeout($a,1e3)),Wa){pe.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),Gt({type:4,payload:!1}),Gt({type:7,payload:Bt(Ct({},Zt),{debugResult:{status:2},debuging:!1})});return}_a===0&&(Va.status===2&&pe.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),Gt({type:4,payload:!1}),Gt({type:7,payload:Bt(Ct({},Zt),{debugResult:Va,debuging:!1})}))})};const{time_limit:no}=ir;let Xo={input:encodeURIComponent(mt.test_case.input)};ct.get("type")==="exercises"&&(Xo.exercise_id=ct.get("exercisesId"));const ha=yield(0,ie.MU)($t,Xo);if(ha.status===-1&&ct.get("exercisesId")){window.parent.location.href=`/classrooms/${ct.get("coursesId")}/exercise/${ct.get("exercisesId")}/detail`;return}const Aa=Kt();(ha==null?void 0:ha.status)>-1?$a():Gt({type:4,payload:!1})}else Gt({type:4,payload:!1})}catch(Cr){console.log(Cr)}finally{}})}function Go(Cr,no){const Xo=no?{modify_code:!1}:{};Gt({type:3,payload:Bt(Ct({},mt),{hack:Ct(Bt(Ct({},ir),{code:Cr}),Xo)})}),xo(!0)}const ea=Cr=>ht(void 0,null,function*(){let no=yield(0,he.ZP)(`/api/problems/${ir==null?void 0:ir.identifier}/start.json`,{method:"get",params:{language:Cr==="C++"||Cr==="c++"?encodeURIComponent(Cr):Cr,hack_user_id:So==null?void 0:So.user_id}});no.status!==-1&&xe.history.replace(`/myproblems/${no==null?void 0:no.identifier}${window.location.search}`)});function xa(Cr){let no=Cr.target.value;Gt({type:3,payload:Bt(Ct({},mt),{test_case:{input:no}})})}function Oa(){return ht(this,null,function*(){try{let Cr={};ct.get("type")==="exercises"?Cr.exercise_id=ct.get("exercisesId"):ir!=null&&ir.homework_common_id&&(Cr.homework_common_id=ir==null?void 0:ir.homework_common_id);const no=yield(0,ie.H7)($t,Ct({},Cr));no.status===401||(Go(He.Base64.decode(no.code)),(ct.get("type")==="exercises"||ir!=null&&ir.homework_common_id)&&vt.Z.publish("to-reset-info"))}catch(Cr){console.log(Cr)}})}function Qo(){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:tn.createElement("p",null,"\u521D\u59CB\u4EE3\u7801\u6709\u4FEE\u6539\uFF0C\u66F4\u65B0\u540E\u5C06\u8986\u76D6\u73B0\u6709\u4EE3\u7801\u54E6~ ",tn.createElement("br",null),"\u8BF7\u5C06\u60A8\u7F16\u8F91\u7684\u4EE3\u7801\u4FDD\u5B58\u81F3\u672C\u5730\uFF0C\u4EE5\u9632\u4E22\u5931"),onOk(){return ht(this,null,function*(){const Cr=yield(0,ie.fi)($t);Cr.status===401||Go(He.Base64.decode(Cr.code),!0)})}})}function qo(){Gt({type:9,payload:!0})}function ba(){Gt({type:9,payload:!1})}function Za(Cr){return ht(this,null,function*(){yield(0,ie.MK)($t,Cr),Gt({type:1,payload:{showNote:!1,data:Bt(Ct({},mt),{hack:Bt(Ct({},ir),{notes:Cr.notes})})}})})}const ja={hack:ir,isLoading:Wr,input:(Ut=mt==null?void 0:mt.test_case)==null?void 0:Ut.input,is_file:(Jt=mt==null?void 0:mt.test_case)==null?void 0:Jt.is_file,identifier:ir==null?void 0:ir.identifier,attachments_count:mt==null?void 0:mt.attachments_count,language:ir==null?void 0:ir.language,code:ir==null?void 0:ir.code,title:"main."+_n[ir==null?void 0:ir.language],modify_code:ir==null?void 0:ir.modify_code,notes:ir==null?void 0:ir.notes,debugResult:Ot,debuging:Bn,submitting:Gn,submitResult:It,executingMessage:zn,onCancelNote:ba,onAddNote:Za,showNote:En,user:So,onShowNote:qo,onSubmitCode:Wo,onChangeCode:Go,onChangeInput:xa,onDebugCode:ma,onResetCode:Oa,onSyncCode:Qo,onUpdateCode:aa,onChangeLanguage:ea,isWhiteTheme:so,setIsWhiteTheme:gr,topDispatch:Gt};function Fa(){return ht(this,null,function*(){const{praise_count:Cr}=yield(0,ie.vl)(ir.id,{container_type:"Hack",type:1});let no=Bt(Ct({},mt),{hack:Bt(Ct({},ir),{praises_count:Cr,user_praise:!ir.user_praise})});Gt({type:3,payload:no})})}const Ga={topicId:$t,submitResult:It,submitRecords:kt,submitting:Gn,page:un,onPageChange:pa,hack:ir,user:mt==null?void 0:mt.user,hack_sets:mt==null?void 0:mt.hack_sets,current_user:mt==null?void 0:mt.current_user,onTriggerPraise:Fa,setActiveIndex:Jo};return console.log(Nr),tn.createElement(tn.Fragment,null,tn.createElement(fe.Z,{spinning:lt,delay:500},mt?tn.createElement(tn.Fragment,null,tn.createElement("header",{className:At()(Po.Z.header,so&&Po.Z.whiteHeader)},ct.get("type")!=="exercises"&&tn.createElement("div",null,tn.createElement("img",{src:`${ne.Z.IMG_SERVER}/images/${So==null?void 0:So.image_url}`,alt:"user",width:36}),tn.createElement("span",{style:{color:so?"#333":"#B2BACB",fontSize:16}},So==null?void 0:So.name)),ct.get("type")==="exercises"&&tn.createElement("div",null,tn.createElement("div",{className:"exercise_user_info"},"\u59D3\u540D",tn.createElement("span",{className:"ml10"},(kn=Nr==null?void 0:Nr.exercise)==null?void 0:kn.user_name)),tn.createElement("div",{className:"exercise_user_info ml30"},"\u5B66\u53F7",tn.createElement("span",{className:"ml10"},(mn=Nr==null?void 0:Nr.exercise)==null?void 0:mn.student_id))),tn.createElement("h2",{className:"flex-wrp flex_box_column flex_box_center"},tn.createElement("div",null,ir.name)),(ir==null?void 0:ir.is_program)&&tn.createElement(yo.Z,{defaultValue:ir==null?void 0:ir.answer_long_time,onChange:Cr=>{uo.current=Cr},className:Po.Z.timepiece}),So!=null&&So.hack_manager?tn.createElement(xe.Link,{className:Po.Z.btn_edit,to:ct.get("type")==="1"?ct.get("pageId")?`/problems/newedit/${ir.identifier}?type=1&pageId=${ct.get("pageId")}&backUrl=${ct.get("backUrl")}`:`/problems/newedit/${ir.identifier}?type=1`:`/problems/newedit/${ir.identifier}`}," ",tn.createElement("i",{className:"iconfont icon-bianji13 font14 mr5"})," \u7F16\u8F91"):null,!!((Qt=Nr==null?void 0:Nr.exercise)!=null&&Qt.left_time)&&tn.createElement(tn.Fragment,null,tn.createElement("span",{style:{color:$n,marginRight:6},className:`iconfont icon-daojishi ${Po.Z.djs}`}),tn.createElement("span",{className:"c-white mr20"},tn.createElement(cn,{valueStyle:{color:$n,fontSize:20,fontWeight:500},title:tn.createElement("span",{style:{color:$n,fontSize:14,marginRight:10},className:"time"},"\u5269\u4F59\u7B54\u9898\u65F6\u957F"),value:Kn,onFinish:()=>ht(void 0,null,function*(){const Cr=yield(0,ue.VL)({categoryId:ct.get("exercisesId"),commit_method:2});if((Cr==null?void 0:Cr.status)===0&&(aa(),pe.default.info({width:530,title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",content:tn.createElement("div",{className:"tc font16"},"\u7B54\u9898\u7ED3\u675F\u4E86\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u63D0\u4EA4\u8BD5\u5377",tn.createElement("br",null),"\u4E0D\u80FD\u518D\u4FEE\u6539\u7B54\u9898"),onOk:()=>ht(void 0,null,function*(){window.parent.location.href=`/classrooms/${ct.get("coursesId")}/exercise/${ct.get("exercisesId")}/detail`})})),(Cr==null?void 0:Cr.status)===-3){const no=parseInt(Cr==null?void 0:Cr.message);_r(Date.now()+no*1e3)}})}))),ct.get("type")==="exercises"?tn.createElement(le.ZP,{type:"primary",onClick:()=>{const Cr=()=>ht(void 0,null,function*(){yield aa(),xo(!1),oa(),bo.current=!0,Vo()});if(!(kt!=null&&kt.records_count)||Hr){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u63D0\u793A",content:tn.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:Cr});return}Cr()}},tn.createElement("span",{className:"iconfont icon-yiguanbi mr5 font14"})," \u8FD4\u56DE\u8BD5\u5377"):tn.createElement("span",{onClick:()=>{var Cr;if(ct.get("backUrl"))xe.history.push(ct.get("backUrl"));else if(ct.get("type")==="1"){let no=(Cr=localStorage.getItem("program_homework"))==null?void 0:Cr.split(",");xe.history.push(`/classrooms/${no==null?void 0:no[0]}/program_homework/${no==null?void 0:no[1]}/detail`)}else xe.history.push("/problemset")}},tn.createElement(re.Z,{title:"\u5173\u95ED"},tn.createElement("i",{style:{color:so?"#8D929F":"#fff"},className:"iconfont icon-fanhuishijuan font16 "})))),tn.createElement(fe.Z,{size:"large",spinning:Wr},tn.createElement(oe.Z,{className:At()(Po.Z.myProblems,so&&Po.Z.whiteMyProblems),leftChild:tn.createElement(or,Ct({},Ga)),rightChild:tn.createElement(ar,Ct({},ja))}))):null,tn.createElement(pe.default,{centered:!0,closable:!1,width:680,footer:null,open:oo,className:"oj-modal"},tn.createElement("section",{className:"oj-modal-content"},tn.createElement("div",{className:"oj-modal-head"},tn.createElement("img",{src:Er,alt:""}),tn.createElement("i",{onClick:()=>wo(!1),className:"iconfont icon-guanbi1"})),tn.createElement("aside",null,tn.createElement("img",{className:"mr30",src:On.Z}),"\u8FD0\u884C\u65F6\u95F4:\xA0",tn.createElement("span",{style:{color:"#75d6ba",marginRight:100}},It==null?void 0:It.execute_time,"ms"),"\u4F18\u4E8E",tn.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(It==null?void 0:It.time_better_than)||100,"%"),"\u7684\u7528\u6237"),tn.createElement("aside",{className:"mb50"},tn.createElement("img",{src:yn.Z,className:"mr30"}),tn.createElement("span",{className:"oj-modal-tt"},tn.createElement("span",null,tn.createElement("span",null,"\u5360\u7528\u5185\u5B58:\xA0"),tn.createElement("span",{className:"c-light-primary"},It==null?void 0:It.execute_memory,"kb")),tn.createElement("span",null,tn.createElement("span",null))),"\u4F18\u4E8E",tn.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(It==null?void 0:It.memory_better_than)||100,"%"),"\u7684\u7528\u6237"),tn.createElement("div",{id:"oj-modal-next",onClick:()=>ht(void 0,null,function*(){var Cr;if(It!=null&&It.next_identifier){let no=yield(0,he.ZP)(`/api/problems/${It==null?void 0:It.next_identifier}/start.json`,{method:"get",params:{hack_user_id:So==null?void 0:So.user_id}});no&&(window.location.href=`/myproblems/${no==null?void 0:no.identifier}${window.location.search}`)}else{let no=(Cr=localStorage.getItem("program_homework"))==null?void 0:Cr.split(",");xe.history.push(`/classrooms/${no==null?void 0:no[0]}/program_homework/${no==null?void 0:no[1]}/detail`)}}),className:"oj-modal-btn"},It!=null&&It.next_identifier?"\u8FDB\u5165\u4E0B\u4E00\u9898":"\u56DE\u5230\u4F5C\u4E1A\u8BE6\u60C5\u9875")))),tn.createElement(Mr.Z,{successCb:()=>{Oo.current===1?ma():Wo()}}))};function er({title:Pt,modify_code:Ut,onSyncCode:Jt,onShowCodeSetting:kn,onResetCode:mn,hack:Qt,onChangeLanguage:Zt,isWhiteTheme:Gt,onShowResourceCentre:$t,attachments_count:wn}){var ct;const lt=()=>{pe.default.confirm({title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801",icon:tn.createElement(ee.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:mn})},[mt]=(0,xe.useSearchParams)(),Ot=mt.get("language"),It=kt=>kt==="1"?"c++":kt==="2"?"C++":kt;return(0,Se.useEffect)(()=>{Ot&&Zt(It(Ot))},[]),(0,Se.useEffect)(()=>{Qt!=null&&Qt.tpm_code_modified&&pe.default.confirm({title:"\u66F4\u65B0\u521D\u59CB\u4EE3\u7801",icon:tn.createElement(ee.Z,null),content:tn.createElement("div",null,tn.createElement("div",null,"\u7F16\u7A0B\u9898\u7684\u521D\u59CB\u4EE3\u7801\u5185\u5BB9\u6709\u66F4\u65B0,"),tn.createElement("div",null,"\u66F4\u65B0\u64CD\u4F5C\u5C06\u4FDD\u7559\u5DF2\u5B8C\u6210\u7684\u8BC4\u6D4B\u8BB0\u5F55\u548C\u6210\u7EE9,"),tn.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:()=>mn()})},[Qt==null?void 0:Qt.language]),console.log(Qt,Gt,"hack"),tn.createElement("div",{className:`${Po.Z.codeHead} ${Gt?Po.Z.whiteCodeHead:""}`},tn.createElement("div",{className:Po.Z.navWrap},(ct=Qt==null?void 0:Qt.all_language)==null?void 0:ct.map(kt=>tn.createElement("div",{className:`${Po.Z.nav} ${kt===(Qt==null?void 0:Qt.language)?Po.Z.active:""}`,key:kt,onClick:()=>Zt(kt)},tn.createElement(re.Z,{title:"\u7F16\u7A0B\u8BED\u8A00"},tn.createElement("i",{className:"iconfont icon-bianchengyuyan1"})),tn.createElement("span",null,kt)))),tn.createElement(se.Z,{align:"middle",style:{marginLeft:"auto"}},Ut?tn.createElement("a",{title:"\u66F4\u65B0\u901A\u77E5",onClick:Jt},tn.createElement("img",{src:Ye,alt:"notice",style:{height:13,transform:"translateY(-2px)"}})):null,wn>0&&tn.createElement("a",{onClick:$t},tn.createElement(re.Z,{title:"\u8D44\u6E90\u4E2D\u5FC3"},tn.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-ziyuanzhongxin mr15"}))),tn.createElement("a",{onClick:lt},tn.createElement(re.Z,{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},tn.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-huifuchushihuashezhi mr15"}))),tn.createElement("a",{onClick:kn},tn.createElement(re.Z,{title:"\u8BBE\u7F6E"},tn.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-shezhi8 font14 mr15"})))))}function ar(Pt){var Ut=Pt,{input:Jt,is_file:kn,identifier:mn,showNote:Qt,onShowNote:Zt,notes:Gt,onCancelNote:$t,onAddNote:wn,debugResult:ct,language:lt,debuging:mt,submitting:Ot,executingMessage:It,code:kt,onSubmitCode:un,onDebugCode:En,onChangeCode:Bn,onChangeInput:Gn,onUpdateCode:zn,user:$n,isLoading:Wn,submitResult:Kn}=Ut,_r=sn(Ut,["input","is_file","identifier","showNote","onShowNote","notes","onCancelNote","onAddNote","debugResult","language","debuging","submitting","executingMessage","code","onSubmitCode","onDebugCode","onChangeCode","onChangeInput","onUpdateCode","user","isLoading","submitResult"]);function Nr(Wr,Jr){return tn.createElement(er,Bt(Ct({},_r),{onShowCodeSetting:Wr,onShowResourceCentre:Jr}))}const Lr=Ct({input:Jt,is_file:kn,debugResult:ct,debuging:mt,submitting:Ot,executingMessage:It,onDebugCode:En,onChangeCode:Bn,onSubmitCode:un,onChangeInput:Gn,user:$n,submitResult:Kn},_r);return tn.createElement("div",{style:{display:"flex",flexDirection:"column",height:"100%",background:"#1B2333"}},tn.createElement(Je,{setIsWhiteTheme:_r==null?void 0:_r.setIsWhiteTheme,isLoading:Wn,language:lt,value:kt,identifier:mn,onChange:Bn,onUpdateCode:zn,ActionBarRender:Nr}),tn.createElement(Fe.ZP,Ct({},Lr)))}},96707:function(_t,ft,de){"use strict";de.d(ft,{h:function(){return Se}});var Se=(xe=>(xe[xe.NOMATCH=-1]="NOMATCH",xe[xe.OK=0]="OK",xe[xe.TIMEOUT=2]="TIMEOUT",xe[xe.PODFAILURE=3]="PODFAILURE",xe[xe.COMPILEFAILURE=4]="COMPILEFAILURE",xe[xe.EXECUTEFAILURE=5]="EXECUTEFAILURE",xe[xe.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",xe))(Se||{})},88742:function(_t,ft,de){"use strict";de.d(ft,{H7:function(){return a},MK:function(){return ee},MU:function(){return ue},X6:function(){return oe},bM:function(){return ie},fi:function(){return y},fu:function(){return se},n4:function(){return x},rX:function(){return ne},vl:function(){return b},zO:function(){return ae}});var Se=de(33170),xe=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,le=(z,te,ce)=>te in z?xe(z,te,{enumerable:!0,configurable:!0,writable:!0,value:ce}):z[te]=ce,re=(z,te)=>{for(var ce in te||(te={}))pe.call(te,ce)&&le(z,ce,te[ce]);if(E)for(var ce of E(te))fe.call(te,ce)&&le(z,ce,te[ce]);return z};function se(z,te){return(0,Se.U2)(`myproblems/${z}.json`,re({hidePopLogin:!0},te||{}))}function ie(z,te){return(0,Se.v_)(`myproblems/${z}/code_submit.json`,te)}function ue(z,te){return(0,Se.v_)(`myproblems/${z}/code_debug.json`,te)}function ae(z,te){return te.language&&(te.language=encodeURIComponent(te.language)),(0,Se.U2)(`myproblems/${z}/submit_records.json`,te)}function oe(z){return(0,Se.U2)("myproblems/record_detail.json",{id:z})}function ne(z,te){return(0,Se.U2)(`myproblems/${z}/result.json`,{mode:te})}function ee(z,te){return(0,Se.v_)(`myproblems/${z}/add_notes.json`,te)}function a(z,te){return(0,Se.v_)(`myproblems/${z}/restore_initial_code.json`,te)}function y(z){return(0,Se.v_)(`myproblems/${z}/sync_code.json`)}function x(z,te){return(0,Se.v_)(`myproblems/${z}/update_code.json`,te)}function b(z,te){return(0,Se.v_)(`discusses/${z}/plus.json`,te)}},72971:function(_t,ft,de){"use strict";de.d(ft,{Im:function(){return ye},ZP:function(){return Ee},gZ:function(){return Ce}});var Se=de(67294),xe=de(69677),E=de(71577),pe=de(42922),fe=de(53978),le=de(94189),re=de(19575),se=de(7621),ie=de(85725),ue=de(28706),ae=de(38658),oe=de(12320),ne=de(94184),ee=de.n(ne),a=de(67294),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,ge=(Re,De,ke)=>De in Re?y(Re,De,{enumerable:!0,configurable:!0,writable:!0,value:ke}):Re[De]=ke,he=(Re,De)=>{for(var ke in De||(De={}))te.call(De,ke)&&ge(Re,ke,De[ke]);if(z)for(var ke of z(De))ce.call(De,ke)&&ge(Re,ke,De[ke]);return Re},ve=(Re,De)=>x(Re,b(De));const{TextArea:me}=xe.default,be={visible:!1,tabIndex:"0"},ye={[le.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[le.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[le.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=(Re=>(Re[Re.SET_VISIBLE=0]="SET_VISIBLE",Re[Re.SET_TABINDEX=1]="SET_TABINDEX",Re))(Pe||{});function we(Re,De){switch(De.type){case 0:return ve(he({},Re),{visible:De.payload});case 1:return ve(he({},Re),{tabIndex:De.payload});default:throw new Error}}function Le({value:Re,className:De}){const[ke,Ie]=(0,Se.useState)(!1),qe=(0,Se.useRef)(),Qe=(0,Se.useRef)();return(0,Se.useEffect)(()=>{ke&&(Qe.current.reset(),Qe.current.write((0,ue.pp)(Re||"")))},[Re,ke]),(0,Se.useEffect)(()=>{var Je,Ye,He,Fe;if(qe.current){Qe.current=new oe.Terminal({fontSize:14,disableStdin:!0}),Qe.current.open(qe.current);const je=qe.current.offsetWidth-14,et=((Fe=(He=(Ye=(Je=Qe.current)==null?void 0:Je._core)==null?void 0:Ye._renderService)==null?void 0:He.dimensions)==null?void 0:Fe.actualCellWidth)||9.5,tt=Math.ceil(je/et);Qe.current.resize(tt,8),Ie(!0)}},[]),a.createElement("div",{ref:qe,className:ee()("XtermText-valueRef",De)})}function Ce(Re){const{status:De,error_msg:ke,output:Ie,input:qe,expected_output:Qe,is_file:Je,input_file_url:Ye,output_file_url:He,expected_output_file_url:Fe}=Re;let je=null;const et={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch(De){case le.h.NOMATCH:je=a.createElement(a.Fragment,null,a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u5165\uFF1A"),!Je&&a.createElement(Le,{className:"mb10",value:qe}),Je&&a.createElement("div",{style:et},a.createElement("a",{onClick:()=>(0,ue.LR)(Ye,qe)},qe)),a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Je&&a.createElement(Le,{className:"mb10",value:Ie&&re.Base64.decode(Ie)||""}),Je&&a.createElement("div",{style:et},a.createElement("a",{onClick:()=>(0,ue.LR)(He,Ie)},Ie)),a.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Je&&a.createElement(Le,{className:"mb10",value:Qe&&re.Base64.decode(Qe)||""}),Je&&a.createElement("div",{style:et},a.createElement("a",{onClick:()=>(0,ue.LR)(Fe,Qe)},Qe)));break;case le.h.EXECUTEFAILURE:je=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Je&&a.createElement(ie.Z,{value:qe,style:et}),Je&&a.createElement("div",{style:et},a.createElement("a",{onClick:()=>(0,ue.LR)(Ye,qe)},qe)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},re.Base64.decode(ke)));break;case le.h.COMPILEFAILURE:je=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Je&&a.createElement(ie.Z,{value:qe,style:et}),Je&&a.createElement("div",{style:et},a.createElement("a",{onClick:()=>(0,ue.LR)(Ye,qe)},qe)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},re.Base64.decode(ke)));break;case le.h.PODFAILURE:je=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case le.h.TIMEOUT:je=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",je," ")}function Te(Re){const{status:De,error_msg:ke,execute_time:Ie,output:qe,input:Qe,expected_output:Je,is_file:Ye,input_file_url:He,output_file_url:Fe,expected_output_file_url:je}=Re;let et=null;switch(De){case le.h.OK:et=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Ie,"\u79D2"),a.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A"),a.createElement("pre",null,re.Base64.decode(qe)));break;case le.h.NOMATCH:et=a.createElement(a.Fragment,null,a.createElement("p",null,"\u8F93\u5165\uFF1A",a.createElement("pre",null,Qe)),a.createElement("p",null,"\u8F93\u51FA\uFF1A",qe&&re.Base64.decode(qe)),a.createElement("p",null,"\u9884\u671F\u8F93\u51FA\uFF1A",Je&&re.Base64.decode(Je)));break;case le.h.EXECUTEFAILURE:et=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,Qe)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},re.Base64.decode(ke)));break;case le.h.COMPILEFAILURE:et=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,Qe)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},re.Base64.decode(ke)));break;case le.h.PODFAILURE:et=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case le.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 Ee=({id:Re,is_file:De,input:ke,debuging:Ie,submitting:qe,executingMessage:Qe,debugResult:Je,onChangeInput:Ye,onDebugCode:He,onSubmitCode:Fe})=>{const[je,et]=(0,Se.useReducer)(we,be),{visible:tt,tabIndex:it}=je;(0,Se.useEffect)(()=>{et({type:0,payload:!1})},[Re]);function Xe(Ae){let Be=Ae.target.id;et({type:1,payload:Be})}function Ke(){et({type:0,payload:!tt})}const Me=(0,Se.useMemo)(()=>{if(Je){const{status:Ae}=Je;return a.createElement(a.Fragment,null,Te(Je))}return null},[Je]);function Ve(){et({type:0,payload:!0}),et({type:1,payload:"1"}),He()}return a.createElement("div",{className:"test-case-panel"},a.createElement("div",{className:`test-case-panel-body ${tt?"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(me,{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:De?"":ke,onChange:Ye}),rightNode:Ie?a.createElement(se.Z,{message:"\u4EE3\u7801\u6267\u884C\u4E2D..."}):Je?Me: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 ${tt?"up":""}`,onClick:Ke},tt?a.createElement(pe.Z,null):a.createElement(fe.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:Ie,onClick:Ve},"\u8C03\u8BD5\u4EE3\u7801"),a.createElement(E.ZP,{type:"primary",className:"custom-ant-disabled",loading:qe,disabled:qe,onClick:()=>{et({type:0,payload:!1}),Fe()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4"))))}},94189:function(_t,ft,de){"use strict";de.d(ft,{h:function(){return Se}});var Se=(xe=>(xe[xe.NOMATCH=-1]="NOMATCH",xe[xe.OK=0]="OK",xe[xe.TIMEOUT=2]="TIMEOUT",xe[xe.PODFAILURE=3]="PODFAILURE",xe[xe.COMPILEFAILURE=4]="COMPILEFAILURE",xe[xe.EXECUTEFAILURE=5]="EXECUTEFAILURE",xe[xe.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",xe))(Se||{})},32259:function(_t,ft,de){"use strict";de.d(ft,{Y2:function(){return Ee},ZP:function(){return Re}});var Se=de(67294),xe=de(59810),E=de(2453),pe=de(14446),fe=de(71230),le=de(78045),re=de(71577),se=de(84567),ie=de(83062),ue=de(69677),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,iVBORw0KGgoAAAANSUhEUgAAATEAAADICAYAAACAj9YNAAAAAXNSR0IArs4c6QAAD59JREFUeF7tnet527gShsFUZFeQpJN1GkncyG46iVJBVFG4D6mLKYmSMLgQM4NXf855NrgMvm/8egBC9BD4oIBhBV7++fPlHP6n8PH/p/84Dp8XS7v8txB2N8sext/h7+G/73++3v67YZ08hz54Xhxr86fAy7c/P+ZVHQB1DaYaCz7AbBzfgVsNefPHBGL5GjJCRQUW0PpecRrp0DugJpWsXnsgVk9bRk5QQCm0nq1khhpb0Gcy1fl3IFZHV0YVKDCfa03nWeOgqdoSrODc9Lz1BGgp8qX1AWJputGrgAJz1bXd2VaBiEVDUJ2J5EpvDMTStaNnogJHeFmvuiSrB2gStYRtgZhQMJqnKWD0rCttsfd7AbPSioYQgFgFURnyQwHnW8ZUq4FZqnIr/YBYQTEZ6lKBDreNshQYxvf9v6+He298khUAYsnS0fGeAsBLmBvj+JWnmULNFs2BWLp29LxSYL4qMczXJLa4Se9Nf7aYiY4CsUTh6MbWsUoOsMUUywrExJLRYakAW8cq+UBVJpAViAnEoinV16Y5QFUWJTcQi5KJRtcKUIFtlBOA7KnQQOypRDS42D5yeN8iIdhePlAdiLVISaNzUn01No6rGKsGALHGeWllegCmxCm2lzdGADEluak5DACmzB1AdmEIEFOWn9rCAWDaHDnGA8jOxgAxpTmqIayXt/0vbt9rcOJODIBsFgaIKc7RlqFRgbVUXzA3IANignTppikAM2Z15yCjEjOWr7XDBWC1Fa40fscgA2KVcsrisADMomuLmDsFGRAznrelwj++Rmc6yOdjWYEOL8QCMcsJWyh2AFZISCXD7P976ernuqvFKskxVWEAMFV2lAmms20lECuTNmZH4S6YWeseB94RyICY0xyOWRYH+TEqGW7TCciAmOEczQmdbWSOenb69nA+BsTs5GPRSNlGFpVT72AdVGNATG/6VYuMbWQ1aXUO7BxkQExn2lWN6uVtP1adgMHVKeB5WwnE1KVb3YDYRtbVV+3ojqsxIKY268oHxmF+eU0tjei1GgNilrIwM1a2kZkCWu/utBoDYtYTMzJ+tpGRQnlv5hBkQMx70h7XRxXWidHPl7nb//fy9XkzOy2AmB2vkiPlSkWydD47OqvGgJjPNL1YFVVYByZLlgjEJGrRtrUCPJFs7YDS+R2BjEpMSY7NsDl+9j9fd6XC4kC/lJLOxgFizgzdYDnzudTpMw6fj//3DK4HIRyANoy/w9+wkwCOKmwDYy1P4QRkVGIVk/AMrnH4XniaXQzUqMIKq+5tOCDmzdH89cyVz6fwJRwqrZgqK3/SEFaBRhVWQlr/Y3i4xU8lVihPlVxj2IVxfJ+2nFRhhYz1PoyDagyIZSapEnhdr2I6R9uqEsxUkO5NFQBiTeVvOrlSeDXVhMltKmB9S0klJsw74CUUjOb6FTBejQExQYoBMIFYNLWkgOnvUwKxyFTjoDxSKJqZVMDylhKIPUk5riqY/JkkaKkChreUQOyB2WwfpT8JtDerABAza93dwAGYP09Z0WMFrG4pqcRWfGULyY97jwoAMSeuAzAnRrIMuQJGt5RUYldW8xRSnvv0cKIAELNvJACz7yEryFLA5H0xKrGj5xzkZyU/nZ0oYPFcDIiFEDgHc/ITyDKyFQBi2RK2GYBtZBvdmVWhAuP4VfL2YA0r6L4SYxupIQ2JQY0CBg/3gdjbflSTQASCAq0VAGKtHZDNTxUm04vWHSgAxOyYzGG+Ha+IdFMFzF2z6HY7yWH+pj8YTGZHASBmwSuqMAsuEWMjBYBYI+FF0wIxkVw07kwBa3fFutxOspXs7KeS5YoUAGIiudo0fuFaRRvhmdWEAkBMuU1sJZUbRHjNFQBizS14HABbSeUGEV5zBYBYcwueQowb+so9Iry2CgCxtvo/nJ2tpGJzCE2NAkBMjRW3gQAxxeYQmhoFgJgaK1Yg9u3PjzAO3xWHSGgo0FoBLru2duDR/HzhW7M7xKZEASCmxIjVMHgyqdkdYlOiABBTYgQQ02wEsWlWAIhpdodKTLM7xKZCAd4npsKGu0HwdSPd/hCdAgV4x35bE+YrFNPnUzj87/IzDp9DWPnvbUNmdhTQpQAQ286P+Unj9DnAafrcgmu7cJgJBVwoYO2O2CS6mVfxXEELYLn4kWERShXYhXF8t/Kn21RDbAEuLqgqzXbCcq+AeqCpgxjgcv9DwQLtKqASaGogxm16u5lN5B0qoOgqRnOIAa8OfwBYshcFVFRmzSAGvLzkMetAgdAUZptD7Agv7myR+SjgT4EmMNsUYlRf/rKWFaHAigKbwmwTiAEvEh0FOlRgo8P/6hADYB0mL0tGgZMCG4CsGsSOr4KeLqlyu56URoG+Fai6vawCMaqvvjOW1aPAqgKVqrLiEANgJDAKoMBdBSqArCjEABjJiwIoEKFA0bfHFoMYAIuwjiYogAInBYqBrAjEeO0zmYkCKJCgQBGQZUMMgCVYRxcUQIFiFVkWxNhCkokogALZCmQe9idDDIBlW8cAKIACJwUyQJYEMQBG7qEAChRXIBFkYogdb+L/Kr4ABkQBFECBBJDJIfa2H1EaBVAABaopIASZCGI8iaxmGwOjAAosFJD86bhoiHEORo6hAApspoCgGouCGOdgm1nHRCiAAsInlnEQe9tPB/m8Uof0kiswjO/hb9jNHYeBVzPJFey6R8y28inE2EZ2nUM5i1/9Sgn5lCNph30jtpUPIcY2ssOkKbTkR79BAVkhkXsZ5gnIHkOMbWQvaVJ2neP4df/z9bCFvPMBZGUl9z7ao1+KdyFGFeY9LSqtLwJgp5m5slPJA4/DPqjG7kOMKsxjKtRdU8T5xXUAL1yeruuJo9HvVWOrEKMKc+T8VktJANgUGrm2lUEO5rmTY+sQowpz4PiGS0gE2Hlb+c+fL2EY+D7uhpaZnCoWYvxmNGlvu6AzAXYG2bc/P8I43yPjgwL3FVjJt5tKjMNWMkigQJHXCwMygeK9N42EGG+p6D1R4tZfFGCALE50WoVwfcB/UYmxlSRFohUQXKWIHvPYkDtkUsU6a39VjV1CjAP9zrIhcbkVAXauyMjFRHP66Lasxq4hxlayjxxIX+UGAANk6fZ003ORh2eIsZXsxv70hRZ6EikJgMuwErU6arvIxQ+IUb53lAEJS20AsClKfrkmeNVHl/ODpSXE2Er2Yb58lY0AxhNLuVU99Tidi80Q47ddT9aL11rlKoU0Cp5YShXroP3xlysQ68DrjCWqABgVWYaDnrteQIzzMM9Wp65NFcAAWaqNrvvNOXqoxICYa6eTFrfhVQppfGwtpYr5bT+di50gxqG+X5/lK1MMsHNFxi9eua8eewzj+8ChvkdnM9bU+EmkJHJ2EBK1nLYFYk6NTV2WIYDNxyC8hyzVaT/9ZojxHic/huasxBjAzttKQJbjuv2+M8Q4W7BvZO4KjAKMJ5a5xrvovwNiLnzMWoTKqxTSFbGjkCrmpj0Qc2Nl2kJcAIyKLM18L72oxLw4mbIOA1cppMuiIpMqZr/9BDHuiNn3Ub4ChwCjIpOngYceQMyDi9I1OAbYGWQ8sJJmhdn2QMysdYmBG38SKVk1uwyJWnbbAjG73skj7whgkzhchpWniMUeQMyiaykxdwaw87aSy7Ap2WKqD08nTdmVHKyrqxRSFXhiKVXMVnsgZsuvlGi7BhhPLFNSxlYfIGbLL2m0AGyhGBWZNH1stAdiNnxKi7KDqxRSYQCZVDH97XmLhX6P0iIEYHd146UHaSmltNcOiCl1JissAPZUPkD2VCIrDXa82dWKVbFxdnqVIlaeZTsuw6aopqzP9D6xKSTMVGZMajgATKQcl2FFculsPI7nv3bEl8B1WiSJiieRErWObTnoTxBNU5cFxH6FEL5oio1YhApwDiYU7KM5IEuWrnnHjz/Zxnv2m5uRGQBVWIaAQCxDvLZdF388l++XtbWiwOzTb6QCw3Q5BBAzavvxDPic+BzuGzXyFDbbyWQDuW6RLF3bjsecX0KMc7G2luTPDsjEGlKFiSVT0+G0+/iAGOdiaszJDGSX1X8c3/c/X/PGyAogrvMMn+kzDp/jeqy24mFWhniNu57PgT8gxrlYY09UTa/6QQHVk6pcaRPMYtdxcRjM2UAbP1TOqvTiLBdUVWbL5kEtH2RdQowt5eZmqJ0QiKm1hsDCxU7h5rE8TylJkaMCKreUVGLkZ7h6gHULMaoxsuSgABAjE1QqcH0nEoiptElFUEBMhQ0EcaXATV6u3vJmS0niUImRAyoVWLkLuQ4xtpQq/ds4KCqxjQVnuqcKrObk3e/bUY09FdR7AyDm3WFr67vzjZT7EKMas2Zx6XiBWGlFGS9Hgbv5+PDNB1RjOZqb7wvEzFvoaAEPvhf8GGJUY46yQLwUICaWjA5VFHhy8frpO6j4nloVWywMCsQsuOQ/xqd5+BRik0ZsK/1nysoKnyZPC1W4sd9C9YZzRrxeKg5ibCsbuthsaiDWTHomPioQlYNREJurMUDWW2ZFJdDWolCJba14u/liX7keDTG2le3MbDQzEGskPNNOL7scv8a+nFMGMaqxnvILiPXktqa1Cl8DJYIY20pNTlePBYhVl5gJSjxQEkMMkHWTeECsG6v1LDT2HGwZcRLEjudj/HUkPd7XiASI1VCVMe8rIDgHKwIxQOY+G4GYe4sVLTARYNMKkiuxGWL8hSRFWVA8FCBWXFIGXFVAeJB/PUYWxACZ66QEYq7tVbK4TIBlV2InGajIlCRE2TCAWFk9Ge2mhBrf9/++Hv4IcsYnuxK7Atn3EAJ/VTnDEEVdgZgiM9yFUqACO2lSDGJnmL3teWrpI+OAmA8f9a0i4xB/bTHFITafkwEyfYkjjwiIyTWjx2MFdmEc32O/ThQrZhWIzSDjK0qxHmhtB8S0OmMxroLbx5ujtZp6HA/8OSerKXK9sYFYPW37GrkiwCYhq1ViS5fYXprMWSBm0jZVQVfZPm5aiV2A7HAxlqpMVY49DAaI2fFKX6SVq6/lgjepxC5gxlmZvoRbjwiIWXFKU5wbwuu07M0hNh/6U5VpSrt7sQAxCy5pirEBwDY7E7unMzDTlIE3sQAx1fYoCq4RvJpWYtfyAzNFCfkRChBTaYuioBrDSxXETsEAM0UJGgIQU2WHkmCG8X2KpMR3HkutqMmZWEzwAC1GpaptgFhVeU0NvgvD+FsTuJbqqYXYMkiA1iThgVgT2dVMqhpc5iB2A7T5kcR852z68NaMOnkPxOroqnXUGVrhb9iV/m5j7QWbqMSeiTBXatPnU/gSxuHzSntA90zE238HYnLNWvTYXU26lusfbSZQnT4GgbUm8P/6C+VmwqlgeQAAAABJRU5ErkJggg==",ne=de(56448),ee=de.n(ne),a=de(33170),y=de(25934),x=de(28706),b=de(91613),z=de(67294),te=Object.defineProperty,ce=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,he=Object.getOwnPropertySymbols,ve=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,be=(De,ke,Ie)=>ke in De?te(De,ke,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):De[ke]=Ie,ye=(De,ke)=>{for(var Ie in ke||(ke={}))ve.call(ke,Ie)&&be(De,Ie,ke[Ie]);if(he)for(var Ie of he(ke))me.call(ke,Ie)&&be(De,Ie,ke[Ie]);return De},Pe=(De,ke)=>ce(De,ge(ke)),we=(De,ke,Ie)=>new Promise((qe,Qe)=>{var Je=Fe=>{try{He(Ie.next(Fe))}catch(je){Qe(je)}},Ye=Fe=>{try{He(Ie.throw(Fe))}catch(je){Qe(je)}},He=Fe=>Fe.done?qe(Fe.value):Promise.resolve(Fe.value).then(Je,Ye);He((Ie=Ie.apply(De,ke)).next())});const{Dragger:Le}=xe.default,Ce=De=>{const ke=je=>je&&je.substring(0,je.lastIndexOf("."));for(var Ie=[...De],qe=0,Qe=[],Je=0;Je{if(je.forEach(et=>{let tt=et.name.split(/\.(?=[^\.]+$)/);et.name=`${tt[0]}.${tt[1].toLowerCase()}`}),je[0].name.includes(".in"))return je.length===2?je:[je[0],{}];if(je[0].name.includes(".out"))return je.length===2?je.reverse():[{},je[0]]})},Te=({onClose:De,onOK:ke,visible:Ie,wrapClassName:qe,rootIdentifier:Qe,multiple:Je=!1,defaultMultipleValue:Ye=!0})=>{const[He,Fe]=(0,Se.useState)([]),[je,et]=(0,Se.useState)({}),[tt,it]=(0,Se.useState)(!1),[Xe,Ke]=(0,Se.useState)(!0),[Me,Ve]=(0,Se.useState)(null),Ae=(0,Se.useRef)([]),Be=(0,Se.useRef)(0),$e=()=>{De()};(0,Se.useEffect)(()=>{Ze()},[]),(0,Se.useEffect)(()=>{Ie&&(Ae.current=[],Be.current=0,Fe([]),Ke(Ye))},[Ie]);const Ze=()=>we(void 0,null,function*(){try{Ve(!0)}catch(ut){}}),ze=ut=>ut&&ut.substring(0,ut.lastIndexOf(".")),_e=ut=>{var nt,vt;const xt=ze((nt=ut[0])==null?void 0:nt.name)||ze((vt=ut[1])==null?void 0:vt.name),Rt=He.filter(at=>ze(at.name)!==xt);Ae.current=[...Rt],Fe([...Rt])},Oe=ut=>{if(!Xe){const Et=new FormData;Et.append("file",ut.file),(0,a.ZP)("/api/attachments/get_file_content.json",{method:"post",body:Et},!0).then(gt=>{if(gt.status===0){Be.current=Be.current+1;const St=Ae.current.map(wt=>{var Tt;if(wt.name===ut.name){const Wt=ye({},wt);return(Tt=ut==null?void 0:ut.name)!=null&&Tt.includes(".in")?Wt.input=gt==null?void 0:gt.content:Wt.output=gt==null?void 0:gt.content,Wt}return wt});if(Ae.current=[...St],Fe([...St]),Be.current>0&&Be.current===He.length){it(!1);let wt=Ce(St);wt=wt.filter(Tt=>{var Wt,hn;return!!((Wt=Tt[0])!=null&&Wt.name&&((hn=Tt[1])!=null&&hn.name))}),wt=wt.map(Tt=>Pe(ye(ye({},Tt[0]),Tt[1]),{is_file:!1})),ke(wt),De()}}else it(!1),De()});return}if(Me){const Et=new FormData;Et.append("file",ut.file),Qe===null?Et.append("identifier","testsets"):Et.append("identifier",Qe),(0,a.ZP)("/api/attachments.json",{method:"post",body:Et},!0).then(gt=>{if(gt.filename){Be.current=Be.current+1;const St=Ae.current.map(wt=>{var Tt;if(wt.name===(gt==null?void 0:gt.filename)){const Wt=Pe(ye({},wt),{is_oss:!Me});return(Tt=gt==null?void 0:gt.filename)!=null&&Tt.includes(".in")?(Wt.in_object_key=gt==null?void 0:gt.object,Wt.in_object_size=gt==null?void 0:gt.size,Wt.input=gt==null?void 0:gt.filename,Wt.in_file=ut):(Wt.out_object_key=gt==null?void 0:gt.object,Wt.out_object_size=gt==null?void 0:gt.size,Wt.output=gt==null?void 0:gt.filename,Wt.out_file=ut),Wt}return wt});if(Ae.current=[...St],Fe([...St]),Be.current>0&&Be.current===He.length){it(!1);let wt=Ce(St);wt=wt.filter(Tt=>{var Wt,hn;return!!((Wt=Tt[0])!=null&&Wt.name&&((hn=Tt[1])!=null&&hn.name))}),wt=wt.map(Tt=>Pe(ye(ye({},Tt[0]),Tt[1]),{is_file:!0})),ke(wt),De()}}else it(!1),De()});return}const nt=new(ee())({endpoint:je.end_point,region:je.region,accessKeyId:je.access_key_id,accessKeySecret:je.access_key_secret,bucket:je.bucket,stsToken:je.security_token}),vt=ut.name,xt={container_type:"TestSet",file_name:vt},Rt=(0,y.Z)();let at=`testsets/${Qe}/${Rt}${vt.indexOf(".")>-1?"."+vt.split(".").pop():""}`;Qe===null&&(at=`testsets/${Rt}${vt.indexOf(".")>-1?"."+vt.split(".").pop():""}`),nt.multipartUpload(at,new Blob([ut.file],{type:ut.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:vt+""},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)(xt)}}).then(function(Et){if(Et.data.status===0){Be.current=Be.current+1;const st=Ae.current.map(gt=>{var St,wt,Tt,Wt,hn,pn,Tn,Cn,Vn,Qn,fr,kr,Vr,Ur,Rr,Pn,Xt;if(gt.name===((wt=(St=Et.data)==null?void 0:St.data)==null?void 0:wt.file_name)){const nn=Pe(ye({},gt),{is_oss:!Me});return(hn=(Wt=(Tt=Et.data)==null?void 0:Tt.data)==null?void 0:Wt.file_name)!=null&&hn.includes(".in")?(nn.in_object_key=(Tn=(pn=Et.data)==null?void 0:pn.data)==null?void 0:Tn.object,nn.in_object_size=(Vn=(Cn=Et.data)==null?void 0:Cn.data)==null?void 0:Vn.size,nn.input=(fr=(Qn=Et.data)==null?void 0:Qn.data)==null?void 0:fr.file_name,nn.in_file=ut):(nn.out_object_key=(Vr=(kr=Et.data)==null?void 0:kr.data)==null?void 0:Vr.object,nn.out_object_size=(Rr=(Ur=Et.data)==null?void 0:Ur.data)==null?void 0:Rr.size,nn.output=(Xt=(Pn=Et.data)==null?void 0:Pn.data)==null?void 0:Xt.file_name,nn.out_file=ut),nn}return gt});if(Ae.current=[...st],Fe([...st]),Be.current>0&&Be.current===He.length){it(!1);let gt=Ce(st);gt=gt.filter(St=>{var wt,Tt;return!!((wt=St[0])!=null&&wt.name&&((Tt=St[1])!=null&&Tt.name))}),gt=gt.map(St=>Pe(ye(ye({},St[0]),St[1]),{is_file:!0})),ke(gt),De()}}})},Ne=ut=>new Promise((nt,vt)=>{let xt=0,Rt=[];for(let at=0;at{xt++,xt===ut.length&&(Rt.length?(E.ZP.warning(`${Rt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),vt()):nt(ut))}).catch(Et=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",Et),xt++,Rt.push(ut[at].name),xt===ut.length&&(Rt.length?(E.ZP.warning(`${Rt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),vt()):nt(ut))})}),Ge=()=>we(void 0,null,function*(){if(He.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield Ne(He),it(!0),Ce(He).some(nt=>{var vt,xt;return!((vt=nt[0])!=null&&vt.name&&((xt=nt[1])!=null&&xt.name))})){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u4E0A\u4F20\u7684\u6D4B\u8BD5\u7528\u4F8B\u4E2D\u5B58\u5728\u672A\u914D\u5BF9\u7684\u6587\u4EF6\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4EC5\u4FDD\u5B58\u5DF2\u914D\u5BF9\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF1F",onOk:()=>we(void 0,null,function*(){He.map(nt=>we(void 0,null,function*(){Oe(nt)}))}),onCancel:()=>{it(!1)}});return}He.map(nt=>we(void 0,null,function*(){Oe(nt)}))}),rt={name:"file",fileList:He,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:ut=>{if(He!=null&&He.some(vt=>vt.name===ut.name))return E.ZP.info(`${ut.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(ut.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(ut.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 nt={name:ut.name,uid:ut.uid,file:ut,percent:0};return He.push(nt),Ae.current=[...He],Fe([...He]),!1}},pt=Ce(He);return console.log(He,pt,"fileList"),z.createElement(pe.default,{open:Ie,wrapClassName:qe,onOk:Ge,centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:tt},onCancel:$e,width:730,title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},z.createElement("div",{className:ae.wrap},He.length?z.createElement("div",null,z.createElement(fe.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},z.createElement("div",{style:{visibility:Je?"visible":"hidden"}},z.createElement("span",{className:ae.greyText},"\u7528\u4F8B\u7C7B\u578B"),z.createElement(le.ZP.Group,{className:`ml20 ${ae.testCaseRadio}`,optionType:"button",value:Xe,onChange:ut=>Ke(ut.target.value)},z.createElement(le.ZP,{value:!1},"\u6587\u672C"),z.createElement(le.ZP,{value:!0},"\u6587\u4EF6"))),z.createElement(xe.default,ye({},rt),z.createElement(re.ZP,{type:"primary",className:ae.btnS},z.createElement("i",{className:"iconfont icon-shangchuan2"}),"\u4E0A\u4F20\u6587\u4EF6"))),z.createElement(Ee,{data:pt,onRemove:_e})):z.createElement("div",{className:`${ae.noData} mb30`},z.createElement(xe.default.Dragger,Pe(ye({},rt),{className:ae.dragger}),z.createElement("img",{src:oe,alt:"",className:"mb20"}),z.createElement("div",null,z.createElement("span",null,"\u62D6\u62FD\u6587\u4EF6\u6216"),z.createElement("span",{className:ae.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),z.createElement("div",{className:ae.text},z.createElement("span",{style:{color:"#FA6400"}},"\u63D0\u793A"),z.createElement("br",null),"1\u3001\u6587\u4EF6\u5FC5\u987B\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6\u3002",z.createElement("br",null),"2\u3001\u4E0A\u4F20\u7684\u6587\u4EF6\u7F16\u7801\u4EC5\u652F\u6301UTF-8\uFF0C\u5426\u5219\u53EF\u80FD\u4F1A\u51FA\u73B0\u6587\u672C\u4E71\u7801\u3002",z.createElement("br",null),"3\u3001\u8F93\u5165\u8F93\u51FA\u6587\u4EF6\u9700\u6587\u4EF6\u540D\u79F0\u4E00\u4E00\u5BF9\u5E94\uFF0C\u672A\u5BF9\u5E94\u65F6\uFF0C\u5C06\u65E0\u6CD5\u4E0A\u4F20\u3002",z.createElement("br",null),"4\u3001\u5355\u4E2A\u4E0A\u4F20\u6587\u4EF6\u4E0D\u80FD\u8D85\u8FC7100MB\uFF0C\u8D85\u8FC7\u65F6\u53EF\u4EE5\u5206\u6279\u6B21\u4E0A\u4F20\u3002",z.createElement("br",null))))},Ee=({data:De=[],onRemove:ke,width:Ie="auto",showScore:qe=!1,disabled:Qe=!1,inputChange:Je,onEvaluatingChange:Ye,onSelectAll:He,checkAll1:Fe,checkAll2:je,checkAll3:et,checkAll4:tt,checkAll5:it,showEvaluatingSetting:Xe=!1,className:Ke="",isProgramHomework:Me=!1})=>{const Ve={value:"",filename:"",dataUrl:""},[Ae,Be]=(0,Se.useState)(ye({},Ve)),$e=_e=>{let Oe=document.createElement("a");document.body.appendChild(Oe);let Ne=URL.createObjectURL(_e.file);Oe.href=Ne,Oe.download=_e.name,Oe.click(),URL.revokeObjectURL(Ne),document.body.removeChild(Oe)},Ze=(_e,Oe)=>{(0,x.LR)(_e,Oe)},ze=(_e,Oe)=>{pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:z.createElement("div",{className:"tc font16"},"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664\u8BE5\u6D4B\u8BD5\u7528\u4F8B?"),onOk:()=>{ke(_e,Oe)},onCancel:()=>{}})};return De.length?z.createElement("div",{className:Ke,style:{width:Ie}},z.createElement("div",{className:`${Me?ae.headProgram:ae.head}`},Xe&&z.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:Fe,onChange:_e=>{He(_e.target.checked,"hidden")}}),z.createElement(ie.Z,{title:'\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'},z.createElement("span",{style:{marginLeft:"8px"}},"\u9690\u85CF"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{style:{width:Me?"25%":"15%"}},"\u7528\u4F8B"),z.createElement("div",{style:{width:qe?Me?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),z.createElement("div",{style:{width:qe?Me?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u51FA"),qe&&z.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),Xe&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:tt,onChange:_e=>{He(_e.target.checked,"input_visible")}}),z.createElement(ie.Z,{title:"\u52FE\u9009\u540E\uFF0C\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u8F93\u5165"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Xe&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:je,onChange:_e=>{He(_e.target.checked,"is_invisible")}}),z.createElement(ie.Z,{title:"\u52FE\u9009\u540E\uFF0C\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u9884\u671F\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Xe&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:it,onChange:_e=>{He(_e.target.checked,"actual_output_visible")}}),z.createElement(ie.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u5B9E\u9645\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Xe&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(se.default,{checked:et,onChange:_e=>{He(_e.target.checked,"last_match_rule")}}),z.createElement(ie.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173"},z.createElement("span",{style:{marginLeft:"8px"}},"\u7279\u6B8A\u5224\u5B9A"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{className:ae.operation,style:Me?{flex:1,textAlign:"right"}:{width:"10%"}},"\u64CD\u4F5C")),z.createElement("div",{className:ae.listWrapper,style:{boxShadow:Me?"0px 2px 4px 0px #EAEEF4":"unset"}},De.map((_e,Oe)=>{var Ne,Ge,rt,pt;return z.createElement("div",{key:Oe,className:ae.list,style:Me?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},Xe&&z.createElement("div",{style:{width:"15%"}},z.createElement(se.default,{checked:!!_e.hidden,onChange:ut=>{Ye(ut.target.checked,Oe,"hidden")}})),z.createElement("div",{style:{width:Me?"25%":"15%",paddingLeft:Me?"5px":"0px",paddingRight:Me?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",Oe+1),z.createElement("div",{className:ae.info,style:{width:qe?Me?"20%":"15%":"25%"}},z.createElement("span",{title:_e.input||((Ne=_e[0])==null?void 0:Ne.name),onClick:()=>we(void 0,null,function*(){let ut;_e.input?_e.input_file_url?ut=_e.input_file_url:ut=_e.in_file:ut=_e[0];let nt;typeof ut=="string"?(nt=yield fetch(ut,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Be({value:yield nt.text(),filename:"",dataUrl:ut})):(nt=yield(0,x.db)(ut.file),Be({value:nt.text,filename:ut.name,dataUrl:nt.link}))})},_e.input||((Ge=_e[0])==null?void 0:Ge.name))),z.createElement("div",{className:ae.info,style:{width:qe?Me?"20%":"15%":"25%"}},z.createElement("span",{title:_e.output||((rt=_e[1])==null?void 0:rt.name),onClick:()=>we(void 0,null,function*(){let ut;_e.input?_e.output_file_url?ut=_e.output_file_url:ut=_e.out_file:ut=_e[1];let nt;typeof ut=="string"?(nt=yield fetch(ut,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Be({value:yield nt.text(),filename:"",dataUrl:ut})):(nt=yield(0,x.db)(ut.file),Be({value:nt.text,filename:ut.name,dataUrl:nt.link}))})},_e.output||((pt=_e[1])==null?void 0:pt.name))),qe&&z.createElement("div",{style:{width:"20%"}},z.createElement(ue.default,{size:"large",addonAfter:Me?"%":null,disabled:Qe,style:{width:"80%"},onChange:ut=>Je(ut,Oe),value:_e.score}),!Me&&z.createElement("span",null,"\xA0%")),Xe&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{checked:_e.input_visible||!1,onChange:ut=>{Ye(ut.target.checked,Oe,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Xe&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{checked:_e.is_invisible||!1,onChange:ut=>{Ye(ut.target.checked,Oe,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Xe&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{checked:_e.actual_output_visible||!1,onChange:ut=>{Ye(ut.target.checked,Oe,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Xe&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{checked:_e.last_match_rule||!1,onChange:ut=>{Ye(ut.target.checked,Oe,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),z.createElement("div",{onClick:()=>ze(_e,Oe),style:Me?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},z.createElement("span",{className:ae.del},"\u5220\u9664")))})),z.createElement(b.Z,{close:!0,data:Ae.dataUrl,filename:Ae.filename,type:Ae.dataUrl.length?"txt":"",onClose:()=>Be(ye({},Ve)),monacoEditor:{value:Ae.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):z.createElement(z.Fragment,null)};var Re=Te},93989:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return ne}});var Se=de(67294),xe=de(2453),E=de(83062),pe=de(57953),fe=de(71230),le=de(15746),re=de(28452),se=de(71577),ie=de(35567),ue=de(33170),ae=de(85725),oe=(a,y,x)=>new Promise((b,z)=>{var te=he=>{try{ge(x.next(he))}catch(ve){z(ve)}},ce=he=>{try{ge(x.throw(he))}catch(ve){z(ve)}},ge=he=>he.done?b(he.value):Promise.resolve(he.value).then(te,ce);ge((x=x.apply(a,y)).next())}),ne=({id:a,activeDiscussIndex:y,onReplyDiscuss:x,adminOrOperator:b})=>{const[z,te]=(0,Se.useState)(""),[ce,ge]=(0,Se.useState)(!1);function he(me){te(me)}function ve(){if(!z){xe.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}x(a,z),te("")}return(0,Se.useEffect)(()=>{y!=a&&ge(!1)},[y]),Se.createElement("div",{key:a,className:"discuss-item-editor",style:{display:y===a?"block":"none",width:"100%"}},Se.createElement(ie.Z,{miniToolbar:!0,startInit:y===a,defaultValue:z,id:a,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:he,extraUse:b&&Se.createElement(E.Z,{color:"#fff",open:ce,destroyTooltipOnHide:!0,title:ee({id:a,isOpen:ce,activeDiscussIndex:y,onChange:he,setIsOpen:ge}),overlayStyle:{maxWidth:600}},Se.createElement("a",{title:ce?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>ge(!ce)},Se.createElement("i",{className:"iconfont icon-dianzan11"})))}),Se.createElement("a",{onClick:ve,className:"btn-send"},"\u53D1\u9001"))};const ee=a=>{const[y,x]=(0,Se.useState)(!1),[b,z]=(0,Se.useState)([]),[te,ce]=(0,Se.useState)(1);(0,Se.useEffect)(()=>{a!=null&&a.isOpen?ge():(ce(1),z([]))},[a==null?void 0:a.isOpen]);const ge=()=>oe(void 0,null,function*(){x(!0);const he=yield(0,ue.ZP)(`/api/discusses/${a==null?void 0:a.id}/recommend_answer.json`,{method:"get"});(he==null?void 0:he.status)==0&&z(he==null?void 0:he.answer),x(!1)});return Se.createElement(pe.Z,{spinning:y},Se.createElement("div",{style:{color:"#000"}},Se.createElement(ae.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(b==null?void 0:b[te-1])||""}),Se.createElement(fe.Z,{justify:"end",align:"middle"},Se.createElement(le.Z,null,Se.createElement(re.Z,{simple:!0,current:te,pageSize:1,total:(b==null?void 0:b.length)||0,onChange:he=>{ce(he)}})),Se.createElement(le.Z,null,Se.createElement(se.ZP,{onClick:()=>oe(void 0,null,function*(){a==null||a.onChange(b==null?void 0:b[te-1]),a==null||a.setIsOpen(!1)})},"\u586B\u5165\u6587\u672C\u6846")))))}},5764:function(_t,ft,de){"use strict";de.d(ft,{CP:function(){return E},_V:function(){return le}});var Se=de(81354),xe=de.n(Se);const E={secret:Se.enc.Utf8.parse("0a18e199b87f1a8d"),iv:Se.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 fe(re="",se="exam"){const{secret:ie,iv:ue}=pe[se];return AES.encrypt(re,ie,{iv:ue,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function le(re="",se="exam"){const{secret:ie,iv:ue}=pe[se];return Se.AES.decrypt(re,ie,{iv:ue,mode:xe().mode.CBC,padding:xe().pad.Pkcs7}).toString(Se.enc.Utf8)}},51959:function(_t,ft,de){"use strict";de.d(ft,{BU:function(){return xe},Dj:function(){return Se},gH:function(){return E},vp:function(){return pe}});function Se(fe){try{fe.mozRequestFullScreen?fe.mozRequestFullScreen():fe.webkitRequestFullScreen&&fe.webkitRequestFullScreen()}catch(le){console.log(le,":e")}}function xe(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const E=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function pe(){var fe=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,le=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",fe),window.isFullScreen?window.isFullScreen:fe!=null}},9343:function(_t,ft,de){"use strict";de.d(ft,{U:function(){return ie}});var Se=de(67294),xe=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,le=(ue,ae,oe)=>ae in ue?xe(ue,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ue[ae]=oe,re=(ue,ae)=>{for(var oe in ae||(ae={}))pe.call(ae,oe)&&le(ue,oe,ae[oe]);if(E)for(var oe of E(ae))fe.call(ae,oe)&&le(ue,oe,ae[oe]);return ue},se=(ue,ae,oe)=>new Promise((ne,ee)=>{var a=b=>{try{x(oe.next(b))}catch(z){ee(z)}},y=b=>{try{x(oe.throw(b))}catch(z){ee(z)}},x=b=>b.done?ne(b.value):Promise.resolve(b.value).then(a,y);x((oe=oe.apply(ue,ae)).next())});function ie(ue,ae){const[oe,ne]=(0,Se.useState)(ae),[ee,a]=(0,Se.useState)(!1),[y,x]=(0,Se.useState)();return[oe,ee,(z,te=!1)=>se(this,null,function*(){const ce=te?ae:re(re({},oe),z);a(!0),ne(ce);const ge=yield ue(ce);return a(!1),x(ge),ge}),y]}},43462:function(_t,ft,de){"use strict";de.d(ft,{_:function(){return E}});var Se=de(67294),xe=de(14446);const E=pe=>{var fe,le;const re=(0,Se.useRef)([]),se=()=>{for(const ie of re.current)clearTimeout(ie);re.current=[]};return(0,Se.useEffect)(()=>{var ie,ue,ae,oe,ne,ee;if(se(),(ie=pe==null?void 0:pe.exercise)!=null&&ie.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(((ne=pe==null?void 0:pe.exercise)==null?void 0:ne.left_time)>(a==null?void 0:a.reminder_time)*60){let y=(((ee=pe==null?void 0:pe.exercise)==null?void 0:ee.left_time)-(a==null?void 0:a.reminder_time)*60)*1e3;y=y>2147483647?2147483647:y;const x=setTimeout(()=>{xe.default.info({content:`${a==null?void 0:a.reminder_content}`,icon:null,title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u4E86"})},y);re.current.push(x)}}},[(fe=pe==null?void 0:pe.exercise)==null?void 0:fe.left_time,(le=pe==null?void 0:pe.exercise)==null?void 0:le.exercise_events]),se}},40471:function(_t,ft,de){"use strict";de.d(ft,{G:function(){return fe},t:function(){return pe}});var Se=de(58971),xe=de.n(Se);const E=null;function pe(le,re){let se=xe().get("__ec");se||(se={}),se[le]=re,xe().set("__ec",se)}function fe(le,re){let se=xe().get("__ec");return se?se[le]===void 0?re:se[le]:re}},56448:function(_t){(function(ft){(function(de){if(1)_t.exports=de();else var Se})(function(){var de,Se,xe;return function(){function E(pe,fe,le){function re(ue,ae){if(!fe[ue]){if(!pe[ue]){var oe=void 0;if(!ae&&oe)return require(ue,!0);if(se)return se(ue,!0);var ne=new Error("Cannot find module '"+ue+"'");throw ne.code="MODULE_NOT_FOUND",ne}var ee=fe[ue]={exports:{}};pe[ue][0].call(ee.exports,function(a){var y=pe[ue][1][a];return re(y||a)},ee,ee.exports,E,pe,fe,le)}return fe[ue].exports}for(var se=void 0,ie=0;ie `.concat(b,` `),z&&(ge+="".concat(z,` `)),ge+=` `,ce.content=ge,ce.mime="xml",ce.successStatuses=[200],me.next=9,this.request(ce);case 9:return he=me.sent,me.abrupt("return",{res:he.res});case 11:case"end":return me.stop()}},x,this)}));function y(x,b,z){return a.apply(this,arguments)}return y}(),oe.getBucketLogging=function(){var a=(0,se.default)(re.default.mark(function x(b,z){var te,ce,ge;return re.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return te=this._bucketRequestParams("GET",b,"logging",z),te.successStatuses=[200],te.xmlResponse=!0,ve.next=5,this.request(te);case 5:return ce=ve.sent,ge=ce.data.LoggingEnabled,ve.abrupt("return",{enable:!!ge,prefix:ge&&ge.TargetPrefix||null,res:ce.res});case 8:case"end":return ve.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketLogging=function(){var a=(0,se.default)(re.default.mark(function x(b,z){var te,ce;return re.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return te=this._bucketRequestParams("DELETE",b,"logging",z),te.successStatuses=[204,200],he.next=4,this.request(te);case 4:return ce=he.sent,he.abrupt("return",{res:ce.res});case 6:case"end":return he.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.putBucketCORS=function(){var a=(0,se.default)(re.default.mark(function x(b,z,te){var ce,ge,he,ve,me,be,ye,Pe,we,Le;return re.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:for(z=z||[],ie(z.length,"rules is required"),z.forEach(function(Ee){ie(Ee.allowedOrigin,"allowedOrigin is required"),ie(Ee.allowedMethod,"allowedMethod is required")}),ce=this._bucketRequestParams("PUT",b,"cors",te),ge=` `,he=function(Re){ge+="".concat(Re,"")},ve=function(Re){ge+="".concat(Re,"")},me=function(Re){ge+="".concat(Re,"")},be=function(Re){ge+="".concat(Re,"")},ye=0,Pe=z.length;ye",ee(we.allowedOrigin).forEach(he),ee(we.allowedMethod).forEach(ve),ee(we.allowedHeader).forEach(me),ee(we.exposeHeader).forEach(be),we.maxAgeSeconds&&(ge+="".concat(we.maxAgeSeconds,"")),ge+="";return ge+="",ce.content=ge,ce.mime="xml",ce.successStatuses=[200],Te.next=16,this.request(ce);case 16:return Le=Te.sent,Te.abrupt("return",{res:Le.res});case 18:case"end":return Te.stop()}},x,this)}));function y(x,b,z){return a.apply(this,arguments)}return y}(),oe.getBucketCORS=function(){var a=(0,se.default)(re.default.mark(function x(b,z){var te,ce,ge,he;return re.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return te=this._bucketRequestParams("GET",b,"cors",z),te.successStatuses=[200],te.xmlResponse=!0,me.next=5,this.request(te);case 5:return ce=me.sent,ge=[],ce.data&&ce.data.CORSRule&&(he=ce.data.CORSRule,ne(he)||(he=[he]),he.forEach(function(be){var ye={};Object.keys(be).forEach(function(Pe){ye[Pe.slice(0,1).toLowerCase()+Pe.slice(1,Pe.length)]=be[Pe]}),ge.push(ye)})),me.abrupt("return",{rules:ge,res:ce.res});case 9:case"end":return me.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketCORS=function(){var a=(0,se.default)(re.default.mark(function x(b,z){var te,ce;return re.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return te=this._bucketRequestParams("DELETE",b,"cors",z),te.successStatuses=[204],he.next=4,this.request(te);case 4:return ce=he.sent,he.abrupt("return",{res:ce.res});case 6:case"end":return he.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.putBucketReferer=function(){var a=(0,se.default)(re.default.mark(function x(b,z,te,ce){var ge,he,ve,me;return re.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:if(ge=this._bucketRequestParams("PUT",b,"referer",ce),he=` `,he+=" ".concat(z?"true":"false",` `),te&&te.length>0){for(he+=` `,ve=0;ve".concat(te[ve],` `);he+=` `}else he+=` `;return he+="",ge.content=he,ge.mime="xml",ge.successStatuses=[200],ye.next=10,this.request(ge);case 10:return me=ye.sent,ye.abrupt("return",{res:me.res});case 12:case"end":return ye.stop()}},x,this)}));function y(x,b,z,te){return a.apply(this,arguments)}return y}(),oe.getBucketReferer=function(){var a=(0,se.default)(re.default.mark(function x(b,z){var te,ce,ge;return re.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return te=this._bucketRequestParams("GET",b,"referer",z),te.successStatuses=[200],te.xmlResponse=!0,ve.next=5,this.request(te);case 5:return ce=ve.sent,ge=ce.data.RefererList.Referer||null,ge&&(ne(ge)||(ge=[ge])),ve.abrupt("return",{allowEmpty:ce.data.AllowEmptyReferer==="true",referers:ge,res:ce.res});case 9:case"end":return ve.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe.deleteBucketReferer=function(){var a=(0,se.default)(re.default.mark(function x(b,z){return re.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ce.next=2,this.putBucketReferer(b,!0,null,z);case 2:return ce.abrupt("return",ce.sent);case 3:case"end":return ce.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),oe._bucketRequestParams=function(y,x,b,z){return{method:y,bucket:x,subres:b,timeout:z&&z.timeout,ctx:z&&z.ctx}}},{"../common/utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,assert:82,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],3:[function(E,pe,fe){(function(le,re){(function(){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ie=se(E("@babel/runtime/regenerator")),ue=se(E("@babel/runtime/helpers/asyncToGenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.split.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.regexp.to-string.js");var ae=E("debug")("ali-oss"),oe=E("xml2js"),ne=E("agentkeepalive"),ee=E("merge-descriptors"),a=E("platform"),y=E("utility"),x=E("urllib"),b=E("./version"),z=E("bowser"),te=E("../common/signUtils"),ce=E("../common/client/initOptions"),ge=E("../common/utils/createRequest"),he=ge.createRequest,ve=E("../common/utils/encoder"),me=ve.encoder,be=E("../common/client/getReqUrl"),ye=be.getReqUrl,Pe=E("../common/utils/setSTSToken"),we=Pe.setSTSToken,Le=E("../common/utils/retry"),Ce=Le.retry,Te=E("../common/utils/isFunction"),Ee=Te.isFunction,Re=new ne;function De(){var Ye=a.name,He=a.version;Ye&&Ye.toLowerCase&&Ye.toLowerCase()==="ie"&&He.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function ke(){return location&&location.protocol==="https:"}function Ie(Ye,He){if(De(),!(this instanceof Ie))return new Ie(Ye,He);Ye&&Ye.inited?this.options=Ye:this.options=Ie.initOptions(Ye),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=x,this.agent=this.options.agent||Re),this.ctx=He,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}pe.exports=Ie,Ie.initOptions=function(He){He.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var Fe=Object.assign({secure:ke(),useFetch:!1},He);return ce(Fe)};var qe=Ie.prototype;qe.debug=ae,ee(qe,E("./object")),ee(qe,E("./bucket")),ee(qe,E("../common/bucket/getBucketWebsite")),ee(qe,E("../common/bucket/putBucketWebsite")),ee(qe,E("../common/bucket/deleteBucketWebsite")),ee(qe,E("../common/bucket/getBucketLifecycle")),ee(qe,E("../common/bucket/putBucketLifecycle")),ee(qe,E("../common/bucket/deleteBucketLifecycle")),ee(qe,E("../common/bucket/putBucketVersioning")),ee(qe,E("../common/bucket/getBucketVersioning")),ee(qe,E("../common/bucket/getBucketInventory")),ee(qe,E("../common/bucket/deleteBucketInventory")),ee(qe,E("../common/bucket/listBucketInventory")),ee(qe,E("../common/bucket/putBucketInventory")),ee(qe,E("../common/bucket/abortBucketWorm")),ee(qe,E("../common/bucket/completeBucketWorm")),ee(qe,E("../common/bucket/extendBucketWorm")),ee(qe,E("../common/bucket/getBucketWorm")),ee(qe,E("../common/bucket/initiateBucketWorm")),ee(qe,E("./managed-upload")),ee(qe,E("../common/multipart-copy")),ee(qe,E("../common/multipart")),ee(qe,E("../common/parallel")),qe.signature=function(He){return this.debug("authorization stringToSign: %s",He,"info"),te.computeSignature(this.options.accessKeySecret,He,this.options.headerEncoding)},qe._getReqUrl=ye,qe.authorization=function(He,Fe,je,et){var tt=te.buildCanonicalString(He.toUpperCase(),Fe,{headers:et,parameters:je});return te.authorization(this.options.accessKeyId,this.options.accessKeySecret,tt,this.options.headerEncoding)},qe.request=function(){var Ye=(0,ue.default)(ie.default.mark(function He(Fe){var je=this;return ie.default.wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:if(!this.options.retryMax){tt.next=6;break}return tt.next=3,Ce(Qe.bind(this),this.options.retryMax,{errorHandler:function(Xe){var Ke=function(Ve){if(Fe.stream)return!1;var Ae=[-1,-2].includes(Ve.status),Be=je.options.requestErrorRetryHandle||function(){return!0};return Ae&&Be(Ve)};return!!Ke(Xe)}})(Fe);case 3:return tt.abrupt("return",tt.sent);case 6:return tt.abrupt("return",Qe.call(this,Fe));case 7:case"end":return tt.stop()}},He,this)}));return function(He){return Ye.apply(this,arguments)}}();function Qe(Ye){return Je.apply(this,arguments)}function Je(){return Je=(0,ue.default)(ie.default.mark(function Ye(He){var Fe,je,et,tt,it,Xe;return ie.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:if(!(this.options.stsToken&&Ee(this.options.refreshSTSToken))){Me.next=3;break}return Me.next=3,we.call(this);case 3:return Fe=he.call(this,He),this.options.useFetch||(Fe.params.mode="disable-fetch"),tt=!!He.stream,Me.prev=6,Me.next=9,this.urllib.request(Fe.url,Fe.params);case 9:je=Me.sent,this.debug("response %s %s, got %s, headers: %j",He.method,Fe.url,je.status,je.headers,"info"),Me.next=16;break;case 13:Me.prev=13,Me.t0=Me.catch(6),et=Me.t0;case 16:if(!(je&&He.successStatuses&&He.successStatuses.indexOf(je.status)===-1)){Me.next=28;break}return Me.next=19,this.requestError(je);case 19:if(it=Me.sent,!(it.code==="RequestTimeTooSkewed"&&!tt)){Me.next=25;break}return this.options.amendTimeSkewed=+new Date(it.serverTime)-new Date,Me.next=24,this.request(He);case 24:return Me.abrupt("return",Me.sent);case 25:it.params=He,Me.next=32;break;case 28:if(!et){Me.next=32;break}return Me.next=31,this.requestError(et);case 31:it=Me.sent;case 32:if(!it){Me.next=34;break}throw it;case 34:if(!He.xmlResponse){Me.next=39;break}return Me.next=37,this.parseXML(je.data);case 37:Xe=Me.sent,je.data=Xe;case 39:return Me.abrupt("return",je);case 40:case"end":return Me.stop()}},Ye,this,[[6,13]])})),Je.apply(this,arguments)}qe._getResource=function(He){var Fe="/";return He.bucket&&(Fe+="".concat(He.bucket,"/")),He.object&&(Fe+=me(He.object,this.options.headerEncoding)),Fe},qe._escape=function(He){return y.encodeURIComponent(He).replace(/%2F/g,"/")},qe._getUserAgent=function(){var He=re&&re.browser?"js":"nodejs",Fe="aliyun-sdk-".concat(He,"/").concat(b.version),je=a.description;return!je&&re&&(je="Node.js ".concat(re.version.slice(1)," on ").concat(re.platform," ").concat(re.arch)),this._checkUserAgent("".concat(Fe," ").concat(je))},qe._checkUserAgent=function(He){var Fe=He.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return Fe},qe.checkBrowserAndVersion=function(He,Fe){return z.name===He&&z.version.split(".")[0]===Fe},qe.parseXML=function(He){return new Promise(function(Fe,je){le.isBuffer(He)&&(He=He.toString()),oe.parseString(He,{explicitRoot:!1,explicitArray:!1},function(et,tt){et?je(et):Fe(tt)})})},qe.requestError=function(){var Ye=(0,ue.default)(ie.default.mark(function Fe(je){var et,tt,it,Xe;return ie.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:if(et=null,!(!je.data||!je.data.length)){Me.next=5;break}je.status===-1||je.status===-2?(et=new Error(je.message),et.name=je.name,et.status=je.status,et.code=je.name):(je.status===404?(et=new Error("Object not exists"),et.name="NoSuchKeyError",et.status=404,et.code="NoSuchKey"):je.status===412?(et=new Error("Pre condition failed"),et.name="PreconditionFailedError",et.status=412,et.code="PreconditionFailed"):(et=new Error("Unknow error, status: ".concat(je.status)),et.name="UnknownError",et.status=je.status),et.requestId=je.headers["x-oss-request-id"],et.host=""),Me.next=32;break;case 5:return tt=String(je.data),this.debug("request response error data: %s",tt,"error"),Me.prev=7,Me.next=10,this.parseXML(tt);case 10:if(Me.t0=Me.sent,Me.t0){Me.next=13;break}Me.t0={};case 13:it=Me.t0,Me.next=23;break;case 16:return Me.prev=16,Me.t1=Me.catch(7),this.debug(tt,"error"),Me.t1.message+=` raw xml: `.concat(tt),Me.t1.status=je.status,Me.t1.requestId=je.headers["x-oss-request-id"],Me.abrupt("return",Me.t1);case 23:Xe=it.Message||"unknow request error, status: ".concat(je.status),it.Condition&&(Xe+=" (condition: ".concat(it.Condition,")")),et=new Error(Xe),et.name=it.Code?"".concat(it.Code,"Error"):"UnknownError",et.status=je.status,et.code=it.Code,et.requestId=it.RequestId,et.hostId=it.HostId,et.serverTime=it.ServerTime;case 32:return this.debug("generate error %j",et,"error"),Me.abrupt("return",et);case 34:case"end":return Me.stop()}},Fe,this,[[7,16]])}));function He(Fe){return Ye.apply(this,arguments)}return He}()}).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,fe){(function(le){(function(){"use strict";var re=E("@babel/runtime/helpers/interopRequireDefault"),se=re(E("@babel/runtime/regenerator"));E("core-js/modules/es.function.name.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.array.map.js"),E("core-js/modules/es.array.filter.js"),E("core-js/modules/es.array.find.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.typed-array.uint8-array.js"),E("core-js/modules/es.typed-array.copy-within.js"),E("core-js/modules/es.typed-array.every.js"),E("core-js/modules/es.typed-array.fill.js"),E("core-js/modules/es.typed-array.filter.js"),E("core-js/modules/es.typed-array.find.js"),E("core-js/modules/es.typed-array.find-index.js"),E("core-js/modules/es.typed-array.for-each.js"),E("core-js/modules/es.typed-array.includes.js"),E("core-js/modules/es.typed-array.index-of.js"),E("core-js/modules/es.typed-array.iterator.js"),E("core-js/modules/es.typed-array.join.js"),E("core-js/modules/es.typed-array.last-index-of.js"),E("core-js/modules/es.typed-array.map.js"),E("core-js/modules/es.typed-array.reduce.js"),E("core-js/modules/es.typed-array.reduce-right.js"),E("core-js/modules/es.typed-array.reverse.js"),E("core-js/modules/es.typed-array.set.js"),E("core-js/modules/es.typed-array.slice.js"),E("core-js/modules/es.typed-array.some.js"),E("core-js/modules/es.typed-array.sort.js"),E("core-js/modules/es.typed-array.subarray.js"),E("core-js/modules/es.typed-array.to-locale-string.js"),E("core-js/modules/es.typed-array.to-string.js");var ie=re(E("@babel/runtime/helpers/asyncToGenerator")),ue=E("util"),ae=E("path"),oe=E("mime"),ne=E("copy-to"),ee=E("../common/utils/isBlob"),a=ee.isBlob,y=E("../common/utils/isFile"),x=y.isFile,b=E("../common/utils/isBuffer"),z=b.isBuffer,te=fe;te.multipartUpload=function(){var me=(0,ie.default)(se.default.mark(function ye(Pe,we){var Le,Ce,Te,Ee,Re,De,ke,Ie,qe,Qe=arguments;return se.default.wrap(function(Ye){for(;;)switch(Ye.prev=Ye.next){case 0:if(Le=Qe.length>2&&Qe[2]!==void 0?Qe[2]:{},this.resetCancelFlag(),Le.disabledMD5=Le.disabledMD5===void 0?!0:!!Le.disabledMD5,!(Le.checkpoint&&Le.checkpoint.uploadId)){Ye.next=8;break}return we&&x(we)&&(Le.checkpoint.file=we),Ye.next=7,this._resumeMultipart(Le.checkpoint,Le);case 7:return Ye.abrupt("return",Ye.sent);case 8:return Ce=102400,Le.mime||(x(we)?Le.mime=oe.getType(ae.extname(we.name)):a(we)?Le.mime=we.type:z(we)?Le.mime="":Le.mime=oe.getType(ae.extname(we))),Le.headers=Le.headers||{},this._convertMetaToHeaders(Le.meta,Le.headers),Ye.next=14,this._getFileSize(we);case 14:if(Te=Ye.sent,!(Te0&&ne(De).to(Ie),qe=this._divideParts(Te,Ee),Qe=qe.length,Je=!1,Ye=function(Ae,Be){return new Promise(function(){var $e=(0,ie.default)(se.default.mark(function Ze(ze,_e){var Oe,Ne,Ge,rt,pt;return se.default.wrap(function(nt){for(;;)switch(nt.prev=nt.next){case 0:if(nt.prev=0,Ae.isCancel()){nt.next=29;break}return Oe=qe[Be-1],nt.next=5,Ae._createBuffer(Ce,Oe.start,Oe.end);case 5:return Ne=nt.sent,Ge={content:Ne,size:Oe.end-Oe.start},nt.prev=7,nt.next=10,Ae._uploadPart(ke,Re,Be,Ge,we);case 10:rt=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 Ae._makeAbortEvent();case 17:throw nt.t0;case 18:if(!(!Ae.isCancel()&&!Je)){nt.next=26;break}if(Pe.doneParts.push({number:Be,etag:rt.res.headers.etag}),!we.progress){nt.next=23;break}return nt.next=23,we.progress(De.length/(Qe+1),Pe,rt.res);case 23:ze({number:Be,etag:rt.res.headers.etag}),nt.next=27;break;case 26:ze();case 27:nt.next=30;break;case 29:ze();case 30:nt.next=41;break;case 32:nt.prev=32,nt.t1=nt.catch(0),pt=new Error,pt.name=nt.t1.name,pt.message=nt.t1.message,pt.stack=nt.t1.stack,pt.partNum=Be,ne(nt.t1).to(pt),_e(pt);case 41:case"end":return nt.stop()}},Ze,null,[[0,32],[7,13]])}));return function(Ze,ze){return $e.apply(this,arguments)}}())},He=Array.from(new Array(Qe),function(Ve,Ae){return Ae+1}),Fe=Ie.map(function(Ve){return Ve.number}),je=He.filter(function(Ve){return Fe.indexOf(Ve)<0}),et=5,tt=we.parallel||et,Me.next=17,this._parallel(je,tt,function(Ve){return new Promise(function(Ae,Be){Ye(Le,Ve).then(function($e){$e&&Ie.push($e),Ae()}).catch(function($e){Be($e)})})});case 17:if(it=Me.sent,Je=!0,Xe=it.find(function(Ve){return Ve.name==="abort"}),!Xe){Me.next=22;break}throw Xe;case 22:if(!this.isCancel()){Me.next=25;break}throw Ye=null,this._makeCancelEvent();case 25:if(!(it&&it.length>0)){Me.next=28;break}throw it[0].message="Failed to upload some parts with error: ".concat(it[0].toString()," part_num: ").concat(it[0].partNum),it[0];case 28:return Me.next=30,this.completeMultipartUpload(ke,Re,Ie,we);case 30:return Me.abrupt("return",Me.sent);case 31:case"end":return Me.stop()}},ye,this)}));function be(ye,Pe){return me.apply(this,arguments)}return be}(),te._getFileSize=function(){var me=(0,ie.default)(se.default.mark(function ye(Pe){return se.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:if(!z(Pe)){Le.next=4;break}return Le.abrupt("return",Pe.length);case 4:if(!(a(Pe)||x(Pe))){Le.next=6;break}return Le.abrupt("return",Pe.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return Le.stop()}},ye)}));function be(ye){return me.apply(this,arguments)}return be}();var ce=E("stream"),ge=ce.Readable;function he(me,be){if(!(this instanceof he))return new he(me,be);ge.call(this,be),this.file=me,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}ue.inherits(he,ge),he.prototype.readFileAndPush=function(be){if(this.fileBuffer)for(var ye=!0;ye&&this.fileBuffer&&this.startthis.fileBuffer.length?this.fileBuffer.length:we,this.start=we,ye=this.push(this.fileBuffer.slice(Pe,we))}},he.prototype._read=function(be){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;be=be||ye;var Pe=this;this.reader.onload=function(Le){Pe.fileBuffer=le.from(new Uint8Array(Le.target.result)),Pe.file=null,Pe.readFileAndPush(be)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(be)};function ve(me){return me.arrayBuffer?me.arrayBuffer():new Promise(function(be,ye){var Pe=new FileReader;Pe.onload=function(we){be(we.target.result)},Pe.onerror=function(we){ye(we)},Pe.readAsArrayBuffer(me)})}te._createBuffer=function(){var me=(0,ie.default)(se.default.mark(function ye(Pe,we,Le){var Ce,Te;return se.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:if(!(a(Pe)||x(Pe))){Re.next=8;break}return Ce=Pe.slice(we,Le),Re.next=4,ve(Ce);case 4:return Te=Re.sent,Re.abrupt("return",le.from(Te));case 8:if(!z(Pe)){Re.next=12;break}return Re.abrupt("return",Pe.subarray(we,Le));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return Re.stop()}},ye)}));function be(ye,Pe,we){return me.apply(this,arguments)}return be}(),te._getPartSize=function(be,ye){var Pe=1e4,we=1*1024*1024;ye||(ye=we);var Le=Math.ceil(be/Pe);return ye1&&De[1]!==void 0?De[1]:{},we=ye["continuation-token"]||ye.continuationToken,we&&(Pe.subres=Object.assign({"continuation-token":we},Pe.subres)),Le=this._objectRequestParams("GET","",Pe),Le.query=Object.assign({"list-type":2},ye),delete Le.query["continuation-token"],delete Le.query.continuationToken,Le.xmlResponse=!0,Le.successStatuses=[200],Ie.next=11,this.request(Le);case 11:return Ce=Ie.sent,Te=Ce.data.Contents||[],Ee=this,Te&&(Array.isArray(Te)||(Te=[Te]),Te=Te.map(function(qe){var Qe=null;return qe.Owner&&(Qe={id:qe.Owner.ID,displayName:qe.Owner.DisplayName}),{name:qe.Key,url:Ee._objectUrl(qe.Key),lastModified:qe.LastModified,etag:qe.ETag,type:qe.Type,size:Number(qe.Size),storageClass:qe.StorageClass,owner:Qe}})),Re=Ce.data.CommonPrefixes||null,Re&&(Array.isArray(Re)||(Re=[Re]),Re=Re.map(function(qe){return qe.Prefix})),Ie.abrupt("return",{res:Ce.res,objects:Te,prefixes:Re,isTruncated:Ce.data.IsTruncated==="true",keyCount:+Ce.data.KeyCount,continuationToken:Ce.data.ContinuationToken||null,nextContinuationToken:Ce.data.NextContinuationToken||null});case 18:case"end":return Ie.stop()}},be,this)}));function me(be){return ve.apply(this,arguments)}return me}(),he.restore=function(){var ve=(0,se.default)(re.default.mark(function be(ye){var Pe,we,Le,Ce,Te=arguments;return re.default.wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:return Pe=Te.length>1&&Te[1]!==void 0?Te[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"&&(Le={RestoreRequest:{Days:Pe.Days?Pe.Days:2,JobParameters:{Tier:Pe.JobParameters?Pe.JobParameters:"Standard"}}},we.content=ge(Le,{headers:!0}),we.mime="xml"),we.successStatuses=[202],Re.next=9,this.request(we);case 9:return Ce=Re.sent,Re.abrupt("return",{res:Ce.res});case 11:case"end":return Re.stop()}},be,this)}));function me(be){return ve.apply(this,arguments)}return me}(),he._objectUrl=function(me){return this._getReqUrl({bucket:this.options.bucket,object:me})},he._objectRequestParams=function(me,be,ye){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");ye=ye||{},be=this._objectName(be);var Pe={object:be,bucket:this.options.bucket,method:me,subres:ye&&ye.subres,timeout:ye&&ye.timeout,ctx:ye&&ye.ctx};return ye.headers&&(Pe.headers={},ue(ye.headers).to(Pe.headers)),Pe},he._objectName=function(me){return me.replace(/^\/+/,"")},he._convertMetaToHeaders=function(me,be){me&&Object.keys(me).forEach(function(ye){be["x-oss-meta-".concat(ye)]=me[ye]})},he._deleteFileSafe=function(me){var be=this;return new Promise(function(ye){ie.exists(me,function(Pe){Pe?ie.unlink(me,function(we){we&&be.debug("unlink %j error: %s",me,we,"error"),ye()}):ye()})})}},{"../common/callback":24,"../common/image":27,"../common/object/asyncSignatureUrl":31,"../common/object/copyObject":32,"../common/object/delete":33,"../common/object/deleteMulti":34,"../common/object/deleteObjectTagging":35,"../common/object/generateObjectUrl":36,"../common/object/get":37,"../common/object/getACL":38,"../common/object/getBucketVersions":39,"../common/object/getObjectMeta":40,"../common/object/getObjectTagging":41,"../common/object/getObjectUrl":42,"../common/object/getSymlink":43,"../common/object/head":44,"../common/object/putACL":45,"../common/object/putObjectTagging":46,"../common/object/putSymlink":47,"../common/object/signatureUrl":48,"../common/utils/isBlob":64,"../common/utils/isBuffer":65,"../common/utils/isFile":67,"../common/utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"copy-to":94,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,fs:89,"merge-descriptors":372,mime:374,path:378}],6:[function(E,pe,fe){"use strict";fe.version="6.18.1"},{}],7:[function(E,pe,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.abortBucketWorm=void 0;var ie=E("../utils/checkBucketName");function ue(oe,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,se.default)(re.default.mark(function oe(ne,ee){var a,y;return re.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return ie.checkBucketName(ne),a=this._bucketRequestParams("DELETE",ne,"worm",ee),b.next=4,this.request(a);case 4:return y=b.sent,b.abrupt("return",{res:y.res,status:y.status});case 6:case"end":return b.stop()}},oe,this)})),ae.apply(this,arguments)}fe.abortBucketWorm=ue},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(E,pe,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.completeBucketWorm=void 0;var ie=E("../utils/checkBucketName");function ue(oe,ne,ee){return ae.apply(this,arguments)}function ae(){return ae=(0,se.default)(re.default.mark(function oe(ne,ee,a){var y,x;return re.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ie.checkBucketName(ne),y=this._bucketRequestParams("POST",ne,{wormId:ee},a),z.next=4,this.request(y);case 4:return x=z.sent,z.abrupt("return",{res:x.res,status:x.status});case 6:case"end":return z.stop()}},oe,this)})),ae.apply(this,arguments)}fe.completeBucketWorm=ue},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(E,pe,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.deleteBucketInventory=void 0;var ie=E("../utils/checkBucketName");function ue(oe,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,se.default)(re.default.mark(function oe(ne,ee){var a,y,x,b,z=arguments;return re.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return a=z.length>2&&z[2]!==void 0?z[2]:{},y=Object.assign({inventory:"",inventoryId:ee},a.subres),ie.checkBucketName(ne),x=this._bucketRequestParams("DELETE",ne,y,a),x.successStatuses=[204],ce.next=7,this.request(x);case 7:return b=ce.sent,ce.abrupt("return",{status:b.status,res:b.res});case 9:case"end":return ce.stop()}},oe,this)})),ae.apply(this,arguments)}fe.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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("../utils/checkBucketName"),ue=ie.checkBucketName,ae=fe;ae.deleteBucketLifecycle=function(){var oe=(0,se.default)(re.default.mark(function ee(a,y){var x,b;return re.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()}},ee,this)}));function ne(ee,a){return oe.apply(this,arguments)}return ne}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(E,pe,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("../utils/checkBucketName"),ue=ie.checkBucketName,ae=fe;ae.deleteBucketWebsite=function(){var oe=(0,se.default)(re.default.mark(function ee(a,y){var x,b;return re.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()}},ee,this)}));function ne(ee,a){return oe.apply(this,arguments)}return ne}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(E,pe,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.extendBucketWorm=void 0;var ie=E("../utils/checkBucketName"),ue=E("../utils/obj2xml");function ae(ne,ee,a,y){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(re.default.mark(function ne(ee,a,y,x){var b,z,te;return re.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return ie.checkBucketName(ee),b=this._bucketRequestParams("POST",ee,{wormExtend:"",wormId:a},x),z={ExtendWormConfiguration:{RetentionPeriodInDays:y}},b.mime="xml",b.content=ue.obj2xml(z,{headers:!0}),b.successStatuses=[200],ge.next=8,this.request(b);case 8:return te=ge.sent,ge.abrupt("return",{res:te.res,status:te.status});case 10:case"end":return ge.stop()}},ne,this)})),oe.apply(this,arguments)}fe.extendBucketWorm=ae},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(E,pe,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.getBucketInventory=void 0;var ie=E("../utils/checkBucketName"),ue=E("../utils/formatInventoryConfig");function ae(ne,ee){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(re.default.mark(function ne(ee,a){var y,x,b,z,te=arguments;return re.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return y=te.length>2&&te[2]!==void 0?te[2]:{},x=Object.assign({inventory:"",inventoryId:a},y.subres),ie.checkBucketName(ee),b=this._bucketRequestParams("GET",ee,x,y),b.successStatuses=[200],b.xmlResponse=!0,ge.next=8,this.request(b);case 8:return z=ge.sent,ge.abrupt("return",{status:z.status,res:z.res,inventory:ue.formatInventoryConfig(z.data)});case 10:case"end":return ge.stop()}},ne,this)})),oe.apply(this,arguments)}fe.getBucketInventory=ae},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],14:[function(E,pe,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.map.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("../utils/checkBucketName"),ue=ie.checkBucketName,ae=E("../utils/isArray"),oe=ae.isArray,ne=E("../utils/formatObjKey"),ee=ne.formatObjKey,a=fe;a.getBucketLifecycle=function(){var y=(0,se.default)(re.default.mark(function b(z,te){var ce,ge,he;return re.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return ue(z),ce=this._bucketRequestParams("GET",z,"lifecycle",te),ce.successStatuses=[200],ce.xmlResponse=!0,me.next=6,this.request(ce);case 6:return ge=me.sent,he=ge.data.Rule||null,he&&(oe(he)||(he=[he]),he=he.map(function(be){return be.ID&&(be.id=be.ID,delete be.ID),be.Tag&&!oe(be.Tag)&&(be.Tag=[be.Tag]),ee(be,"firstLowerCase")})),me.abrupt("return",{rules:he,res:ge.res});case 10:case"end":return me.stop()}},b,this)}));function x(b,z){return y.apply(this,arguments)}return x}()},{"../utils/checkBucketName":51,"../utils/formatObjKey":61,"../utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280}],15:[function(E,pe,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("../utils/checkBucketName"),ue=ie.checkBucketName,ae=fe;ae.getBucketVersioning=function(){var oe=(0,se.default)(re.default.mark(function ee(a,y){var x,b,z;return re.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ue(a),x=this._bucketRequestParams("GET",a,"versioning",y),x.xmlResponse=!0,x.successStatuses=[200],ce.next=6,this.request(x);case 6:return b=ce.sent,z=b.data.Status,ce.abrupt("return",{status:b.status,versionStatus:z,res:b.res});case 9:case"end":return ce.stop()}},ee,this)}));function ne(ee,a){return oe.apply(this,arguments)}return ne}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(E,pe,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("../utils/checkBucketName"),ue=ie.checkBucketName,ae=E("../utils/isObject"),oe=ae.isObject,ne=fe;ne.getBucketWebsite=function(){var ee=(0,se.default)(re.default.mark(function y(x,b){var z,te,ce;return re.default.wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return ue(x),z=this._bucketRequestParams("GET",x,"website",b),z.successStatuses=[200],z.xmlResponse=!0,he.next=6,this.request(z);case 6:return te=he.sent,ce=[],te.data.RoutingRules&&te.data.RoutingRules.RoutingRule&&(oe(te.data.RoutingRules.RoutingRule)?ce=[te.data.RoutingRules.RoutingRule]:ce=te.data.RoutingRules.RoutingRule),he.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:ce,error:te.data.ErrorDocument&&te.data.ErrorDocument.Key||null,res:te.res});case 10:case"end":return he.stop()}},y,this)}));function a(y,x){return ee.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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.getBucketWorm=void 0;var ie=E("../utils/checkBucketName"),ue=E("../utils/dataFix");function ae(ne,ee){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(re.default.mark(function ne(ee,a){var y,x;return re.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ie.checkBucketName(ee),y=this._bucketRequestParams("GET",ee,"worm",a),y.successStatuses=[200],y.xmlResponse=!0,z.next=6,this.request(y);case 6:return x=z.sent,ue.dataFix(x.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),z.abrupt("return",Object.assign(Object.assign({},x.data),{res:x.res,status:x.status}));case 9:case"end":return z.stop()}},ne,this)})),oe.apply(this,arguments)}fe.getBucketWorm=ae},{"../utils/checkBucketName":51,"../utils/dataFix":57,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],18:[function(E,pe,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.initiateBucketWorm=void 0;var ie=E("../utils/obj2xml"),ue=E("../utils/checkBucketName");function ae(ne,ee,a){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(re.default.mark(function ne(ee,a,y){var x,b,z;return re.default.wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ue.checkBucketName(ee),x=this._bucketRequestParams("POST",ee,"worm",y),b={InitiateWormConfiguration:{RetentionPeriodInDays:a}},x.mime="xml",x.content=ie.obj2xml(b,{headers:!0}),x.successStatuses=[200],ce.next=8,this.request(x);case 8:return z=ce.sent,ce.abrupt("return",{res:z.res,wormId:z.res.headers["x-oss-worm-id"],status:z.status});case 10:case"end":return ce.stop()}},ne,this)})),oe.apply(this,arguments)}fe.initiateBucketWorm=ae},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(E,pe,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.listBucketInventory=void 0;var ie=E("../utils/checkBucketName"),ue=E("../utils/formatInventoryConfig");function ae(ne){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(re.default.mark(function ne(ee){var a,y,x,b,z,te,ce,ge,he=arguments;return re.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return a=he.length>1&&he[1]!==void 0?he[1]:{},y=a.continuationToken,x=Object.assign({inventory:""},y&&{"continuation-token":y},a.subres),ie.checkBucketName(ee),b=this._bucketRequestParams("GET",ee,x,a),b.successStatuses=[200],b.xmlResponse=!0,me.next=9,this.request(b);case 9:return z=me.sent,te=z.data,ce=z.res,ge=z.status,me.abrupt("return",{isTruncated:te.IsTruncated==="true",nextContinuationToken:te.NextContinuationToken,inventoryList:ue.formatInventoryConfig(te.InventoryConfiguration,!0),status:ge,res:ce});case 12:case"end":return me.stop()}},ne,this)})),oe.apply(this,arguments)}fe.listBucketInventory=ae},{"../utils/checkBucketName":51,"../utils/formatInventoryConfig":60,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287}],20:[function(E,pe,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.putBucketInventory=void 0;var ie=E("../utils/checkBucketName"),ue=E("../utils/obj2xml");function ae(ne,ee){return oe.apply(this,arguments)}function oe(){return oe=(0,se.default)(re.default.mark(function ne(ee,a){var y,x,b,z,te,ce,ge,he,ve,me,be,ye=arguments;return re.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:return y=ye.length>2&&ye[2]!==void 0?ye[2]:{},x=Object.assign({inventory:"",inventoryId:a.id},y.subres),ie.checkBucketName(ee),b=a.OSSBucketDestination,z=a.optionalFields,te=a.includedObjectVersions,ce="acs:oss:::",ge="acs:ram::".concat(b.accountId,":role/"),he={InventoryConfiguration:{Id:a.id,IsEnabled:a.isEnabled,Filter:{Prefix:a.prefix||""},Destination:{OSSBucketDestination:{Format:b.format,AccountId:b.accountId,RoleArn:"".concat(ge).concat(b.rolename),Bucket:"".concat(ce).concat(b.bucket),Prefix:b.prefix||"",Encryption:b.encryption||""}},Schedule:{Frequency:a.frequency},IncludedObjectVersions:te,OptionalFields:{Field:(z==null?void 0:z.field)||[]}}},ve=ue.obj2xml(he,{headers:!0,firstUpperCase:!0}),me=this._bucketRequestParams("PUT",ee,x,y),me.successStatuses=[200],me.mime="xml",me.content=ve,we.next=14,this.request(me);case 14:return be=we.sent,we.abrupt("return",{status:be.status,res:be.res});case 16:case"end":return we.stop()}},ne,this)})),oe.apply(this,arguments)}fe.putBucketInventory=ae},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.assign.js":287}],21:[function(E,pe,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(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 se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("../utils/checkBucketName"),ue=ie.checkBucketName,ae=E("../utils/isArray"),oe=ae.isArray,ne=E("../utils/deepCopy"),ee=ne.deepCopy,a=E("../utils/isObject"),y=a.isObject,x=E("../utils/obj2xml"),b=x.obj2xml,z=E("../utils/checkObjectTag"),te=z.checkObjectTag,ce=E("../utils/getStrBytesCount"),ge=ce.getStrBytesCount,he=fe;he.putBucketLifecycle=function(){var Pe=(0,se.default)(re.default.mark(function Le(Ce,Te,Ee){var Re,De,ke,Ie,qe;return re.default.wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:if(ue(Ce),oe(Te)){Je.next=3;break}throw new Error("rules must be Array");case 3:return Re=this._bucketRequestParams("PUT",Ce,"lifecycle",Ee),De=[],ke={LifecycleConfiguration:{Rule:De}},Te.forEach(function(Ye){ve(Ye),ye(Ye),Ye.id&&(Ye.ID=Ye.id,delete Ye.id),De.push(Ye)}),Ie=b(ke,{headers:!0,firstUpperCase:!0}),Re.content=Ie,Re.mime="xml",Re.successStatuses=[200],Je.next=13,this.request(Re);case 13:return qe=Je.sent,Je.abrupt("return",{res:qe.res});case 15:case"end":return Je.stop()}},Le,this)}));function we(Le,Ce,Te){return Pe.apply(this,arguments)}return we}();function ve(Pe){Pe.days&&(Pe.expiration={days:Pe.days}),Pe.date&&(Pe.expiration={createdBeforeDate:Pe.date})}function me(Pe,we){var Le=Pe.days,Ce=Pe.createdBeforeDate;if(!Le&&!Ce)throw new Error("".concat(we," must includes days or createdBeforeDate"));if(Le&&!/^[1-9][0-9]*$/.test(Le))throw new Error("days must be a positive integer");if(Ce&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(Ce))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function be(Pe){if(!oe(Pe)&&!y(Pe))throw new Error("tag must be Object or Array");Pe=y(Pe)?[Pe]:Pe;var we={},Le=ee(Pe);Le.forEach(function(Ce){we[Ce.key]=Ce.value}),te(we)}function ye(Pe){if(Pe.id&&ge(Pe.id)>255)throw new Error("ID is composed of 255 bytes at most");if(Pe.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(Pe.status))throw new Error("Status must be Enabled or Disabled");if(Pe.transition){if(!["IA","Archive"].includes(Pe.transition.storageClass))throw new Error("StorageClass must be IA or Archive");me(Pe.transition,"Transition")}if(Pe.expiration){if(!Pe.expiration.expiredObjectDeleteMarker)me(Pe.expiration,"Expiration");else if(Pe.expiration.days||Pe.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(Pe.abortMultipartUpload&&me(Pe.abortMultipartUpload,"AbortMultipartUpload"),!Pe.expiration&&!Pe.abortMultipartUpload&&!Pe.transition&&!Pe.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(Pe.tag){if(Pe.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");be(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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.includes.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("../utils/checkBucketName"),ue=ie.checkBucketName,ae=E("../utils/obj2xml"),oe=ae.obj2xml,ne=fe;ne.putBucketVersioning=function(){var ee=(0,se.default)(re.default.mark(function y(x,b){var z,te,ce,ge,he=arguments;return re.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:if(z=he.length>2&&he[2]!==void 0?he[2]:{},ue(x),["Enabled","Suspended"].includes(b)){me.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return te=this._bucketRequestParams("PUT",x,"versioning",z),ce={VersioningConfiguration:{Status:b}},te.mime="xml",te.content=oe(ce,{headers:!0}),me.next=10,this.request(te);case 10:return ge=me.sent,me.abrupt("return",{res:ge.res,status:ge.status});case 12:case"end":return me.stop()}},y,this)}));function a(y,x){return ee.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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("../utils/checkBucketName"),ue=ie.checkBucketName,ae=E("../utils/obj2xml"),oe=ae.obj2xml,ne=E("../utils/isArray"),ee=ne.isArray,a=fe;a.putBucketWebsite=function(){var y=(0,se.default)(re.default.mark(function b(z){var te,ce,ge,he,ve,me,be,ye=arguments;return re.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(te=ye.length>1&&ye[1]!==void 0?ye[1]:{},ce=ye.length>2?ye[2]:void 0,ue(z),ge=this._bucketRequestParams("PUT",z,"website",ce),he={Suffix:te.index||"index.html"},ve={IndexDocument:he},me={WebsiteConfiguration:ve},te.supportSubDir&&(he.SupportSubDir=te.supportSubDir),te.type&&(he.Type=te.type),te.error&&(ve.ErrorDocument={Key:te.error}),te.routingRules===void 0){we.next=14;break}if(ee(te.routingRules)){we.next=13;break}throw new Error("RoutingRules must be Array");case 13:ve.RoutingRules={RoutingRule:te.routingRules};case 14:return me=oe(me),ge.content=me,ge.mime="xml",ge.successStatuses=[200],we.next=20,this.request(ge);case 20:return be=we.sent,we.abrupt("return",{res:be.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,fe){(function(le){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),fe.encodeCallback=function(se,ie){if(se.headers=se.headers||{},!Object.prototype.hasOwnProperty.call(se.headers,"x-oss-callback")&&ie.callback){var ue={callbackUrl:encodeURI(ie.callback.url),callbackBody:ie.callback.body};ie.callback.host&&(ue.callbackHost=ie.callback.host),ie.callback.contentType&&(ue.callbackBodyType=ie.callback.contentType);var ae=le.from(JSON.stringify(ue)).toString("base64");if(se.headers["x-oss-callback"]=ae,ie.callback.customValue){var oe={};Object.keys(ie.callback.customValue).forEach(function(ne){oe["x:".concat(ne)]=ie.callback.customValue[ne].toString()}),se.headers["x-oss-callback-var"]=le.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,fe){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js");var le=function(ee){return ee&&ee.__esModule?ee:{default:ee}};Object.defineProperty(fe,"__esModule",{value:!0}),fe.getReqUrl=void 0;var re=le(E("copy-to")),se=le(E("url")),ie=le(E("merge-descriptors")),ue=le(E("is-type-of")),ae=E("../utils/isIP"),oe=E("../utils/checkConfigValid");function ne(ee){var a={},y=this.options.cname;oe.checkConfigValid(this.options.endpoint,"endpoint"),re.default(this.options.endpoint,!1).to(a),ee.bucket&&!y&&!ae.isIP(a.hostname)&&!this.options.sldEnable&&(a.host="".concat(ee.bucket,".").concat(a.host));var x="/";ee.bucket&&this.options.sldEnable&&(x+="".concat(ee.bucket,"/")),ee.object&&(x+=this._escape(ee.object).replace(/\+/g,"%2B")),a.pathname=x;var b={};if(ee.query&&ie.default(b,ee.query),ee.subres){var z={};ue.default.string(ee.subres)?z[ee.subres]="":ue.default.array(ee.subres)?ee.subres.forEach(function(te){z[te]=""}):z=ee.subres,ie.default(b,z)}return a.query=b,se.default.format(a)}fe.getReqUrl=ne},{"../utils/checkConfigValid":52,"../utils/isIP":69,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466,"merge-descriptors":372,url:472}],26:[function(E,pe,fe){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.string.trim.js");var le=E("humanize-ms"),re=E("url"),se=E("../utils/checkBucketName"),ie=se.checkBucketName,ue=E("../utils/setRegion"),ae=ue.setRegion,oe=E("../utils/checkConfigValid"),ne=oe.checkConfigValid;function ee(a,y){ne(a,"endpoint");var x=re.parse(a);if(x.protocol||(x=re.parse("http".concat(y?"s":"","://").concat(a))),x.protocol!=="http:"&&x.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return x}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&&ie(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=le(y.timeout)),y.endpoint)y.endpoint=ee(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,fe){"use strict";var le=E("merge-descriptors"),re=fe;le(re,E("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(E,pe,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("../utils/checkBucketName"),ue=ie.checkBucketName,ae=E("querystring"),oe=E("js-base64"),ne=oe.Base64.encode,ee=fe;ee.processObjectSave=function(){var y=(0,se.default)(re.default.mark(function b(z,te,ce,ge){var he,ve,me,be;return re.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return a(z,"sourceObject"),a(te,"targetObject"),a(ce,"process"),te=this._objectName(te),ge&&ue(ge),he=this._objectRequestParams("POST",z,{subres:"x-oss-process"}),ve=ge?",b_".concat(ne(ge)):"",te=ne(te),me={"x-oss-process":"".concat(ce,"|sys/saveas,o_").concat(te).concat(ve)},he.content=ae.stringify(me),Pe.next=12,this.request(he);case 12:return be=Pe.sent,Pe.abrupt("return",{res:be.res,status:be.res.status});case 14:case"end":return Pe.stop()}},b,this)}));function x(b,z,te,ce){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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(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 se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("debug")("ali-oss:multipart-copy"),ue=E("copy-to"),ae=fe;ae.uploadPartCopy=function(){var oe=(0,se.default)(re.default.mark(function ee(a,y,x,b,z){var te,ce,ge,he,ve,me=arguments;return re.default.wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return te=me.length>5&&me[5]!==void 0?me[5]:{},te.headers=te.headers||{},ce=te.versionId||te.subres&&te.subres.versionId||null,ce?ge="/".concat(z.sourceBucketName,"/").concat(encodeURIComponent(z.sourceKey),"?versionId=").concat(ce):ge="/".concat(z.sourceBucketName,"/").concat(encodeURIComponent(z.sourceKey)),te.headers["x-oss-copy-source"]=ge,b&&(te.headers["x-oss-copy-source-range"]="bytes=".concat(b)),te.subres={partNumber:x,uploadId:y},he=this._objectRequestParams("PUT",a,te),he.mime=te.mime,he.successStatuses=[200],ye.next=12,this.request(he);case 12:return ve=ye.sent,ye.abrupt("return",{name:a,etag:ve.res.headers.etag,res:ve.res});case 14:case"end":return ye.stop()}},ee,this)}));function ne(ee,a,y,x,b){return oe.apply(this,arguments)}return ne}(),ae.multipartUploadCopy=function(){var oe=(0,se.default)(re.default.mark(function ee(a,y){var x,b,z,te,ce,ge,he,ve,me,be,ye,Pe,we=arguments;return re.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return x=we.length>2&&we[2]!==void 0?we[2]:{},this.resetCancelFlag(),b=x.versionId,z=b===void 0?null:b,te={versionId:z},Ce.next=6,this._getObjectMeta(y.sourceBucketName,y.sourceKey,te);case 6:if(ce=Ce.sent,ge=ce.res.headers["content-length"],y.startOffset=y.startOffset||0,y.endOffset=y.endOffset||ge,!(x.checkpoint&&x.checkpoint.uploadId)){Ce.next=14;break}return Ce.next=13,this._resumeMultipartCopy(x.checkpoint,y,x);case 13:return Ce.abrupt("return",Ce.sent);case 14:if(he=102400,ve=y.endOffset-y.startOffset,!(ve0)){Je.next=40;break}throw qe=ke[0],qe.message="Failed to copy some parts with error: ".concat(qe.toString()," part_num: ").concat(qe.partNum),qe;case 40:return Je.next=42,this.completeMultipartUpload(me,he,ve,x);case 42:return Je.abrupt("return",Je.sent);case 43:case"end":return Je.stop()}},ee,this)}));function ne(ee,a,y){return oe.apply(this,arguments)}return ne}(),ae._divideMultipartCopyParts=function(ne,ee,a){for(var y=Math.ceil(ne/ee),x=[],b=0;b `,Pe=0;Pe `,ye+="".concat(we.number,` `),ye+="".concat(we.etag,` `),ye+=` `;return ye+="",me=me||{},Le={},Le=ne(me,function(ke){if(a(ke))return null}),Le.subres={uploadId:he},Le.headers=x(Le.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),Ce=this._objectRequestParams("POST",ge,Le),ae.encodeCallback(Ce,Le),Ce.mime="xml",Ce.content=ye,Ce.headers&&Ce.headers["x-oss-callback"]||(Ce.xmlResponse=!0),Ce.successStatuses=[200],De.next=17,this.request(Ce);case 17:if(Te=De.sent,!me.progress){De.next=21;break}return De.next=21,me.progress(1,null,Te.res);case 21:return Ee={res:Te.res,bucket:Ce.bucket,name:ge,etag:Te.res.headers.etag},Ce.headers&&Ce.headers["x-oss-callback"]&&(Ee.data=JSON.parse(Te.data.toString())),De.abrupt("return",Ee);case 24:case"end":return De.stop()}},ce,this)}));function te(ce,ge,he,ve){return z.apply(this,arguments)}return te}(),b._uploadPart=function(){var z=(0,ie.default)(se.default.mark(function ce(ge,he,ve,me,be){var ye,Pe,we,Le;return se.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:return be=be||{},ye={},ue(be).to(ye),ye.headers=ye.headers||{},ye.headers["Content-Length"]=me.size,ye.headers=x(ye.headers,["x-oss-server-side-encryption"]),ye.subres={partNumber:ve,uploadId:he},Pe=this._objectRequestParams("PUT",ge,ye),Pe.mime=ye.mime,we=le&&le.browser,we?Pe.content=me.content:Pe.stream=me.stream,Pe.successStatuses=[200],Pe.disabledMD5=be.disabledMD5,Te.next=15,this.request(Pe);case 15:if(Le=Te.sent,Le.res.headers.etag){Te.next=18;break}throw new Error(`Please set the etag of expose-headers in OSS https://help.aliyun.com/document_detail/32069.html`);case 18:return me.stream&&(me.stream=null,Pe.stream=null),Te.abrupt("return",{name:ge,etag:Le.res.headers.etag,res:Le.res});case 20:case"end":return Te.stop()}},ce,this)}));function te(ce,ge,he,ve,me){return z.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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator")),se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("url"),ue=E("utility"),ae=E("copy-to"),oe=E("../../common/signUtils"),ne=E("../utils/isIP"),ee=ne.isIP,a=E("../utils/setSTSToken"),y=a.setSTSToken,x=E("../utils/isFunction"),b=x.isFunction,z=fe;z.asyncSignatureUrl=function(){var te=(0,se.default)(re.default.mark(function ge(he,ve){var me,be,ye,Pe,we;return re.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:if(!ee(this.options.endpoint.hostname)){Ce.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(ve=ve||{},he=this._objectName(he),ve.method=ve.method||"GET",me=ue.timestamp()+(ve.expires||1800),be={bucket:this.options.bucket,object:he},ye=this._getResource(be),!(this.options.stsToken&&b(this.options.refreshSTSToken))){Ce.next=11;break}return Ce.next=11,y.call(this);case 11:return this.options.stsToken&&(ve["security-token"]=this.options.stsToken),Pe=oe._signatureForURL(this.options.accessKeySecret,ve,ye,me),we=ie.parse(this._getReqUrl(be)),we.query={OSSAccessKeyId:this.options.accessKeyId,Expires:me,Signature:Pe.Signature},ae(Pe.subResource).to(we.query),Ce.abrupt("return",we.format());case 17:case"end":return Ce.stop()}},ge,this)}));function ce(ge,he){return te.apply(this,arguments)}return ce}()},{"../../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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(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 se=le(E("@babel/runtime/helpers/typeof")),ie=le(E("@babel/runtime/helpers/asyncToGenerator")),ue=E("../utils/checkBucketName"),ae=ue.checkBucketName,oe=fe,ne=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];oe.copy=function(){var ee=(0,ie.default)(re.default.mark(function y(x,b,z,te){var ce,ge,he;return re.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return(0,se.default)(z)==="object"&&(te=z),te=te||{},te.headers=te.headers||{},Object.keys(te.headers).forEach(function(be){te.headers["x-oss-copy-source-".concat(be.toLowerCase())]=te.headers[be]}),(te.meta||Object.keys(te.headers).find(function(be){return ne.includes(be.toLowerCase())}))&&(te.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(te.meta,te.headers),b=this._getSourceName(b,z),te.versionId&&(b="".concat(b,"?versionId=").concat(te.versionId)),te.headers["x-oss-copy-source"]=b,ce=this._objectRequestParams("PUT",x,te),ce.xmlResponse=!0,ce.successStatuses=[200,304],me.next=14,this.request(ce);case 14:return ge=me.sent,he=ge.data,he&&(he={etag:he.ETag,lastModified:he.LastModified}),me.abrupt("return",{data:he,res:ge.res});case 18:case"end":return me.stop()}},y,this)}));function a(y,x,b,z){return ee.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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=fe;ie.delete=function(){var ue=(0,se.default)(re.default.mark(function oe(ne){var ee,a,y,x=arguments;return re.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ee=x.length>1&&x[1]!==void 0?x[1]:{},ee.subres=Object.assign({},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),a=this._objectRequestParams("DELETE",ne,ee),a.successStatuses=[204],z.next=7,this.request(a);case 7:return y=z.sent,z.abrupt("return",{res:y.res});case 9:case"end":return z.stop()}},oe,this)}));function 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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("utility"),ue=E("../utils/obj2xml"),ae=ue.obj2xml,oe=fe;oe.deleteMulti=function(){var ne=(0,se.default)(re.default.mark(function a(y){var x,b,z,te,ce,ge,he,ve,me,be,ye,Pe,we,Le=arguments;return re.default.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:if(x=Le.length>1&&Le[1]!==void 0?Le[1]:{},b=[],!(!y||!y.length)){Te.next=4;break}throw new Error("names is required");case 4:for(z=0;z1&&x[1]!==void 0?x[1]:{},ee.subres=Object.assign({tagging:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),ne=this._objectName(ne),a=this._objectRequestParams("DELETE",ne,ee),a.successStatuses=[204],z.next=8,this.request(a);case 8:return y=z.sent,z.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return z.stop()}},oe,this)}));function 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,fe){"use strict";E("core-js/modules/es.array.concat.js");var le=E("url"),re=E("../utils/isIP"),se=re.isIP,ie=fe;ie.generateObjectUrl=function(ae,oe){if(se(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(oe)oe[oe.length-1]!=="/"&&(oe+="/");else{oe=this.options.endpoint.format();var ne=le.parse(oe),ee=this.options.bucket;ne.hostname="".concat(ee,".").concat(ne.hostname),ne.host="".concat(ee,".").concat(ne.host),oe=ne.format()}return oe+this._escape(this._objectName(ae))}},{"../utils/isIP":69,"core-js/modules/es.array.concat.js":272,url:472}],37:[function(E,pe,fe){(function(le){(function(){"use strict";var re=E("@babel/runtime/helpers/interopRequireDefault"),se=re(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=re(E("@babel/runtime/helpers/asyncToGenerator")),ue=E("fs"),ae=E("is-type-of"),oe=fe;oe.get=function(){var ne=(0,ie.default)(se.default.mark(function a(y,x){var b,z,te,ce,ge,he,ve,me,be=arguments;return se.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return b=be.length>2&&be[2]!==void 0?be[2]:{},z=null,te=!1,ae.writableStream(x)?z=x:ae.string(x)?(z=ue.createWriteStream(x),te=!0):b=x,b=b||{},ce=le&&le.browser,ge=b.responseCacheControl===null?"":"no-cache",he=ce&&ge?{"response-cache-control":ge}:{},b.subres=Object.assign(he,b.subres),b.versionId&&(b.subres.versionId=b.versionId),b.process&&(b.subres["x-oss-process"]=b.process),Pe.prev=11,me=this._objectRequestParams("GET",y,b),me.writeStream=z,me.successStatuses=[200,206,304],Pe.next=17,this.request(me);case 17:ve=Pe.sent,te&&z.destroy(),Pe.next=28;break;case 21:if(Pe.prev=21,Pe.t0=Pe.catch(11),!te){Pe.next=27;break}return z.destroy(),Pe.next=27,this._deleteFileSafe(x);case 27:throw Pe.t0;case 28:return Pe.abrupt("return",{res:ve.res,content:ve.data});case 29:case"end":return Pe.stop()}},a,this,[[11,21]])}));function ee(a,y){return ne.apply(this,arguments)}return ee}()}).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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=fe;ie.getACL=function(){var ue=(0,se.default)(re.default.mark(function oe(ne){var ee,a,y,x=arguments;return re.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return ee=x.length>1&&x[1]!==void 0?x[1]:{},ee.subres=Object.assign({acl:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),ne=this._objectName(ne),a=this._objectRequestParams("GET",ne,ee),a.successStatuses=[200],a.xmlResponse=!0,z.next=9,this.request(a);case 9:return y=z.sent,z.abrupt("return",{acl:y.data.AccessControlList.Grant,owner:{id:y.data.Owner.ID,displayName:y.data.Owner.DisplayName},res:y.res});case 11:case"end":return z.stop()}},oe,this)}));function 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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(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 se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=fe,ue=E("../utils/isObject"),ae=ue.isObject,oe=E("../utils/isArray"),ne=oe.isArray;ie.getBucketVersions=ee,ie.listObjectVersions=ee;function ee(){return a.apply(this,arguments)}function a(){return a=(0,se.default)(re.default.mark(function b(){var z,te,ce,ge,he,ve,me,be,ye=arguments;return re.default.wrap(function(we){for(;;)switch(we.prev=we.next){case 0:if(z=ye.length>0&&ye[0]!==void 0?ye[0]:{},te=ye.length>1&&ye[1]!==void 0?ye[1]:{},!(z.versionIdMarker&&z.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),ce=this._objectRequestParams("GET","",te),ce.xmlResponse=!0,ce.successStatuses=[200],ce.query=x(z),we.next=12,this.request(ce);case 12:return ge=we.sent,he=ge.data.Version||[],ve=ge.data.DeleteMarker||[],me=this,he&&(Array.isArray(he)||(he=[he]),he=he.map(function(Le){return{name:Le.Key,url:me._objectUrl(Le.Key),lastModified:Le.LastModified,isLatest:Le.IsLatest==="true",versionId:Le.VersionId,etag:Le.ETag,type:Le.Type,size:Number(Le.Size),storageClass:Le.StorageClass,owner:{id:Le.Owner.ID,displayName:Le.Owner.DisplayName}}})),ve&&(ne(ve)||(ve=[ve]),ve=ve.map(function(Le){return{name:Le.Key,lastModified:Le.LastModified,versionId:Le.VersionId,owner:{id:Le.Owner.ID,displayName:Le.Owner.DisplayName}}})),be=ge.data.CommonPrefixes||null,be&&(ne(be)||(be=[be]),be=be.map(function(Le){return Le.Prefix})),we.abrupt("return",{res:ge.res,objects:he,deleteMarker:ve,prefixes:be,nextMarker:ge.data.NextKeyMarker||null,NextVersionIdMarker:ge.data.NextVersionIdMarker||null,nextKeyMarker:ge.data.NextKeyMarker||null,nextVersionIdMarker:ge.data.NextVersionIdMarker||null,isTruncated:ge.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]:{},z={};return ae(b)&&Object.keys(b).forEach(function(te){z[y(te)]=b[te]}),z}},{"../utils/isArray":63,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.map.js":280,"core-js/modules/es.number.constructor.js":286,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.replace.js":305,"core-js/modules/web.dom-collections.for-each.js":339}],40:[function(E,pe,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=fe;ie.getObjectMeta=function(){var ue=(0,se.default)(re.default.mark(function oe(ne,ee){var a,y;return re.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return ee=ee||{},ne=this._objectName(ne),ee.subres=Object.assign({objectMeta:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),a=this._objectRequestParams("HEAD",ne,ee),a.successStatuses=[200],b.next=8,this.request(a);case 8:return y=b.sent,b.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return b.stop()}},oe,this)}));function ae(oe,ne){return 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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(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 se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=fe,ue=E("../utils/isObject"),ae=ue.isObject;ie.getObjectTagging=function(){var oe=(0,se.default)(re.default.mark(function ee(a){var y,x,b,z,te,ce,ge=arguments;return re.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return y=ge.length>1&&ge[1]!==void 0?ge[1]:{},y.subres=Object.assign({tagging:""},y.subres),y.versionId&&(y.subres.versionId=y.versionId),a=this._objectName(a),x=this._objectRequestParams("GET",a,y),x.successStatuses=[200],ve.next=8,this.request(x);case 8:return b=ve.sent,ve.next=11,this.parseXML(b.data);case 11:return z=ve.sent,te=z.TagSet.Tag,te=te&&ae(te)?[te]:te||[],ce={},te.forEach(function(me){ce[me.Key]=me.Value}),ve.abrupt("return",{status:b.status,res:b.res,tag:ce});case 17:case"end":return ve.stop()}},ee,this)}));function ne(ee){return oe.apply(this,arguments)}return ne}()},{"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],42:[function(E,pe,fe){"use strict";var le=E("../utils/isIP"),re=le.isIP,se=fe;se.getObjectUrl=function(ue,ae){if(re(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return ae?ae[ae.length-1]!=="/"&&(ae+="/"):ae=this.options.endpoint.format(),ae+this._escape(this._objectName(ue))}},{"../utils/isIP":69}],43:[function(E,pe,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=fe;ie.getSymlink=function(){var ue=(0,se.default)(re.default.mark(function oe(ne){var ee,a,y,x,b=arguments;return re.default.wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return ee=b.length>1&&b[1]!==void 0?b[1]:{},ee.subres=Object.assign({symlink:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),ne=this._objectName(ne),a=this._objectRequestParams("GET",ne,ee),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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(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 se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("../utils/checkEnv"),ue=ie.checkEnv,ae=fe;ae.head=function(){var oe=(0,se.default)(re.default.mark(function ee(a){var y,x,b,z,te=arguments;return re.default.wrap(function(ge){for(;;)switch(ge.prev=ge.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],ge.next=8,this.request(x);case 8:return b=ge.sent,z={meta:null,res:b.res,status:b.status},b.status===200&&Object.keys(b.headers).forEach(function(he){he.indexOf("x-oss-meta-")===0&&(z.meta||(z.meta={}),z.meta[he.substring(11)]=b.headers[he])}),ge.abrupt("return",z);case 12:case"end":return ge.stop()}},ee,this)}));function ne(ee){return oe.apply(this,arguments)}return ne}()},{"../utils/checkEnv":53,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],45:[function(E,pe,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=fe;ie.putACL=function(){var ue=(0,se.default)(re.default.mark(function oe(ne,ee,a){var y,x;return re.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return a=a||{},a.subres=Object.assign({acl:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.headers=a.headers||{},a.headers["x-oss-object-acl"]=ee,ne=this._objectName(ne),y=this._objectRequestParams("PUT",ne,a),y.successStatuses=[200],z.next=10,this.request(y);case 10:return x=z.sent,z.abrupt("return",{res:x.res});case 12:case"end":return z.stop()}},oe,this)}));function ae(oe,ne,ee){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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(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 se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("../utils/obj2xml"),ue=ie.obj2xml,ae=E("../utils/checkObjectTag"),oe=ae.checkObjectTag,ne=fe;ne.putObjectTagging=function(){var ee=(0,se.default)(re.default.mark(function y(x,b){var z,te,ce,ge,he=arguments;return re.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return z=he.length>2&&he[2]!==void 0?he[2]:{},oe(b),z.subres=Object.assign({tagging:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),x=this._objectName(x),te=this._objectRequestParams("PUT",x,z),te.successStatuses=[200],b=Object.keys(b).map(function(be){return{Key:be,Value:b[be]}}),ce={Tagging:{TagSet:{Tag:b}}},te.mime="xml",te.content=ue(ce),me.next=13,this.request(te);case 13:return ge=me.sent,me.abrupt("return",{res:ge.res,status:ge.status});case 15:case"end":return me.stop()}},y,this)}));function a(y,x){return ee.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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=fe;ie.putSymlink=function(){var ue=(0,se.default)(re.default.mark(function oe(ne,ee,a){var y,x;return re.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return a=a||{},a.headers=a.headers||{},ee=this._escape(this._objectName(ee)),this._convertMetaToHeaders(a.meta,a.headers),a.headers["x-oss-symlink-target"]=ee,a.subres=Object.assign({symlink:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.storageClass&&(a.headers["x-oss-storage-class"]=a.storageClass),ne=this._objectName(ne),y=this._objectRequestParams("PUT",ne,a),y.successStatuses=[200],z.next=13,this.request(y);case 13:return x=z.sent,z.abrupt("return",{res:x.res});case 15:case"end":return z.stop()}},oe,this)}));function ae(oe,ne,ee){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,fe){"use strict";var le=E("url"),re=E("utility"),se=E("copy-to"),ie=E("../../common/signUtils"),ue=E("../utils/isIP"),ae=ue.isIP,oe=fe;oe.signatureUrl=function(ee,a){if(ae(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");a=a||{},ee=this._objectName(ee),a.method=a.method||"GET";var y=re.timestamp()+(a.expires||1800),x={bucket:this.options.bucket,object:ee},b=this._getResource(x);this.options.stsToken&&(a["security-token"]=this.options.stsToken);var z=ie._signatureForURL(this.options.accessKeySecret,a,b,y),te=le.parse(this._getReqUrl(x));return te.query={OSSAccessKeyId:this.options.accessKeyId,Expires:y,Signature:z.Signature},se(z.subResource).to(te.query),te.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(E,pe,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(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 se=le(E("@babel/runtime/helpers/asyncToGenerator")),ie=E("./utils/isArray"),ue=ie.isArray,ae=fe;ae._parallelNode=function(){var oe=(0,se.default)(re.default.mark(function ee(a,y,x,b){var z,te,ce,ge,he,ve,me,be;return re.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:z=this,te=[],ce=[],ge=a.length/y,he=a.length%y,ve=he===0?ge:(a.length-he)/y+1,me=1,be=0;case 8:if(!(be0){ge=!0,he<=0&&x(b);return}he+=1,be(Pe.value,z(me))}ve=!1}ye()})},ae.cancel=function(ne){this.options.cancelFlag=!0,ue(this.multipartUploadStreams)&&this.multipartUploadStreams.forEach(function(ee){if(ee.destroyed===!1){var a={name:"cancel",message:"cancel"};ee.destroy(a)}}),this.multipartUploadStreams=[],ne&&this.abortMultipartUpload(ne.name,ne.uploadId,ne.options)},ae.isCancel=function(){return this.options.cancelFlag},ae.resetCancelFlag=function(){this.options.cancelFlag=!1},ae._stop=function(){this.options.cancelFlag=!0},ae._makeCancelEvent=function(){var ne={status:0,name:"cancel"};return ne},ae._makeAbortEvent=function(){var ne={status:0,name:"abort",message:"upload task has been abort"};return ne}},{"./utils/isArray":63,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.string.iterator.js":303,"core-js/modules/web.dom-collections.for-each.js":339,"core-js/modules/web.dom-collections.iterator.js":340}],50:[function(E,pe,fe){(function(le){(function(){"use strict";E("core-js/modules/es.string.trim.js"),E("core-js/modules/es.array.sort.js"),E("core-js/modules/es.array.join.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.regexp.to-string.js");var re=E("./../../shims/crypto/crypto.js"),se=E("is-type-of"),ie=E("./utils/lowercaseKeyHeader"),ue=ie.lowercaseKeyHeader;fe.buildCanonicalizedResource=function(oe,ne){var ee="".concat(oe),a="?";if(se.string(ne)&&ne.trim()!=="")ee+=a+ne;else if(se.array(ne))ne.sort(),ee+=a+ne.join("&");else if(ne){var y=function(z,te){return z[0]>te[0]?1:z[0]2&&arguments[2]!==void 0?arguments[2]:"utf-8",a=re.createHmac("sha1",oe);return a.update(le.from(ne,ee)).digest("base64")},fe.authorization=function(oe,ne,ee,a){return"OSS ".concat(oe,":").concat(this.computeSignature(ne,ee,a))},fe._signatureForURL=function(oe){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ee=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,y=arguments.length>4?arguments[4]:void 0,x={},b=ne.subResource,z=b===void 0?{}:b;if(ne.process){var te="x-oss-process";z[te]=ne.process}if(ne.trafficLimit){var ce="x-oss-traffic-limit";z[ce]=ne.trafficLimit}if(ne.response&&Object.keys(ne.response).forEach(function(me){var be="response-".concat(me.toLowerCase());z[be]=ne.response[me]}),Object.keys(ne).forEach(function(me){var be=me.toLowerCase(),ye=ne[me];be.indexOf("x-oss-")===0?x[be]=ye:(be.indexOf("content-md5")===0||be.indexOf("content-type")===0)&&(x[me]=ye)}),Object.prototype.hasOwnProperty.call(ne,"security-token")&&(z["security-token"]=ne["security-token"]),Object.prototype.hasOwnProperty.call(ne,"callback")){var ge={callbackUrl:encodeURI(ne.callback.url),callbackBody:ne.callback.body};if(ne.callback.host&&(ge.callbackHost=ne.callback.host),ne.callback.contentType&&(ge.callbackBodyType=ne.callback.contentType),z.callback=le.from(JSON.stringify(ge)).toString("base64"),ne.callback.customValue){var he={};Object.keys(ne.callback.customValue).forEach(function(me){he["x:".concat(me)]=ne.callback.customValue[me]}),z["callback-var"]=le.from(JSON.stringify(he)).toString("base64")}}var ve=this.buildCanonicalString(ne.method,ee,{headers:x,parameters:z},a.toString());return{Signature:this.computeSignature(oe,ve,y),subResource:z}}}).call(this)}).call(this,E("buffer").Buffer)},{"./../../shims/crypto/crypto.js":461,"./utils/lowercaseKeyHeader":71,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.sort.js":282,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.trim.js":308,"core-js/modules/web.dom-collections.for-each.js":339,"is-type-of":466}],51:[function(E,pe,fe){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkBucketName=void 0,fe.checkBucketName=function(le){var re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,se=re?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!se.test(le))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(E,pe,fe){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkConfigValid=void 0;var le={endpoint:re,region:/^[a-zA-Z0-9\-_]+$/};function re(se){return typeof se=="string"?/^[a-zA-Z0-9._:/-]+$/.test(se):se.host?/^[a-zA-Z0-9._:/-]+$/.test(se.host):!1}fe.checkConfigValid=function(se,ie){if(le[ie]){var ue=!0;if(le[ie]instanceof Function?ue=le[ie](se):ue=le[ie].test(se),!ue)throw new Error("The ".concat(ie," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(E,pe,fe){(function(le){(function(){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkEnv=void 0;function re(se){le.browser&&console.warn(se)}fe.checkEnv=re}).call(this)}).call(this,E("_process"))},{_process:467}],54:[function(E,pe,fe){"use strict";E("core-js/modules/es.array.concat.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkObjectTag=void 0;var le=E("./checkValid"),re=le.checkValid,se=E("./isObject"),ie=se.isObject,ue=[{validator:function(ee){if(typeof ee!="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(ne){if(!ie(ne))throw new Error("tag must be Object");var ee=Object.entries(ne);if(ee.length>10)throw new Error("maximum of 10 tags for a object");var a=["key","value"];ee.forEach(function(y){y.forEach(function(x,b){re(x,ae[a[b]])})})}fe.checkObjectTag=oe},{"./checkValid":55,"./isObject":70,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.object.entries.js":288,"core-js/modules/es.object.to-string.js":291,"core-js/modules/web.dom-collections.for-each.js":339}],55:[function(E,pe,fe){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkValid=void 0;function le(re,se){se.forEach(function(ie){if(ie.validator)ie.validator(re);else if(ie.pattern&&!ie.pattern.test(re))throw new Error(ie.msg)})}fe.checkValid=le},{"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,fe){(function(le){(function(){"use strict";E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.createRequest=void 0;var re=E("./../../../shims/crypto/crypto.js"),se=E("debug")("ali-oss"),ie=E("mime"),ue=E("dateformat"),ae=E("copy-to"),oe=E("path"),ne=E("./encoder"),ee=ne.encoder,a=E("./isIP"),y=a.isIP,x=E("./setRegion"),b=x.setRegion,z=E("../client/getReqUrl"),te=z.getReqUrl,ce=E("./isDingTalk"),ge=ce.isDingTalk;function he(be,ye){return be[ye]||be[ye.toLowerCase()]}function ve(be,ye){delete be[ye],delete be[ye.toLowerCase()]}function me(be){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(be.headers).to(Pe),he(Pe,"Content-Type")||(be.mime&&be.mime.indexOf("/")>0?Pe["Content-Type"]=be.mime:ge()?Pe["Content-Type"]="application/octet-stream":Pe["Content-Type"]=ie.getType(be.mime||oe.extname(be.object||""))),he(Pe,"Content-Type")||ve(Pe,"Content-Type"),be.content&&(be.disabledMD5||(!be.headers||!be.headers["Content-MD5"]?Pe["Content-MD5"]=re.createHash("md5").update(le.from(be.content,"utf8")).digest("base64"):Pe["Content-MD5"]=be.headers["Content-MD5"]),Pe["Content-Length"]||(Pe["Content-Length"]=be.content.length));var we=Object.prototype.hasOwnProperty;for(var Le in Pe)Pe[Le]&&we.call(Pe,Le)&&(Pe[Le]=ee(String(Pe[Le]),this.options.headerEncoding));var Ce=this._getResource(be);if(Pe.authorization=this.authorization(be.method,Ce,be.subres,Pe,this.options.headerEncoding),y(this.options.endpoint.hostname)){var Te=this.options,Ee=Te.region,Re=Te.internal,De=Te.secure,ke=b(Ee,Re,De);Pe.host="".concat(be.bucket,".").concat(ke.host)}var Ie=te.bind(this)(be);se("request %s %s, with headers %j, !!stream: %s",be.method,Ie,Pe,!!be.stream);var qe=be.timeout||this.options.timeout,Qe={method:be.method,content:be.content,stream:be.stream,headers:Pe,timeout:qe,writeStream:be.writeStream,customResponse:be.customResponse,ctx:be.ctx||this.ctx};return this.agent&&(Qe.agent=this.agent),this.httpsAgent&&(Qe.httpsAgent=this.httpsAgent),Qe.enableProxy=!!this.options.enableProxy,Qe.proxy=this.options.proxy?this.options.proxy:null,{url:Ie,params:Qe}}fe.createRequest=me}).call(this)}).call(this,E("buffer").Buffer)},{"../client/getReqUrl":25,"./../../../shims/crypto/crypto.js":461,"./encoder":59,"./isDingTalk":66,"./isIP":69,"./setRegion":75,buffer:90,"copy-to":94,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.includes.js":277,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.string.includes.js":302,dateformat:342,debug:465,mime:374,path:378}],57:[function(E,pe,fe){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.entries.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.object.keys.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.dataFix=void 0;var le=E("./isObject"),re=["true","TRUE","1",1],se=["false","FALSE","0",0];function ie(oe,ne,ee){if(le.isObject(oe)){var a=ne.remove,y=a===void 0?[]:a,x=ne.rename,b=x===void 0?{}:x,z=ne.camel,te=z===void 0?[]:z,ce=ne.bool,ge=ce===void 0?[]:ce,he=ne.lowerFirst,ve=he===void 0?!1:he;return y.forEach(function(me){return delete oe[me]}),Object.entries(b).forEach(function(me){oe[me[0]]&&(oe[me[1]]||(oe[me[1]]=oe[me[0]],delete oe[me[0]]))}),te.forEach(function(me){if(oe[me]){var be=me.replace(/^(.)/,function(ye){return ye.toLowerCase()}).replace(/-(\w)/g,function(ye,Pe){return Pe.toUpperCase()});oe[be]||(oe[be]=oe[me])}}),ge.forEach(function(me){oe[me]=ue(oe[me])}),typeof ee=="function"&&ee(oe),ae(oe,ve),ie}}fe.dataFix=ie;function ue(oe){return oe?re.includes(oe)?!0:se.includes(oe)?!1:oe:!1}function ae(oe,ne){ne&&Object.keys(oe).forEach(function(ee){var a=ee.replace(/^\w/,function(y){return y.toLowerCase()});typeof oe[a]=="undefined"&&(oe[a]=oe[ee],delete oe[ee])})}},{"./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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js");var re=le(E("@babel/runtime/helpers/typeof"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.deepCopyWith=fe.deepCopy=void 0;var se=E("./isBuffer");fe.deepCopy=function(ie){if(ie===null||(0,re.default)(ie)!=="object")return ie;if(se.isBuffer(ie))return ie.slice();var ue=Array.isArray(ie)?[]:{};return Object.keys(ie).forEach(function(ae){ue[ae]=fe.deepCopy(ie[ae])}),ue},fe.deepCopyWith=function(ie,ue){function ae(oe,ne,ee){var a=ue(oe,ne,ee);if(a!==void 0)return a;if(oe===null||(0,re.default)(oe)!=="object")return oe;if(se.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(ie,"",null):fe.deepCopy(ie)}},{"./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,fe){(function(le){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.encoder=void 0;function re(se){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return ie==="utf-8"?se:le.from(se).toString("latin1")}fe.encoder=re}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.regexp.to-string.js":301}],60:[function(E,pe,fe){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),Object.defineProperty(fe,"__esModule",{value:!0}),fe.formatInventoryConfig=void 0;var le=E("../utils/dataFix"),re=E("../utils/isObject"),se=E("../utils/isArray"),ie=E("../utils/formatObjKey");function ue(oe){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ne&&re.isObject(oe)&&(oe=[oe]),se.isArray(oe)?oe=oe.map(ae):oe=ae(oe),oe}fe.formatInventoryConfig=ue;function ae(oe){return le.dataFix(oe,{bool:["IsEnabled"]},function(ne){var ee,a;ne.prefix=ne.Filter.Prefix,delete ne.Filter,ne.OSSBucketDestination=ne.Destination.OSSBucketDestination,ne.OSSBucketDestination.rolename=ne.OSSBucketDestination.RoleArn.replace(/.*\//,""),delete ne.OSSBucketDestination.RoleArn,ne.OSSBucketDestination.bucket=ne.OSSBucketDestination.Bucket.replace(/.*:::/,""),delete ne.OSSBucketDestination.Bucket,delete ne.Destination,ne.frequency=ne.Schedule.Frequency,delete ne.Schedule.Frequency,!((ee=ne==null?void 0:ne.OptionalFields)===null||ee===void 0)&&ee.Field&&!se.isArray((a=ne.OptionalFields)===null||a===void 0?void 0:a.Field)&&(ne.OptionalFields.Field=[ne.OptionalFields.Field])}),oe=ie.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,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault");E("core-js/modules/es.object.to-string.js"),E("core-js/modules/web.dom-collections.for-each.js"),E("core-js/modules/es.object.keys.js"),E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js");var re=le(E("@babel/runtime/helpers/typeof"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.formatObjKey=void 0;function se(ue,ae,oe){if(ue===null||(0,re.default)(ue)!=="object")return ue;var ne;if(Array.isArray(ue)){ne=[];for(var ee=0;ee `),ue&&ue.firstUpperCase&&(ie=le.formatObjKey(ie,"firstUpperCase")),re(ie)==="object"?Object.keys(ie).forEach(function(oe){re(ie[oe])!=="undefined"&&re(ie[oe])!=="null"&&(re(ie[oe])==="string"||re(ie[oe])==="number"?ae+="<".concat(oe,">").concat(ie[oe],""):re(ie[oe])==="object"?ae+="<".concat(oe,">").concat(se(ie[oe]),""):re(ie[oe])==="array"?ae+=ie[oe].map(function(ne){return"<".concat(oe,">").concat(se(ne),"")}).join(""):ae+="<".concat(oe,">").concat(ie[oe].toString(),""))}):ae+=ie.toString(),ae}fe.obj2xml=se},{"./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,fe){"use strict";E("core-js/modules/es.array.slice.js"),E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.function.name.js"),E("core-js/modules/es.array.from.js"),E("core-js/modules/es.string.iterator.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.symbol.js"),E("core-js/modules/es.symbol.description.js"),E("core-js/modules/es.symbol.iterator.js"),E("core-js/modules/es.array.iterator.js"),E("core-js/modules/web.dom-collections.iterator.js"),E("core-js/modules/es.object.assign.js");function le(ue,ae){var oe=typeof Symbol!="undefined"&&ue[Symbol.iterator]||ue["@@iterator"];if(!oe){if(Array.isArray(ue)||(oe=re(ue))||ae&&ue&&typeof ue.length=="number"){oe&&(ue=oe);var ne=0,ee=function(){};return{s:ee,n:function(){return ne>=ue.length?{done:!0}:{done:!1,value:ue[ne++]}},e:function(z){throw z},f:ee}}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 z=oe.next();return a=z.done,z},e:function(z){y=!0,x=z},f:function(){try{!a&&oe.return!=null&&oe.return()}finally{if(y)throw x}}}}function re(ue,ae){if(ue){if(typeof ue=="string")return se(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 se(ue,ae)}}function se(ue,ae){(ae==null||ae>ue.length)&&(ae=ue.length);for(var oe=0,ne=new Array(ae);oe2&&arguments[2]!==void 0?arguments[2]:{},ue=0,ae=ie.retryDelay,oe=ae===void 0?500:ae,ne=ie.errorHandler,ee=ne===void 0?function(){return!0}:ne,a=function y(){for(var x=arguments.length,b=new Array(x),z=0;z1&&arguments[1]!==void 0?arguments[1]:!1,oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;se.checkConfigValid(ue,"region");var ne=oe?"https://":"http://",ee=ae?"-internal.aliyuncs.com":".aliyuncs.com",a="vpc100-oss-cn-";return ue.substr(0,a.length)===a&&(ee=".aliyuncs.com"),re.default.parse(ne+ue+ee)}fe.setRegion=ie},{"./checkConfigValid":52,url:472}],76:[function(E,pe,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(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 se=le(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(fe,"__esModule",{value:!0}),fe.checkCredentials=fe.setSTSToken=void 0;var ie=E("./formatObjKey");function ue(){return ae.apply(this,arguments)}function ae(){return ae=(0,se.default)(re.default.mark(function ne(){var ee,a;return re.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(this.options||(this.options={}),ee=new Date,!this.stsTokenFreshTime){x.next=14;break}if(!(+ee-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){x.next=12;break}return this.stsTokenFreshTime=ee,x.next=7,this.options.refreshSTSToken();case 7:a=x.sent,a=ie.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=ee;case 15:return x.abrupt("return",null);case 16:case"end":return x.stop()}},ne,this)})),ae.apply(this,arguments)}fe.setSTSToken=ue;function oe(ne){var ee=["accessKeySecret","accessKeyId","stsToken"],a=Object.keys(ne);ee.forEach(function(y){if(!a.find(function(x){return x===y}))throw Error("refreshSTSToken must return contains ".concat(y))})}fe.checkCredentials=oe},{"./formatObjKey":61,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80,"core-js/modules/es.array.find.js":275,"core-js/modules/es.object.assign.js":287,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291}],77:[function(E,pe,fe){function le(se,ie,ue,ae,oe,ne,ee){try{var a=se[ne](ee),y=a.value}catch(x){ue(x);return}a.done?ie(y):Promise.resolve(y).then(ae,oe)}function re(se){return function(){var ie=this,ue=arguments;return new Promise(function(ae,oe){var ne=se.apply(ie,ue);function ee(y){le(ne,ae,oe,ee,a,"next",y)}function a(y){le(ne,ae,oe,ee,a,"throw",y)}ee(void 0)})}}pe.exports=re,pe.exports.__esModule=!0,pe.exports.default=pe.exports},{}],78:[function(E,pe,fe){function le(re){return re&&re.__esModule?re:{default:re}}pe.exports=le,pe.exports.__esModule=!0,pe.exports.default=pe.exports},{}],79:[function(E,pe,fe){function le(re){"@babel/helpers - typeof";return pe.exports=le=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(se){return typeof se}:function(se){return se&&typeof Symbol=="function"&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se},pe.exports.__esModule=!0,pe.exports.default=pe.exports,le(re)}pe.exports=le,pe.exports.__esModule=!0,pe.exports.default=pe.exports},{}],80:[function(E,pe,fe){pe.exports=E("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(E,pe,fe){pe.exports=le,pe.exports.HttpsAgent=le;function le(){}},{}],82:[function(E,pe,fe){(function(le){(function(){"use strict";var re=E("object-assign");function se(Ee,Re){if(Ee===Re)return 0;for(var De=Ee.length,ke=Re.length,Ie=0,qe=Math.min(De,ke);Ie=0){var Je=Ie.indexOf(` `,Qe+1);Ie=Ie.substring(Je+1)}this.stack=Ie}}},ue.inherits(y.AssertionError,Error);function z(Ee,Re){return typeof Ee=="string"?Ee.length=0;He--)if(Qe[He]!==Je[He])return!1;for(He=Qe.length-1;He>=0;He--)if(Ye=Qe[He],!ve(Ee[Ye],Re[Ye],De,ke))return!1;return!0}y.notDeepEqual=function(Re,De,ke){ve(Re,De,!1)&&ge(Re,De,ke,"notDeepEqual",y.notDeepEqual)},y.notDeepStrictEqual=ye;function ye(Ee,Re,De){ve(Ee,Re,!0)&&ge(Ee,Re,De,"notDeepStrictEqual",ye)}y.strictEqual=function(Re,De,ke){Re!==De&&ge(Re,De,ke,"===",y.strictEqual)},y.notStrictEqual=function(Re,De,ke){Re===De&&ge(Re,De,ke,"!==",y.notStrictEqual)};function Pe(Ee,Re){if(!Ee||!Re)return!1;if(Object.prototype.toString.call(Re)=="[object RegExp]")return Re.test(Ee);try{if(Ee instanceof Re)return!0}catch(De){}return Error.isPrototypeOf(Re)?!1:Re.call({},Ee)===!0}function we(Ee){var Re;try{Ee()}catch(De){Re=De}return Re}function Le(Ee,Re,De,ke){var Ie;if(typeof Re!="function")throw new TypeError('"block" argument must be a function');typeof De=="string"&&(ke=De,De=null),Ie=we(Re),ke=(De&&De.name?" ("+De.name+").":".")+(ke?" "+ke:"."),Ee&&!Ie&&ge(Ie,De,"Missing expected exception"+ke);var qe=typeof ke=="string",Qe=!Ee&&ue.isError(Ie),Je=!Ee&&Ie&&!De;if((Qe&&qe&&Pe(Ie,De)||Je)&&ge(Ie,De,"Got unwanted exception"+ke),Ee&&Ie&&De&&!Pe(Ie,De)||!Ee&&Ie)throw Ie}y.throws=function(Ee,Re,De){Le(!0,Ee,Re,De)},y.doesNotThrow=function(Ee,Re,De){Le(!1,Ee,Re,De)},y.ifError=function(Ee){if(Ee)throw Ee};function Ce(Ee,Re){Ee||ge(Ee,!0,Re,"==",Ce)}y.strict=re(Ce,y,{equal:y.strictEqual,deepEqual:y.deepStrictEqual,notEqual:y.notStrictEqual,notDeepEqual:y.notDeepStrictEqual}),y.strict.strict=y.strict;var Te=Object.keys||function(Ee){var Re=[];for(var De in Ee)ae.call(Ee,De)&&Re.push(De);return Re}}).call(this)}).call(this,typeof ft!="undefined"?ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(E,pe,fe){typeof Object.create=="function"?pe.exports=function(re,se){re.super_=se,re.prototype=Object.create(se.prototype,{constructor:{value:re,enumerable:!1,writable:!0,configurable:!0}})}:pe.exports=function(re,se){re.super_=se;var ie=function(){};ie.prototype=se.prototype,re.prototype=new ie,re.prototype.constructor=re}},{}],84:[function(E,pe,fe){pe.exports=function(re){return re&&typeof re=="object"&&typeof re.copy=="function"&&typeof re.fill=="function"&&typeof re.readUInt8=="function"}},{}],85:[function(E,pe,fe){(function(le,re){(function(){var se=/%[sdj%]/g;fe.format=function(Je){if(!be(Je)){for(var Ye=[],He=0;He=je)return it;switch(it){case"%s":return String(Fe[He++]);case"%d":return Number(Fe[He++]);case"%j":try{return JSON.stringify(Fe[He++])}catch(Xe){return"[Circular]"}default:return it}}),tt=Fe[He];He=3&&(He.depth=arguments[2]),arguments.length>=4&&(He.colors=arguments[3]),ge(Ye)?He.showHidden=Ye:Ye&&fe._extend(He,Ye),Pe(He.showHidden)&&(He.showHidden=!1),Pe(He.depth)&&(He.depth=2),Pe(He.colors)&&(He.colors=!1),Pe(He.customInspect)&&(He.customInspect=!0),He.colors&&(He.stylize=oe),a(He,Je,He.depth)}fe.inspect=ae,ae.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},ae.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function oe(Je,Ye){var He=ae.styles[Ye];return He?"\x1B["+ae.colors[He][0]+"m"+Je+"\x1B["+ae.colors[He][1]+"m":Je}function ne(Je,Ye){return Je}function ee(Je){var Ye={};return Je.forEach(function(He,Fe){Ye[He]=!0}),Ye}function a(Je,Ye,He){if(Je.customInspect&&Ye&&Ee(Ye.inspect)&&Ye.inspect!==fe.inspect&&!(Ye.constructor&&Ye.constructor.prototype===Ye)){var Fe=Ye.inspect(He,Je);return be(Fe)||(Fe=a(Je,Fe,He)),Fe}var je=y(Je,Ye);if(je)return je;var et=Object.keys(Ye),tt=ee(et);if(Je.showHidden&&(et=Object.getOwnPropertyNames(Ye)),Te(Ye)&&(et.indexOf("message")>=0||et.indexOf("description")>=0))return x(Ye);if(et.length===0){if(Ee(Ye)){var it=Ye.name?": "+Ye.name:"";return Je.stylize("[Function"+it+"]","special")}if(we(Ye))return Je.stylize(RegExp.prototype.toString.call(Ye),"regexp");if(Ce(Ye))return Je.stylize(Date.prototype.toString.call(Ye),"date");if(Te(Ye))return x(Ye)}var Xe="",Ke=!1,Me=["{","}"];if(ce(Ye)&&(Ke=!0,Me=["[","]"]),Ee(Ye)){var Ve=Ye.name?": "+Ye.name:"";Xe=" [Function"+Ve+"]"}if(we(Ye)&&(Xe=" "+RegExp.prototype.toString.call(Ye)),Ce(Ye)&&(Xe=" "+Date.prototype.toUTCString.call(Ye)),Te(Ye)&&(Xe=" "+x(Ye)),et.length===0&&(!Ke||Ye.length==0))return Me[0]+Xe+Me[1];if(He<0)return we(Ye)?Je.stylize(RegExp.prototype.toString.call(Ye),"regexp"):Je.stylize("[Object]","special");Je.seen.push(Ye);var Ae;return Ke?Ae=b(Je,Ye,He,tt,et):Ae=et.map(function(Be){return z(Je,Ye,He,tt,Be,Ke)}),Je.seen.pop(),te(Ae,Xe,Me)}function y(Je,Ye){if(Pe(Ye))return Je.stylize("undefined","undefined");if(be(Ye)){var He="'"+JSON.stringify(Ye).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Je.stylize(He,"string")}if(me(Ye))return Je.stylize(""+Ye,"number");if(ge(Ye))return Je.stylize(""+Ye,"boolean");if(he(Ye))return Je.stylize("null","null")}function x(Je){return"["+Error.prototype.toString.call(Je)+"]"}function b(Je,Ye,He,Fe,je){for(var et=[],tt=0,it=Ye.length;tt-1&&(et?it=it.split(` `).map(function(Ke){return" "+Ke}).join(` `).substr(2):it=` `+it.split(` `).map(function(Ke){return" "+Ke}).join(` `))):it=Je.stylize("[Circular]","special")),Pe(tt)){if(et&&je.match(/^\d+$/))return it;tt=JSON.stringify(""+je),tt.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(tt=tt.substr(1,tt.length-2),tt=Je.stylize(tt,"name")):(tt=tt.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),tt=Je.stylize(tt,"string"))}return tt+": "+it}function te(Je,Ye,He){var Fe=0,je=Je.reduce(function(et,tt){return Fe++,tt.indexOf(` `)>=0&&Fe++,et+tt.replace(/\u001b\[\d\d?m/g,"").length+1},0);return je>60?He[0]+(Ye===""?"":Ye+` `)+" "+Je.join(`, `)+" "+He[1]:He[0]+Ye+" "+Je.join(", ")+" "+He[1]}function ce(Je){return Array.isArray(Je)}fe.isArray=ce;function ge(Je){return typeof Je=="boolean"}fe.isBoolean=ge;function he(Je){return Je===null}fe.isNull=he;function ve(Je){return Je==null}fe.isNullOrUndefined=ve;function me(Je){return typeof Je=="number"}fe.isNumber=me;function be(Je){return typeof Je=="string"}fe.isString=be;function ye(Je){return typeof Je=="symbol"}fe.isSymbol=ye;function Pe(Je){return Je===void 0}fe.isUndefined=Pe;function we(Je){return Le(Je)&&De(Je)==="[object RegExp]"}fe.isRegExp=we;function Le(Je){return typeof Je=="object"&&Je!==null}fe.isObject=Le;function Ce(Je){return Le(Je)&&De(Je)==="[object Date]"}fe.isDate=Ce;function Te(Je){return Le(Je)&&(De(Je)==="[object Error]"||Je instanceof Error)}fe.isError=Te;function Ee(Je){return typeof Je=="function"}fe.isFunction=Ee;function Re(Je){return Je===null||typeof Je=="boolean"||typeof Je=="number"||typeof Je=="string"||typeof Je=="symbol"||typeof Je=="undefined"}fe.isPrimitive=Re,fe.isBuffer=E("./support/isBuffer");function De(Je){return Object.prototype.toString.call(Je)}function ke(Je){return Je<10?"0"+Je.toString(10):Je.toString(10)}var Ie=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function qe(){var Je=new Date,Ye=[ke(Je.getHours()),ke(Je.getMinutes()),ke(Je.getSeconds())].join(":");return[Je.getDate(),Ie[Je.getMonth()],Ye].join(" ")}fe.log=function(){console.log("%s - %s",qe(),fe.format.apply(fe,arguments))},fe.inherits=E("inherits"),fe._extend=function(Je,Ye){if(!Ye||!Le(Ye))return Je;for(var He=Object.keys(Ye),Fe=He.length;Fe--;)Je[He[Fe]]=Ye[He[Fe]];return Je};function Qe(Je,Ye){return Object.prototype.hasOwnProperty.call(Je,Ye)}}).call(this)}).call(this,E("_process"),typeof ft!="undefined"?ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(E,pe,fe){(function(le){(function(){"use strict";var re=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],se=typeof globalThis=="undefined"?le:globalThis;pe.exports=function(){for(var ue=[],ae=0;ae0)throw new Error("Invalid string. Length must be a multiple of 4");var ce=z.indexOf("=");ce===-1&&(ce=te);var ge=ce===te?0:4-ce%4;return[ce,ge]}function ne(z){var te=oe(z),ce=te[0],ge=te[1];return(ce+ge)*3/4-ge}function ee(z,te,ce){return(te+ce)*3/4-ce}function a(z){var te,ce=oe(z),ge=ce[0],he=ce[1],ve=new se(ee(z,ge,he)),me=0,be=he>0?ge-4:ge,ye;for(ye=0;ye>16&255,ve[me++]=te>>8&255,ve[me++]=te&255;return he===2&&(te=re[z.charCodeAt(ye)]<<2|re[z.charCodeAt(ye+1)]>>4,ve[me++]=te&255),he===1&&(te=re[z.charCodeAt(ye)]<<10|re[z.charCodeAt(ye+1)]<<4|re[z.charCodeAt(ye+2)]>>2,ve[me++]=te>>8&255,ve[me++]=te&255),ve}function y(z){return le[z>>18&63]+le[z>>12&63]+le[z>>6&63]+le[z&63]}function x(z,te,ce){for(var ge,he=[],ve=te;vebe?be:me+ve));return ge===1?(te=z[ce-1],he.push(le[te>>2]+le[te<<4&63]+"==")):ge===2&&(te=(z[ce-2]<<8)+z[ce-1],he.push(le[te>>10]+le[te>>4&63]+le[te<<2&63]+"=")),he.join("")}},{}],88:[function(E,pe,fe){(function(le,re,se){typeof pe!="undefined"&&pe.exports?pe.exports=se():typeof de=="function"&&de.amd?de(re,se):le[re]=se()})(this,"bowser",function(){var le=!0;function re(ee){function a(Ye){var He=ee.match(Ye);return He&&He.length>1&&He[1]||""}function y(Ye){var He=ee.match(Ye);return He&&He.length>1&&He[2]||""}var x=a(/(ipod|iphone|ipad)/i).toLowerCase(),b=/like android/i.test(ee),z=!b&&/android/i.test(ee),te=/nexus\s*[0-6]\s*/i.test(ee),ce=!te&&/nexus\s*[0-9]+/i.test(ee),ge=/CrOS/.test(ee),he=/silk/i.test(ee),ve=/sailfish/i.test(ee),me=/tizen/i.test(ee),be=/(web|hpw)(o|0)s/i.test(ee),ye=/windows phone/i.test(ee),Pe=/SamsungBrowser/i.test(ee),we=!ye&&/windows/i.test(ee),Le=!x&&!he&&/macintosh/i.test(ee),Ce=!z&&!ve&&!me&&!be&&/linux/i.test(ee),Te=y(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),Ee=a(/version\/(\d+(\.\d+)?)/i),Re=/tablet/i.test(ee)&&!/tablet pc/i.test(ee),De=!Re&&/[^-]mobi/i.test(ee),ke=/xbox/i.test(ee),Ie;/opera/i.test(ee)?Ie={name:"Opera",opera:le,version:Ee||a(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(ee)?Ie={name:"Opera",opera:le,version:a(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||Ee}:/SamsungBrowser/i.test(ee)?Ie={name:"Samsung Internet for Android",samsungBrowser:le,version:Ee||a(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(ee)?Ie={name:"NAVER Whale browser",whale:le,version:a(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(ee)?Ie={name:"MZ Browser",mzbrowser:le,version:a(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(ee)?Ie={name:"Opera Coast",coast:le,version:Ee||a(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(ee)?Ie={name:"Focus",focus:le,version:a(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(ee)?Ie={name:"Yandex Browser",yandexbrowser:le,version:Ee||a(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(ee)?Ie={name:"UC Browser",ucbrowser:le,version:a(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(ee)?Ie={name:"Maxthon",maxthon:le,version:a(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(ee)?Ie={name:"Epiphany",epiphany:le,version:a(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(ee)?Ie={name:"Puffin",puffin:le,version:a(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(ee)?Ie={name:"Sleipnir",sleipnir:le,version:a(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(ee)?Ie={name:"K-Meleon",kMeleon:le,version:a(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:ye?(Ie={name:"Windows Phone",osname:"Windows Phone",windowsphone:le},Te?(Ie.msedge=le,Ie.version=Te):(Ie.msie=le,Ie.version=a(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(ee)?Ie={name:"Internet Explorer",msie:le,version:a(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:ge?Ie={name:"Chrome",osname:"Chrome OS",chromeos:le,chromeBook:le,chrome:le,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(ee)?Ie={name:"Microsoft Edge",msedge:le,version:Te}:/vivaldi/i.test(ee)?Ie={name:"Vivaldi",vivaldi:le,version:a(/vivaldi\/(\d+(\.\d+)?)/i)||Ee}:ve?Ie={name:"Sailfish",osname:"Sailfish OS",sailfish:le,version:a(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(ee)?Ie={name:"SeaMonkey",seamonkey:le,version:a(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(ee)?(Ie={name:"Firefox",firefox:le,version:a(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(ee)&&(Ie.firefoxos=le,Ie.osname="Firefox OS")):he?Ie={name:"Amazon Silk",silk:le,version:a(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(ee)?Ie={name:"PhantomJS",phantom:le,version:a(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(ee)?Ie={name:"SlimerJS",slimer:le,version:a(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(ee)||/rim\stablet/i.test(ee)?Ie={name:"BlackBerry",osname:"BlackBerry OS",blackberry:le,version:Ee||a(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:be?(Ie={name:"WebOS",osname:"WebOS",webos:le,version:Ee||a(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(ee)&&(Ie.touchpad=le)):/bada/i.test(ee)?Ie={name:"Bada",osname:"Bada",bada:le,version:a(/dolfin\/(\d+(\.\d+)?)/i)}:me?Ie={name:"Tizen",osname:"Tizen",tizen:le,version:a(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||Ee}:/qupzilla/i.test(ee)?Ie={name:"QupZilla",qupzilla:le,version:a(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||Ee}:/chromium/i.test(ee)?Ie={name:"Chromium",chromium:le,version:a(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||Ee}:/chrome|crios|crmo/i.test(ee)?Ie={name:"Chrome",chrome:le,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:z?Ie={name:"Android",version:Ee}:/safari|applewebkit/i.test(ee)?(Ie={name:"Safari",safari:le},Ee&&(Ie.version=Ee)):x?(Ie={name:x=="iphone"?"iPhone":x=="ipad"?"iPad":"iPod"},Ee&&(Ie.version=Ee)):/googlebot/i.test(ee)?Ie={name:"Googlebot",googlebot:le,version:a(/googlebot\/(\d+(\.\d+))/i)||Ee}:Ie={name:a(/^(.*)\/(.*) /),version:y(/^(.*)\/(.*) /)},!Ie.msedge&&/(apple)?webkit/i.test(ee)?(/(apple)?webkit\/537\.36/i.test(ee)?(Ie.name=Ie.name||"Blink",Ie.blink=le):(Ie.name=Ie.name||"Webkit",Ie.webkit=le),!Ie.version&&Ee&&(Ie.version=Ee)):!Ie.opera&&/gecko\//i.test(ee)&&(Ie.name=Ie.name||"Gecko",Ie.gecko=le,Ie.version=Ie.version||a(/gecko\/(\d+(\.\d+)?)/i)),!Ie.windowsphone&&(z||Ie.silk)?(Ie.android=le,Ie.osname="Android"):!Ie.windowsphone&&x?(Ie[x]=le,Ie.ios=le,Ie.osname="iOS"):Le?(Ie.mac=le,Ie.osname="macOS"):ke?(Ie.xbox=le,Ie.osname="Xbox"):we?(Ie.windows=le,Ie.osname="Windows"):Ce&&(Ie.linux=le,Ie.osname="Linux");function qe(Ye){switch(Ye){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var Qe="";Ie.windows?Qe=qe(a(/Windows ((NT|XP)( \d\d?.\d)?)/i)):Ie.windowsphone?Qe=a(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):Ie.mac?(Qe=a(/Mac OS X (\d+([_\.\s]\d+)*)/i),Qe=Qe.replace(/[_\s]/g,".")):x?(Qe=a(/os (\d+([_\s]\d+)*) like mac os x/i),Qe=Qe.replace(/[_\s]/g,".")):z?Qe=a(/android[ \/-](\d+(\.\d+)*)/i):Ie.webos?Qe=a(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):Ie.blackberry?Qe=a(/rim\stablet\sos\s(\d+(\.\d+)*)/i):Ie.bada?Qe=a(/bada\/(\d+(\.\d+)*)/i):Ie.tizen&&(Qe=a(/tizen[\/\s](\d+(\.\d+)*)/i)),Qe&&(Ie.osversion=Qe);var Je=!Ie.windows&&Qe.split(".")[0];return Re||ce||x=="ipad"||z&&(Je==3||Je>=4&&!De)||Ie.silk?Ie.tablet=le:(De||x=="iphone"||x=="ipod"||z||te||Ie.blackberry||Ie.webos||Ie.bada)&&(Ie.mobile=le),Ie.msedge||Ie.msie&&Ie.version>=10||Ie.yandexbrowser&&Ie.version>=15||Ie.vivaldi&&Ie.version>=1||Ie.chrome&&Ie.version>=20||Ie.samsungBrowser&&Ie.version>=4||Ie.whale&&ae([Ie.version,"1.0"])===1||Ie.mzbrowser&&ae([Ie.version,"6.0"])===1||Ie.focus&&ae([Ie.version,"1.0"])===1||Ie.firefox&&Ie.version>=20||Ie.safari&&Ie.version>=6||Ie.opera&&Ie.version>=10||Ie.ios&&Ie.osversion&&Ie.osversion.split(".")[0]>=6||Ie.blackberry&&Ie.version>=10.1||Ie.chromium&&Ie.version>=20?Ie.a=le:Ie.msie&&Ie.version<10||Ie.chrome&&Ie.version<20||Ie.firefox&&Ie.version<20||Ie.safari&&Ie.version<6||Ie.opera&&Ie.version<10||Ie.ios&&Ie.osversion&&Ie.osversion.split(".")[0]<6||Ie.chromium&&Ie.version<20?Ie.c=le:Ie.x=le,Ie}var se=re(typeof navigator!="undefined"&&navigator.userAgent||"");se.test=function(ee){for(var a=0;a=0;){if(y[0][a]>y[1][a])return 1;if(y[0][a]===y[1][a]){if(a===0)return 0}else return-1}}function oe(ee,a,y){var x=se;typeof a=="string"&&(y=a,a=void 0),a===void 0&&(a=!1),y&&(x=re(y));var b=""+x.version;for(var z in ee)if(ee.hasOwnProperty(z)&&x[z]){if(typeof ee[z]!="string")throw new Error("Browser version in the minVersion map should be a string: "+z+": "+String(ee));return ae([b,ee[z]])<0}return a}function ne(ee,a,y){return!oe(ee,a,y)}return se.isUnsupportedBrowser=oe,se.compareVersions=ae,se.check=ne,se._detect=re,se.detect=re,se})},{}],89:[function(E,pe,fe){},{}],90:[function(E,pe,fe){(function(le){(function(){"use strict";var re=E("base64-js"),se=E("ieee754");fe.Buffer=oe,fe.SlowBuffer=ge,fe.INSPECT_MAX_BYTES=50;var ie=2147483647;fe.kMaxLength=ie,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 _e=new Uint8Array(1);return _e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},_e.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(_e){if(_e>ie)throw new RangeError('The value "'+_e+'" is invalid for option "size"');var Oe=new Uint8Array(_e);return Oe.__proto__=oe.prototype,Oe}function oe(_e,Oe,Ne){if(typeof _e=="number"){if(typeof Oe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(_e)}return ne(_e,Oe,Ne)}typeof Symbol!="undefined"&&Symbol.species!=null&&oe[Symbol.species]===oe&&Object.defineProperty(oe,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),oe.poolSize=8192;function ne(_e,Oe,Ne){if(typeof _e=="string")return x(_e,Oe);if(ArrayBuffer.isView(_e))return b(_e);if(_e==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof _e);if(Ze(_e,ArrayBuffer)||_e&&Ze(_e.buffer,ArrayBuffer))return z(_e,Oe,Ne);if(typeof _e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Ge=_e.valueOf&&_e.valueOf();if(Ge!=null&&Ge!==_e)return oe.from(Ge,Oe,Ne);var rt=te(_e);if(rt)return rt;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof _e[Symbol.toPrimitive]=="function")return oe.from(_e[Symbol.toPrimitive]("string"),Oe,Ne);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof _e)}oe.from=function(_e,Oe,Ne){return ne(_e,Oe,Ne)},oe.prototype.__proto__=Uint8Array.prototype,oe.__proto__=Uint8Array;function ee(_e){if(typeof _e!="number")throw new TypeError('"size" argument must be of type number');if(_e<0)throw new RangeError('The value "'+_e+'" is invalid for option "size"')}function a(_e,Oe,Ne){return ee(_e),_e<=0?ae(_e):Oe!==void 0?typeof Ne=="string"?ae(_e).fill(Oe,Ne):ae(_e).fill(Oe):ae(_e)}oe.alloc=function(_e,Oe,Ne){return a(_e,Oe,Ne)};function y(_e){return ee(_e),ae(_e<0?0:ce(_e)|0)}oe.allocUnsafe=function(_e){return y(_e)},oe.allocUnsafeSlow=function(_e){return y(_e)};function x(_e,Oe){if((typeof Oe!="string"||Oe==="")&&(Oe="utf8"),!oe.isEncoding(Oe))throw new TypeError("Unknown encoding: "+Oe);var Ne=he(_e,Oe)|0,Ge=ae(Ne),rt=Ge.write(_e,Oe);return rt!==Ne&&(Ge=Ge.slice(0,rt)),Ge}function b(_e){for(var Oe=_e.length<0?0:ce(_e.length)|0,Ne=ae(Oe),Ge=0;Ge=ie)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ie.toString(16)+" bytes");return _e|0}function ge(_e){return+_e!=_e&&(_e=0),oe.alloc(+_e)}oe.isBuffer=function(Oe){return Oe!=null&&Oe._isBuffer===!0&&Oe!==oe.prototype},oe.compare=function(Oe,Ne){if(Ze(Oe,Uint8Array)&&(Oe=oe.from(Oe,Oe.offset,Oe.byteLength)),Ze(Ne,Uint8Array)&&(Ne=oe.from(Ne,Ne.offset,Ne.byteLength)),!oe.isBuffer(Oe)||!oe.isBuffer(Ne))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Oe===Ne)return 0;for(var Ge=Oe.length,rt=Ne.length,pt=0,ut=Math.min(Ge,rt);pt2&&arguments[2]===!0;if(!Ge&&Ne===0)return 0;for(var rt=!1;;)switch(Oe){case"ascii":case"latin1":case"binary":return Ne;case"utf8":case"utf-8":return Me(_e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ne*2;case"hex":return Ne>>>1;case"base64":return Be(_e).length;default:if(rt)return Ge?-1:Me(_e).length;Oe=(""+Oe).toLowerCase(),rt=!0}}oe.byteLength=he;function ve(_e,Oe,Ne){var Ge=!1;if((Oe===void 0||Oe<0)&&(Oe=0),Oe>this.length||((Ne===void 0||Ne>this.length)&&(Ne=this.length),Ne<=0)||(Ne>>>=0,Oe>>>=0,Ne<=Oe))return"";for(_e||(_e="utf8");;)switch(_e){case"hex":return Je(this,Oe,Ne);case"utf8":case"utf-8":return De(this,Oe,Ne);case"ascii":return qe(this,Oe,Ne);case"latin1":case"binary":return Qe(this,Oe,Ne);case"base64":return Re(this,Oe,Ne);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ye(this,Oe,Ne);default:if(Ge)throw new TypeError("Unknown encoding: "+_e);_e=(_e+"").toLowerCase(),Ge=!0}}oe.prototype._isBuffer=!0;function me(_e,Oe,Ne){var Ge=_e[Oe];_e[Oe]=_e[Ne],_e[Ne]=Ge}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 Ne=0;NeNe&&(Oe+=" ... "),""},oe.prototype.compare=function(Oe,Ne,Ge,rt,pt){if(Ze(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(Ne===void 0&&(Ne=0),Ge===void 0&&(Ge=Oe?Oe.length:0),rt===void 0&&(rt=0),pt===void 0&&(pt=this.length),Ne<0||Ge>Oe.length||rt<0||pt>this.length)throw new RangeError("out of range index");if(rt>=pt&&Ne>=Ge)return 0;if(rt>=pt)return-1;if(Ne>=Ge)return 1;if(Ne>>>=0,Ge>>>=0,rt>>>=0,pt>>>=0,this===Oe)return 0;for(var ut=pt-rt,nt=Ge-Ne,vt=Math.min(ut,nt),xt=this.slice(rt,pt),Rt=Oe.slice(Ne,Ge),at=0;at2147483647?Ne=2147483647:Ne<-2147483648&&(Ne=-2147483648),Ne=+Ne,ze(Ne)&&(Ne=rt?0:_e.length-1),Ne<0&&(Ne=_e.length+Ne),Ne>=_e.length){if(rt)return-1;Ne=_e.length-1}else if(Ne<0)if(rt)Ne=0;else return-1;if(typeof Oe=="string"&&(Oe=oe.from(Oe,Ge)),oe.isBuffer(Oe))return Oe.length===0?-1:ye(_e,Oe,Ne,Ge,rt);if(typeof Oe=="number")return Oe=Oe&255,typeof Uint8Array.prototype.indexOf=="function"?rt?Uint8Array.prototype.indexOf.call(_e,Oe,Ne):Uint8Array.prototype.lastIndexOf.call(_e,Oe,Ne):ye(_e,[Oe],Ne,Ge,rt);throw new TypeError("val must be string, number or Buffer")}function ye(_e,Oe,Ne,Ge,rt){var pt=1,ut=_e.length,nt=Oe.length;if(Ge!==void 0&&(Ge=String(Ge).toLowerCase(),Ge==="ucs2"||Ge==="ucs-2"||Ge==="utf16le"||Ge==="utf-16le")){if(_e.length<2||Oe.length<2)return-1;pt=2,ut/=2,nt/=2,Ne/=2}function vt(st,gt){return pt===1?st[gt]:st.readUInt16BE(gt*pt)}var xt;if(rt){var Rt=-1;for(xt=Ne;xtut&&(Ne=ut-nt),xt=Ne;xt>=0;xt--){for(var at=!0,Et=0;Etrt&&(Ge=rt)):Ge=rt;var pt=Oe.length;Ge>pt/2&&(Ge=pt/2);for(var ut=0;ut>>0,isFinite(Ge)?(Ge=Ge>>>0,rt===void 0&&(rt="utf8")):(rt=Ge,Ge=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var pt=this.length-Ne;if((Ge===void 0||Ge>pt)&&(Ge=pt),Oe.length>0&&(Ge<0||Ne<0)||Ne>this.length)throw new RangeError("Attempt to write outside buffer bounds");rt||(rt="utf8");for(var ut=!1;;)switch(rt){case"hex":return Pe(this,Oe,Ne,Ge);case"utf8":case"utf-8":return we(this,Oe,Ne,Ge);case"ascii":return Le(this,Oe,Ne,Ge);case"latin1":case"binary":return Ce(this,Oe,Ne,Ge);case"base64":return Te(this,Oe,Ne,Ge);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ee(this,Oe,Ne,Ge);default:if(ut)throw new TypeError("Unknown encoding: "+rt);rt=(""+rt).toLowerCase(),ut=!0}},oe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Re(_e,Oe,Ne){return Oe===0&&Ne===_e.length?re.fromByteArray(_e):re.fromByteArray(_e.slice(Oe,Ne))}function De(_e,Oe,Ne){Ne=Math.min(_e.length,Ne);for(var Ge=[],rt=Oe;rt239?4:pt>223?3:pt>191?2:1;if(rt+nt<=Ne){var vt,xt,Rt,at;switch(nt){case 1:pt<128&&(ut=pt);break;case 2:vt=_e[rt+1],(vt&192)===128&&(at=(pt&31)<<6|vt&63,at>127&&(ut=at));break;case 3:vt=_e[rt+1],xt=_e[rt+2],(vt&192)===128&&(xt&192)===128&&(at=(pt&15)<<12|(vt&63)<<6|xt&63,at>2047&&(at<55296||at>57343)&&(ut=at));break;case 4:vt=_e[rt+1],xt=_e[rt+2],Rt=_e[rt+3],(vt&192)===128&&(xt&192)===128&&(Rt&192)===128&&(at=(pt&15)<<18|(vt&63)<<12|(xt&63)<<6|Rt&63,at>65535&&at<1114112&&(ut=at))}}ut===null?(ut=65533,nt=1):ut>65535&&(ut-=65536,Ge.push(ut>>>10&1023|55296),ut=56320|ut&1023),Ge.push(ut),rt+=nt}return Ie(Ge)}var ke=4096;function Ie(_e){var Oe=_e.length;if(Oe<=ke)return String.fromCharCode.apply(String,_e);for(var Ne="",Ge=0;GeGe)&&(Ne=Ge);for(var rt="",pt=Oe;ptGe&&(Oe=Ge),Ne<0?(Ne+=Ge,Ne<0&&(Ne=0)):Ne>Ge&&(Ne=Ge),NeNe)throw new RangeError("Trying to access beyond buffer length")}oe.prototype.readUIntLE=function(Oe,Ne,Ge){Oe=Oe>>>0,Ne=Ne>>>0,Ge||He(Oe,Ne,this.length);for(var rt=this[Oe],pt=1,ut=0;++ut>>0,Ne=Ne>>>0,Ge||He(Oe,Ne,this.length);for(var rt=this[Oe+--Ne],pt=1;Ne>0&&(pt*=256);)rt+=this[Oe+--Ne]*pt;return rt},oe.prototype.readUInt8=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,1,this.length),this[Oe]},oe.prototype.readUInt16LE=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,2,this.length),this[Oe]|this[Oe+1]<<8},oe.prototype.readUInt16BE=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,2,this.length),this[Oe]<<8|this[Oe+1]},oe.prototype.readUInt32LE=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,4,this.length),(this[Oe]|this[Oe+1]<<8|this[Oe+2]<<16)+this[Oe+3]*16777216},oe.prototype.readUInt32BE=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,4,this.length),this[Oe]*16777216+(this[Oe+1]<<16|this[Oe+2]<<8|this[Oe+3])},oe.prototype.readIntLE=function(Oe,Ne,Ge){Oe=Oe>>>0,Ne=Ne>>>0,Ge||He(Oe,Ne,this.length);for(var rt=this[Oe],pt=1,ut=0;++ut=pt&&(rt-=Math.pow(2,8*Ne)),rt},oe.prototype.readIntBE=function(Oe,Ne,Ge){Oe=Oe>>>0,Ne=Ne>>>0,Ge||He(Oe,Ne,this.length);for(var rt=Ne,pt=1,ut=this[Oe+--rt];rt>0&&(pt*=256);)ut+=this[Oe+--rt]*pt;return pt*=128,ut>=pt&&(ut-=Math.pow(2,8*Ne)),ut},oe.prototype.readInt8=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,1,this.length),this[Oe]&128?(255-this[Oe]+1)*-1:this[Oe]},oe.prototype.readInt16LE=function(Oe,Ne){Oe=Oe>>>0,Ne||He(Oe,2,this.length);var Ge=this[Oe]|this[Oe+1]<<8;return Ge&32768?Ge|4294901760:Ge},oe.prototype.readInt16BE=function(Oe,Ne){Oe=Oe>>>0,Ne||He(Oe,2,this.length);var Ge=this[Oe+1]|this[Oe]<<8;return Ge&32768?Ge|4294901760:Ge},oe.prototype.readInt32LE=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,4,this.length),this[Oe]|this[Oe+1]<<8|this[Oe+2]<<16|this[Oe+3]<<24},oe.prototype.readInt32BE=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,4,this.length),this[Oe]<<24|this[Oe+1]<<16|this[Oe+2]<<8|this[Oe+3]},oe.prototype.readFloatLE=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,4,this.length),se.read(this,Oe,!0,23,4)},oe.prototype.readFloatBE=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,4,this.length),se.read(this,Oe,!1,23,4)},oe.prototype.readDoubleLE=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,8,this.length),se.read(this,Oe,!0,52,8)},oe.prototype.readDoubleBE=function(Oe,Ne){return Oe=Oe>>>0,Ne||He(Oe,8,this.length),se.read(this,Oe,!1,52,8)};function Fe(_e,Oe,Ne,Ge,rt,pt){if(!oe.isBuffer(_e))throw new TypeError('"buffer" argument must be a Buffer instance');if(Oe>rt||Oe_e.length)throw new RangeError("Index out of range")}oe.prototype.writeUIntLE=function(Oe,Ne,Ge,rt){if(Oe=+Oe,Ne=Ne>>>0,Ge=Ge>>>0,!rt){var pt=Math.pow(2,8*Ge)-1;Fe(this,Oe,Ne,Ge,pt,0)}var ut=1,nt=0;for(this[Ne]=Oe&255;++nt>>0,Ge=Ge>>>0,!rt){var pt=Math.pow(2,8*Ge)-1;Fe(this,Oe,Ne,Ge,pt,0)}var ut=Ge-1,nt=1;for(this[Ne+ut]=Oe&255;--ut>=0&&(nt*=256);)this[Ne+ut]=Oe/nt&255;return Ne+Ge},oe.prototype.writeUInt8=function(Oe,Ne,Ge){return Oe=+Oe,Ne=Ne>>>0,Ge||Fe(this,Oe,Ne,1,255,0),this[Ne]=Oe&255,Ne+1},oe.prototype.writeUInt16LE=function(Oe,Ne,Ge){return Oe=+Oe,Ne=Ne>>>0,Ge||Fe(this,Oe,Ne,2,65535,0),this[Ne]=Oe&255,this[Ne+1]=Oe>>>8,Ne+2},oe.prototype.writeUInt16BE=function(Oe,Ne,Ge){return Oe=+Oe,Ne=Ne>>>0,Ge||Fe(this,Oe,Ne,2,65535,0),this[Ne]=Oe>>>8,this[Ne+1]=Oe&255,Ne+2},oe.prototype.writeUInt32LE=function(Oe,Ne,Ge){return Oe=+Oe,Ne=Ne>>>0,Ge||Fe(this,Oe,Ne,4,4294967295,0),this[Ne+3]=Oe>>>24,this[Ne+2]=Oe>>>16,this[Ne+1]=Oe>>>8,this[Ne]=Oe&255,Ne+4},oe.prototype.writeUInt32BE=function(Oe,Ne,Ge){return Oe=+Oe,Ne=Ne>>>0,Ge||Fe(this,Oe,Ne,4,4294967295,0),this[Ne]=Oe>>>24,this[Ne+1]=Oe>>>16,this[Ne+2]=Oe>>>8,this[Ne+3]=Oe&255,Ne+4},oe.prototype.writeIntLE=function(Oe,Ne,Ge,rt){if(Oe=+Oe,Ne=Ne>>>0,!rt){var pt=Math.pow(2,8*Ge-1);Fe(this,Oe,Ne,Ge,pt-1,-pt)}var ut=0,nt=1,vt=0;for(this[Ne]=Oe&255;++ut>0)-vt&255;return Ne+Ge},oe.prototype.writeIntBE=function(Oe,Ne,Ge,rt){if(Oe=+Oe,Ne=Ne>>>0,!rt){var pt=Math.pow(2,8*Ge-1);Fe(this,Oe,Ne,Ge,pt-1,-pt)}var ut=Ge-1,nt=1,vt=0;for(this[Ne+ut]=Oe&255;--ut>=0&&(nt*=256);)Oe<0&&vt===0&&this[Ne+ut+1]!==0&&(vt=1),this[Ne+ut]=(Oe/nt>>0)-vt&255;return Ne+Ge},oe.prototype.writeInt8=function(Oe,Ne,Ge){return Oe=+Oe,Ne=Ne>>>0,Ge||Fe(this,Oe,Ne,1,127,-128),Oe<0&&(Oe=255+Oe+1),this[Ne]=Oe&255,Ne+1},oe.prototype.writeInt16LE=function(Oe,Ne,Ge){return Oe=+Oe,Ne=Ne>>>0,Ge||Fe(this,Oe,Ne,2,32767,-32768),this[Ne]=Oe&255,this[Ne+1]=Oe>>>8,Ne+2},oe.prototype.writeInt16BE=function(Oe,Ne,Ge){return Oe=+Oe,Ne=Ne>>>0,Ge||Fe(this,Oe,Ne,2,32767,-32768),this[Ne]=Oe>>>8,this[Ne+1]=Oe&255,Ne+2},oe.prototype.writeInt32LE=function(Oe,Ne,Ge){return Oe=+Oe,Ne=Ne>>>0,Ge||Fe(this,Oe,Ne,4,2147483647,-2147483648),this[Ne]=Oe&255,this[Ne+1]=Oe>>>8,this[Ne+2]=Oe>>>16,this[Ne+3]=Oe>>>24,Ne+4},oe.prototype.writeInt32BE=function(Oe,Ne,Ge){return Oe=+Oe,Ne=Ne>>>0,Ge||Fe(this,Oe,Ne,4,2147483647,-2147483648),Oe<0&&(Oe=4294967295+Oe+1),this[Ne]=Oe>>>24,this[Ne+1]=Oe>>>16,this[Ne+2]=Oe>>>8,this[Ne+3]=Oe&255,Ne+4};function je(_e,Oe,Ne,Ge,rt,pt){if(Ne+Ge>_e.length)throw new RangeError("Index out of range");if(Ne<0)throw new RangeError("Index out of range")}function et(_e,Oe,Ne,Ge,rt){return Oe=+Oe,Ne=Ne>>>0,rt||je(_e,Oe,Ne,4,34028234663852886e22,-34028234663852886e22),se.write(_e,Oe,Ne,Ge,23,4),Ne+4}oe.prototype.writeFloatLE=function(Oe,Ne,Ge){return et(this,Oe,Ne,!0,Ge)},oe.prototype.writeFloatBE=function(Oe,Ne,Ge){return et(this,Oe,Ne,!1,Ge)};function tt(_e,Oe,Ne,Ge,rt){return Oe=+Oe,Ne=Ne>>>0,rt||je(_e,Oe,Ne,8,17976931348623157e292,-17976931348623157e292),se.write(_e,Oe,Ne,Ge,52,8),Ne+8}oe.prototype.writeDoubleLE=function(Oe,Ne,Ge){return tt(this,Oe,Ne,!0,Ge)},oe.prototype.writeDoubleBE=function(Oe,Ne,Ge){return tt(this,Oe,Ne,!1,Ge)},oe.prototype.copy=function(Oe,Ne,Ge,rt){if(!oe.isBuffer(Oe))throw new TypeError("argument should be a Buffer");if(Ge||(Ge=0),!rt&&rt!==0&&(rt=this.length),Ne>=Oe.length&&(Ne=Oe.length),Ne||(Ne=0),rt>0&&rt=this.length)throw new RangeError("Index out of range");if(rt<0)throw new RangeError("sourceEnd out of bounds");rt>this.length&&(rt=this.length),Oe.length-Ne=0;--ut)Oe[ut+Ne]=this[ut+Ge];else Uint8Array.prototype.set.call(Oe,this.subarray(Ge,rt),Ne);return pt},oe.prototype.fill=function(Oe,Ne,Ge,rt){if(typeof Oe=="string"){if(typeof Ne=="string"?(rt=Ne,Ne=0,Ge=this.length):typeof Ge=="string"&&(rt=Ge,Ge=this.length),rt!==void 0&&typeof rt!="string")throw new TypeError("encoding must be a string");if(typeof rt=="string"&&!oe.isEncoding(rt))throw new TypeError("Unknown encoding: "+rt);if(Oe.length===1){var pt=Oe.charCodeAt(0);(rt==="utf8"&&pt<128||rt==="latin1")&&(Oe=pt)}}else typeof Oe=="number"&&(Oe=Oe&255);if(Ne<0||this.length>>0,Ge=Ge===void 0?this.length:Ge>>>0,Oe||(Oe=0);var ut;if(typeof Oe=="number")for(ut=Ne;ut55295&&Ne<57344){if(!rt){if(Ne>56319){(Oe-=3)>-1&&pt.push(239,191,189);continue}else if(ut+1===Ge){(Oe-=3)>-1&&pt.push(239,191,189);continue}rt=Ne;continue}if(Ne<56320){(Oe-=3)>-1&&pt.push(239,191,189),rt=Ne;continue}Ne=(rt-55296<<10|Ne-56320)+65536}else rt&&(Oe-=3)>-1&&pt.push(239,191,189);if(rt=null,Ne<128){if((Oe-=1)<0)break;pt.push(Ne)}else if(Ne<2048){if((Oe-=2)<0)break;pt.push(Ne>>6|192,Ne&63|128)}else if(Ne<65536){if((Oe-=3)<0)break;pt.push(Ne>>12|224,Ne>>6&63|128,Ne&63|128)}else if(Ne<1114112){if((Oe-=4)<0)break;pt.push(Ne>>18|240,Ne>>12&63|128,Ne>>6&63|128,Ne&63|128)}else throw new Error("Invalid code point")}return pt}function Ve(_e){for(var Oe=[],Ne=0;Ne<_e.length;++Ne)Oe.push(_e.charCodeAt(Ne)&255);return Oe}function Ae(_e,Oe){for(var Ne,Ge,rt,pt=[],ut=0;ut<_e.length&&!((Oe-=2)<0);++ut)Ne=_e.charCodeAt(ut),Ge=Ne>>8,rt=Ne%256,pt.push(rt),pt.push(Ge);return pt}function Be(_e){return re.toByteArray(Xe(_e))}function $e(_e,Oe,Ne,Ge){for(var rt=0;rt=Oe.length||rt>=_e.length);++rt)Oe[rt+Ne]=_e[rt];return rt}function Ze(_e,Oe){return _e instanceof Oe||_e!=null&&_e.constructor!=null&&_e.constructor.name!=null&&_e.constructor.name===Oe.name}function ze(_e){return _e!==_e}}).call(this)}).call(this,E("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(E,pe,fe){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,fe){"use strict";var le=E("get-intrinsic"),re=E("./"),se=re(le("String.prototype.indexOf"));pe.exports=function(ue,ae){var oe=le(ue,!!ae);return typeof oe=="function"&&se(ue,".prototype.")>-1?re(oe):oe}},{"./":93,"get-intrinsic":348}],93:[function(E,pe,fe){"use strict";var le=E("function-bind"),re=E("get-intrinsic"),se=re("%Function.prototype.apply%"),ie=re("%Function.prototype.call%"),ue=re("%Reflect.apply%",!0)||le.call(ie,se),ae=re("%Object.getOwnPropertyDescriptor%",!0),oe=re("%Object.defineProperty%",!0),ne=re("%Math.max%");if(oe)try{oe({},"a",{value:1})}catch(a){oe=null}pe.exports=function(y){var x=ue(le,ie,arguments);if(ae&&oe){var b=ae(x,"length");b.configurable&&oe(x,"length",{value:1+ne(0,y.length-(arguments.length-1))})}return x};var ee=function(){return ue(le,se,arguments)};oe?oe(pe.exports,"apply",{value:ee}):pe.exports.apply=ee},{"function-bind":347,"get-intrinsic":348}],94:[function(E,pe,fe){"use strict";var le=Array.prototype.slice;pe.exports=re;function re(ie,ue){if(!(this instanceof re))return new re(ie,ue);this.src=ie,this._withAccess=ue}re.prototype.withAccess=function(ie){return this._withAccess=ie!==!1,this},re.prototype.pick=function(ie){return Array.isArray(ie)||(ie=le.call(arguments)),ie.length&&(this.keys=ie),this},re.prototype.to=function(ie){if(ie=ie||{},!this.src)return ie;var ue=this.keys||Object.keys(this.src);if(!this._withAccess){for(var ae=0;ae>8&255]},Me=function(ut){return[ut&255,ut>>8&255,ut>>16&255,ut>>24&255]},Ve=function(ut){return ut[3]<<24|ut[2]<<16|ut[1]<<8|ut[0]},Ae=function(ut){return tt(ut,23,4)},Be=function(ut){return tt(ut,52,8)},$e=function(ut,nt){ge(ut[Ee],nt,{get:function(){return we(this)[nt]}})},Ze=function(ut,nt,vt,xt){var Rt=x(vt),at=we(ut);if(Rt+nt>at.byteLength)throw Fe(De);var Et=we(at.buffer).bytes,st=Rt+at.byteOffset,gt=ve(Et,st,st+nt);return xt?gt:et(gt)},ze=function(ut,nt,vt,xt,Rt,at){var Et=x(vt),st=we(ut);if(Et+nt>st.byteLength)throw Fe(De);for(var gt=we(st.buffer).bytes,St=Et+st.byteOffset,wt=xt(+Rt),Tt=0;TtRt)throw Fe("Wrong offset");if(xt=xt===void 0?Rt-at:y(xt),at+xt>Rt)throw Fe(Re);Le(this,{buffer:nt,byteLength:xt,byteOffset:at}),se||(this.buffer=nt,this.byteLength=xt,this.byteOffset=at)},Je=Qe[Ee],se&&($e(Ie,"byteLength"),$e(Qe,"buffer"),$e(Qe,"byteLength"),$e(Qe,"byteOffset")),oe(Je,{getInt8:function(nt){return Ze(this,1,nt)[0]<<24>>24},getUint8:function(nt){return Ze(this,1,nt)[0]},getInt16:function(nt){var vt=Ze(this,2,nt,arguments.length>1?arguments[1]:void 0);return(vt[1]<<8|vt[0])<<16>>16},getUint16:function(nt){var vt=Ze(this,2,nt,arguments.length>1?arguments[1]:void 0);return vt[1]<<8|vt[0]},getInt32:function(nt){return Ve(Ze(this,4,nt,arguments.length>1?arguments[1]:void 0))},getUint32:function(nt){return Ve(Ze(this,4,nt,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(nt){return it(Ze(this,4,nt,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(nt){return it(Ze(this,8,nt,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(nt,vt){ze(this,1,nt,Xe,vt)},setUint8:function(nt,vt){ze(this,1,nt,Xe,vt)},setInt16:function(nt,vt){ze(this,2,nt,Ke,vt,arguments.length>2?arguments[2]:void 0)},setUint16:function(nt,vt){ze(this,2,nt,Ke,vt,arguments.length>2?arguments[2]:void 0)},setInt32:function(nt,vt){ze(this,4,nt,Me,vt,arguments.length>2?arguments[2]:void 0)},setUint32:function(nt,vt){ze(this,4,nt,Me,vt,arguments.length>2?arguments[2]:void 0)},setFloat32:function(nt,vt){ze(this,4,nt,Ae,vt,arguments.length>2?arguments[2]:void 0)},setFloat64:function(nt,vt){ze(this,8,nt,Be,vt,arguments.length>2?arguments[2]:void 0)}});else{var _e=ye&&ke.name!==Ce;if(!ne(function(){ke(1)})||!ne(function(){new ke(-1)})||ne(function(){return new ke,new ke(1.5),new ke(NaN),_e&&!Pe})){Ie=function(nt){return ee(this,qe),new ke(x(nt))},Ie[Ee]=qe;for(var Oe=ce(ke),Ne=0,Ge;Oe.length>Ne;)(Ge=Oe[Ne++])in Ie||ae(Ie,Ge,ke[Ge]);qe.constructor=Ie}else _e&&Pe&&ae(ke,"name",Ce);te&&z(Je)!==Ye&&te(Je,Ye);var rt=new Qe(new Ie(2)),pt=re(Je.setInt8);rt.setInt8(0,2147483648),rt.setInt8(1,2147483649),(rt.getInt8(0)||!rt.getInt8(1))&&oe(Je,{setInt8:function(nt,vt){pt(this,nt,vt<<24>>24)},setUint8:function(nt,vt){pt(this,nt,vt<<24>>24)}},{unsafe:!0})}me(Ie,Ce),me(Qe,Te),pe.exports={ArrayBuffer:Ie,DataView:Qe}},{"../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,fe){"use strict";var le=E("../internals/to-object"),re=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like"),ie=Math.min;pe.exports=[].copyWithin||function(ae,oe){var ne=le(this),ee=se(ne),a=re(ae,ee),y=re(oe,ee),x=arguments.length>2?arguments[2]:void 0,b=ie((x===void 0?ee:re(x,ee))-y,ee-a),z=1;for(y0;)y in ne?ne[a]=ne[y]:delete ne[a],a+=z,y+=z;return ne}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(E,pe,fe){"use strict";var le=E("../internals/to-object"),re=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like");pe.exports=function(ue){for(var ae=le(this),oe=se(ae),ne=arguments.length,ee=re(ne>1?arguments[1]:void 0,oe),a=ne>2?arguments[2]:void 0,y=a===void 0?oe:re(a,oe);y>ee;)ae[ee++]=ue;return ae}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(E,pe,fe){"use strict";var le=E("../internals/array-iteration").forEach,re=E("../internals/array-method-is-strict"),se=re("forEach");pe.exports=se?[].forEach:function(ue){return le(this,ue,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(E,pe,fe){var le=E("../internals/length-of-array-like");pe.exports=function(re,se){for(var ie=0,ue=le(se),ae=new re(ue);ue>ie;)ae[ie]=se[ie++];return ae}},{"../internals/length-of-array-like":188}],109:[function(E,pe,fe){"use strict";var le=E("../internals/global"),re=E("../internals/function-bind-context"),se=E("../internals/function-call"),ie=E("../internals/to-object"),ue=E("../internals/call-with-safe-iteration-closing"),ae=E("../internals/is-array-iterator-method"),oe=E("../internals/is-constructor"),ne=E("../internals/length-of-array-like"),ee=E("../internals/create-property"),a=E("../internals/get-iterator"),y=E("../internals/get-iterator-method"),x=le.Array;pe.exports=function(z){var te=ie(z),ce=oe(this),ge=arguments.length,he=ge>1?arguments[1]:void 0,ve=he!==void 0;ve&&(he=re(he,ge>2?arguments[2]:void 0));var me=y(te),be=0,ye,Pe,we,Le,Ce,Te;if(me&&!(this==x&&ae(me)))for(Le=a(te,me),Ce=Le.next,Pe=ce?new this:[];!(we=se(Ce,Le)).done;be++)Te=ve?ue(Le,he,[we.value,be],!0):we.value,ee(Pe,be,Te);else for(ye=ne(te),Pe=ce?new this(ye):x(ye);ye>be;be++)Te=ve?he(te[be],be):te[be],ee(Pe,be,Te);return Pe.length=be,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,fe){var le=E("../internals/to-indexed-object"),re=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like"),ie=function(ue){return function(ae,oe,ne){var ee=le(ae),a=se(ee),y=re(ne,a),x;if(ue&&oe!=oe){for(;a>y;)if(x=ee[y++],x!=x)return!0}else for(;a>y;y++)if((ue||y in ee)&&ee[y]===oe)return ue||y||0;return!ue&&-1}};pe.exports={includes:ie(!0),indexOf:ie(!1)}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247}],111:[function(E,pe,fe){var le=E("../internals/function-bind-context"),re=E("../internals/function-uncurry-this"),se=E("../internals/indexed-object"),ie=E("../internals/to-object"),ue=E("../internals/length-of-array-like"),ae=E("../internals/array-species-create"),oe=re([].push),ne=function(ee){var a=ee==1,y=ee==2,x=ee==3,b=ee==4,z=ee==6,te=ee==7,ce=ee==5||z;return function(ge,he,ve,me){for(var be=ie(ge),ye=se(be),Pe=le(he,ve),we=ue(ye),Le=0,Ce=me||ae,Te=a?Ce(ge,we):y||te?Ce(ge,0):void 0,Ee,Re;we>Le;Le++)if((ce||Le in ye)&&(Ee=ye[Le],Re=Pe(Ee,Le,be),ee))if(a)Te[Le]=Re;else if(Re)switch(ee){case 3:return!0;case 5:return Ee;case 6:return Le;case 2:oe(Te,Ee)}else switch(ee){case 4:return!1;case 7:oe(Te,Ee)}return z?-1:x||b?b:Te}};pe.exports={forEach:ne(0),map:ne(1),filter:ne(2),some:ne(3),every:ne(4),find:ne(5),findIndex:ne(6),filterReject:ne(7)}},{"../internals/array-species-create":120,"../internals/function-bind-context":153,"../internals/function-uncurry-this":157,"../internals/indexed-object":170,"../internals/length-of-array-like":188,"../internals/to-object":250}],112:[function(E,pe,fe){"use strict";var le=E("../internals/function-apply"),re=E("../internals/to-indexed-object"),se=E("../internals/to-integer-or-infinity"),ie=E("../internals/length-of-array-like"),ue=E("../internals/array-method-is-strict"),ae=Math.min,oe=[].lastIndexOf,ne=!!oe&&1/[1].lastIndexOf(1,-0)<0,ee=ue("lastIndexOf"),a=ne||!ee;pe.exports=a?function(x){if(ne)return le(oe,this,arguments)||0;var b=re(this),z=ie(b),te=z-1;for(arguments.length>1&&(te=ae(te,se(arguments[1]))),te<0&&(te=z+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,fe){var le=E("../internals/fails"),re=E("../internals/well-known-symbol"),se=E("../internals/engine-v8-version"),ie=re("species");pe.exports=function(ue){return se>=51||!le(function(){var ae=[],oe=ae.constructor={};return oe[ie]=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,fe){"use strict";var le=E("../internals/fails");pe.exports=function(re,se){var ie=[][re];return!!ie&&le(function(){ie.call(null,se||function(){return 1},1)})}},{"../internals/fails":150}],115:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/a-callable"),se=E("../internals/to-object"),ie=E("../internals/indexed-object"),ue=E("../internals/length-of-array-like"),ae=le.TypeError,oe=function(ne){return function(ee,a,y,x){re(a);var b=se(ee),z=ie(b),te=ue(b),ce=ne?te-1:0,ge=ne?-1:1;if(y<2)for(;;){if(ce in z){x=z[ce],ce+=ge;break}if(ce+=ge,ne?ce<0:te<=ce)throw ae("Reduce of empty array with no initial value")}for(;ne?ce>=0:te>ce;ce+=ge)ce in z&&(x=a(x,z[ce],ce,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,fe){var le=E("../internals/global"),re=E("../internals/to-absolute-index"),se=E("../internals/length-of-array-like"),ie=E("../internals/create-property"),ue=le.Array,ae=Math.max;pe.exports=function(oe,ne,ee){for(var a=se(oe),y=re(ne,a),x=re(ee===void 0?a:ee,a),b=ue(ae(x-y,0)),z=0;y0;)ae[y]=ae[--y];y!==ee++&&(ae[y]=a)}return ae},ue=function(ae,oe,ne,ee){for(var a=oe.length,y=ne.length,x=0,b=0;x0&&oe[0]<4?1:+(oe[0]+oe[1])),!ne&&re&&(oe=re.match(/Edge\/(\d+)/),(!oe||oe[1]>=74)&&(oe=re.match(/Chrome\/(\d+)/),oe&&(ne=+oe[1]))),pe.exports=ne},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(E,pe,fe){var le=E("../internals/engine-user-agent"),re=le.match(/AppleWebKit\/(\d+)\./);pe.exports=!!re&&+re[1]},{"../internals/engine-user-agent":145}],148:[function(E,pe,fe){pe.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/object-get-own-property-descriptor").f,se=E("../internals/create-non-enumerable-property"),ie=E("../internals/redefine"),ue=E("../internals/set-global"),ae=E("../internals/copy-constructor-properties"),oe=E("../internals/is-forced");pe.exports=function(ne,ee){var a=ne.target,y=ne.global,x=ne.stat,b,z,te,ce,ge,he;if(y?z=le:x?z=le[a]||ue(a,{}):z=(le[a]||{}).prototype,z)for(te in ee){if(ge=ee[te],ne.noTargetGet?(he=re(z,te),ce=he&&he.value):ce=z[te],b=oe(y?te:a+(x?".":"#")+te,ne.forced),!b&&ce!==void 0){if(typeof ge==typeof ce)continue;ae(ge,ce)}(ne.sham||ce&&ce.sham)&&se(ge,"sham",!0),ie(z,te,ge,ne)}}},{"../internals/copy-constructor-properties":125,"../internals/create-non-enumerable-property":129,"../internals/global":163,"../internals/is-forced":178,"../internals/object-get-own-property-descriptor":199,"../internals/redefine":222,"../internals/set-global":232}],150:[function(E,pe,fe){pe.exports=function(le){try{return!!le()}catch(re){return!0}}},{}],151:[function(E,pe,fe){"use strict";E("../modules/es.regexp.exec");var le=E("../internals/function-uncurry-this"),re=E("../internals/redefine"),se=E("../internals/regexp-exec"),ie=E("../internals/fails"),ue=E("../internals/well-known-symbol"),ae=E("../internals/create-non-enumerable-property"),oe=ue("species"),ne=RegExp.prototype;pe.exports=function(ee,a,y,x){var b=ue(ee),z=!ie(function(){var he={};return he[b]=function(){return 7},""[ee](he)!=7}),te=z&&!ie(function(){var he=!1,ve=/a/;return ee==="split"&&(ve={},ve.constructor={},ve.constructor[oe]=function(){return ve},ve.flags="",ve[b]=/./[b]),ve.exec=function(){return he=!0,null},ve[b](""),!he});if(!z||!te||y){var ce=le(/./[b]),ge=a(b,""[ee],function(he,ve,me,be,ye){var Pe=le(he),we=ve.exec;return we===se||we===ne.exec?z&&!ye?{done:!0,value:ce(ve,me,be)}:{done:!0,value:Pe(me,ve,be)}:{done:!1}});re(String.prototype,ee,ge[0]),re(ne,b,ge[1])}x&&ae(ne[b],"sham",!0)}},{"../internals/create-non-enumerable-property":129,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/redefine":222,"../internals/regexp-exec":224,"../internals/well-known-symbol":268,"../modules/es.regexp.exec":300}],152:[function(E,pe,fe){var le=E("../internals/function-bind-native"),re=Function.prototype,se=re.apply,ie=re.call;pe.exports=typeof Reflect=="object"&&Reflect.apply||(le?ie.bind(se):function(){return ie.apply(se,arguments)})},{"../internals/function-bind-native":154}],153:[function(E,pe,fe){var le=E("../internals/function-uncurry-this"),re=E("../internals/a-callable"),se=E("../internals/function-bind-native"),ie=le(le.bind);pe.exports=function(ue,ae){return re(ue),ae===void 0?ue:se?ie(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,fe){var le=E("../internals/fails");pe.exports=!le(function(){var re=function(){}.bind();return typeof re!="function"||re.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(E,pe,fe){var le=E("../internals/function-bind-native"),re=Function.prototype.call;pe.exports=le?re.bind(re):function(){return re.apply(re,arguments)}},{"../internals/function-bind-native":154}],156:[function(E,pe,fe){var le=E("../internals/descriptors"),re=E("../internals/has-own-property"),se=Function.prototype,ie=le&&Object.getOwnPropertyDescriptor,ue=re(se,"name"),ae=ue&&function(){}.name==="something",oe=ue&&(!le||le&&ie(se,"name").configurable);pe.exports={EXISTS:ue,PROPER:ae,CONFIGURABLE:oe}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(E,pe,fe){var le=E("../internals/function-bind-native"),re=Function.prototype,se=re.bind,ie=re.call,ue=le&&se.bind(ie,ie);pe.exports=le?function(ae){return ae&&ue(ae)}:function(ae){return ae&&function(){return ie.apply(ae,arguments)}}},{"../internals/function-bind-native":154}],158:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/is-callable"),se=function(ie){return re(ie)?ie:void 0};pe.exports=function(ie,ue){return arguments.length<2?se(le[ie]):le[ie]&&le[ie][ue]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(E,pe,fe){var le=E("../internals/classof"),re=E("../internals/get-method"),se=E("../internals/iterators"),ie=E("../internals/well-known-symbol"),ue=ie("iterator");pe.exports=function(ae){if(ae!=null)return re(ae,ue)||re(ae,"@@iterator")||se[le(ae)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/function-call"),se=E("../internals/a-callable"),ie=E("../internals/an-object"),ue=E("../internals/try-to-string"),ae=E("../internals/get-iterator-method"),oe=le.TypeError;pe.exports=function(ne,ee){var a=arguments.length<2?ae(ne):ee;if(se(a))return ie(re(a,ne));throw oe(ue(ne)+" is not iterable")}},{"../internals/a-callable":95,"../internals/an-object":101,"../internals/function-call":155,"../internals/get-iterator-method":159,"../internals/global":163,"../internals/try-to-string":257}],161:[function(E,pe,fe){var le=E("../internals/a-callable");pe.exports=function(re,se){var ie=re[se];return ie==null?void 0:le(ie)}},{"../internals/a-callable":95}],162:[function(E,pe,fe){var le=E("../internals/function-uncurry-this"),re=E("../internals/to-object"),se=Math.floor,ie=le("".charAt),ue=le("".replace),ae=le("".slice),oe=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ne=/\$([$&'`]|\d{1,2})/g;pe.exports=function(ee,a,y,x,b,z){var te=y+ee.length,ce=x.length,ge=ne;return b!==void 0&&(b=re(b),ge=oe),ue(z,ge,function(he,ve){var me;switch(ie(ve,0)){case"$":return"$";case"&":return ee;case"`":return ae(a,0,y);case"'":return ae(a,te);case"<":me=b[ae(ve,1,-1)];break;default:var be=+ve;if(be===0)return he;if(be>ce){var ye=se(be/10);return ye===0?he:ye<=ce?x[ye-1]===void 0?ie(ve,1):x[ye-1]+ie(ve,1):he}me=x[be-1]}return me===void 0?"":me})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(E,pe,fe){(function(le){(function(){var re=function(se){return se&&se.Math==Math&&se};pe.exports=re(typeof globalThis=="object"&&globalThis)||re(typeof window=="object"&&window)||re(typeof self=="object"&&self)||re(typeof le=="object"&&le)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof ft!="undefined"?ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(E,pe,fe){var le=E("../internals/function-uncurry-this"),re=E("../internals/to-object"),se=le({}.hasOwnProperty);pe.exports=Object.hasOwn||function(ue,ae){return se(re(ue),ae)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(E,pe,fe){pe.exports={}},{}],166:[function(E,pe,fe){var le=E("../internals/global");pe.exports=function(re,se){var ie=le.console;ie&&ie.error&&(arguments.length==1?ie.error(re):ie.error(re,se))}},{"../internals/global":163}],167:[function(E,pe,fe){var le=E("../internals/get-built-in");pe.exports=le("document","documentElement")},{"../internals/get-built-in":158}],168:[function(E,pe,fe){var le=E("../internals/descriptors"),re=E("../internals/fails"),se=E("../internals/document-create-element");pe.exports=!le&&!re(function(){return Object.defineProperty(se("div"),"a",{get:function(){return 7}}).a!=7})},{"../internals/descriptors":134,"../internals/document-create-element":135,"../internals/fails":150}],169:[function(E,pe,fe){var le=E("../internals/global"),re=le.Array,se=Math.abs,ie=Math.pow,ue=Math.floor,ae=Math.log,oe=Math.LN2,ne=function(a,y,x){var b=re(x),z=x*8-y-1,te=(1<>1,ge=y===23?ie(2,-24)-ie(2,-77):0,he=a<0||a===0&&1/a<0?1:0,ve=0,me,be,ye;for(a=se(a),a!=a||a===1/0?(be=a!=a?1:0,me=te):(me=ue(ae(a)/oe),ye=ie(2,-me),a*ye<1&&(me--,ye*=2),me+ce>=1?a+=ge/ye:a+=ge*ie(2,1-ce),a*ye>=2&&(me++,ye/=2),me+ce>=te?(be=0,me=te):me+ce>=1?(be=(a*ye-1)*ie(2,y),me=me+ce):(be=a*ie(2,ce-1)*ie(2,y),me=0));y>=8;)b[ve++]=be&255,be/=256,y-=8;for(me=me<0;)b[ve++]=me&255,me/=256,z-=8;return b[--ve]|=he*128,b},ee=function(a,y){var x=a.length,b=x*8-y-1,z=(1<>1,ce=b-7,ge=x-1,he=a[ge--],ve=he&127,me;for(he>>=7;ce>0;)ve=ve*256+a[ge--],ce-=8;for(me=ve&(1<<-ce)-1,ve>>=-ce,ce+=y;ce>0;)me=me*256+a[ge--],ce-=8;if(ve===0)ve=1-te;else{if(ve===z)return me?NaN:he?-1/0:1/0;me=me+ie(2,y),ve=ve-te}return(he?-1:1)*me*ie(2,ve-y)};pe.exports={pack:ne,unpack:ee}},{"../internals/global":163}],170:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/function-uncurry-this"),se=E("../internals/fails"),ie=E("../internals/classof-raw"),ue=le.Object,ae=re("".split);pe.exports=se(function(){return!ue("z").propertyIsEnumerable(0)})?function(oe){return ie(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,fe){var le=E("../internals/is-callable"),re=E("../internals/is-object"),se=E("../internals/object-set-prototype-of");pe.exports=function(ie,ue,ae){var oe,ne;return se&&le(oe=ue.constructor)&&oe!==ae&&re(ne=oe.prototype)&&ne!==ae.prototype&&se(ie,ne),ie}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(E,pe,fe){var le=E("../internals/function-uncurry-this"),re=E("../internals/is-callable"),se=E("../internals/shared-store"),ie=le(Function.toString);re(se.inspectSource)||(se.inspectSource=function(ue){return ie(ue)}),pe.exports=se.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(E,pe,fe){var le=E("../internals/native-weak-map"),re=E("../internals/global"),se=E("../internals/function-uncurry-this"),ie=E("../internals/is-object"),ue=E("../internals/create-non-enumerable-property"),ae=E("../internals/has-own-property"),oe=E("../internals/shared-store"),ne=E("../internals/shared-key"),ee=E("../internals/hidden-keys"),a="Object already initialized",y=re.TypeError,x=re.WeakMap,b,z,te,ce=function(Pe){return te(Pe)?z(Pe):b(Pe,{})},ge=function(Pe){return function(we){var Le;if(!ie(we)||(Le=z(we)).type!==Pe)throw y("Incompatible receiver, "+Pe+" required");return Le}};if(le||oe.state){var he=oe.state||(oe.state=new x),ve=se(he.get),me=se(he.has),be=se(he.set);b=function(Pe,we){if(me(he,Pe))throw new y(a);return we.facade=Pe,be(he,Pe,we),we},z=function(Pe){return ve(he,Pe)||{}},te=function(Pe){return me(he,Pe)}}else{var ye=ne("state");ee[ye]=!0,b=function(Pe,we){if(ae(Pe,ye))throw new y(a);return we.facade=Pe,ue(Pe,ye,we),we},z=function(Pe){return ae(Pe,ye)?Pe[ye]:{}},te=function(Pe){return ae(Pe,ye)}}pe.exports={set:b,get:z,has:te,enforce:ce,getterFor:ge}},{"../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,fe){var le=E("../internals/well-known-symbol"),re=E("../internals/iterators"),se=le("iterator"),ie=Array.prototype;pe.exports=function(ue){return ue!==void 0&&(re.Array===ue||ie[se]===ue)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(E,pe,fe){var le=E("../internals/classof-raw");pe.exports=Array.isArray||function(se){return le(se)=="Array"}},{"../internals/classof-raw":123}],176:[function(E,pe,fe){pe.exports=function(le){return typeof le=="function"}},{}],177:[function(E,pe,fe){var le=E("../internals/function-uncurry-this"),re=E("../internals/fails"),se=E("../internals/is-callable"),ie=E("../internals/classof"),ue=E("../internals/get-built-in"),ae=E("../internals/inspect-source"),oe=function(){},ne=[],ee=ue("Reflect","construct"),a=/^\s*(?:class|function)\b/,y=le(a.exec),x=!a.exec(oe),b=function(ce){if(!se(ce))return!1;try{return ee(oe,ne,ce),!0}catch(ge){return!1}},z=function(ce){if(!se(ce))return!1;switch(ie(ce)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return x||!!y(a,ae(ce))}catch(ge){return!0}};z.sham=!0,pe.exports=!ee||re(function(){var te;return b(b.call)||!b(Object)||!b(function(){te=!0})||te})?z:b},{"../internals/classof":124,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/get-built-in":158,"../internals/inspect-source":172,"../internals/is-callable":176}],178:[function(E,pe,fe){var le=E("../internals/fails"),re=E("../internals/is-callable"),se=/#|\.prototype\./,ie=function(ee,a){var y=ae[ue(ee)];return y==ne?!0:y==oe?!1:re(a)?le(a):!!a},ue=ie.normalize=function(ee){return String(ee).replace(se,".").toLowerCase()},ae=ie.data={},oe=ie.NATIVE="N",ne=ie.POLYFILL="P";pe.exports=ie},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(E,pe,fe){var le=E("../internals/is-object"),re=Math.floor;pe.exports=Number.isInteger||function(ie){return!le(ie)&&isFinite(ie)&&re(ie)===ie}},{"../internals/is-object":180}],180:[function(E,pe,fe){var le=E("../internals/is-callable");pe.exports=function(re){return typeof re=="object"?re!==null:le(re)}},{"../internals/is-callable":176}],181:[function(E,pe,fe){pe.exports=!1},{}],182:[function(E,pe,fe){var le=E("../internals/is-object"),re=E("../internals/classof-raw"),se=E("../internals/well-known-symbol"),ie=se("match");pe.exports=function(ue){var ae;return le(ue)&&((ae=ue[ie])!==void 0?!!ae:re(ue)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/get-built-in"),se=E("../internals/is-callable"),ie=E("../internals/object-is-prototype-of"),ue=E("../internals/use-symbol-as-uid"),ae=le.Object;pe.exports=ue?function(oe){return typeof oe=="symbol"}:function(oe){var ne=re("Symbol");return se(ne)&&ie(ne.prototype,ae(oe))}},{"../internals/get-built-in":158,"../internals/global":163,"../internals/is-callable":176,"../internals/object-is-prototype-of":204,"../internals/use-symbol-as-uid":264}],184:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/function-bind-context"),se=E("../internals/function-call"),ie=E("../internals/an-object"),ue=E("../internals/try-to-string"),ae=E("../internals/is-array-iterator-method"),oe=E("../internals/length-of-array-like"),ne=E("../internals/object-is-prototype-of"),ee=E("../internals/get-iterator"),a=E("../internals/get-iterator-method"),y=E("../internals/iterator-close"),x=le.TypeError,b=function(te,ce){this.stopped=te,this.result=ce},z=b.prototype;pe.exports=function(te,ce,ge){var he=ge&&ge.that,ve=!!(ge&&ge.AS_ENTRIES),me=!!(ge&&ge.IS_ITERATOR),be=!!(ge&&ge.INTERRUPTED),ye=re(ce,he),Pe,we,Le,Ce,Te,Ee,Re,De=function(Ie){return Pe&&y(Pe,"normal",Ie),new b(!0,Ie)},ke=function(Ie){return ve?(ie(Ie),be?ye(Ie[0],Ie[1],De):ye(Ie[0],Ie[1])):be?ye(Ie,De):ye(Ie)};if(me)Pe=te;else{if(we=a(te),!we)throw x(ue(te)+" is not iterable");if(ae(we)){for(Le=0,Ce=oe(te);Ce>Le;Le++)if(Te=ke(te[Le]),Te&&ne(z,Te))return Te;return new b(!1)}Pe=ee(te,we)}for(Ee=Pe.next;!(Re=se(Ee,Pe)).done;){try{Te=ke(Re.value)}catch(Ie){y(Pe,"throw",Ie)}if(typeof Te=="object"&&Te&&ne(z,Te))return Te}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,fe){var le=E("../internals/function-call"),re=E("../internals/an-object"),se=E("../internals/get-method");pe.exports=function(ie,ue,ae){var oe,ne;re(ie);try{if(oe=se(ie,"return"),!oe){if(ue==="throw")throw ae;return ae}oe=le(oe,ie)}catch(ee){ne=!0,oe=ee}if(ue==="throw")throw ae;if(ne)throw oe;return re(oe),ae}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(E,pe,fe){"use strict";var le=E("../internals/fails"),re=E("../internals/is-callable"),se=E("../internals/object-create"),ie=E("../internals/object-get-prototype-of"),ue=E("../internals/redefine"),ae=E("../internals/well-known-symbol"),oe=E("../internals/is-pure"),ne=ae("iterator"),ee=!1,a,y,x;[].keys&&(x=[].keys(),"next"in x?(y=ie(ie(x)),y!==Object.prototype&&(a=y)):ee=!0);var b=a==null||le(function(){var z={};return a[ne].call(z)!==z});b?a={}:oe&&(a=se(a)),re(a[ne])||ue(a,ne,function(){return this}),pe.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:ee}},{"../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,fe){arguments[4][165][0].apply(fe,arguments)},{dup:165}],188:[function(E,pe,fe){var le=E("../internals/to-length");pe.exports=function(re){return le(re.length)}},{"../internals/to-length":249}],189:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/function-bind-context"),se=E("../internals/object-get-own-property-descriptor").f,ie=E("../internals/task").set,ue=E("../internals/engine-is-ios"),ae=E("../internals/engine-is-ios-pebble"),oe=E("../internals/engine-is-webos-webkit"),ne=E("../internals/engine-is-node"),ee=le.MutationObserver||le.WebKitMutationObserver,a=le.document,y=le.process,x=le.Promise,b=se(le,"queueMicrotask"),z=b&&b.value,te,ce,ge,he,ve,me,be,ye;z||(te=function(){var Pe,we;for(ne&&(Pe=y.domain)&&Pe.exit();ce;){we=ce.fn,ce=ce.next;try{we()}catch(Le){throw ce?he():ge=void 0,Le}}ge=void 0,Pe&&Pe.enter()},!ue&&!ne&&!oe&&ee&&a?(ve=!0,me=a.createTextNode(""),new ee(te).observe(me,{characterData:!0}),he=function(){me.data=ve=!ve}):!ae&&x&&x.resolve?(be=x.resolve(void 0),be.constructor=x,ye=re(be.then,be),he=function(){ye(te)}):ne?he=function(){y.nextTick(te)}:(ie=re(ie,le),he=function(){ie(te)})),pe.exports=z||function(Pe){var we={fn:Pe,next:void 0};ge&&(ge.next=we),ce||(ce=we,he()),ge=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,fe){var le=E("../internals/native-symbol");pe.exports=le&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(E,pe,fe){var le=E("../internals/engine-v8-version"),re=E("../internals/fails");pe.exports=!!Object.getOwnPropertySymbols&&!re(function(){var se=Symbol();return!String(se)||!(Object(se)instanceof Symbol)||!Symbol.sham&&le&&le<41})},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/is-callable"),se=E("../internals/inspect-source"),ie=le.WeakMap;pe.exports=re(ie)&&/native code/.test(se(ie))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(E,pe,fe){"use strict";var le=E("../internals/a-callable"),re=function(se){var ie,ue;this.promise=new se(function(ae,oe){if(ie!==void 0||ue!==void 0)throw TypeError("Bad Promise constructor");ie=ae,ue=oe}),this.resolve=le(ie),this.reject=le(ue)};pe.exports.f=function(se){return new re(se)}},{"../internals/a-callable":95}],194:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/is-regexp"),se=le.TypeError;pe.exports=function(ie){if(re(ie))throw se("The method doesn't accept regular expressions");return ie}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(E,pe,fe){"use strict";var le=E("../internals/descriptors"),re=E("../internals/function-uncurry-this"),se=E("../internals/function-call"),ie=E("../internals/fails"),ue=E("../internals/object-keys"),ae=E("../internals/object-get-own-property-symbols"),oe=E("../internals/object-property-is-enumerable"),ne=E("../internals/to-object"),ee=E("../internals/indexed-object"),a=Object.assign,y=Object.defineProperty,x=re([].concat);pe.exports=!a||ie(function(){if(le&&a({b:1},a(y({},"a",{enumerable:!0,get:function(){y(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},z={},te=Symbol(),ce="abcdefghijklmnopqrst";return b[te]=7,ce.split("").forEach(function(ge){z[ge]=ge}),a({},b)[te]!=7||ue(a({},z)).join("")!=ce})?function(z,te){for(var ce=ne(z),ge=arguments.length,he=1,ve=ae.f,me=oe.f;ge>he;)for(var be=ee(arguments[he++]),ye=ve?x(ue(be),ve(be)):ue(be),Pe=ye.length,we=0,Le;Pe>we;)Le=ye[we++],(!le||se(me,be,Le))&&(ce[Le]=be[Le]);return ce}: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,fe){var le=E("../internals/an-object"),re=E("../internals/object-define-properties"),se=E("../internals/enum-bug-keys"),ie=E("../internals/hidden-keys"),ue=E("../internals/html"),ae=E("../internals/document-create-element"),oe=E("../internals/shared-key"),ne=">",ee="<",a="prototype",y="script",x=oe("IE_PROTO"),b=function(){},z=function(ve){return ee+y+ne+ve+ee+"/"+y+ne},te=function(ve){ve.write(z("")),ve.close();var me=ve.parentWindow.Object;return ve=null,me},ce=function(){var ve=ae("iframe"),me="java"+y+":",be;return ve.style.display="none",ue.appendChild(ve),ve.src=String(me),be=ve.contentWindow.document,be.open(),be.write(z("document.F=Object")),be.close(),be.F},ge,he=function(){try{ge=new ActiveXObject("htmlfile")}catch(me){}he=typeof document!="undefined"?document.domain&&ge?te(ge):ce():te(ge);for(var ve=se.length;ve--;)delete he[a][se[ve]];return he()};ie[x]=!0,pe.exports=Object.create||function(me,be){var ye;return me!==null?(b[a]=le(me),ye=new b,b[a]=null,ye[x]=me):ye=he(),be===void 0?ye:re.f(ye,be)}},{"../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,fe){var le=E("../internals/descriptors"),re=E("../internals/v8-prototype-define-bug"),se=E("../internals/object-define-property"),ie=E("../internals/an-object"),ue=E("../internals/to-indexed-object"),ae=E("../internals/object-keys");fe.f=le&&!re?Object.defineProperties:function(ne,ee){ie(ne);for(var a=ue(ee),y=ae(ee),x=y.length,b=0,z;x>b;)se.f(ne,z=y[b++],a[z]);return ne}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/object-define-property":198,"../internals/object-keys":206,"../internals/to-indexed-object":247,"../internals/v8-prototype-define-bug":265}],198:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/descriptors"),se=E("../internals/ie8-dom-define"),ie=E("../internals/v8-prototype-define-bug"),ue=E("../internals/an-object"),ae=E("../internals/to-property-key"),oe=le.TypeError,ne=Object.defineProperty,ee=Object.getOwnPropertyDescriptor,a="enumerable",y="configurable",x="writable";fe.f=re?ie?function(z,te,ce){if(ue(z),te=ae(te),ue(ce),typeof z=="function"&&te==="prototype"&&"value"in ce&&x in ce&&!ce[x]){var ge=ee(z,te);ge&&ge[x]&&(z[te]=ce.value,ce={configurable:y in ce?ce[y]:ge[y],enumerable:a in ce?ce[a]:ge[a],writable:!1})}return ne(z,te,ce)}:ne:function(z,te,ce){if(ue(z),te=ae(te),ue(ce),se)try{return ne(z,te,ce)}catch(ge){}if("get"in ce||"set"in ce)throw oe("Accessors not supported");return"value"in ce&&(z[te]=ce.value),z}},{"../internals/an-object":101,"../internals/descriptors":134,"../internals/global":163,"../internals/ie8-dom-define":168,"../internals/to-property-key":254,"../internals/v8-prototype-define-bug":265}],199:[function(E,pe,fe){var le=E("../internals/descriptors"),re=E("../internals/function-call"),se=E("../internals/object-property-is-enumerable"),ie=E("../internals/create-property-descriptor"),ue=E("../internals/to-indexed-object"),ae=E("../internals/to-property-key"),oe=E("../internals/has-own-property"),ne=E("../internals/ie8-dom-define"),ee=Object.getOwnPropertyDescriptor;fe.f=le?ee:function(y,x){if(y=ue(y),x=ae(x),ne)try{return ee(y,x)}catch(b){}if(oe(y,x))return ie(!re(se.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,fe){var le=E("../internals/classof-raw"),re=E("../internals/to-indexed-object"),se=E("../internals/object-get-own-property-names").f,ie=E("../internals/array-slice-simple"),ue=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ae=function(oe){try{return se(oe)}catch(ne){return ie(ue)}};pe.exports.f=function(ne){return ue&&le(ne)=="Window"?ae(ne):se(re(ne))}},{"../internals/array-slice-simple":116,"../internals/classof-raw":123,"../internals/object-get-own-property-names":201,"../internals/to-indexed-object":247}],201:[function(E,pe,fe){var le=E("../internals/object-keys-internal"),re=E("../internals/enum-bug-keys"),se=re.concat("length","prototype");fe.f=Object.getOwnPropertyNames||function(ue){return le(ue,se)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(E,pe,fe){fe.f=Object.getOwnPropertySymbols},{}],203:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/has-own-property"),se=E("../internals/is-callable"),ie=E("../internals/to-object"),ue=E("../internals/shared-key"),ae=E("../internals/correct-prototype-getter"),oe=ue("IE_PROTO"),ne=le.Object,ee=ne.prototype;pe.exports=ae?ne.getPrototypeOf:function(a){var y=ie(a);if(re(y,oe))return y[oe];var x=y.constructor;return se(x)&&y instanceof x?x.prototype:y instanceof ne?ee: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,fe){var le=E("../internals/function-uncurry-this");pe.exports=le({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(E,pe,fe){var le=E("../internals/function-uncurry-this"),re=E("../internals/has-own-property"),se=E("../internals/to-indexed-object"),ie=E("../internals/array-includes").indexOf,ue=E("../internals/hidden-keys"),ae=le([].push);pe.exports=function(oe,ne){var ee=se(oe),a=0,y=[],x;for(x in ee)!re(ue,x)&&re(ee,x)&&ae(y,x);for(;ne.length>a;)re(ee,x=ne[a++])&&(~ie(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,fe){var le=E("../internals/object-keys-internal"),re=E("../internals/enum-bug-keys");pe.exports=Object.keys||function(ie){return le(ie,re)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(E,pe,fe){"use strict";var le={}.propertyIsEnumerable,re=Object.getOwnPropertyDescriptor,se=re&&!le.call({1:2},1);fe.f=se?function(ue){var ae=re(this,ue);return!!ae&&ae.enumerable}:le},{}],208:[function(E,pe,fe){var le=E("../internals/function-uncurry-this"),re=E("../internals/an-object"),se=E("../internals/a-possible-prototype");pe.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var ie=!1,ue={},ae;try{ae=le(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),ae(ue,[]),ie=ue instanceof Array}catch(oe){}return function(ne,ee){return re(ne),se(ee),ie?ae(ne,ee):ne.__proto__=ee,ne}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(E,pe,fe){var le=E("../internals/descriptors"),re=E("../internals/function-uncurry-this"),se=E("../internals/object-keys"),ie=E("../internals/to-indexed-object"),ue=E("../internals/object-property-is-enumerable").f,ae=re(ue),oe=re([].push),ne=function(ee){return function(a){for(var y=ie(a),x=se(y),b=x.length,z=0,te=[],ce;b>z;)ce=x[z++],(!le||ae(y,ce))&&oe(te,ee?[ce,y[ce]]:y[ce]);return te}};pe.exports={entries:ne(!0),values:ne(!1)}},{"../internals/descriptors":134,"../internals/function-uncurry-this":157,"../internals/object-keys":206,"../internals/object-property-is-enumerable":207,"../internals/to-indexed-object":247}],210:[function(E,pe,fe){"use strict";var le=E("../internals/to-string-tag-support"),re=E("../internals/classof");pe.exports=le?{}.toString:function(){return"[object "+re(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/function-call"),se=E("../internals/is-callable"),ie=E("../internals/is-object"),ue=le.TypeError;pe.exports=function(ae,oe){var ne,ee;if(oe==="string"&&se(ne=ae.toString)&&!ie(ee=re(ne,ae))||se(ne=ae.valueOf)&&!ie(ee=re(ne,ae))||oe!=="string"&&se(ne=ae.toString)&&!ie(ee=re(ne,ae)))return ee;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,fe){var le=E("../internals/get-built-in"),re=E("../internals/function-uncurry-this"),se=E("../internals/object-get-own-property-names"),ie=E("../internals/object-get-own-property-symbols"),ue=E("../internals/an-object"),ae=re([].concat);pe.exports=le("Reflect","ownKeys")||function(ne){var ee=se.f(ue(ne)),a=ie.f;return a?ae(ee,a(ne)):ee}},{"../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,fe){var le=E("../internals/global");pe.exports=le},{"../internals/global":163}],214:[function(E,pe,fe){pe.exports=function(le){try{return{error:!1,value:le()}}catch(re){return{error:!0,value:re}}}},{}],215:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/promise-native-constructor"),se=E("../internals/is-callable"),ie=E("../internals/is-forced"),ue=E("../internals/inspect-source"),ae=E("../internals/well-known-symbol"),oe=E("../internals/engine-is-browser"),ne=E("../internals/is-pure"),ee=E("../internals/engine-v8-version"),a=re&&re.prototype,y=ae("species"),x=!1,b=se(le.PromiseRejectionEvent),z=ie("Promise",function(){var te=ue(re),ce=te!==String(re);if(!ce&&ee===66||ne&&!(a.catch&&a.finally))return!0;if(ee>=51&&/native code/.test(te))return!1;var ge=new re(function(me){me(1)}),he=function(me){me(function(){},function(){})},ve=ge.constructor={};return ve[y]=he,x=ge.then(function(){})instanceof he,x?!ce&&oe&&!b:!0});pe.exports={CONSTRUCTOR:z,REJECTION_EVENT:b,SUBCLASSING:x}},{"../internals/engine-is-browser":139,"../internals/engine-v8-version":146,"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176,"../internals/is-forced":178,"../internals/is-pure":181,"../internals/promise-native-constructor":216,"../internals/well-known-symbol":268}],216:[function(E,pe,fe){var le=E("../internals/global");pe.exports=le.Promise},{"../internals/global":163}],217:[function(E,pe,fe){var le=E("../internals/an-object"),re=E("../internals/is-object"),se=E("../internals/new-promise-capability");pe.exports=function(ie,ue){if(le(ie),re(ue)&&ue.constructor===ie)return ue;var ae=se.f(ie),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,fe){var le=E("../internals/promise-native-constructor"),re=E("../internals/check-correctness-of-iteration"),se=E("../internals/promise-constructor-detection").CONSTRUCTOR;pe.exports=se||!re(function(ie){le.all(ie).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(E,pe,fe){var le=E("../internals/object-define-property").f;pe.exports=function(re,se,ie){ie in re||le(re,ie,{configurable:!0,get:function(){return se[ie]},set:function(ue){se[ie]=ue}})}},{"../internals/object-define-property":198}],220:[function(E,pe,fe){var le=function(){this.head=null,this.tail=null};le.prototype={add:function(re){var se={item:re,next:null};this.head?this.tail.next=se:this.head=se,this.tail=se},get:function(){var re=this.head;if(re)return this.head=re.next,this.tail===re&&(this.tail=null),re.item}},pe.exports=le},{}],221:[function(E,pe,fe){var le=E("../internals/redefine");pe.exports=function(re,se,ie){for(var ue in se)le(re,ue,se[ue],ie);return re}},{"../internals/redefine":222}],222:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/is-callable"),se=E("../internals/has-own-property"),ie=E("../internals/create-non-enumerable-property"),ue=E("../internals/set-global"),ae=E("../internals/inspect-source"),oe=E("../internals/internal-state"),ne=E("../internals/function-name").CONFIGURABLE,ee=oe.get,a=oe.enforce,y=String(String).split("String");(pe.exports=function(x,b,z,te){var ce=te?!!te.unsafe:!1,ge=te?!!te.enumerable:!1,he=te?!!te.noTargetGet:!1,ve=te&&te.name!==void 0?te.name:b,me;if(re(z)&&(String(ve).slice(0,7)==="Symbol("&&(ve="["+String(ve).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!se(z,"name")||ne&&z.name!==ve)&&ie(z,"name",ve),me=a(z),me.source||(me.source=y.join(typeof ve=="string"?ve:""))),x===le){ge?x[b]=z:ue(b,z);return}else ce?!he&&x[b]&&(ge=!0):delete x[b];ge?x[b]=z:ie(x,b,z)})(Function.prototype,"toString",function(){return re(this)&&ee(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,fe){var le=E("../internals/global"),re=E("../internals/function-call"),se=E("../internals/an-object"),ie=E("../internals/is-callable"),ue=E("../internals/classof-raw"),ae=E("../internals/regexp-exec"),oe=le.TypeError;pe.exports=function(ne,ee){var a=ne.exec;if(ie(a)){var y=re(a,ne,ee);return y!==null&&se(y),y}if(ue(ne)==="RegExp")return re(ae,ne,ee);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,fe){"use strict";var le=E("../internals/function-call"),re=E("../internals/function-uncurry-this"),se=E("../internals/to-string"),ie=E("../internals/regexp-flags"),ue=E("../internals/regexp-sticky-helpers"),ae=E("../internals/shared"),oe=E("../internals/object-create"),ne=E("../internals/internal-state").get,ee=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,z=re("".charAt),te=re("".indexOf),ce=re("".replace),ge=re("".slice),he=function(){var ye=/a/,Pe=/b*/g;return le(x,ye,"a"),le(x,Pe,"a"),ye.lastIndex!==0||Pe.lastIndex!==0}(),ve=ue.BROKEN_CARET,me=/()??/.exec("")[1]!==void 0,be=he||me||ve||ee||a;be&&(b=function(Pe){var we=this,Le=ne(we),Ce=se(Pe),Te=Le.raw,Ee,Re,De,ke,Ie,qe,Qe;if(Te)return Te.lastIndex=we.lastIndex,Ee=le(b,Te,Ce),we.lastIndex=Te.lastIndex,Ee;var Je=Le.groups,Ye=ve&&we.sticky,He=le(ie,we),Fe=we.source,je=0,et=Ce;if(Ye&&(He=ce(He,"y",""),te(He,"g")===-1&&(He+="g"),et=ge(Ce,we.lastIndex),we.lastIndex>0&&(!we.multiline||we.multiline&&z(Ce,we.lastIndex-1)!==` `)&&(Fe="(?: "+Fe+")",et=" "+et,je++),Re=new RegExp("^(?:"+Fe+")",He)),me&&(Re=new RegExp("^"+Fe+"$(?!\\s)",He)),he&&(De=we.lastIndex),ke=le(x,Ye?Re:we,et),Ye?ke?(ke.input=ge(ke.input,je),ke[0]=ge(ke[0],je),ke.index=we.lastIndex,we.lastIndex+=ke[0].length):we.lastIndex=0:he&&ke&&(we.lastIndex=we.global?ke.index+ke[0].length:De),me&&ke&&ke.length>1&&le(y,ke[0],Re,function(){for(Ie=1;Ieb)","g");return ie.exec("b").groups.a!=="b"||"b".replace(ie,"$c")!=="bc"})},{"../internals/fails":150,"../internals/global":163}],230:[function(E,pe,fe){var le=E("../internals/global"),re=le.TypeError;pe.exports=function(se){if(se==null)throw re("Can't call method on "+se);return se}},{"../internals/global":163}],231:[function(E,pe,fe){pe.exports=Object.is||function(re,se){return re===se?re!==0||1/re===1/se:re!=re&&se!=se}},{}],232:[function(E,pe,fe){var le=E("../internals/global"),re=Object.defineProperty;pe.exports=function(se,ie){try{re(le,se,{value:ie,configurable:!0,writable:!0})}catch(ue){le[se]=ie}return ie}},{"../internals/global":163}],233:[function(E,pe,fe){"use strict";var le=E("../internals/get-built-in"),re=E("../internals/object-define-property"),se=E("../internals/well-known-symbol"),ie=E("../internals/descriptors"),ue=se("species");pe.exports=function(ae){var oe=le(ae),ne=re.f;ie&&oe&&!oe[ue]&&ne(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,fe){var le=E("../internals/object-define-property").f,re=E("../internals/has-own-property"),se=E("../internals/well-known-symbol"),ie=se("toStringTag");pe.exports=function(ue,ae,oe){ue&&!oe&&(ue=ue.prototype),ue&&!re(ue,ie)&&le(ue,ie,{configurable:!0,value:ae})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(E,pe,fe){var le=E("../internals/shared"),re=E("../internals/uid"),se=le("keys");pe.exports=function(ie){return se[ie]||(se[ie]=re(ie))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/set-global"),se="__core-js_shared__",ie=le[se]||re(se,{});pe.exports=ie},{"../internals/global":163,"../internals/set-global":232}],237:[function(E,pe,fe){var le=E("../internals/is-pure"),re=E("../internals/shared-store");(pe.exports=function(se,ie){return re[se]||(re[se]=ie!==void 0?ie:{})})("versions",[]).push({version:"3.22.1",mode:le?"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,fe){var le=E("../internals/an-object"),re=E("../internals/a-constructor"),se=E("../internals/well-known-symbol"),ie=se("species");pe.exports=function(ue,ae){var oe=le(ue).constructor,ne;return oe===void 0||(ne=le(oe)[ie])==null?ae:re(ne)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(E,pe,fe){var le=E("../internals/function-uncurry-this"),re=E("../internals/to-integer-or-infinity"),se=E("../internals/to-string"),ie=E("../internals/require-object-coercible"),ue=le("".charAt),ae=le("".charCodeAt),oe=le("".slice),ne=function(ee){return function(a,y){var x=se(ie(a)),b=re(y),z=x.length,te,ce;return b<0||b>=z?ee?"":void 0:(te=ae(x,b),te<55296||te>56319||b+1===z||(ce=ae(x,b+1))<56320||ce>57343?ee?ue(x,b):te:ee?oe(x,b,b+2):(te-55296<<10)+(ce-56320)+65536)}};pe.exports={codeAt:ne(!1),charAt:ne(!0)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-string":256}],240:[function(E,pe,fe){var le=E("../internals/function-name").PROPER,re=E("../internals/fails"),se=E("../internals/whitespaces"),ie="\u200B\x85\u180E";pe.exports=function(ue){return re(function(){return!!se[ue]()||ie[ue]()!==ie||le&&se[ue].name!==ue})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(E,pe,fe){var le=E("../internals/function-uncurry-this"),re=E("../internals/require-object-coercible"),se=E("../internals/to-string"),ie=E("../internals/whitespaces"),ue=le("".replace),ae="["+ie+"]",oe=RegExp("^"+ae+ae+"*"),ne=RegExp(ae+ae+"*$"),ee=function(a){return function(y){var x=se(re(y));return a&1&&(x=ue(x,oe,"")),a&2&&(x=ue(x,ne,"")),x}};pe.exports={start:ee(1),end:ee(2),trim:ee(3)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-string":256,"../internals/whitespaces":269}],242:[function(E,pe,fe){var le=E("../internals/function-call"),re=E("../internals/get-built-in"),se=E("../internals/well-known-symbol"),ie=E("../internals/redefine");pe.exports=function(){var ue=re("Symbol"),ae=ue&&ue.prototype,oe=ae&&ae.valueOf,ne=se("toPrimitive");ae&&!ae[ne]&&ie(ae,ne,function(ee){return le(oe,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/function-apply"),se=E("../internals/function-bind-context"),ie=E("../internals/is-callable"),ue=E("../internals/has-own-property"),ae=E("../internals/fails"),oe=E("../internals/html"),ne=E("../internals/array-slice"),ee=E("../internals/document-create-element"),a=E("../internals/validate-arguments-length"),y=E("../internals/engine-is-ios"),x=E("../internals/engine-is-node"),b=le.setImmediate,z=le.clearImmediate,te=le.process,ce=le.Dispatch,ge=le.Function,he=le.MessageChannel,ve=le.String,me=0,be={},ye="onreadystatechange",Pe,we,Le,Ce;try{Pe=le.location}catch(ke){}var Te=function(ke){if(ue(be,ke)){var Ie=be[ke];delete be[ke],Ie()}},Ee=function(ke){return function(){Te(ke)}},Re=function(ke){Te(ke.data)},De=function(ke){le.postMessage(ve(ke),Pe.protocol+"//"+Pe.host)};(!b||!z)&&(b=function(Ie){a(arguments.length,1);var qe=ie(Ie)?Ie:ge(Ie),Qe=ne(arguments,1);return be[++me]=function(){re(qe,void 0,Qe)},we(me),me},z=function(Ie){delete be[Ie]},x?we=function(ke){te.nextTick(Ee(ke))}:ce&&ce.now?we=function(ke){ce.now(Ee(ke))}:he&&!y?(Le=new he,Ce=Le.port2,Le.port1.onmessage=Re,we=se(Ce.postMessage,Ce)):le.addEventListener&&ie(le.postMessage)&&!le.importScripts&&Pe&&Pe.protocol!=="file:"&&!ae(De)?(we=De,le.addEventListener("message",Re,!1)):ye in ee("script")?we=function(ke){oe.appendChild(ee("script"))[ye]=function(){oe.removeChild(this),Te(ke)}}:we=function(ke){setTimeout(Ee(ke),0)}),pe.exports={set:b,clear:z}},{"../internals/array-slice":117,"../internals/document-create-element":135,"../internals/engine-is-ios":142,"../internals/engine-is-node":143,"../internals/fails":150,"../internals/function-apply":152,"../internals/function-bind-context":153,"../internals/global":163,"../internals/has-own-property":164,"../internals/html":167,"../internals/is-callable":176,"../internals/validate-arguments-length":266}],244:[function(E,pe,fe){var le=E("../internals/function-uncurry-this");pe.exports=le(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(E,pe,fe){var le=E("../internals/to-integer-or-infinity"),re=Math.max,se=Math.min;pe.exports=function(ie,ue){var ae=le(ie);return ae<0?re(ae+ue,0):se(ae,ue)}},{"../internals/to-integer-or-infinity":248}],246:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/to-integer-or-infinity"),se=E("../internals/to-length"),ie=le.RangeError;pe.exports=function(ue){if(ue===void 0)return 0;var ae=re(ue),oe=se(ae);if(ae!==oe)throw ie("Wrong length or index");return oe}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(E,pe,fe){var le=E("../internals/indexed-object"),re=E("../internals/require-object-coercible");pe.exports=function(se){return le(re(se))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(E,pe,fe){var le=Math.ceil,re=Math.floor;pe.exports=function(se){var ie=+se;return ie!==ie||ie===0?0:(ie>0?re:le)(ie)}},{}],249:[function(E,pe,fe){var le=E("../internals/to-integer-or-infinity"),re=Math.min;pe.exports=function(se){return se>0?re(le(se),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/require-object-coercible"),se=le.Object;pe.exports=function(ie){return se(re(ie))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/to-positive-integer"),se=le.RangeError;pe.exports=function(ie,ue){var ae=re(ie);if(ae%ue)throw se("Wrong offset");return ae}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/to-integer-or-infinity"),se=le.RangeError;pe.exports=function(ie){var ue=re(ie);if(ue<0)throw se("The argument can't be less than 0");return ue}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/function-call"),se=E("../internals/is-object"),ie=E("../internals/is-symbol"),ue=E("../internals/get-method"),ae=E("../internals/ordinary-to-primitive"),oe=E("../internals/well-known-symbol"),ne=le.TypeError,ee=oe("toPrimitive");pe.exports=function(a,y){if(!se(a)||ie(a))return a;var x=ue(a,ee),b;if(x){if(y===void 0&&(y="default"),b=re(x,a,y),!se(b)||ie(b))return b;throw ne("Can't convert object to primitive value")}return y===void 0&&(y="number"),ae(a,y)}},{"../internals/function-call":155,"../internals/get-method":161,"../internals/global":163,"../internals/is-object":180,"../internals/is-symbol":183,"../internals/ordinary-to-primitive":211,"../internals/well-known-symbol":268}],254:[function(E,pe,fe){var le=E("../internals/to-primitive"),re=E("../internals/is-symbol");pe.exports=function(se){var ie=le(se,"string");return re(ie)?ie:ie+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(E,pe,fe){var le=E("../internals/well-known-symbol"),re=le("toStringTag"),se={};se[re]="z",pe.exports=String(se)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/classof"),se=le.String;pe.exports=function(ie){if(re(ie)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return se(ie)}},{"../internals/classof":124,"../internals/global":163}],257:[function(E,pe,fe){var le=E("../internals/global"),re=le.String;pe.exports=function(se){try{return re(se)}catch(ie){return"Object"}}},{"../internals/global":163}],258:[function(E,pe,fe){"use strict";var le=E("../internals/export"),re=E("../internals/global"),se=E("../internals/function-call"),ie=E("../internals/descriptors"),ue=E("../internals/typed-array-constructors-require-wrappers"),ae=E("../internals/array-buffer-view-core"),oe=E("../internals/array-buffer"),ne=E("../internals/an-instance"),ee=E("../internals/create-property-descriptor"),a=E("../internals/create-non-enumerable-property"),y=E("../internals/is-integral-number"),x=E("../internals/to-length"),b=E("../internals/to-index"),z=E("../internals/to-offset"),te=E("../internals/to-property-key"),ce=E("../internals/has-own-property"),ge=E("../internals/classof"),he=E("../internals/is-object"),ve=E("../internals/is-symbol"),me=E("../internals/object-create"),be=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"),Le=E("../internals/array-iteration").forEach,Ce=E("../internals/set-species"),Te=E("../internals/object-define-property"),Ee=E("../internals/object-get-own-property-descriptor"),Re=E("../internals/internal-state"),De=E("../internals/inherit-if-required"),ke=Re.get,Ie=Re.set,qe=Te.f,Qe=Ee.f,Je=Math.round,Ye=re.RangeError,He=oe.ArrayBuffer,Fe=He.prototype,je=oe.DataView,et=ae.NATIVE_ARRAY_BUFFER_VIEWS,tt=ae.TYPED_ARRAY_CONSTRUCTOR,it=ae.TYPED_ARRAY_TAG,Xe=ae.TypedArray,Ke=ae.TypedArrayPrototype,Me=ae.aTypedArrayConstructor,Ve=ae.isTypedArray,Ae="BYTES_PER_ELEMENT",Be="Wrong length",$e=function(Ge,rt){Me(Ge);for(var pt=0,ut=rt.length,nt=new Ge(ut);ut>pt;)nt[pt]=rt[pt++];return nt},Ze=function(Ge,rt){qe(Ge,rt,{get:function(){return ke(this)[rt]}})},ze=function(Ge){var rt;return be(Fe,Ge)||(rt=ge(Ge))=="ArrayBuffer"||rt=="SharedArrayBuffer"},_e=function(Ge,rt){return Ve(Ge)&&!ve(rt)&&rt in Ge&&y(+rt)&&rt>=0},Oe=function(rt,pt){return pt=te(pt),_e(rt,pt)?ee(2,rt[pt]):Qe(rt,pt)},Ne=function(rt,pt,ut){return pt=te(pt),_e(rt,pt)&&he(ut)&&ce(ut,"value")&&!ce(ut,"get")&&!ce(ut,"set")&&!ut.configurable&&(!ce(ut,"writable")||ut.writable)&&(!ce(ut,"enumerable")||ut.enumerable)?(rt[pt]=ut.value,rt):qe(rt,pt,ut)};ie?(et||(Ee.f=Oe,Te.f=Ne,Ze(Ke,"buffer"),Ze(Ke,"byteOffset"),Ze(Ke,"byteLength"),Ze(Ke,"length")),le({target:"Object",stat:!0,forced:!et},{getOwnPropertyDescriptor:Oe,defineProperty:Ne}),pe.exports=function(Ge,rt,pt){var ut=Ge.match(/\d+$/)[0]/8,nt=Ge+(pt?"Clamped":"")+"Array",vt="get"+Ge,xt="set"+Ge,Rt=re[nt],at=Rt,Et=at&&at.prototype,st={},gt=function(Tt,Wt){var hn=ke(Tt);return hn.view[vt](Wt*ut+hn.byteOffset,!0)},St=function(Tt,Wt,hn){var pn=ke(Tt);pt&&(hn=(hn=Je(hn))<0?0:hn>255?255:hn&255),pn.view[xt](Wt*ut+pn.byteOffset,hn,!0)},wt=function(Tt,Wt){qe(Tt,Wt,{get:function(){return gt(this,Wt)},set:function(hn){return St(this,Wt,hn)},enumerable:!0})};et?ue&&(at=rt(function(Tt,Wt,hn,pn){return ne(Tt,Et),De(function(){return he(Wt)?ze(Wt)?pn!==void 0?new Rt(Wt,z(hn,ut),pn):hn!==void 0?new Rt(Wt,z(hn,ut)):new Rt(Wt):Ve(Wt)?$e(at,Wt):se(we,at,Wt):new Rt(b(Wt))}(),Tt,at)}),ye&&ye(at,Xe),Le(Pe(Rt),function(Tt){Tt in at||a(at,Tt,Rt[Tt])}),at.prototype=Et):(at=rt(function(Tt,Wt,hn,pn){ne(Tt,Et);var Tn=0,Cn=0,Vn,Qn,fr;if(!he(Wt))fr=b(Wt),Qn=fr*ut,Vn=new He(Qn);else if(ze(Wt)){Vn=Wt,Cn=z(hn,ut);var kr=Wt.byteLength;if(pn===void 0){if(kr%ut||(Qn=kr-Cn,Qn<0))throw Ye(Be)}else if(Qn=x(pn)*ut,Qn+Cn>kr)throw Ye(Be);fr=Qn/ut}else return Ve(Wt)?$e(at,Wt):se(we,at,Wt);for(Ie(Tt,{buffer:Vn,byteOffset:Cn,byteLength:Qn,length:fr,view:new je(Vn)});Tn1?arguments[1]:void 0,ce=te!==void 0,ge=oe(b),he,ve,me,be,ye,Pe;if(ge&&!ne(ge))for(ye=ae(b,ge),Pe=ye.next,b=[];!(be=re(Pe,ye)).done;)b.push(be.value);for(ce&&z>2&&(te=le(te,arguments[2])),ve=ue(b),me=new(ee(x))(ve),he=0;ve>he;he++)me[he]=ce?te(b[he],he):b[he];return me}},{"../internals/a-constructor":96,"../internals/array-buffer-view-core":103,"../internals/function-bind-context":153,"../internals/function-call":155,"../internals/get-iterator":160,"../internals/get-iterator-method":159,"../internals/is-array-iterator-method":174,"../internals/length-of-array-like":188,"../internals/to-object":250}],262:[function(E,pe,fe){var le=E("../internals/array-buffer-view-core"),re=E("../internals/species-constructor"),se=le.TYPED_ARRAY_CONSTRUCTOR,ie=le.aTypedArrayConstructor;pe.exports=function(ue){return ie(re(ue,ue[se]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(E,pe,fe){var le=E("../internals/function-uncurry-this"),re=0,se=Math.random(),ie=le(1 .toString);pe.exports=function(ue){return"Symbol("+(ue===void 0?"":ue)+")_"+ie(++re+se,36)}},{"../internals/function-uncurry-this":157}],264:[function(E,pe,fe){var le=E("../internals/native-symbol");pe.exports=le&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(E,pe,fe){var le=E("../internals/descriptors"),re=E("../internals/fails");pe.exports=le&&re(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(E,pe,fe){var le=E("../internals/global"),re=le.TypeError;pe.exports=function(se,ie){if(se=51||!se(function(){var be=[];return be[b]=!1,be.concat()[0]!==be}),he=a("concat"),ve=function(be){if(!ue(be))return!1;var ye=be[b];return ye!==void 0?!!ye:ie(be)},me=!ge||!he;le({target:"Array",proto:!0,forced:me},{concat:function(ye){var Pe=ae(this),we=ee(Pe,0),Le=0,Ce,Te,Ee,Re,De;for(Ce=-1,Ee=arguments.length;Cez)throw ce(te);for(Te=0;Te=z)throw ce(te);ne(we,Le++,De)}return we.length=Le,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,fe){var le=E("../internals/export"),re=E("../internals/array-fill"),se=E("../internals/add-to-unscopables");le({target:"Array",proto:!0},{fill:re}),se("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(E,pe,fe){"use strict";var le=E("../internals/export"),re=E("../internals/array-iteration").filter,se=E("../internals/array-method-has-species-support"),ie=se("filter");le({target:"Array",proto:!0,forced:!ie},{filter:function(ae){return re(this,ae,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],275:[function(E,pe,fe){"use strict";var le=E("../internals/export"),re=E("../internals/array-iteration").find,se=E("../internals/add-to-unscopables"),ie="find",ue=!0;ie in[]&&Array(1)[ie](function(){ue=!1}),le({target:"Array",proto:!0,forced:ue},{find:function(oe){return re(this,oe,arguments.length>1?arguments[1]:void 0)}}),se(ie)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(E,pe,fe){var le=E("../internals/export"),re=E("../internals/array-from"),se=E("../internals/check-correctness-of-iteration"),ie=!se(function(ue){Array.from(ue)});le({target:"Array",stat:!0,forced:ie},{from:re})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(E,pe,fe){"use strict";var le=E("../internals/export"),re=E("../internals/array-includes").includes,se=E("../internals/add-to-unscopables");le({target:"Array",proto:!0},{includes:function(ue){return re(this,ue,arguments.length>1?arguments[1]:void 0)}}),se("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(E,pe,fe){"use strict";var le=E("../internals/to-indexed-object"),re=E("../internals/add-to-unscopables"),se=E("../internals/iterators"),ie=E("../internals/internal-state"),ue=E("../internals/object-define-property").f,ae=E("../internals/define-iterator"),oe=E("../internals/is-pure"),ne=E("../internals/descriptors"),ee="Array Iterator",a=ie.set,y=ie.getterFor(ee);pe.exports=ae(Array,"Array",function(b,z){a(this,{type:ee,target:le(b),index:0,kind:z})},function(){var b=y(this),z=b.target,te=b.kind,ce=b.index++;return!z||ce>=z.length?(b.target=void 0,{value:void 0,done:!0}):te=="keys"?{value:ce,done:!1}:te=="values"?{value:z[ce],done:!1}:{value:[ce,z[ce]],done:!1}},"values");var x=se.Arguments=se.Array;if(re("keys"),re("values"),re("entries"),!oe&&ne&&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,fe){"use strict";var le=E("../internals/export"),re=E("../internals/function-uncurry-this"),se=E("../internals/indexed-object"),ie=E("../internals/to-indexed-object"),ue=E("../internals/array-method-is-strict"),ae=re([].join),oe=se!=Object,ne=ue("join",",");le({target:"Array",proto:!0,forced:oe||!ne},{join:function(a){return ae(ie(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,fe){"use strict";var le=E("../internals/export"),re=E("../internals/array-iteration").map,se=E("../internals/array-method-has-species-support"),ie=se("map");le({target:"Array",proto:!0,forced:!ie},{map:function(ae){return re(this,ae,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],281:[function(E,pe,fe){"use strict";var le=E("../internals/export"),re=E("../internals/global"),se=E("../internals/is-array"),ie=E("../internals/is-constructor"),ue=E("../internals/is-object"),ae=E("../internals/to-absolute-index"),oe=E("../internals/length-of-array-like"),ne=E("../internals/to-indexed-object"),ee=E("../internals/create-property"),a=E("../internals/well-known-symbol"),y=E("../internals/array-method-has-species-support"),x=E("../internals/array-slice"),b=y("slice"),z=a("species"),te=re.Array,ce=Math.max;le({target:"Array",proto:!0,forced:!b},{slice:function(he,ve){var me=ne(this),be=oe(me),ye=ae(he,be),Pe=ae(ve===void 0?be:ve,be),we,Le,Ce;if(se(me)&&(we=me.constructor,ie(we)&&(we===te||se(we.prototype))?we=void 0:ue(we)&&(we=we[z],we===null&&(we=void 0)),we===te||we===void 0))return x(me,ye,Pe);for(Le=new(we===void 0?te:we)(ce(Pe-ye,0)),Ce=0;ye3)){if(y)return!0;if(b)return b<603;var Pe="",we,Le,Ce,Te;for(we=65;we<76;we++){switch(Le=String.fromCharCode(we),we){case 66:case 69:case 70:case 72:Ce=3;break;case 68:case 71:Ce=4;break;default:Ce=2}for(Te=0;Te<47;Te++)z.push({k:Le+Te,v:Ce})}for(z.sort(function(Ee,Re){return Re.v-Ee.v}),Te=0;Teae(Le)?1:-1}};le({target:"Array",proto:!0,forced:be},{sort:function(we){we!==void 0&&se(we);var Le=ie(this);if(me)return we===void 0?te(Le):te(Le,we);var Ce=[],Te=ue(Le),Ee,Re;for(Re=0;Rez)throw y(te);for(Le=oe(ve,we),Ce=0;Ceme-we+Pe;Ce--)delete ve[Ce-1]}else if(Pe>we)for(Ce=me-we;Ce>be;Ce--)Te=Ce+we-1,Ee=Ce+Pe-1,Te in ve?ve[Ee]=ve[Te]:delete ve[Ee];for(Ce=0;Ce2){if(De=ce(De),ke=ye(De,0),ke===43||ke===45){if(Ie=ye(De,2),Ie===88||Ie===120)return NaN}else if(ke===48){switch(ye(De,1)){case 66:case 98:qe=2,Qe=49;break;case 79:case 111:qe=8,Qe=55;break;default:return+De}for(Je=be(De,2),Ye=Je.length,He=0;HeQe)return NaN;return parseInt(Je,qe)}}return+De};if(ie(ge,!he(" 0o1")||!he("0b1")||he("+0x1"))){for(var Le=function(De){var ke=arguments.length<1?0:he(Pe(De)),Ie=this;return ne(ve,Ie)&&y(function(){te(Ie)})?oe(Object(ke),Ie,Le):ke},Ce=le?x(he):"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(","),Te=0,Ee;Ce.length>Te;Te++)ae(he,Ee=Ce[Te])&&!ae(Le,Ee)&&z(Le,Ee,b(he,Ee));Le.prototype=ve,ve.constructor=Le,ue(re,ge,Le)}},{"../internals/descriptors":134,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163,"../internals/has-own-property":164,"../internals/inherit-if-required":171,"../internals/is-forced":178,"../internals/is-symbol":183,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/object-get-own-property-names":201,"../internals/object-is-prototype-of":204,"../internals/redefine":222,"../internals/string-trim":241,"../internals/this-number-value":244,"../internals/to-primitive":253}],287:[function(E,pe,fe){var le=E("../internals/export"),re=E("../internals/object-assign");le({target:"Object",stat:!0,forced:Object.assign!==re},{assign:re})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(E,pe,fe){var le=E("../internals/export"),re=E("../internals/object-to-array").entries;le({target:"Object",stat:!0},{entries:function(ie){return re(ie)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(E,pe,fe){var le=E("../internals/export"),re=E("../internals/native-symbol"),se=E("../internals/fails"),ie=E("../internals/object-get-own-property-symbols"),ue=E("../internals/to-object"),ae=!re||se(function(){ie.f(1)});le({target:"Object",stat:!0,forced:ae},{getOwnPropertySymbols:function(ne){var ee=ie.f;return ee?ee(ue(ne)):[]}})},{"../internals/export":149,"../internals/fails":150,"../internals/native-symbol":191,"../internals/object-get-own-property-symbols":202,"../internals/to-object":250}],290:[function(E,pe,fe){var le=E("../internals/export"),re=E("../internals/to-object"),se=E("../internals/object-keys"),ie=E("../internals/fails"),ue=ie(function(){se(1)});le({target:"Object",stat:!0,forced:ue},{keys:function(oe){return se(re(oe))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(E,pe,fe){var le=E("../internals/to-string-tag-support"),re=E("../internals/redefine"),se=E("../internals/object-to-string");le||re(Object.prototype,"toString",se,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(E,pe,fe){"use strict";var le=E("../internals/export"),re=E("../internals/function-call"),se=E("../internals/a-callable"),ie=E("../internals/new-promise-capability"),ue=E("../internals/perform"),ae=E("../internals/iterate"),oe=E("../internals/promise-statics-incorrect-iteration");le({target:"Promise",stat:!0,forced:oe},{all:function(ee){var a=this,y=ie.f(a),x=y.resolve,b=y.reject,z=ue(function(){var te=se(a.resolve),ce=[],ge=0,he=1;ae(ee,function(ve){var me=ge++,be=!1;he++,re(te,a,ve).then(function(ye){be||(be=!0,ce[me]=ye,--he||x(ce))},b)}),--he||x(ce)});return z.error&&b(z.value),y.promise}})},{"../internals/a-callable":95,"../internals/export":149,"../internals/function-call":155,"../internals/iterate":184,"../internals/new-promise-capability":193,"../internals/perform":214,"../internals/promise-statics-incorrect-iteration":218}],293:[function(E,pe,fe){"use strict";var le=E("../internals/export"),re=E("../internals/is-pure"),se=E("../internals/promise-constructor-detection").CONSTRUCTOR,ie=E("../internals/promise-native-constructor"),ue=E("../internals/get-built-in"),ae=E("../internals/is-callable"),oe=E("../internals/redefine"),ne=ie&&ie.prototype;if(le({target:"Promise",proto:!0,forced:se,real:!0},{catch:function(a){return this.then(void 0,a)}}),!re&&ae(ie)){var ee=ue("Promise").prototype.catch;ne.catch!==ee&&oe(ne,"catch",ee,{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,fe){"use strict";var le=E("../internals/export"),re=E("../internals/is-pure"),se=E("../internals/engine-is-node"),ie=E("../internals/global"),ue=E("../internals/function-call"),ae=E("../internals/redefine"),oe=E("../internals/redefine-all"),ne=E("../internals/object-set-prototype-of"),ee=E("../internals/set-to-string-tag"),a=E("../internals/set-species"),y=E("../internals/a-callable"),x=E("../internals/is-callable"),b=E("../internals/is-object"),z=E("../internals/an-instance"),te=E("../internals/species-constructor"),ce=E("../internals/task").set,ge=E("../internals/microtask"),he=E("../internals/host-report-errors"),ve=E("../internals/perform"),me=E("../internals/queue"),be=E("../internals/internal-state"),ye=E("../internals/promise-native-constructor"),Pe=E("../internals/promise-constructor-detection"),we=E("../internals/new-promise-capability"),Le="Promise",Ce=Pe.CONSTRUCTOR,Te=Pe.REJECTION_EVENT,Ee=Pe.SUBCLASSING,Re=be.getterFor(Le),De=be.set,ke=ye&&ye.prototype,Ie=ye,qe=ke,Qe=ie.TypeError,Je=ie.document,Ye=ie.process,He=we.f,Fe=He,je=!!(Je&&Je.createEvent&&ie.dispatchEvent),et="unhandledrejection",tt="rejectionhandled",it=0,Xe=1,Ke=2,Me=1,Ve=2,Ae,Be,$e,Ze,ze=function(xt){var Rt;return b(xt)&&x(Rt=xt.then)?Rt:!1},_e=function(xt,Rt){var at=Rt.value,Et=Rt.state==Xe,st=Et?xt.ok:xt.fail,gt=xt.resolve,St=xt.reject,wt=xt.domain,Tt,Wt,hn;try{st?(Et||(Rt.rejection===Ve&&pt(Rt),Rt.rejection=Me),st===!0?Tt=at:(wt&&wt.enter(),Tt=st(at),wt&&(wt.exit(),hn=!0)),Tt===xt.promise?St(Qe("Promise-chain cycle")):(Wt=ze(Tt))?ue(Wt,Tt,gt,St):gt(Tt)):St(at)}catch(pn){wt&&!hn&&wt.exit(),St(pn)}},Oe=function(xt,Rt){xt.notified||(xt.notified=!0,ge(function(){for(var at=xt.reactions,Et;Et=at.get();)_e(Et,xt);xt.notified=!1,Rt&&!xt.rejection&&Ge(xt)}))},Ne=function(xt,Rt,at){var Et,st;je?(Et=Je.createEvent("Event"),Et.promise=Rt,Et.reason=at,Et.initEvent(xt,!1,!0),ie.dispatchEvent(Et)):Et={promise:Rt,reason:at},!Te&&(st=ie["on"+xt])?st(Et):xt===et&&he("Unhandled promise rejection",at)},Ge=function(xt){ue(ce,ie,function(){var Rt=xt.facade,at=xt.value,Et=rt(xt),st;if(Et&&(st=ve(function(){se?Ye.emit("unhandledRejection",at,Rt):Ne(et,Rt,at)}),xt.rejection=se||rt(xt)?Ve:Me,st.error))throw st.value})},rt=function(xt){return xt.rejection!==Me&&!xt.parent},pt=function(xt){ue(ce,ie,function(){var Rt=xt.facade;se?Ye.emit("rejectionHandled",Rt):Ne(tt,Rt,xt.value)})},ut=function(xt,Rt,at){return function(Et){xt(Rt,Et,at)}},nt=function(xt,Rt,at){xt.done||(xt.done=!0,at&&(xt=at),xt.value=Rt,xt.state=Ke,Oe(xt,!0))},vt=function(xt,Rt,at){if(!xt.done){xt.done=!0,at&&(xt=at);try{if(xt.facade===Rt)throw Qe("Promise can't be resolved itself");var Et=ze(Rt);Et?ge(function(){var st={done:!1};try{ue(Et,Rt,ut(vt,st,xt),ut(nt,st,xt))}catch(gt){nt(st,gt,xt)}}):(xt.value=Rt,xt.state=Xe,Oe(xt,!1))}catch(st){nt({done:!1},st,xt)}}};if(Ce&&(Ie=function(Rt){z(this,qe),y(Rt),ue(Ae,this);var at=Re(this);try{Rt(ut(vt,at),ut(nt,at))}catch(Et){nt(at,Et)}},qe=Ie.prototype,Ae=function(Rt){De(this,{type:Le,done:!1,notified:!1,parent:!1,reactions:new me,rejection:!1,state:it,value:void 0})},Ae.prototype=oe(qe,{then:function(Rt,at){var Et=Re(this),st=He(te(this,Ie));return Et.parent=!0,st.ok=x(Rt)?Rt:!0,st.fail=x(at)&&at,st.domain=se?Ye.domain:void 0,Et.state==it?Et.reactions.add(st):ge(function(){_e(st,Et)}),st.promise}}),Be=function(){var xt=new Ae,Rt=Re(xt);this.promise=xt,this.resolve=ut(vt,Rt),this.reject=ut(nt,Rt)},we.f=He=function(xt){return xt===Ie||xt===$e?new Be(xt):Fe(xt)},!re&&x(ye)&&ke!==Object.prototype)){Ze=ke.then,Ee||ae(ke,"then",function(Rt,at){var Et=this;return new Ie(function(st,gt){ue(Ze,Et,st,gt)}).then(Rt,at)},{unsafe:!0});try{delete ke.constructor}catch(xt){}ne&&ne(ke,qe)}le({global:!0,wrap:!0,forced:Ce},{Promise:Ie}),ee(Ie,Le,!1,!0),a(Le)},{"../internals/a-callable":95,"../internals/an-instance":100,"../internals/engine-is-node":143,"../internals/export":149,"../internals/function-call":155,"../internals/global":163,"../internals/host-report-errors":166,"../internals/internal-state":173,"../internals/is-callable":176,"../internals/is-object":180,"../internals/is-pure":181,"../internals/microtask":189,"../internals/new-promise-capability":193,"../internals/object-set-prototype-of":208,"../internals/perform":214,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216,"../internals/queue":220,"../internals/redefine":222,"../internals/redefine-all":221,"../internals/set-species":233,"../internals/set-to-string-tag":234,"../internals/species-constructor":238,"../internals/task":243}],295:[function(E,pe,fe){E("../modules/es.promise.constructor"),E("../modules/es.promise.all"),E("../modules/es.promise.catch"),E("../modules/es.promise.race"),E("../modules/es.promise.reject"),E("../modules/es.promise.resolve")},{"../modules/es.promise.all":292,"../modules/es.promise.catch":293,"../modules/es.promise.constructor":294,"../modules/es.promise.race":296,"../modules/es.promise.reject":297,"../modules/es.promise.resolve":298}],296:[function(E,pe,fe){"use strict";var le=E("../internals/export"),re=E("../internals/function-call"),se=E("../internals/a-callable"),ie=E("../internals/new-promise-capability"),ue=E("../internals/perform"),ae=E("../internals/iterate"),oe=E("../internals/promise-statics-incorrect-iteration");le({target:"Promise",stat:!0,forced:oe},{race:function(ee){var a=this,y=ie.f(a),x=y.reject,b=ue(function(){var z=se(a.resolve);ae(ee,function(te){re(z,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,fe){"use strict";var le=E("../internals/export"),re=E("../internals/function-call"),se=E("../internals/new-promise-capability"),ie=E("../internals/promise-constructor-detection").CONSTRUCTOR;le({target:"Promise",stat:!0,forced:ie},{reject:function(ae){var oe=se.f(this);return re(oe.reject,void 0,ae),oe.promise}})},{"../internals/export":149,"../internals/function-call":155,"../internals/new-promise-capability":193,"../internals/promise-constructor-detection":215}],298:[function(E,pe,fe){"use strict";var le=E("../internals/export"),re=E("../internals/get-built-in"),se=E("../internals/is-pure"),ie=E("../internals/promise-native-constructor"),ue=E("../internals/promise-constructor-detection").CONSTRUCTOR,ae=E("../internals/promise-resolve"),oe=re("Promise"),ne=se&&!ue;le({target:"Promise",stat:!0,forced:se||ue},{resolve:function(a){return ae(ne&&this===oe?ie: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,fe){var le=E("../internals/descriptors"),re=E("../internals/global"),se=E("../internals/function-uncurry-this"),ie=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,ne=E("../internals/object-is-prototype-of"),ee=E("../internals/is-regexp"),a=E("../internals/to-string"),y=E("../internals/regexp-get-flags"),x=E("../internals/regexp-sticky-helpers"),b=E("../internals/proxy-accessor"),z=E("../internals/redefine"),te=E("../internals/fails"),ce=E("../internals/has-own-property"),ge=E("../internals/internal-state").enforce,he=E("../internals/set-species"),ve=E("../internals/well-known-symbol"),me=E("../internals/regexp-unsupported-dot-all"),be=E("../internals/regexp-unsupported-ncg"),ye=ve("match"),Pe=re.RegExp,we=Pe.prototype,Le=re.SyntaxError,Ce=se(we.exec),Te=se("".charAt),Ee=se("".replace),Re=se("".indexOf),De=se("".slice),ke=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Ie=/a/g,qe=/a/g,Qe=new Pe(Ie)!==Ie,Je=x.MISSED_STICKY,Ye=x.UNSUPPORTED_Y,He=le&&(!Qe||Je||me||be||te(function(){return qe[ye]=!1,Pe(Ie)!=Ie||Pe(qe)==qe||Pe(Ie,"i")!="/a/i"})),Fe=function(Xe){for(var Ke=Xe.length,Me=0,Ve="",Ae=!1,Be;Me<=Ke;Me++){if(Be=Te(Xe,Me),Be==="\\"){Ve+=Be+Te(Xe,++Me);continue}!Ae&&Be==="."?Ve+="[\\s\\S]":(Be==="["?Ae=!0:Be==="]"&&(Ae=!1),Ve+=Be)}return Ve},je=function(Xe){for(var Ke=Xe.length,Me=0,Ve="",Ae=[],Be={},$e=!1,Ze=!1,ze=0,_e="",Oe;Me<=Ke;Me++){if(Oe=Te(Xe,Me),Oe==="\\")Oe=Oe+Te(Xe,++Me);else if(Oe==="]")$e=!1;else if(!$e)switch(!0){case Oe==="[":$e=!0;break;case Oe==="(":Ce(ke,De(Xe,Me+1))&&(Me+=2,Ze=!0),Ve+=Oe,ze++;continue;case(Oe===">"&&Ze):if(_e===""||ce(Be,_e))throw new Le("Invalid capture group name");Be[_e]=!0,Ae[Ae.length]=[_e,ze],Ze=!1,_e="";continue}Ze?_e+=Oe:Ve+=Oe}return[Ve,Ae]};if(ie("RegExp",He)){for(var et=function(Ke,Me){var Ve=ne(we,this),Ae=ee(Ke),Be=Me===void 0,$e=[],Ze=Ke,ze,_e,Oe,Ne,Ge,rt;if(!Ve&&Ae&&Be&&Ke.constructor===et)return Ke;if((Ae||ne(we,Ke))&&(Ke=Ke.source,Be&&(Me=y(Ze))),Ke=Ke===void 0?"":a(Ke),Me=Me===void 0?"":a(Me),Ze=Ke,me&&"dotAll"in Ie&&(_e=!!Me&&Re(Me,"s")>-1,_e&&(Me=Ee(Me,/s/g,""))),ze=Me,Je&&"sticky"in Ie&&(Oe=!!Me&&Re(Me,"y")>-1,Oe&&Ye&&(Me=Ee(Me,/y/g,""))),be&&(Ne=je(Ke),Ke=Ne[0],$e=Ne[1]),Ge=ue(Pe(Ke,Me),Ve?this:we,et),(_e||Oe||$e.length)&&(rt=ge(Ge),_e&&(rt.dotAll=!0,rt.raw=et(Fe(Ke),ze)),Oe&&(rt.sticky=!0),$e.length&&(rt.groups=$e)),Ke!==Ze)try{ae(Ge,"source",Ze===""?"(?:)":Ze)}catch(pt){}return Ge},tt=oe(Pe),it=0;tt.length>it;)b(et,Pe,tt[it++]);we.constructor=et,et.prototype=we,z(re,"RegExp",et)}he("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,fe){"use strict";var le=E("../internals/export"),re=E("../internals/regexp-exec");le({target:"RegExp",proto:!0,forced:/./.exec!==re},{exec:re})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(E,pe,fe){"use strict";var le=E("../internals/function-name").PROPER,re=E("../internals/redefine"),se=E("../internals/an-object"),ie=E("../internals/to-string"),ue=E("../internals/fails"),ae=E("../internals/regexp-get-flags"),oe="toString",ne=RegExp.prototype,ee=ne[oe],a=ue(function(){return ee.call({source:"a",flags:"b"})!="/a/b"}),y=le&&ee.name!=oe;(a||y)&&re(RegExp.prototype,oe,function(){var b=se(this),z=ie(b.source),te=ie(ae(b));return"/"+z+"/"+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,fe){"use strict";var le=E("../internals/export"),re=E("../internals/function-uncurry-this"),se=E("../internals/not-a-regexp"),ie=E("../internals/require-object-coercible"),ue=E("../internals/to-string"),ae=E("../internals/correct-is-regexp-logic"),oe=re("".indexOf);le({target:"String",proto:!0,forced:!ae("includes")},{includes:function(ee){return!!~oe(ue(ie(this)),ue(se(ee)),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,fe){"use strict";var le=E("../internals/string-multibyte").charAt,re=E("../internals/to-string"),se=E("../internals/internal-state"),ie=E("../internals/define-iterator"),ue="String Iterator",ae=se.set,oe=se.getterFor(ue);ie(String,"String",function(ne){ae(this,{type:ue,string:re(ne),index:0})},function(){var ee=oe(this),a=ee.string,y=ee.index,x;return y>=a.length?{value:void 0,done:!0}:(x=le(a,y),ee.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,fe){"use strict";var le=E("../internals/function-call"),re=E("../internals/fix-regexp-well-known-symbol-logic"),se=E("../internals/an-object"),ie=E("../internals/to-length"),ue=E("../internals/to-string"),ae=E("../internals/require-object-coercible"),oe=E("../internals/get-method"),ne=E("../internals/advance-string-index"),ee=E("../internals/regexp-exec-abstract");re("match",function(a,y,x){return[function(z){var te=ae(this),ce=z==null?void 0:oe(z,a);return ce?le(ce,z,te):new RegExp(z)[a](ue(te))},function(b){var z=se(this),te=ue(b),ce=x(y,z,te);if(ce.done)return ce.value;if(!z.global)return ee(z,te);var ge=z.unicode;z.lastIndex=0;for(var he=[],ve=0,me;(me=ee(z,te))!==null;){var be=ue(me[0]);he[ve]=be,be===""&&(z.lastIndex=ne(te,ie(z.lastIndex),ge)),ve++}return ve===0?null:he}]})},{"../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,fe){"use strict";var le=E("../internals/function-apply"),re=E("../internals/function-call"),se=E("../internals/function-uncurry-this"),ie=E("../internals/fix-regexp-well-known-symbol-logic"),ue=E("../internals/fails"),ae=E("../internals/an-object"),oe=E("../internals/is-callable"),ne=E("../internals/to-integer-or-infinity"),ee=E("../internals/to-length"),a=E("../internals/to-string"),y=E("../internals/require-object-coercible"),x=E("../internals/advance-string-index"),b=E("../internals/get-method"),z=E("../internals/get-substitution"),te=E("../internals/regexp-exec-abstract"),ce=E("../internals/well-known-symbol"),ge=ce("replace"),he=Math.max,ve=Math.min,me=se([].concat),be=se([].push),ye=se("".indexOf),Pe=se("".slice),we=function(Ee){return Ee===void 0?Ee:String(Ee)},Le=function(){return"a".replace(/./,"$0")==="$0"}(),Ce=function(){return/./[ge]?/./[ge]("a","$0")==="":!1}(),Te=!ue(function(){var Ee=/./;return Ee.exec=function(){var Re=[];return Re.groups={a:"7"},Re},"".replace(Ee,"$")!=="7"});ie("replace",function(Ee,Re,De){var ke=Ce?"$":"$0";return[function(qe,Qe){var Je=y(this),Ye=qe==null?void 0:b(qe,ge);return Ye?re(Ye,qe,Je,Qe):re(Re,a(Je),qe,Qe)},function(Ie,qe){var Qe=ae(this),Je=a(Ie);if(typeof qe=="string"&&ye(qe,ke)===-1&&ye(qe,"$<")===-1){var Ye=De(Re,Qe,Je,qe);if(Ye.done)return Ye.value}var He=oe(qe);He||(qe=a(qe));var Fe=Qe.global;if(Fe){var je=Qe.unicode;Qe.lastIndex=0}for(var et=[];;){var tt=te(Qe,Je);if(tt===null||(be(et,tt),!Fe))break;var it=a(tt[0]);it===""&&(Qe.lastIndex=x(Je,ee(Qe.lastIndex),je))}for(var Xe="",Ke=0,Me=0;Me=Ke&&(Xe+=Pe(Je,Ke,Ae)+_e,Ke=Ae+Ve.length)}return Xe+Pe(Je,Ke)}]},!Te||!Le||Ce)},{"../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,fe){"use strict";var le=E("../internals/function-call"),re=E("../internals/fix-regexp-well-known-symbol-logic"),se=E("../internals/an-object"),ie=E("../internals/require-object-coercible"),ue=E("../internals/same-value"),ae=E("../internals/to-string"),oe=E("../internals/get-method"),ne=E("../internals/regexp-exec-abstract");re("search",function(ee,a,y){return[function(b){var z=ie(this),te=b==null?void 0:oe(b,ee);return te?le(te,b,z):new RegExp(b)[ee](ae(z))},function(x){var b=se(this),z=ae(x),te=y(a,b,z);if(te.done)return te.value;var ce=b.lastIndex;ue(ce,0)||(b.lastIndex=0);var ge=ne(b,z);return ue(b.lastIndex,ce)||(b.lastIndex=ce),ge===null?-1:ge.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,fe){"use strict";var le=E("../internals/function-apply"),re=E("../internals/function-call"),se=E("../internals/function-uncurry-this"),ie=E("../internals/fix-regexp-well-known-symbol-logic"),ue=E("../internals/is-regexp"),ae=E("../internals/an-object"),oe=E("../internals/require-object-coercible"),ne=E("../internals/species-constructor"),ee=E("../internals/advance-string-index"),a=E("../internals/to-length"),y=E("../internals/to-string"),x=E("../internals/get-method"),b=E("../internals/array-slice-simple"),z=E("../internals/regexp-exec-abstract"),te=E("../internals/regexp-exec"),ce=E("../internals/regexp-sticky-helpers"),ge=E("../internals/fails"),he=ce.UNSUPPORTED_Y,ve=4294967295,me=Math.min,be=[].push,ye=se(/./.exec),Pe=se(be),we=se("".slice),Le=!ge(function(){var Ce=/(?:)/,Te=Ce.exec;Ce.exec=function(){return Te.apply(this,arguments)};var Ee="ab".split(Ce);return Ee.length!==2||Ee[0]!=="a"||Ee[1]!=="b"});ie("split",function(Ce,Te,Ee){var Re;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?Re=function(De,ke){var Ie=y(oe(this)),qe=ke===void 0?ve:ke>>>0;if(qe===0)return[];if(De===void 0)return[Ie];if(!ue(De))return re(Te,Ie,De,qe);for(var Qe=[],Je=(De.ignoreCase?"i":"")+(De.multiline?"m":"")+(De.unicode?"u":"")+(De.sticky?"y":""),Ye=0,He=new RegExp(De.source,Je+"g"),Fe,je,et;(Fe=re(te,He,Ie))&&(je=He.lastIndex,!(je>Ye&&(Pe(Qe,we(Ie,Ye,Fe.index)),Fe.length>1&&Fe.index=qe)));)He.lastIndex===Fe.index&&He.lastIndex++;return Ye===Ie.length?(et||!ye(He,""))&&Pe(Qe,""):Pe(Qe,we(Ie,Ye)),Qe.length>qe?b(Qe,0,qe):Qe}:"0".split(void 0,0).length?Re=function(De,ke){return De===void 0&&ke===0?[]:re(Te,this,De,ke)}:Re=Te,[function(ke,Ie){var qe=oe(this),Qe=ke==null?void 0:x(ke,Ce);return Qe?re(Qe,ke,qe,Ie):re(Re,y(qe),ke,Ie)},function(De,ke){var Ie=ae(this),qe=y(De),Qe=Ee(Re,Ie,qe,ke,Re!==Te);if(Qe.done)return Qe.value;var Je=ne(Ie,RegExp),Ye=Ie.unicode,He=(Ie.ignoreCase?"i":"")+(Ie.multiline?"m":"")+(Ie.unicode?"u":"")+(he?"g":"y"),Fe=new Je(he?"^(?:"+Ie.source+")":Ie,He),je=ke===void 0?ve:ke>>>0;if(je===0)return[];if(qe.length===0)return z(Fe,qe)===null?[qe]:[];for(var et=0,tt=0,it=[];tt2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-copy-within":105,"../internals/function-uncurry-this":157}],316:[function(E,pe,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").every,se=le.aTypedArray,ie=le.exportTypedArrayMethod;ie("every",function(ae){return re(se(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(E,pe,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/function-call"),se=E("../internals/array-fill"),ie=le.aTypedArray,ue=le.exportTypedArrayMethod;ue("fill",function(oe){var ne=arguments.length;return re(se,ie(this),oe,ne>1?arguments[1]:void 0,ne>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-fill":106,"../internals/function-call":155}],318:[function(E,pe,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").filter,se=E("../internals/typed-array-from-species-and-list"),ie=le.aTypedArray,ue=le.exportTypedArrayMethod;ue("filter",function(oe){var ne=re(ie(this),oe,arguments.length>1?arguments[1]:void 0);return se(this,ne)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(E,pe,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").findIndex,se=le.aTypedArray,ie=le.exportTypedArrayMethod;ie("findIndex",function(ae){return re(se(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(E,pe,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").find,se=le.aTypedArray,ie=le.exportTypedArrayMethod;ie("find",function(ae){return re(se(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(E,pe,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").forEach,se=le.aTypedArray,ie=le.exportTypedArrayMethod;ie("forEach",function(ae){re(se(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(E,pe,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/array-includes").includes,se=le.aTypedArray,ie=le.exportTypedArrayMethod;ie("includes",function(ae){return re(se(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(E,pe,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/array-includes").indexOf,se=le.aTypedArray,ie=le.exportTypedArrayMethod;ie("indexOf",function(ae){return re(se(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(E,pe,fe){"use strict";var le=E("../internals/global"),re=E("../internals/fails"),se=E("../internals/function-uncurry-this"),ie=E("../internals/array-buffer-view-core"),ue=E("../modules/es.array.iterator"),ae=E("../internals/well-known-symbol"),oe=ae("iterator"),ne=le.Uint8Array,ee=se(ue.values),a=se(ue.keys),y=se(ue.entries),x=ie.aTypedArray,b=ie.exportTypedArrayMethod,z=ne&&ne.prototype,te=!re(function(){z[oe].call([1])}),ce=!!z&&z.values&&z[oe]===z.values&&z.values.name==="values",ge=function(){return ee(x(this))};b("entries",function(){return y(x(this))},te),b("keys",function(){return a(x(this))},te),b("values",ge,te||!ce,{name:"values"}),b(oe,ge,te||!ce,{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,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/function-uncurry-this"),se=le.aTypedArray,ie=le.exportTypedArrayMethod,ue=re([].join);ie("join",function(oe){return ue(se(this),oe)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(E,pe,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/function-apply"),se=E("../internals/array-last-index-of"),ie=le.aTypedArray,ue=le.exportTypedArrayMethod;ue("lastIndexOf",function(oe){var ne=arguments.length;return re(se,ie(this),ne>1?[oe,arguments[1]]:[oe])})},{"../internals/array-buffer-view-core":103,"../internals/array-last-index-of":112,"../internals/function-apply":152}],327:[function(E,pe,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").map,se=E("../internals/typed-array-species-constructor"),ie=le.aTypedArray,ue=le.exportTypedArrayMethod;ue("map",function(oe){return re(ie(this),oe,arguments.length>1?arguments[1]:void 0,function(ne,ee){return new(se(ne))(ee)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(E,pe,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/array-reduce").right,se=le.aTypedArray,ie=le.exportTypedArrayMethod;ie("reduceRight",function(ae){var oe=arguments.length;return re(se(this),ae,oe,oe>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(E,pe,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/array-reduce").left,se=le.aTypedArray,ie=le.exportTypedArrayMethod;ie("reduce",function(ae){var oe=arguments.length;return re(se(this),ae,oe,oe>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(E,pe,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=le.aTypedArray,se=le.exportTypedArrayMethod,ie=Math.floor;se("reverse",function(){for(var ae=this,oe=re(ae).length,ne=ie(oe/2),ee=0,a;ee1?arguments[1]:void 0,1),ve=ae(ge);if(z)return re(y,this,ve,he);var me=this.length,be=ie(ve),ye=0;if(be+he>me)throw ne("Wrong length");for(;yeb;)te[b]=y[b++];return te},oe)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(E,pe,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/array-iteration").some,se=le.aTypedArray,ie=le.exportTypedArrayMethod;ie("some",function(ae){return re(se(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(E,pe,fe){"use strict";var le=E("../internals/global"),re=E("../internals/function-uncurry-this"),se=E("../internals/fails"),ie=E("../internals/a-callable"),ue=E("../internals/array-sort"),ae=E("../internals/array-buffer-view-core"),oe=E("../internals/engine-ff-version"),ne=E("../internals/engine-is-ie-or-edge"),ee=E("../internals/engine-v8-version"),a=E("../internals/engine-webkit-version"),y=ae.aTypedArray,x=ae.exportTypedArrayMethod,b=le.Uint16Array,z=b&&re(b.prototype.sort),te=!!z&&!(se(function(){z(new b(2),null)})&&se(function(){z(new b(2),{})})),ce=!!z&&!se(function(){if(ee)return ee<74;if(oe)return oe<67;if(ne)return!0;if(a)return a<602;var he=new b(516),ve=Array(516),me,be;for(me=0;me<516;me++)be=me%4,he[me]=515-me,ve[me]=me-2*be+3;for(z(he,function(ye,Pe){return(ye/4|0)-(Pe/4|0)}),me=0;me<516;me++)if(he[me]!==ve[me])return!0}),ge=function(he){return function(ve,me){return he!==void 0?+he(ve,me)||0:me!==me?-1:ve!==ve?1:ve===0&&me===0?1/ve>0&&1/me<0?1:-1:ve>me}};x("sort",function(ve){return ve!==void 0&&ie(ve),ce?z(this,ve):ue(y(this),ge(ve))},!ce||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,fe){"use strict";var le=E("../internals/array-buffer-view-core"),re=E("../internals/to-length"),se=E("../internals/to-absolute-index"),ie=E("../internals/typed-array-species-constructor"),ue=le.aTypedArray,ae=le.exportTypedArrayMethod;ae("subarray",function(ne,ee){var a=ue(this),y=a.length,x=se(ne,y),b=ie(a);return new b(a.buffer,a.byteOffset+x*a.BYTES_PER_ELEMENT,re((ee===void 0?y:se(ee,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,fe){"use strict";var le=E("../internals/global"),re=E("../internals/function-apply"),se=E("../internals/array-buffer-view-core"),ie=E("../internals/fails"),ue=E("../internals/array-slice"),ae=le.Int8Array,oe=se.aTypedArray,ne=se.exportTypedArrayMethod,ee=[].toLocaleString,a=!!ae&&ie(function(){ee.call(new ae(1))}),y=ie(function(){return[1,2].toLocaleString()!=new ae([1,2]).toLocaleString()})||!ie(function(){ae.prototype.toLocaleString.call([1,2])});ne("toLocaleString",function(){return re(ee,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,fe){"use strict";var le=E("../internals/array-buffer-view-core").exportTypedArrayMethod,re=E("../internals/fails"),se=E("../internals/global"),ie=E("../internals/function-uncurry-this"),ue=se.Uint8Array,ae=ue&&ue.prototype||{},oe=[].toString,ne=ie([].join);re(function(){oe.call({})})&&(oe=function(){return ne(this)});var ee=ae.toString!=oe;le("toString",oe,ee)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(E,pe,fe){var le=E("../internals/typed-array-constructor");le("Uint8",function(re){return function(ie,ue,ae){return re(this,ie,ue,ae)}})},{"../internals/typed-array-constructor":258}],339:[function(E,pe,fe){var le=E("../internals/global"),re=E("../internals/dom-iterables"),se=E("../internals/dom-token-list-prototype"),ie=E("../internals/array-for-each"),ue=E("../internals/create-non-enumerable-property"),ae=function(ne){if(ne&&ne.forEach!==ie)try{ue(ne,"forEach",ie)}catch(ee){ne.forEach=ie}};for(var oe in re)re[oe]&&ae(le[oe]&&le[oe].prototype);ae(se)},{"../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,fe){var le=E("../internals/global"),re=E("../internals/dom-iterables"),se=E("../internals/dom-token-list-prototype"),ie=E("../modules/es.array.iterator"),ue=E("../internals/create-non-enumerable-property"),ae=E("../internals/well-known-symbol"),oe=ae("iterator"),ne=ae("toStringTag"),ee=ie.values,a=function(x,b){if(x){if(x[oe]!==ee)try{ue(x,oe,ee)}catch(te){x[oe]=ee}if(x[ne]||ue(x,ne,b),re[b]){for(var z in ie)if(x[z]!==ie[z])try{ue(x,z,ie[z])}catch(te){x[z]=ie[z]}}}};for(var y in re)a(le[y]&&le[y].prototype,y);a(se,"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,fe){function le(ce){return Array.isArray?Array.isArray(ce):te(ce)==="[object Array]"}fe.isArray=le;function re(ce){return typeof ce=="boolean"}fe.isBoolean=re;function se(ce){return ce===null}fe.isNull=se;function ie(ce){return ce==null}fe.isNullOrUndefined=ie;function ue(ce){return typeof ce=="number"}fe.isNumber=ue;function ae(ce){return typeof ce=="string"}fe.isString=ae;function oe(ce){return typeof ce=="symbol"}fe.isSymbol=oe;function ne(ce){return ce===void 0}fe.isUndefined=ne;function ee(ce){return te(ce)==="[object RegExp]"}fe.isRegExp=ee;function a(ce){return typeof ce=="object"&&ce!==null}fe.isObject=a;function y(ce){return te(ce)==="[object Date]"}fe.isDate=y;function x(ce){return te(ce)==="[object Error]"||ce instanceof Error}fe.isError=x;function b(ce){return typeof ce=="function"}fe.isFunction=b;function z(ce){return ce===null||typeof ce=="boolean"||typeof ce=="number"||typeof ce=="string"||typeof ce=="symbol"||typeof ce=="undefined"}fe.isPrimitive=z,fe.isBuffer=E("buffer").Buffer.isBuffer;function te(ce){return Object.prototype.toString.call(ce)}},{buffer:90}],342:[function(E,pe,fe){(function(le){"use strict";var re=function(){var oe=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,ne=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,ee=/[^-+\dA-Z]/g;return function(a,y,x,b){if(arguments.length===1&&ae(a)==="string"&&!/\d/.test(a)&&(y=a,a=void 0),a=a||new Date,a instanceof Date||(a=new Date(a)),isNaN(a))throw TypeError("Invalid date");y=String(re.masks[y]||y||re.masks.default);var z=y.slice(0,4);(z==="UTC:"||z==="GMT:")&&(y=y.slice(4),x=!0,z==="GMT:"&&(b=!0));var te=x?"getUTC":"get",ce=a[te+"Date"](),ge=a[te+"Day"](),he=a[te+"Month"](),ve=a[te+"FullYear"](),me=a[te+"Hours"](),be=a[te+"Minutes"](),ye=a[te+"Seconds"](),Pe=a[te+"Milliseconds"](),we=x?0:a.getTimezoneOffset(),Le=ie(a),Ce=ue(a),Te={d:ce,dd:se(ce),ddd:re.i18n.dayNames[ge],dddd:re.i18n.dayNames[ge+7],m:he+1,mm:se(he+1),mmm:re.i18n.monthNames[he],mmmm:re.i18n.monthNames[he+12],yy:String(ve).slice(2),yyyy:ve,h:me%12||12,hh:se(me%12||12),H:me,HH:se(me),M:be,MM:se(be),s:ye,ss:se(ye),l:se(Pe,3),L:se(Math.round(Pe/10)),t:me<12?"a":"p",tt:me<12?"am":"pm",T:me<12?"A":"P",TT:me<12?"AM":"PM",Z:b?"GMT":x?"UTC":(String(a).match(ne)||[""]).pop().replace(ee,""),o:(we>0?"-":"+")+se(Math.floor(Math.abs(we)/60)*100+Math.abs(we)%60,4),S:["th","st","nd","rd"][ce%10>3?0:(ce%100-ce%10!=10)*ce%10],W:Le,N:Ce};return y.replace(oe,function(Ee){return Ee in Te?Te[Ee]:Ee.slice(1,Ee.length-1)})}}();re.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},re.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};function se(oe,ne){for(oe=String(oe),ne=ne||2;oe.length]/;pe.exports=re;function re(se){var ie=""+se,ue=le.exec(ie);if(!ue)return ie;var ae,oe="",ne=0,ee=0;for(ne=ue.index;ne0&&(Te=Pe[0]),Te instanceof Error)throw Te;var Ee=new Error("Unhandled error."+(Te?" ("+Te.message+")":""));throw Ee.context=Te,Ee}var Re=Ce[ye];if(Re===void 0)return!1;if(typeof Re=="function")re(Re,this,Pe);else for(var De=Re.length,ke=te(Re,De),we=0;we0&&Te.length>Le&&!Te.warned){Te.warned=!0;var Ee=new Error("Possible EventEmitter memory leak detected. "+Te.length+" "+String(ye)+" listeners added. Use emitter.setMaxListeners() to increase limit");Ee.name="MaxListenersExceededWarning",Ee.emitter=be,Ee.type=ye,Ee.count=Te.length,ie(Ee)}return be}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(be,ye,Pe){var we={fired:!1,wrapFn:void 0,target:be,type:ye,listener:Pe},Le=y.bind(we);return Le.listener=Pe,we.wrapFn=Le,Le}ae.prototype.once=function(ye,Pe){return ne(Pe),this.on(ye,x(this,ye,Pe)),this},ae.prototype.prependOnceListener=function(ye,Pe){return ne(Pe),this.prependListener(ye,x(this,ye,Pe)),this},ae.prototype.removeListener=function(ye,Pe){var we,Le,Ce,Te,Ee;if(ne(Pe),Le=this._events,Le===void 0)return this;if(we=Le[ye],we===void 0)return this;if(we===Pe||we.listener===Pe)--this._eventsCount===0?this._events=Object.create(null):(delete Le[ye],Le.removeListener&&this.emit("removeListener",ye,we.listener||Pe));else if(typeof we!="function"){for(Ce=-1,Te=we.length-1;Te>=0;Te--)if(we[Te]===Pe||we[Te].listener===Pe){Ee=we[Te].listener,Ce=Te;break}if(Ce<0)return this;Ce===0?we.shift():ce(we,Ce),we.length===1&&(Le[ye]=we[0]),Le.removeListener!==void 0&&this.emit("removeListener",ye,Ee||Pe)}return this},ae.prototype.off=ae.prototype.removeListener,ae.prototype.removeAllListeners=function(ye){var Pe,we,Le;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 Ce=Object.keys(we),Te;for(Le=0;Le=0;Le--)this.removeListener(ye,Pe[Le]);return this};function b(be,ye,Pe){var we=be._events;if(we===void 0)return[];var Le=we[ye];return Le===void 0?[]:typeof Le=="function"?Pe?[Le.listener||Le]:[Le]:Pe?ge(Le):te(Le,Le.length)}ae.prototype.listeners=function(ye){return b(this,ye,!0)},ae.prototype.rawListeners=function(ye){return b(this,ye,!1)},ae.listenerCount=function(be,ye){return typeof be.listenerCount=="function"?be.listenerCount(ye):z.call(be,ye)},ae.prototype.listenerCount=z;function z(be){var ye=this._events;if(ye!==void 0){var Pe=ye[be];if(typeof Pe=="function")return 1;if(Pe!==void 0)return Pe.length}return 0}ae.prototype.eventNames=function(){return this._eventsCount>0?se(this._events):[]};function te(be,ye){for(var Pe=new Array(ye),we=0;we=3&&(x=y),re.call(ee)==="[object Array]"?ie(ee,a,x):typeof ee=="string"?ue(ee,a,x):ae(ee,a,x)};pe.exports=oe},{"is-callable":367}],346:[function(E,pe,fe){"use strict";var le="Function.prototype.bind called on incompatible ",re=Array.prototype.slice,se=Object.prototype.toString,ie="[object Function]";pe.exports=function(ae){var oe=this;if(typeof oe!="function"||se.call(oe)!==ie)throw new TypeError(le+oe);for(var ne=re.call(arguments,1),ee,a=function(){if(this instanceof ee){var te=oe.apply(this,ne.concat(re.call(arguments)));return Object(te)===te?te:this}else return oe.apply(ae,ne.concat(re.call(arguments)))},y=Math.max(0,oe.length-ne.length),x=[],b=0;b1&&typeof ke!="boolean")throw new ie('"allowMissing" argument must be a boolean');if(we(/^%?[^%]*%?$/,De)===null)throw new re("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Ie=Te(De),qe=Ie.length>0?Ie[0]:"",Qe=Ee("%"+qe+"%",ke),Je=Qe.name,Ye=Qe.value,He=!1,Fe=Qe.alias;Fe&&(qe=Fe[0],be(Ie,me([0,1],Fe)));for(var je=1,et=!0;je=Ie.length){var Ke=ae(Ye,tt);et=!!Ke,et&&"get"in Ke&&!("originalValue"in Ke.get)?Ye=Ke.get:Ye=Ye[tt]}else et=ve(Ye,tt),Ye=Ye[tt];et&&!He&&(z[Je]=Ye)}}return Ye}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(E,pe,fe){"use strict";var le=E("get-intrinsic"),re=le("%Object.getOwnPropertyDescriptor%",!0);if(re)try{re([],"length")}catch(se){re=null}pe.exports=re},{"get-intrinsic":348}],350:[function(E,pe,fe){"use strict";var le={foo:{}},re=Object;pe.exports=function(){return{__proto__:le}.foo===le.foo&&!({__proto__:null}instanceof re)}},{}],351:[function(E,pe,fe){"use strict";var le=typeof Symbol!="undefined"&&Symbol,re=E("./shams");pe.exports=function(){return typeof le!="function"||typeof Symbol!="function"||typeof le("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:re()}},{"./shams":352}],352:[function(E,pe,fe){"use strict";pe.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var re={},se=Symbol("test"),ie=Object(se);if(typeof se=="string"||Object.prototype.toString.call(se)!=="[object Symbol]"||Object.prototype.toString.call(ie)!=="[object Symbol]")return!1;var ue=42;re[se]=ue;for(se in re)return!1;if(typeof Object.keys=="function"&&Object.keys(re).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(re).length!==0)return!1;var ae=Object.getOwnPropertySymbols(re);if(ae.length!==1||ae[0]!==se||!Object.prototype.propertyIsEnumerable.call(re,se))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var oe=Object.getOwnPropertyDescriptor(re,se);if(oe.value!==ue||oe.enumerable!==!0)return!1}return!0}},{}],353:[function(E,pe,fe){"use strict";var le=E("has-symbols/shams");pe.exports=function(){return le()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(E,pe,fe){"use strict";var le=E("function-bind");pe.exports=le.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(E,pe,fe){var le=E("http"),re=E("url"),se=pe.exports;for(var ie in le)le.hasOwnProperty(ie)&&(se[ie]=le[ie]);se.request=function(ae,oe){return ae=ue(ae),le.request.call(this,ae,oe)},se.get=function(ae,oe){return ae=ue(ae),le.get.call(this,ae,oe)};function ue(ae){if(typeof ae=="string"&&(ae=re.parse(ae)),ae.protocol||(ae.protocol="https:"),ae.protocol!=="https:")throw new Error('Protocol "'+ae.protocol+'" not supported. Expected "https:"');return ae}},{http:468,url:472}],356:[function(E,pe,fe){"use strict";var le=E("util"),re=E("ms");pe.exports=function(se){if(typeof se=="number")return se;var ie=re(se);if(ie===void 0){var ue=new Error(le.format("humanize-ms(%j) result undefined",se));console.warn(ue.stack)}return ie}},{ms:376,util:419}],357:[function(E,pe,fe){fe.read=function(le,re,se,ie,ue){var ae,oe,ne=ue*8-ie-1,ee=(1<>1,y=-7,x=se?ue-1:0,b=se?-1:1,z=le[re+x];for(x+=b,ae=z&(1<<-y)-1,z>>=-y,y+=ne;y>0;ae=ae*256+le[re+x],x+=b,y-=8);for(oe=ae&(1<<-y)-1,ae>>=-y,y+=ie;y>0;oe=oe*256+le[re+x],x+=b,y-=8);if(ae===0)ae=1-a;else{if(ae===ee)return oe?NaN:(z?-1:1)*(1/0);oe=oe+Math.pow(2,ie),ae=ae-a}return(z?-1:1)*oe*Math.pow(2,ae-ie)},fe.write=function(le,re,se,ie,ue,ae){var oe,ne,ee,a=ae*8-ue-1,y=(1<>1,b=ue===23?Math.pow(2,-24)-Math.pow(2,-77):0,z=ie?0:ae-1,te=ie?1:-1,ce=re<0||re===0&&1/re<0?1:0;for(re=Math.abs(re),isNaN(re)||re===1/0?(ne=isNaN(re)?1:0,oe=y):(oe=Math.floor(Math.log(re)/Math.LN2),re*(ee=Math.pow(2,-oe))<1&&(oe--,ee*=2),oe+x>=1?re+=b/ee:re+=b*Math.pow(2,1-x),re*ee>=2&&(oe++,ee/=2),oe+x>=y?(ne=0,oe=y):oe+x>=1?(ne=(re*ee-1)*Math.pow(2,ue),oe=oe+x):(ne=re*Math.pow(2,x-1)*Math.pow(2,ue),oe=0));ue>=8;le[se+z]=ne&255,z+=te,ne/=256,ue-=8);for(oe=oe<0;le[se+z]=oe&255,z+=te,oe/=256,a-=8);le[se+z-te]|=ce*128}},{}],358:[function(E,pe,fe){"use strict";var le=[E("./nextTick"),E("./queueMicrotask"),E("./mutation.js"),E("./messageChannel"),E("./stateChange"),E("./timeout")],re,se,ie=-1,ue=[],ae=!1;function oe(){!re||!se||(re=!1,se.length?ue=se.concat(ue):ie=-1,ue.length&&ne())}function ne(){if(!re){ae=!1,re=!0;for(var z=ue.length,te=setTimeout(oe);z;){for(se=ue,ue=[];se&&++ie1)for(var ce=1;ce=0&&se(ne)!=="[object Array]"&&se(ne.callee)==="[object Function]"},ae=function(){return ie(arguments)}();ie.isLegacyArguments=ue,pe.exports=ae?ie:ue},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(E,pe,fe){pe.exports=function(se){return se!=null&&(le(se)||re(se)||!!se._isBuffer)};function le(se){return!!se.constructor&&typeof se.constructor.isBuffer=="function"&&se.constructor.isBuffer(se)}function re(se){return typeof se.readFloatLE=="function"&&typeof se.slice=="function"&&le(se.slice(0,0))}},{}],367:[function(E,pe,fe){"use strict";var le=Function.prototype.toString,re=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,se,ie;if(typeof re=="function"&&typeof Object.defineProperty=="function")try{se=Object.defineProperty({},"length",{get:function(){throw ie}}),ie={},re(function(){throw 42},null,se)}catch(ve){ve!==ie&&(re=null)}else re=null;var ue=/^\s*class\b/,ae=function(me){try{var be=le.call(me);return ue.test(be)}catch(ye){return!1}},oe=function(me){try{return ae(me)?!1:(le.call(me),!0)}catch(be){return!1}},ne=Object.prototype.toString,ee="[object Object]",a="[object Function]",y="[object GeneratorFunction]",x="[object HTMLAllCollection]",b="[object HTML document.all class]",z="[object HTMLCollection]",te=typeof Symbol=="function"&&!!Symbol.toStringTag,ce=!(0 in[,]),ge=function(){return!1};if(typeof document=="object"){var he=document.all;ne.call(he)===ne.call(document.all)&&(ge=function(me){if((ce||!me)&&(typeof me=="undefined"||typeof me=="object"))try{var be=ne.call(me);return(be===x||be===b||be===z||be===ee)&&me("")==null}catch(ye){}return!1})}pe.exports=re?function(me){if(ge(me))return!0;if(!me||typeof me!="function"&&typeof me!="object")return!1;try{re(me,null,se)}catch(be){if(be!==ie)return!1}return!ae(me)&&oe(me)}:function(me){if(ge(me))return!0;if(!me||typeof me!="function"&&typeof me!="object")return!1;if(te)return oe(me);if(ae(me))return!1;var be=ne.call(me);return be!==a&&be!==y&&!/^\[object HTML/.test(be)?!1:oe(me)}},{}],368:[function(E,pe,fe){"use strict";var le=Object.prototype.toString,re=Function.prototype.toString,se=/^\s*(?:function)?\*/,ie=E("has-tostringtag/shams")(),ue=Object.getPrototypeOf,ae=function(){if(!ie)return!1;try{return Function("return function*() {}")()}catch(ne){}},oe;pe.exports=function(ee){if(typeof ee!="function")return!1;if(se.test(re.call(ee)))return!0;if(!ie){var a=le.call(ee);return a==="[object GeneratorFunction]"}if(!ue)return!1;if(typeof oe=="undefined"){var y=ae();oe=y?ue(y):!1}return ue(ee)===oe}},{"has-tostringtag/shams":353}],369:[function(E,pe,fe){"use strict";var le=E("which-typed-array");pe.exports=function(se){return!!le(se)}},{"which-typed-array":420}],370:[function(E,pe,fe){var le={}.toString;pe.exports=Array.isArray||function(re){return le.call(re)=="[object Array]"}},{}],371:[function(E,pe,fe){(function(le){(function(){(function(re,se){typeof fe=="object"&&typeof pe!="undefined"?pe.exports=se(re):typeof de=="function"&&de.amd?de(se):se(re)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof le!="undefined"?le:this,function(re){"use strict";re=re||{};var se=re.Base64,ie="2.6.4",ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ae=function(De){for(var ke={},Ie=0,qe=De.length;Ie>>6)+oe(128|ke&63):oe(224|ke>>>12&15)+oe(128|ke>>>6&63)+oe(128|ke&63)}else{var ke=65536+(De.charCodeAt(0)-55296)*1024+(De.charCodeAt(1)-56320);return oe(240|ke>>>18&7)+oe(128|ke>>>12&63)+oe(128|ke>>>6&63)+oe(128|ke&63)}},ee=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,a=function(De){return De.replace(ee,ne)},y=function(De){var ke=[0,2,1][De.length%3],Ie=De.charCodeAt(0)<<16|(De.length>1?De.charCodeAt(1):0)<<8|(De.length>2?De.charCodeAt(2):0),qe=[ue.charAt(Ie>>>18),ue.charAt(Ie>>>12&63),ke>=2?"=":ue.charAt(Ie>>>6&63),ke>=1?"=":ue.charAt(Ie&63)];return qe.join("")},x=re.btoa&&typeof re.btoa=="function"?function(De){return re.btoa(De)}:function(De){if(De.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return De.replace(/[\s\S]{1,3}/g,y)},b=function(De){return x(a(String(De)))},z=function(De){return De.replace(/[+\/]/g,function(ke){return ke=="+"?"-":"_"}).replace(/=/g,"")},te=function(De,ke){return ke?z(b(De)):b(De)},ce=function(De){return te(De,!0)},ge;re.Uint8Array&&(ge=function(De,ke){for(var Ie="",qe=0,Qe=De.length;qe>>18)+ue.charAt(Fe>>>12&63)+(typeof Ye!="undefined"?ue.charAt(Fe>>>6&63):"=")+(typeof He!="undefined"?ue.charAt(Fe&63):"=")}return ke?z(Ie):Ie});var he=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ve=function(De){switch(De.length){case 4:var ke=(7&De.charCodeAt(0))<<18|(63&De.charCodeAt(1))<<12|(63&De.charCodeAt(2))<<6|63&De.charCodeAt(3),Ie=ke-65536;return oe((Ie>>>10)+55296)+oe((Ie&1023)+56320);case 3:return oe((15&De.charCodeAt(0))<<12|(63&De.charCodeAt(1))<<6|63&De.charCodeAt(2));default:return oe((31&De.charCodeAt(0))<<6|63&De.charCodeAt(1))}},me=function(De){return De.replace(he,ve)},be=function(De){var ke=De.length,Ie=ke%4,qe=(ke>0?ae[De.charAt(0)]<<18:0)|(ke>1?ae[De.charAt(1)]<<12:0)|(ke>2?ae[De.charAt(2)]<<6:0)|(ke>3?ae[De.charAt(3)]:0),Qe=[oe(qe>>>16),oe(qe>>>8&255),oe(qe&255)];return Qe.length-=[0,0,2,1][Ie],Qe.join("")},ye=re.atob&&typeof re.atob=="function"?function(De){return re.atob(De)}:function(De){return De.replace(/\S{1,4}/g,be)},Pe=function(De){return ye(String(De).replace(/[^A-Za-z0-9\+\/]/g,""))},we=function(De){return me(ye(De))},Le=function(De){return String(De).replace(/[-_]/g,function(ke){return ke=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ce=function(De){return we(Le(De))},Te;re.Uint8Array&&(Te=function(De){return Uint8Array.from(Pe(Le(De)),function(ke){return ke.charCodeAt(0)})});var Ee=function(){var De=re.Base64;return re.Base64=se,De};if(re.Base64={VERSION:ie,atob:Pe,btoa:x,fromBase64:Ce,toBase64:te,utob:a,encode:te,encodeURI:ce,btou:me,decode:Ce,noConflict:Ee,fromUint8Array:ge,toUint8Array:Te},typeof Object.defineProperty=="function"){var Re=function(De){return{value:De,enumerable:!1,writable:!0,configurable:!0}};re.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Re(function(){return Ce(this)})),Object.defineProperty(String.prototype,"toBase64",Re(function(De){return te(this,De)})),Object.defineProperty(String.prototype,"toBase64URI",Re(function(){return te(this,!0)}))}}return re.Meteor&&(Base64=re.Base64),typeof pe!="undefined"&&pe.exports?pe.exports.Base64=re.Base64:typeof de=="function"&&de.amd&&de([],function(){return re.Base64}),{Base64:re.Base64}})}).call(this)}).call(this,typeof ft!="undefined"?ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(E,pe,fe){"use strict";pe.exports=re;var le=Object.prototype.hasOwnProperty;function re(se,ie,ue){if(!se)throw new TypeError("argument dest is required");if(!ie)throw new TypeError("argument src is required");return ue===void 0&&(ue=!0),Object.getOwnPropertyNames(ie).forEach(function(oe){if(!(!ue&&le.call(se,oe))){var ne=Object.getOwnPropertyDescriptor(ie,oe);Object.defineProperty(se,oe,ne)}}),se}},{}],373:[function(E,pe,fe){"use strict";E("core-js/modules/es.array.map.js"),E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.replace.js"),E("core-js/modules/es.regexp.constructor.js"),E("core-js/modules/es.regexp.to-string.js");function le(){this._types=Object.create(null),this._extensions=Object.create(null);for(var re=0;re0)return oe(y);if(b==="number"&&isFinite(y))return x.long?ee(y):ne(y);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(y))};function oe(y){if(y=String(y),!(y.length>100)){var x=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(y);if(x){var b=parseFloat(x[1]),z=(x[2]||"ms").toLowerCase();switch(z){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*ie;case"hours":case"hour":case"hrs":case"hr":case"h":return b*se;case"minutes":case"minute":case"mins":case"min":case"m":return b*re;case"seconds":case"second":case"secs":case"sec":case"s":return b*le;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}function ne(y){var x=Math.abs(y);return x>=ie?Math.round(y/ie)+"d":x>=se?Math.round(y/se)+"h":x>=re?Math.round(y/re)+"m":x>=le?Math.round(y/le)+"s":y+"ms"}function ee(y){var x=Math.abs(y);return x>=ie?a(y,x,ie,"day"):x>=se?a(y,x,se,"hour"):x>=re?a(y,x,re,"minute"):x>=le?a(y,x,le,"second"):y+" ms"}function a(y,x,b,z){var te=x>=b*1.5;return Math.round(y/b)+" "+z+(te?"s":"")}},{}],377:[function(E,pe,fe){"use strict";var le=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable;function ie(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={},ne=0;ne<10;ne++)oe["_"+String.fromCharCode(ne)]=ne;var ee=Object.getOwnPropertyNames(oe).map(function(y){return oe[y]});if(ee.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 ne,ee=ie(ae),a,y=1;y2){var z=ne.lastIndexOf("/");if(z!==ne.length-1){z===-1?(ne="",ee=0):(ne=ne.slice(0,z),ee=ne.length-1-ne.lastIndexOf("/")),a=b,y=0;continue}}else if(ne.length===2||ne.length===1){ne="",ee=0,a=b,y=0;continue}}oe&&(ne.length>0?ne+="/..":ne="..",ee=2)}else ne.length>0?ne+="/"+ae.slice(a+1,b):ne=ae.slice(a+1,b),ee=b-a-1;a=b,y=0}else x===46&&y!==-1?++y:y=-1}return ne}function ie(ae,oe){var ne=oe.dir||oe.root,ee=oe.base||(oe.name||"")+(oe.ext||"");return ne?ne===oe.root?ne+ee:ne+ae+ee:ee}var ue={resolve:function(){for(var oe="",ne=!1,ee,a=arguments.length-1;a>=-1&&!ne;a--){var y;a>=0?y=arguments[a]:(ee===void 0&&(ee=le.cwd()),y=ee),re(y),y.length!==0&&(oe=y+"/"+oe,ne=y.charCodeAt(0)===47)}return oe=se(oe,!ne),ne?oe.length>0?"/"+oe:"/":oe.length>0?oe:"."},normalize:function(oe){if(re(oe),oe.length===0)return".";var ne=oe.charCodeAt(0)===47,ee=oe.charCodeAt(oe.length-1)===47;return oe=se(oe,!ne),oe.length===0&&!ne&&(oe="."),oe.length>0&&ee&&(oe+="/"),ne?"/"+oe:oe},isAbsolute:function(oe){return re(oe),oe.length>0&&oe.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var oe,ne=0;ne0&&(oe===void 0?oe=ee:oe+="/"+ee)}return oe===void 0?".":ue.normalize(oe)},relative:function(oe,ne){if(re(oe),re(ne),oe===ne||(oe=ue.resolve(oe),ne=ue.resolve(ne),oe===ne))return"";for(var ee=1;eete){if(ne.charCodeAt(x+ge)===47)return ne.slice(x+ge+1);if(ge===0)return ne.slice(x+ge)}else y>te&&(oe.charCodeAt(ee+ge)===47?ce=ge:ge===0&&(ce=0));break}var he=oe.charCodeAt(ee+ge),ve=ne.charCodeAt(x+ge);if(he!==ve)break;he===47&&(ce=ge)}var me="";for(ge=ee+ce+1;ge<=a;++ge)(ge===a||oe.charCodeAt(ge)===47)&&(me.length===0?me+="..":me+="/..");return me.length>0?me+ne.slice(x+ce):(x+=ce,ne.charCodeAt(x)===47&&++x,ne.slice(x))},_makeLong:function(oe){return oe},dirname:function(oe){if(re(oe),oe.length===0)return".";for(var ne=oe.charCodeAt(0),ee=ne===47,a=-1,y=!0,x=oe.length-1;x>=1;--x)if(ne=oe.charCodeAt(x),ne===47){if(!y){a=x;break}}else y=!1;return a===-1?ee?"/":".":ee&&a===1?"//":oe.slice(0,a)},basename:function(oe,ne){if(ne!==void 0&&typeof ne!="string")throw new TypeError('"ext" argument must be a string');re(oe);var ee=0,a=-1,y=!0,x;if(ne!==void 0&&ne.length>0&&ne.length<=oe.length){if(ne.length===oe.length&&ne===oe)return"";var b=ne.length-1,z=-1;for(x=oe.length-1;x>=0;--x){var te=oe.charCodeAt(x);if(te===47){if(!y){ee=x+1;break}}else z===-1&&(y=!1,z=x+1),b>=0&&(te===ne.charCodeAt(b)?--b===-1&&(a=x):(b=-1,a=z))}return ee===a?a=z:a===-1&&(a=oe.length),oe.slice(ee,a)}else{for(x=oe.length-1;x>=0;--x)if(oe.charCodeAt(x)===47){if(!y){ee=x+1;break}}else a===-1&&(y=!1,a=x+1);return a===-1?"":oe.slice(ee,a)}},extname:function(oe){re(oe);for(var ne=-1,ee=0,a=-1,y=!0,x=0,b=oe.length-1;b>=0;--b){var z=oe.charCodeAt(b);if(z===47){if(!y){ee=b+1;break}continue}a===-1&&(y=!1,a=b+1),z===46?ne===-1?ne=b:x!==1&&(x=1):ne!==-1&&(x=-1)}return ne===-1||a===-1||x===0||x===1&&ne===a-1&&ne===ee+1?"":oe.slice(ne,a)},format:function(oe){if(oe===null||typeof oe!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof oe);return ie("/",oe)},parse:function(oe){re(oe);var ne={root:"",dir:"",base:"",ext:"",name:""};if(oe.length===0)return ne;var ee=oe.charCodeAt(0),a=ee===47,y;a?(ne.root="/",y=1):y=0;for(var x=-1,b=0,z=-1,te=!0,ce=oe.length-1,ge=0;ce>=y;--ce){if(ee=oe.charCodeAt(ce),ee===47){if(!te){b=ce+1;break}continue}z===-1&&(te=!1,z=ce+1),ee===46?x===-1?x=ce:ge!==1&&(ge=1):x!==-1&&(ge=-1)}return x===-1||z===-1||ge===0||ge===1&&x===z-1&&x===b+1?z!==-1&&(b===0&&a?ne.base=ne.name=oe.slice(1,z):ne.base=ne.name=oe.slice(b,z)):(b===0&&a?(ne.name=oe.slice(1,x),ne.base=oe.slice(1,z)):(ne.name=oe.slice(b,x),ne.base=oe.slice(b,z)),ne.ext=oe.slice(x,z)),b>0?ne.dir=oe.slice(0,b-1):a&&(ne.dir="/"),ne},sep:"/",delimiter:":",win32:null,posix:null};ue.posix=ue,pe.exports=ue}).call(this)}).call(this,E("_process"))},{_process:467}],379:[function(E,pe,fe){(function(le){(function(){(function(){"use strict";var re={function:!0,object:!0},se=re[typeof window]&&window||this,ie=se,ue=re[typeof fe]&&fe,ae=re[typeof pe]&&pe&&!pe.nodeType&&pe,oe=ue&&ae&&typeof le=="object"&≤oe&&(oe.global===oe||oe.window===oe||oe.self===oe)&&(se=oe);var ne=Math.pow(2,53)-1,ee=/\bOpera/,a=this,y=Object.prototype,x=y.hasOwnProperty,b=y.toString;function z(Ce){return Ce=String(Ce),Ce.charAt(0).toUpperCase()+Ce.slice(1)}function te(Ce,Te,Ee){var Re={"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 Te&&Ee&&/^Win/i.test(Ce)&&!/^Windows Phone /i.test(Ce)&&(Re=Re[/[\d.]+$/.exec(Ce)])&&(Ce="Windows "+Re),Ce=String(Ce),Te&&Ee&&(Ce=Ce.replace(RegExp(Te,"i"),Ee)),Ce=ge(Ce.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]),Ce}function ce(Ce,Te){var Ee=-1,Re=Ce?Ce.length:0;if(typeof Re=="number"&&Re>-1&&Re<=ne)for(;++Ee3&&"WebKit"||/\bOpera\b/.test(Oe)&&(/\bOPR\b/.test(Ce)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(Ce)&&!/^(?:Trident|EdgeHTML)$/.test(_e)&&"WebKit"||!_e&&/\bMSIE\b/i.test(Ce)&&(rt=="Mac OS"?"Tasman":"Trident")||_e=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(Oe)&&"NetFront")&&(_e=[Me]),Oe=="IE"&&(Me=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(Ce)||0)[1])?(Oe+=" Mobile",rt="Windows Phone "+(/\+$/.test(Me)?Me:Me+".x"),Ae.unshift("desktop mode")):/\bWPDesktop\b/i.test(Ce)?(Oe="IE Mobile",rt="Windows Phone 8.x",Ae.unshift("desktop mode"),Ze||(Ze=(/\brv:([\d.]+)/.exec(Ce)||0)[1])):Oe!="IE"&&_e=="Trident"&&(Me=/\brv:([\d.]+)/.exec(Ce))&&(Oe&&Ae.push("identifying as "+Oe+(Ze?" "+Ze:"")),Oe="IE",Ze=Me[1]),$e){if(me(Te,"global"))if(Fe&&(Me=Fe.lang.System,Ve=Me.getProperty("os.arch"),rt=rt||Me.getProperty("os.name")+" "+Me.getProperty("os.version")),je){try{Ze=Te.require("ringo/engine").version.join("."),Oe="RingoJS"}catch(st){(Me=Te.system)&&Me.global.system==Te.system&&(Oe="Narwhal",rt||(rt=Me[0].os||null))}Oe||(Oe="Rhino")}else typeof Te.process=="object"&&!Te.process.browser&&(Me=Te.process)&&(typeof Me.versions=="object"&&(typeof Me.versions.electron=="string"?(Ae.push("Node "+Me.versions.node),Oe="Electron",Ze=Me.versions.electron):typeof Me.versions.nw=="string"&&(Ae.push("Chromium "+Ze,"Node "+Me.versions.node),Oe="NW.js",Ze=Me.versions.nw)),Oe||(Oe="Node.js",Ve=Me.arch,rt=Me.platform,Ze=/[\d.]+/.exec(Me.version),Ze=Ze?Ze[0]:null));else ve(Me=Te.runtime)==Qe?(Oe="Adobe AIR",rt=Me.flash.system.Capabilities.os):ve(Me=Te.phantom)==He?(Oe="PhantomJS",Ze=(Me=Me.version||null)&&Me.major+"."+Me.minor+"."+Me.patch):typeof it.documentMode=="number"&&(Me=/\bTrident\/(\d+)/i.exec(Ce))?(Ze=[Ze,it.documentMode],(Me=+Me[1]+4)!=Ze[1]&&(Ae.push("IE "+Ze[1]+" mode"),_e&&(_e[1]=""),Ze[1]=Me),Ze=Oe=="IE"?String(Ze[1].toFixed(1)):Ze[0]):typeof it.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(Oe)&&(Ae.push("masking as "+Oe+" "+Ze),Oe="IE",Ze="11.0",_e=["Trident"],rt="Windows");rt=rt&&ge(rt)}if(Ze&&(Me=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Ze)||/(?:alpha|beta)(?: ?\d)?/i.exec(Ce+";"+($e&&Re.appMinorVersion))||/\bMinefield\b/i.test(Ce)&&"a")&&(Be=/b/i.test(Me)?"beta":"alpha",Ze=Ze.replace(RegExp(Me+"\\+?$"),"")+(Be=="beta"?tt:et)+(/\d+\+?/.exec(Me)||"")),Oe=="Fennec"||Oe=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(rt))Oe="Firefox Mobile";else if(Oe=="Maxthon"&&Ze)Ze=Ze.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(Ne))Ne=="Xbox 360"&&(rt=null),Ne=="Xbox 360"&&/\bIEMobile\b/.test(Ce)&&Ae.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(Oe)||Oe&&!Ne&&!/Browser|Mobi/.test(Oe))&&(rt=="Windows CE"||/Mobi/i.test(Ce)))Oe+=" Mobile";else if(Oe=="IE"&&$e)try{Te.external===null&&Ae.unshift("platform preview")}catch(st){Ae.unshift("embedded")}else(/\bBlackBerry\b/.test(Ne)||/\bBB10\b/.test(Ce))&&(Me=(RegExp(Ne.replace(/ +/g," *")+"/([.\\d]+)","i").exec(Ce)||0)[1]||Ze)?(Me=[Me,/BB10/.test(Ce)],rt=(Me[1]?(Ne=null,Ge="BlackBerry"):"Device Software")+" "+Me[0],Ze=null):this!=he&&Ne!="Wii"&&($e&&Xe||/Opera/.test(Oe)&&/\b(?:MSIE|Firefox)\b/i.test(Ce)||Oe=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(rt)||Oe=="IE"&&(rt&&!/^Win/.test(rt)&&Ze>5.5||/\bWindows XP\b/.test(rt)&&Ze>8||Ze==8&&!/\bTrident\b/.test(Ce)))&&!ee.test(Me=we.call(he,Ce.replace(ee,"")+";"))&&Me.name&&(Me="ing as "+Me.name+((Me=Me.version)?" "+Me:""),ee.test(Oe)?(/\bIE\b/.test(Me)&&rt=="Mac OS"&&(rt=null),Me="identify"+Me):(Me="mask"+Me,Ke?Oe=ge(Ke.replace(/([a-z])([A-Z])/g,"$1 $2")):Oe="Opera",/\bIE\b/.test(Me)&&(rt=null),$e||(Ze=null)),_e=["Presto"],Ae.push(Me));(Me=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(Ce)||0)[1])&&(Me=[parseFloat(Me.replace(/\.(\d)$/,".0$1")),Me],Oe=="Safari"&&Me[1].slice(-1)=="+"?(Oe="WebKit Nightly",Be="alpha",Ze=Me[1].slice(0,-1)):(Ze==Me[1]||Ze==(Me[2]=(/\bSafari\/([\d.]+\+?)/i.exec(Ce)||0)[1]))&&(Ze=null),Me[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(Ce)||0)[1],Me[0]==537.36&&Me[2]==537.36&&parseFloat(Me[1])>=28&&_e=="WebKit"&&(_e=["Blink"]),!$e||!Ie&&!Me[1]?(_e&&(_e[1]="like Safari"),Me=(Me=Me[0],Me<400?1:Me<500?2:Me<526?3:Me<533?4:Me<534?"4+":Me<535?5:Me<537?6:Me<538?7:Me<601?8:Me<602?9:Me<604?10:Me<606?11:Me<608?12:"12")):(_e&&(_e[1]="like Chrome"),Me=Me[1]||(Me=Me[0],Me<530?1:Me<532?2:Me<532.05?3:Me<533?4:Me<534.03?5:Me<534.07?6:Me<534.1?7:Me<534.13?8:Me<534.16?9:Me<534.24?10:Me<534.3?11:Me<535.01?12:Me<535.02?"13+":Me<535.07?15:Me<535.11?16:Me<535.19?17:Me<536.05?18:Me<536.1?19:Me<537.01?20:Me<537.11?"21+":Me<537.13?23:Me<537.18?24:Me<537.24?25:Me<537.36?26:_e!="Blink"?"27":"28")),_e&&(_e[1]+=" "+(Me+=typeof Me=="number"?".x":/[.+]/.test(Me)?"":"+")),Oe=="Safari"&&(!Ze||parseInt(Ze)>45)?Ze=Me:Oe=="Chrome"&&/\bHeadlessChrome/i.test(Ce)&&Ae.unshift("headless")),Oe=="Opera"&&(Me=/\bzbov|zvav$/.exec(rt))?(Oe+=" ",Ae.unshift("desktop mode"),Me=="zvav"?(Oe+="Mini",Ze=null):Oe+="Mobile",rt=rt.replace(RegExp(" *"+Me+"$"),"")):Oe=="Safari"&&/\bChrome\b/.exec(_e&&_e[1])?(Ae.unshift("desktop mode"),Oe="Chrome Mobile",Ze=null,/\bOS X\b/.test(rt)?(Ge="Apple",rt="iOS 4.3+"):rt=null):/\bSRWare Iron\b/.test(Oe)&&!Ze&&(Ze=Rt("Chrome")),Ze&&Ze.indexOf(Me=/[\d.]+$/.exec(rt))==0&&Ce.indexOf("/"+Me+"-")>-1&&(rt=Pe(rt.replace(Me,""))),rt&&rt.indexOf(Oe)!=-1&&!RegExp(Oe+" OS").test(rt)&&(rt=rt.replace(RegExp(" *"+be(Oe)+" *"),"")),_e&&!/\b(?:Avant|Nook)\b/.test(Oe)&&(/Browser|Lunascape|Maxthon/.test(Oe)||Oe!="Safari"&&/^iOS/.test(rt)&&/\bSafari\b/.test(_e[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(Oe)&&_e[1])&&(Me=_e[_e.length-1])&&Ae.push(Me),Ae.length&&(Ae=["("+Ae.join("; ")+")"]),Ge&&Ne&&Ne.indexOf(Ge)<0&&Ae.push("on "+Ge),Ne&&Ae.push((/^on /.test(Ae[Ae.length-1])?"":"on ")+Ne),rt&&(Me=/ ([\d.+]+)$/.exec(rt),ze=Me&&rt.charAt(rt.length-Me[0].length-1)=="/",rt={architecture:32,family:Me&&!ze?rt.replace(Me[0],""):rt,version:Me?Me[1]:null,toString:function(){var st=this.version;return this.family+(st&&!ze?" "+st:"")+(this.architecture==64?" 64-bit":"")}}),(Me=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(Ve))&&!/\bi686\b/i.test(Ve)?(rt&&(rt.architecture=64,rt.family=rt.family.replace(RegExp(" *"+Me),"")),Oe&&(/\bWOW64\b/i.test(Ce)||$e&&/\w(?:86|32)$/.test(Re.cpuClass||Re.platform)&&!/\bWin64; x64\b/i.test(Ce))&&Ae.unshift("32-bit")):rt&&/^OS X/.test(rt.family)&&Oe=="Chrome"&&parseFloat(Ze)>=39&&(rt.architecture=64),Ce||(Ce=null);var Et={};return Et.description=Ce,Et.layout=_e&&_e[0],Et.manufacturer=Ge,Et.name=Oe,Et.prerelease=Be,Et.product=Ne,Et.ua=Ce,Et.version=Oe&&Ze,Et.os=rt||{architecture:null,family:null,version:null,toString:function(){return"null"}},Et.parse=we,Et.toString=at,Et.version&&Ae.unshift(Ze),Et.name&&Ae.unshift(Oe),rt&&Oe&&!(rt==String(rt).split(" ")[0]&&(rt==Oe.split(" ")[0]||Ne))&&Ae.push(Ne?"("+rt+")":"on "+rt),Ae.length&&(Et.description=Ae.join(" ")),Et}var Le=we();typeof de=="function"&&typeof de.amd=="object"&&de.amd?(se.platform=Le,de(function(){return Le})):ue&&ae?he(Le,function(Ce,Te){ue[Te]=Ce}):se.platform=Le}).call(this)}).call(this)}).call(this,typeof ft!="undefined"?ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(E,pe,fe){(function(le){(function(){"use strict";typeof le=="undefined"||!le.version||le.version.indexOf("v0.")===0||le.version.indexOf("v1.")===0&&le.version.indexOf("v1.8.")!==0?pe.exports={nextTick:re}:pe.exports=le;function re(se,ie,ue,ae){if(typeof se!="function")throw new TypeError('"callback" argument must be a function');var oe=arguments.length,ne,ee;switch(oe){case 0:case 1:return le.nextTick(se);case 2:return le.nextTick(function(){se.call(null,ie)});case 3:return le.nextTick(function(){se.call(null,ie,ue)});case 4:return le.nextTick(function(){se.call(null,ie,ue,ae)});default:for(ne=new Array(oe-1),ee=0;ee1)for(var he=1;he= 0x80 (not a basic code point)","invalid-input":"Invalid input"},me=ne-ee,be=Math.floor,ye=String.fromCharCode,Pe;function we(Ye){throw new RangeError(ve[Ye])}function Le(Ye,He){for(var Fe=Ye.length,je=[];Fe--;)je[Fe]=He(Ye[Fe]);return je}function Ce(Ye,He){var Fe=Ye.split("@"),je="";Fe.length>1&&(je=Fe[0]+"@",Ye=Fe[1]),Ye=Ye.replace(he,".");var et=Ye.split("."),tt=Le(et,He).join(".");return je+tt}function Te(Ye){for(var He=[],Fe=0,je=Ye.length,et,tt;Fe=55296&&et<=56319&&Fe65535&&(He-=65536,Fe+=ye(He>>>10&1023|55296),He=56320|He&1023),Fe+=ye(He),Fe}).join("")}function Re(Ye){return Ye-48<10?Ye-22:Ye-65<26?Ye-65:Ye-97<26?Ye-97:ne}function De(Ye,He){return Ye+22+75*(Ye<26)-((He!=0)<<5)}function ke(Ye,He,Fe){var je=0;for(Ye=Fe?be(Ye/x):Ye>>1,Ye+=be(Ye/He);Ye>me*a>>1;je+=ne)Ye=be(Ye/me);return be(je+(me+1)*Ye/(Ye+y))}function Ie(Ye){var He=[],Fe=Ye.length,je,et=0,tt=z,it=b,Xe,Ke,Me,Ve,Ae,Be,$e,Ze,ze;for(Xe=Ye.lastIndexOf(te),Xe<0&&(Xe=0),Ke=0;Ke=128&&we("not-basic"),He.push(Ye.charCodeAt(Ke));for(Me=Xe>0?Xe+1:0;Me=Fe&&we("invalid-input"),$e=Re(Ye.charCodeAt(Me++)),($e>=ne||$e>be((oe-et)/Ae))&&we("overflow"),et+=$e*Ae,Ze=Be<=it?ee:Be>=it+a?a:Be-it,!($ebe(oe/ze)&&we("overflow"),Ae*=ze;je=He.length+1,it=ke(et-Ve,je,Ve==0),be(et/je)>oe-tt&&we("overflow"),tt+=be(et/je),et%=je,He.splice(et++,0,tt)}return Ee(He)}function qe(Ye){var He,Fe,je,et,tt,it,Xe,Ke,Me,Ve,Ae,Be=[],$e,Ze,ze,_e;for(Ye=Te(Ye),$e=Ye.length,He=z,Fe=0,tt=b,it=0;it<$e;++it)Ae=Ye[it],Ae<128&&Be.push(ye(Ae));for(je=et=Be.length,et&&Be.push(te);je<$e;){for(Xe=oe,it=0;it<$e;++it)Ae=Ye[it],Ae>=He&&Aebe((oe-Fe)/Ze)&&we("overflow"),Fe+=(Xe-He)*Ze,He=Xe,it=0;it<$e;++it)if(Ae=Ye[it],Aeoe&&we("overflow"),Ae==He){for(Ke=Fe,Me=ne;Ve=Me<=tt?ee:Me>=tt+a?a:Me-tt,!(Ke0&&a>ee&&(a=ee);for(var y=0;y=0?(z=x.substr(0,b),te=x.substr(b+1)):(z=x,te=""),ce=decodeURIComponent(z),ge=decodeURIComponent(te),le(oe,ce)?re(oe[ce])?oe[ce].push(ge):oe[ce]=[oe[ce],ge]:oe[ce]=ge}return oe};var re=Array.isArray||function(se){return Object.prototype.toString.call(se)==="[object Array]"}},{}],384:[function(E,pe,fe){"use strict";var le=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,ne){return ae=ae||"&",oe=oe||"=",ue===null&&(ue=void 0),typeof ue=="object"?se(ie(ue),function(ee){var a=encodeURIComponent(le(ee))+oe;return re(ue[ee])?se(ue[ee],function(y){return a+encodeURIComponent(le(y))}).join(ae):a+encodeURIComponent(le(ue[ee]))}).join(ae):ne?encodeURIComponent(le(ne))+oe+encodeURIComponent(le(ue)):""};var re=Array.isArray||function(ue){return Object.prototype.toString.call(ue)==="[object Array]"};function se(ue,ae){if(ue.map)return ue.map(ae);for(var oe=[],ne=0;ne0?(typeof Be!="string"&&!_e.objectMode&&Object.getPrototypeOf(Be)!==ee.prototype&&(Be=y(Be)),Ze?_e.endEmitted?Ae.emit("error",new Error("stream.unshift() after end event")):we(Ae,_e,Be,!0):_e.ended?Ae.emit("error",new Error("stream.push() after EOF")):(_e.reading=!1,_e.decoder&&!$e?(Be=_e.decoder.write(Be),_e.objectMode||Be.length!==0?we(Ae,_e,Be,!1):qe(Ae,_e)):we(Ae,_e,Be,!1))):Ze||(_e.reading=!1)}return Ce(_e)}function we(Ae,Be,$e,Ze){Be.flowing&&Be.length===0&&!Be.sync?(Ae.emit("data",$e),Ae.read(0)):(Be.length+=Be.objectMode?1:$e.length,Ze?Be.buffer.unshift($e):Be.buffer.push($e),Be.needReadable&&ke(Ae)),qe(Ae,Be)}function Le(Ae,Be){var $e;return!x(Be)&&typeof Be!="string"&&Be!==void 0&&!Ae.objectMode&&($e=new TypeError("Invalid non-string/buffer chunk")),$e}function Ce(Ae){return!Ae.ended&&(Ae.needReadable||Ae.length=Te?Ae=Te:(Ae--,Ae|=Ae>>>1,Ae|=Ae>>>2,Ae|=Ae>>>4,Ae|=Ae>>>8,Ae|=Ae>>>16,Ae++),Ae}function Re(Ae,Be){return Ae<=0||Be.length===0&&Be.ended?0:Be.objectMode?1:Ae!==Ae?Be.flowing&&Be.length?Be.buffer.head.data.length:Be.length:(Ae>Be.highWaterMark&&(Be.highWaterMark=Ee(Ae)),Ae<=Be.length?Ae:Be.ended?Be.length:(Be.needReadable=!0,0))}ye.prototype.read=function(Ae){te("read",Ae),Ae=parseInt(Ae,10);var Be=this._readableState,$e=Ae;if(Ae!==0&&(Be.emittedReadable=!1),Ae===0&&Be.needReadable&&(Be.length>=Be.highWaterMark||Be.ended))return te("read: emitReadable",Be.length,Be.ended),Be.length===0&&Be.ended?Ke(this):ke(this),null;if(Ae=Re(Ae,Be),Ae===0&&Be.ended)return Be.length===0&&Ke(this),null;var Ze=Be.needReadable;te("need readable",Ze),(Be.length===0||Be.length-Ae0?ze=et(Ae,Be):ze=null,ze===null?(Be.needReadable=!0,Ae=0):Be.length-=Ae,Be.length===0&&(Be.ended||(Be.needReadable=!0),$e!==Ae&&Be.ended&&Ke(this)),ze!==null&&this.emit("data",ze),ze};function De(Ae,Be){if(!Be.ended){if(Be.decoder){var $e=Be.decoder.end();$e&&$e.length&&(Be.buffer.push($e),Be.length+=Be.objectMode?1:$e.length)}Be.ended=!0,ke(Ae)}}function ke(Ae){var Be=Ae._readableState;Be.needReadable=!1,Be.emittedReadable||(te("emitReadable",Be.flowing),Be.emittedReadable=!0,Be.sync?se.nextTick(Ie,Ae):Ie(Ae))}function Ie(Ae){te("emit readable"),Ae.emit("readable"),je(Ae)}function qe(Ae,Be){Be.readingMore||(Be.readingMore=!0,se.nextTick(Qe,Ae,Be))}function Qe(Ae,Be){for(var $e=Be.length;!Be.reading&&!Be.flowing&&!Be.ended&&Be.length1&&Ve(Ze.pipes,Ae)!==-1)&&!rt&&(te("false write response, pause",$e._readableState.awaitDrain),$e._readableState.awaitDrain++,ut=!0),$e.pause())}function vt(Et){te("onerror",Et),at(),Ae.removeListener("error",vt),oe(Ae,"error")===0&&Ae.emit("error",Et)}me(Ae,"error",vt);function xt(){Ae.removeListener("finish",Rt),at()}Ae.once("close",xt);function Rt(){te("onfinish"),Ae.removeListener("close",xt),at()}Ae.once("finish",Rt);function at(){te("unpipe"),$e.unpipe(Ae)}return Ae.emit("pipe",$e),Ze.flowing||(te("pipe resume"),$e.resume()),Ae};function Je(Ae){return function(){var Be=Ae._readableState;te("pipeOnDrain",Be.awaitDrain),Be.awaitDrain&&Be.awaitDrain--,Be.awaitDrain===0&&oe(Ae,"data")&&(Be.flowing=!0,je(Ae))}}ye.prototype.unpipe=function(Ae){var Be=this._readableState,$e={hasUnpiped:!1};if(Be.pipesCount===0)return this;if(Be.pipesCount===1)return Ae&&Ae!==Be.pipes?this:(Ae||(Ae=Be.pipes),Be.pipes=null,Be.pipesCount=0,Be.flowing=!1,Ae&&Ae.emit("unpipe",this,$e),this);if(!Ae){var Ze=Be.pipes,ze=Be.pipesCount;Be.pipes=null,Be.pipesCount=0,Be.flowing=!1;for(var _e=0;_e=Be.length?(Be.decoder?$e=Be.buffer.join(""):Be.buffer.length===1?$e=Be.buffer.head.data:$e=Be.buffer.concat(Be.length),Be.buffer.clear()):$e=tt(Ae,Be.buffer,Be.decoder),$e}function tt(Ae,Be,$e){var Ze;return Ae_e.length?_e.length:Ae;if(Oe===_e.length?ze+=_e:ze+=_e.slice(0,Ae),Ae-=Oe,Ae===0){Oe===_e.length?(++Ze,$e.next?Be.head=$e.next:Be.head=Be.tail=null):(Be.head=$e,$e.data=_e.slice(Oe));break}++Ze}return Be.length-=Ze,ze}function Xe(Ae,Be){var $e=ee.allocUnsafe(Ae),Ze=Be.head,ze=1;for(Ze.data.copy($e),Ae-=Ze.data.length;Ze=Ze.next;){var _e=Ze.data,Oe=Ae>_e.length?_e.length:Ae;if(_e.copy($e,$e.length-Ae,0,Oe),Ae-=Oe,Ae===0){Oe===_e.length?(++ze,Ze.next?Be.head=Ze.next:Be.head=Be.tail=null):(Be.head=Ze,Ze.data=_e.slice(Oe));break}++ze}return Be.length-=ze,$e}function Ke(Ae){var Be=Ae._readableState;if(Be.length>0)throw new Error('"endReadable()" called on non-empty stream');Be.endEmitted||(Be.ended=!0,se.nextTick(Me,Be,Ae))}function Me(Ae,Be){!Ae.endEmitted&&Ae.length===0&&(Ae.endEmitted=!0,Be.readable=!1,Be.emit("end"))}function Ve(Ae,Be){for(var $e=0,Ze=Ae.length;$e-1?se:ie.nextTick,ne;me.WritableState=he;var ee=Object.create(E("core-util-is"));ee.inherits=E("inherits");var a={deprecate:E("util-deprecate")},y=E("./internal/streams/stream"),x=E("safe-buffer").Buffer,b=re.Uint8Array||function(){};function z(Fe){return x.from(Fe)}function te(Fe){return x.isBuffer(Fe)||Fe instanceof b}var ce=E("./internal/streams/destroy");ee.inherits(me,y);function ge(){}function he(Fe,je){ne=ne||E("./_stream_duplex"),Fe=Fe||{};var et=je instanceof ne;this.objectMode=!!Fe.objectMode,et&&(this.objectMode=this.objectMode||!!Fe.writableObjectMode);var tt=Fe.highWaterMark,it=Fe.writableHighWaterMark,Xe=this.objectMode?16:16*1024;tt||tt===0?this.highWaterMark=tt:et&&(it||it===0)?this.highWaterMark=it:this.highWaterMark=Xe,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 Ke=Fe.decodeStrings===!1;this.decodeStrings=!Ke,this.defaultEncoding=Fe.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Me){Ee(je,Me)},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)}he.prototype.getBuffer=function(){for(var je=this.bufferedRequest,et=[];je;)et.push(je),je=je.next;return et},function(){try{Object.defineProperty(he.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Fe){}}();var ve;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(ve=Function.prototype[Symbol.hasInstance],Object.defineProperty(me,Symbol.hasInstance,{value:function(Fe){return ve.call(this,Fe)?!0:this!==me?!1:Fe&&Fe._writableState instanceof he}})):ve=function(Fe){return Fe instanceof this};function me(Fe){if(ne=ne||E("./_stream_duplex"),!ve.call(me,this)&&!(this instanceof ne))return new me(Fe);this._writableState=new he(Fe,this),this.writable=!0,Fe&&(typeof Fe.write=="function"&&(this._write=Fe.write),typeof Fe.writev=="function"&&(this._writev=Fe.writev),typeof Fe.destroy=="function"&&(this._destroy=Fe.destroy),typeof Fe.final=="function"&&(this._final=Fe.final)),y.call(this)}me.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function be(Fe,je){var et=new Error("write after end");Fe.emit("error",et),ie.nextTick(je,et)}function ye(Fe,je,et,tt){var it=!0,Xe=!1;return et===null?Xe=new TypeError("May not write null values to stream"):typeof et!="string"&&et!==void 0&&!je.objectMode&&(Xe=new TypeError("Invalid non-string/buffer chunk")),Xe&&(Fe.emit("error",Xe),ie.nextTick(tt,Xe),it=!1),it}me.prototype.write=function(Fe,je,et){var tt=this._writableState,it=!1,Xe=!tt.objectMode&&te(Fe);return Xe&&!x.isBuffer(Fe)&&(Fe=z(Fe)),typeof je=="function"&&(et=je,je=null),Xe?je="buffer":je||(je=tt.defaultEncoding),typeof et!="function"&&(et=ge),tt.ended?be(this,et):(Xe||ye(this,tt,Fe,et))&&(tt.pendingcb++,it=we(this,tt,Xe,Fe,je,et)),it},me.prototype.cork=function(){var Fe=this._writableState;Fe.corked++},me.prototype.uncork=function(){var Fe=this._writableState;Fe.corked&&(Fe.corked--,!Fe.writing&&!Fe.corked&&!Fe.finished&&!Fe.bufferProcessing&&Fe.bufferedRequest&&ke(this,Fe))},me.prototype.setDefaultEncoding=function(je){if(typeof je=="string"&&(je=je.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((je+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+je);return this._writableState.defaultEncoding=je,this};function Pe(Fe,je,et){return!Fe.objectMode&&Fe.decodeStrings!==!1&&typeof je=="string"&&(je=x.from(je,et)),je}Object.defineProperty(me.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function we(Fe,je,et,tt,it,Xe){if(!et){var Ke=Pe(je,tt,it);tt!==Ke&&(et=!0,it="buffer",tt=Ke)}var Me=je.objectMode?1:tt.length;je.length+=Me;var Ve=je.length0?this.tail.next=ne:this.head=ne,this.tail=ne,++this.length},ue.prototype.unshift=function(oe){var ne={data:oe,next:this.head};this.length===0&&(this.tail=ne),this.head=ne,++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 ne=this.head,ee=""+ne.data;ne=ne.next;)ee+=oe+ne.data;return ee},ue.prototype.concat=function(oe){if(this.length===0)return re.alloc(0);if(this.length===1)return this.head.data;for(var ne=re.allocUnsafe(oe>>>0),ee=this.head,a=0;ee;)ie(ee.data,ne,a),a+=ee.data.length,ee=ee.next;return ne},ue}(),se&&se.inspect&&se.inspect.custom&&(pe.exports.prototype[se.inspect.custom]=function(){var ue=se.inspect({length:this.length});return this.constructor.name+" "+ue})},{"safe-buffer":396,util:89}],392:[function(E,pe,fe){"use strict";var le=E("process-nextick-args");function re(ue,ae){var oe=this,ne=this._readableState&&this._readableState.destroyed,ee=this._writableState&&this._writableState.destroyed;return ne||ee?(ae?ae(ue):ue&&(!this._writableState||!this._writableState.errorEmitted)&&le.nextTick(ie,this,ue),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ue||null,function(a){!ae&&a?(le.nextTick(ie,oe,a),oe._writableState&&(oe._writableState.errorEmitted=!0)):ae&&ae(a)}),this)}function se(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function ie(ue,ae){ue.emit("error",ae)}pe.exports={destroy:re,undestroy:se}},{"process-nextick-args":380}],393:[function(E,pe,fe){pe.exports=E("events").EventEmitter},{events:344}],394:[function(E,pe,fe){fe=pe.exports=E("./lib/_stream_readable.js"),fe.Stream=fe,fe.Readable=fe,fe.Writable=E("./lib/_stream_writable.js"),fe.Duplex=E("./lib/_stream_duplex.js"),fe.Transform=E("./lib/_stream_transform.js"),fe.PassThrough=E("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":386,"./lib/_stream_passthrough.js":387,"./lib/_stream_readable.js":388,"./lib/_stream_transform.js":389,"./lib/_stream_writable.js":390}],395:[function(E,pe,fe){var le=function(re){"use strict";var se=Object.prototype,ie=se.hasOwnProperty,ue,ae=typeof Symbol=="function"?Symbol:{},oe=ae.iterator||"@@iterator",ne=ae.asyncIterator||"@@asyncIterator",ee=ae.toStringTag||"@@toStringTag";function a(Qe,Je,Ye){return Object.defineProperty(Qe,Je,{value:Ye,enumerable:!0,configurable:!0,writable:!0}),Qe[Je]}try{a({},"")}catch(Qe){a=function(Je,Ye,He){return Je[Ye]=He}}function y(Qe,Je,Ye,He){var Fe=Je&&Je.prototype instanceof he?Je:he,je=Object.create(Fe.prototype),et=new ke(He||[]);return je._invoke=Te(Qe,Ye,et),je}re.wrap=y;function x(Qe,Je,Ye){try{return{type:"normal",arg:Qe.call(Je,Ye)}}catch(He){return{type:"throw",arg:He}}}var b="suspendedStart",z="suspendedYield",te="executing",ce="completed",ge={};function he(){}function ve(){}function me(){}var be={};a(be,oe,function(){return this});var ye=Object.getPrototypeOf,Pe=ye&&ye(ye(Ie([])));Pe&&Pe!==se&&ie.call(Pe,oe)&&(be=Pe);var we=me.prototype=he.prototype=Object.create(be);ve.prototype=me,a(we,"constructor",me),a(me,"constructor",ve),ve.displayName=a(me,ee,"GeneratorFunction");function Le(Qe){["next","throw","return"].forEach(function(Je){a(Qe,Je,function(Ye){return this._invoke(Je,Ye)})})}re.isGeneratorFunction=function(Qe){var Je=typeof Qe=="function"&&Qe.constructor;return Je?Je===ve||(Je.displayName||Je.name)==="GeneratorFunction":!1},re.mark=function(Qe){return Object.setPrototypeOf?Object.setPrototypeOf(Qe,me):(Qe.__proto__=me,a(Qe,ee,"GeneratorFunction")),Qe.prototype=Object.create(we),Qe},re.awrap=function(Qe){return{__await:Qe}};function Ce(Qe,Je){function Ye(je,et,tt,it){var Xe=x(Qe[je],Qe,et);if(Xe.type==="throw")it(Xe.arg);else{var Ke=Xe.arg,Me=Ke.value;return Me&&typeof Me=="object"&&ie.call(Me,"__await")?Je.resolve(Me.__await).then(function(Ve){Ye("next",Ve,tt,it)},function(Ve){Ye("throw",Ve,tt,it)}):Je.resolve(Me).then(function(Ve){Ke.value=Ve,tt(Ke)},function(Ve){return Ye("throw",Ve,tt,it)})}}var He;function Fe(je,et){function tt(){return new Je(function(it,Xe){Ye(je,et,it,Xe)})}return He=He?He.then(tt,tt):tt()}this._invoke=Fe}Le(Ce.prototype),a(Ce.prototype,ne,function(){return this}),re.AsyncIterator=Ce,re.async=function(Qe,Je,Ye,He,Fe){Fe===void 0&&(Fe=Promise);var je=new Ce(y(Qe,Je,Ye,He),Fe);return re.isGeneratorFunction(Je)?je:je.next().then(function(et){return et.done?et.value:je.next()})};function Te(Qe,Je,Ye){var He=b;return function(je,et){if(He===te)throw new Error("Generator is already running");if(He===ce){if(je==="throw")throw et;return qe()}for(Ye.method=je,Ye.arg=et;;){var tt=Ye.delegate;if(tt){var it=Ee(tt,Ye);if(it){if(it===ge)continue;return it}}if(Ye.method==="next")Ye.sent=Ye._sent=Ye.arg;else if(Ye.method==="throw"){if(He===b)throw He=ce,Ye.arg;Ye.dispatchException(Ye.arg)}else Ye.method==="return"&&Ye.abrupt("return",Ye.arg);He=te;var Xe=x(Qe,Je,Ye);if(Xe.type==="normal"){if(He=Ye.done?ce:z,Xe.arg===ge)continue;return{value:Xe.arg,done:Ye.done}}else Xe.type==="throw"&&(He=ce,Ye.method="throw",Ye.arg=Xe.arg)}}}function Ee(Qe,Je){var Ye=Qe.iterator[Je.method];if(Ye===ue){if(Je.delegate=null,Je.method==="throw"){if(Qe.iterator.return&&(Je.method="return",Je.arg=ue,Ee(Qe,Je),Je.method==="throw"))return ge;Je.method="throw",Je.arg=new TypeError("The iterator does not provide a 'throw' method")}return ge}var He=x(Ye,Qe.iterator,Je.arg);if(He.type==="throw")return Je.method="throw",Je.arg=He.arg,Je.delegate=null,ge;var Fe=He.arg;if(!Fe)return Je.method="throw",Je.arg=new TypeError("iterator result is not an object"),Je.delegate=null,ge;if(Fe.done)Je[Qe.resultName]=Fe.value,Je.next=Qe.nextLoc,Je.method!=="return"&&(Je.method="next",Je.arg=ue);else return Fe;return Je.delegate=null,ge}Le(we),a(we,ee,"Generator"),a(we,oe,function(){return this}),a(we,"toString",function(){return"[object Generator]"});function Re(Qe){var Je={tryLoc:Qe[0]};1 in Qe&&(Je.catchLoc=Qe[1]),2 in Qe&&(Je.finallyLoc=Qe[2],Je.afterLoc=Qe[3]),this.tryEntries.push(Je)}function De(Qe){var Je=Qe.completion||{};Je.type="normal",delete Je.arg,Qe.completion=Je}function ke(Qe){this.tryEntries=[{tryLoc:"root"}],Qe.forEach(Re,this),this.reset(!0)}re.keys=function(Qe){var Je=[];for(var Ye in Qe)Je.push(Ye);return Je.reverse(),function He(){for(;Je.length;){var Fe=Je.pop();if(Fe in Qe)return He.value=Fe,He.done=!1,He}return He.done=!0,He}};function Ie(Qe){if(Qe){var Je=Qe[oe];if(Je)return Je.call(Qe);if(typeof Qe.next=="function")return Qe;if(!isNaN(Qe.length)){var Ye=-1,He=function Fe(){for(;++Ye=0;--He){var Fe=this.tryEntries[He],je=Fe.completion;if(Fe.tryLoc==="root")return Ye("end");if(Fe.tryLoc<=this.prev){var et=ie.call(Fe,"catchLoc"),tt=ie.call(Fe,"finallyLoc");if(et&&tt){if(this.prev=0;--Ye){var He=this.tryEntries[Ye];if(He.tryLoc<=this.prev&&ie.call(He,"finallyLoc")&&this.prev=0;--Je){var Ye=this.tryEntries[Je];if(Ye.finallyLoc===Qe)return this.complete(Ye.completion,Ye.afterLoc),De(Ye),ge}},catch:function(Qe){for(var Je=this.tryEntries.length-1;Je>=0;--Je){var Ye=this.tryEntries[Je];if(Ye.tryLoc===Qe){var He=Ye.completion;if(He.type==="throw"){var Fe=He.arg;De(Ye)}return Fe}}throw new Error("illegal catch attempt")},delegateYield:function(Qe,Je,Ye){return this.delegate={iterator:Ie(Qe),resultName:Je,nextLoc:Ye},this.method==="next"&&(this.arg=ue),ge}},re}(typeof pe=="object"?pe.exports:{});try{regeneratorRuntime=le}catch(re){typeof globalThis=="object"?globalThis.regeneratorRuntime=le:Function("r","regeneratorRuntime = r")(le)}},{}],396:[function(E,pe,fe){var le=E("buffer"),re=le.Buffer;function se(ue,ae){for(var oe in ue)ae[oe]=ue[oe]}re.from&&re.alloc&&re.allocUnsafe&&re.allocUnsafeSlow?pe.exports=le:(se(le,fe),fe.Buffer=ie);function ie(ue,ae,oe){return re(ue,ae,oe)}se(re,ie),ie.from=function(ue,ae,oe){if(typeof ue=="number")throw new TypeError("Argument must not be a number");return re(ue,ae,oe)},ie.alloc=function(ue,ae,oe){if(typeof ue!="number")throw new TypeError("Argument must be a number");var ne=re(ue);return ae!==void 0?typeof oe=="string"?ne.fill(ae,oe):ne.fill(ae):ne.fill(0),ne},ie.allocUnsafe=function(ue){if(typeof ue!="number")throw new TypeError("Argument must be a number");return re(ue)},ie.allocUnsafeSlow=function(ue){if(typeof ue!="number")throw new TypeError("Argument must be a number");return le.SlowBuffer(ue)}},{buffer:90}],397:[function(E,pe,fe){(function(le){(function(){(function(re){re.parser=function(Ke,Me){return new ie(Ke,Me)},re.SAXParser=ie,re.SAXStream=y,re.createStream=a,re.MAX_BUFFER_LENGTH=64*1024;var se=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];re.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function ie(Ke,Me){if(!(this instanceof ie))return new ie(Ke,Me);var Ve=this;ae(Ve),Ve.q=Ve.c="",Ve.bufferCheckPosition=re.MAX_BUFFER_LENGTH,Ve.opt=Me||{},Ve.opt.lowercase=Ve.opt.lowercase||Ve.opt.lowercasetags,Ve.looseCase=Ve.opt.lowercase?"toLowerCase":"toUpperCase",Ve.tags=[],Ve.closed=Ve.closedRoot=Ve.sawRoot=!1,Ve.tag=Ve.error=null,Ve.strict=!!Ke,Ve.noscript=!!(Ke||Ve.opt.noscript),Ve.state=Ce.BEGIN,Ve.strictEntities=Ve.opt.strictEntities,Ve.ENTITIES=Ve.strictEntities?Object.create(re.XML_ENTITIES):Object.create(re.ENTITIES),Ve.attribList=[],Ve.opt.xmlns&&(Ve.ns=Object.create(ce)),Ve.trackPosition=Ve.opt.position!==!1,Ve.trackPosition&&(Ve.position=Ve.line=Ve.column=0),Ee(Ve,"onready")}Object.create||(Object.create=function(Ke){function Me(){}Me.prototype=Ke;var Ve=new Me;return Ve}),Object.keys||(Object.keys=function(Ke){var Me=[];for(var Ve in Ke)Ke.hasOwnProperty(Ve)&&Me.push(Ve);return Me});function ue(Ke){for(var Me=Math.max(re.MAX_BUFFER_LENGTH,10),Ve=0,Ae=0,Be=se.length;AeMe)switch(se[Ae]){case"textNode":De(Ke);break;case"cdata":Re(Ke,"oncdata",Ke.cdata),Ke.cdata="";break;case"script":Re(Ke,"onscript",Ke.script),Ke.script="";break;default:Ie(Ke,"Max buffer length exceeded: "+se[Ae])}Ve=Math.max(Ve,$e)}var Ze=re.MAX_BUFFER_LENGTH-Ve;Ke.bufferCheckPosition=Ze+Ke.position}function ae(Ke){for(var Me=0,Ve=se.length;Me"||be(Ke)}function we(Ke,Me){return Ke.test(Me)}function Le(Ke,Me){return!we(Ke,Me)}var Ce=0;re.STATE={BEGIN:Ce++,BEGIN_WHITESPACE:Ce++,TEXT:Ce++,TEXT_ENTITY:Ce++,OPEN_WAKA:Ce++,SGML_DECL:Ce++,SGML_DECL_QUOTED:Ce++,DOCTYPE:Ce++,DOCTYPE_QUOTED:Ce++,DOCTYPE_DTD:Ce++,DOCTYPE_DTD_QUOTED:Ce++,COMMENT_STARTING:Ce++,COMMENT:Ce++,COMMENT_ENDING:Ce++,COMMENT_ENDED:Ce++,CDATA:Ce++,CDATA_ENDING:Ce++,CDATA_ENDING_2:Ce++,PROC_INST:Ce++,PROC_INST_BODY:Ce++,PROC_INST_ENDING:Ce++,OPEN_TAG:Ce++,OPEN_TAG_SLASH:Ce++,ATTRIB:Ce++,ATTRIB_NAME:Ce++,ATTRIB_NAME_SAW_WHITE:Ce++,ATTRIB_VALUE:Ce++,ATTRIB_VALUE_QUOTED:Ce++,ATTRIB_VALUE_CLOSED:Ce++,ATTRIB_VALUE_UNQUOTED:Ce++,ATTRIB_VALUE_ENTITY_Q:Ce++,ATTRIB_VALUE_ENTITY_U:Ce++,CLOSE_TAG:Ce++,CLOSE_TAG_SAW_WHITE:Ce++,SCRIPT:Ce++,SCRIPT_ENDING:Ce++},re.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},re.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(re.ENTITIES).forEach(function(Ke){var Me=re.ENTITIES[Ke],Ve=typeof Me=="number"?String.fromCharCode(Me):Me;re.ENTITIES[Ke]=Ve});for(var Te in re.STATE)re.STATE[re.STATE[Te]]=Te;Ce=re.STATE;function Ee(Ke,Me,Ve){Ke[Me]&&Ke[Me](Ve)}function Re(Ke,Me,Ve){Ke.textNode&&De(Ke),Ee(Ke,Me,Ve)}function De(Ke){Ke.textNode=ke(Ke.opt,Ke.textNode),Ke.textNode&&Ee(Ke,"ontext",Ke.textNode),Ke.textNode=""}function ke(Ke,Me){return Ke.trim&&(Me=Me.trim()),Ke.normalize&&(Me=Me.replace(/\s+/g," ")),Me}function Ie(Ke,Me){return De(Ke),Ke.trackPosition&&(Me+=` Line: `+Ke.line+` Column: `+Ke.column+` Char: `+Ke.c),Me=new Error(Me),Ke.error=Me,Ee(Ke,"onerror",Me),Ke}function qe(Ke){return Ke.sawRoot&&!Ke.closedRoot&&Qe(Ke,"Unclosed root tag"),Ke.state!==Ce.BEGIN&&Ke.state!==Ce.BEGIN_WHITESPACE&&Ke.state!==Ce.TEXT&&Ie(Ke,"Unexpected end"),De(Ke),Ke.c="",Ke.closed=!0,Ee(Ke,"onend"),ie.call(Ke,Ke.strict,Ke.opt),Ke}function Qe(Ke,Me){if(typeof Ke!="object"||!(Ke instanceof ie))throw new Error("bad call to strictFail");Ke.strict&&Ie(Ke,Me)}function Je(Ke){Ke.strict||(Ke.tagName=Ke.tagName[Ke.looseCase]());var Me=Ke.tags[Ke.tags.length-1]||Ke,Ve=Ke.tag={name:Ke.tagName,attributes:{}};Ke.opt.xmlns&&(Ve.ns=Me.ns),Ke.attribList.length=0,Re(Ke,"onopentagstart",Ve)}function Ye(Ke,Me){var Ve=Ke.indexOf(":"),Ae=Ve<0?["",Ke]:Ke.split(":"),Be=Ae[0],$e=Ae[1];return Me&&Ke==="xmlns"&&(Be="xmlns",$e=""),{prefix:Be,local:$e}}function He(Ke){if(Ke.strict||(Ke.attribName=Ke.attribName[Ke.looseCase]()),Ke.attribList.indexOf(Ke.attribName)!==-1||Ke.tag.attributes.hasOwnProperty(Ke.attribName)){Ke.attribName=Ke.attribValue="";return}if(Ke.opt.xmlns){var Me=Ye(Ke.attribName,!0),Ve=Me.prefix,Ae=Me.local;if(Ve==="xmlns")if(Ae==="xml"&&Ke.attribValue!==z)Qe(Ke,"xml: prefix must be bound to "+z+` Actual: `+Ke.attribValue);else if(Ae==="xmlns"&&Ke.attribValue!==te)Qe(Ke,"xmlns: prefix must be bound to "+te+` Actual: `+Ke.attribValue);else{var Be=Ke.tag,$e=Ke.tags[Ke.tags.length-1]||Ke;Be.ns===$e.ns&&(Be.ns=Object.create($e.ns)),Be.ns[Ae]=Ke.attribValue}Ke.attribList.push([Ke.attribName,Ke.attribValue])}else Ke.tag.attributes[Ke.attribName]=Ke.attribValue,Re(Ke,"onattribute",{name:Ke.attribName,value:Ke.attribValue});Ke.attribName=Ke.attribValue=""}function Fe(Ke,Me){if(Ke.opt.xmlns){var Ve=Ke.tag,Ae=Ye(Ke.tagName);Ve.prefix=Ae.prefix,Ve.local=Ae.local,Ve.uri=Ve.ns[Ae.prefix]||"",Ve.prefix&&!Ve.uri&&(Qe(Ke,"Unbound namespace prefix: "+JSON.stringify(Ke.tagName)),Ve.uri=Ae.prefix);var Be=Ke.tags[Ke.tags.length-1]||Ke;Ve.ns&&Be.ns!==Ve.ns&&Object.keys(Ve.ns).forEach(function(nt){Re(Ke,"onopennamespace",{prefix:nt,uri:Ve.ns[nt]})});for(var $e=0,Ze=Ke.attribList.length;$e",Ke.tagName="",Ke.state=Ce.SCRIPT;return}Re(Ke,"onscript",Ke.script),Ke.script=""}var Me=Ke.tags.length,Ve=Ke.tagName;Ke.strict||(Ve=Ve[Ke.looseCase]());for(var Ae=Ve;Me--;){var Be=Ke.tags[Me];if(Be.name!==Ae)Qe(Ke,"Unexpected close tag");else break}if(Me<0){Qe(Ke,"Unmatched closing tag: "+Ke.tagName),Ke.textNode+="",Ke.state=Ce.TEXT;return}Ke.tagName=Ve;for(var $e=Ke.tags.length;$e-- >Me;){var Ze=Ke.tag=Ke.tags.pop();Ke.tagName=Ke.tag.name,Re(Ke,"onclosetag",Ke.tagName);var ze={};for(var _e in Ze.ns)ze[_e]=Ze.ns[_e];var Oe=Ke.tags[Ke.tags.length-1]||Ke;Ke.opt.xmlns&&Ze.ns!==Oe.ns&&Object.keys(Ze.ns).forEach(function(Ne){var Ge=Ze.ns[Ne];Re(Ke,"onclosenamespace",{prefix:Ne,uri:Ge})})}Me===0&&(Ke.closedRoot=!0),Ke.tagName=Ke.attribValue=Ke.attribName="",Ke.attribList.length=0,Ke.state=Ce.TEXT}function et(Ke){var Me=Ke.entity,Ve=Me.toLowerCase(),Ae,Be="";return Ke.ENTITIES[Me]?Ke.ENTITIES[Me]:Ke.ENTITIES[Ve]?Ke.ENTITIES[Ve]:(Me=Ve,Me.charAt(0)==="#"&&(Me.charAt(1)==="x"?(Me=Me.slice(2),Ae=parseInt(Me,16),Be=Ae.toString(16)):(Me=Me.slice(1),Ae=parseInt(Me,10),Be=Ae.toString(10))),Me=Me.replace(/^0+/,""),isNaN(Ae)||Be.toLowerCase()!==Me?(Qe(Ke,"Invalid character entity"),"&"+Ke.entity+";"):String.fromCodePoint(Ae))}function tt(Ke,Me){Me==="<"?(Ke.state=Ce.OPEN_WAKA,Ke.startTagPosition=Ke.position):be(Me)||(Qe(Ke,"Non-whitespace before first tag."),Ke.textNode=Me,Ke.state=Ce.TEXT)}function it(Ke,Me){var Ve="";return Me"?(Re(Me,"onsgmldeclaration",Me.sgmlDecl),Me.sgmlDecl="",Me.state=Ce.TEXT):(ye(Ae)&&(Me.state=Ce.SGML_DECL_QUOTED),Me.sgmlDecl+=Ae);continue;case Ce.SGML_DECL_QUOTED:Ae===Me.q&&(Me.state=Ce.SGML_DECL,Me.q=""),Me.sgmlDecl+=Ae;continue;case Ce.DOCTYPE:Ae===">"?(Me.state=Ce.TEXT,Re(Me,"ondoctype",Me.doctype),Me.doctype=!0):(Me.doctype+=Ae,Ae==="["?Me.state=Ce.DOCTYPE_DTD:ye(Ae)&&(Me.state=Ce.DOCTYPE_QUOTED,Me.q=Ae));continue;case Ce.DOCTYPE_QUOTED:Me.doctype+=Ae,Ae===Me.q&&(Me.q="",Me.state=Ce.DOCTYPE);continue;case Ce.DOCTYPE_DTD:Me.doctype+=Ae,Ae==="]"?Me.state=Ce.DOCTYPE:ye(Ae)&&(Me.state=Ce.DOCTYPE_DTD_QUOTED,Me.q=Ae);continue;case Ce.DOCTYPE_DTD_QUOTED:Me.doctype+=Ae,Ae===Me.q&&(Me.state=Ce.DOCTYPE_DTD,Me.q="");continue;case Ce.COMMENT:Ae==="-"?Me.state=Ce.COMMENT_ENDING:Me.comment+=Ae;continue;case Ce.COMMENT_ENDING:Ae==="-"?(Me.state=Ce.COMMENT_ENDED,Me.comment=ke(Me.opt,Me.comment),Me.comment&&Re(Me,"oncomment",Me.comment),Me.comment=""):(Me.comment+="-"+Ae,Me.state=Ce.COMMENT);continue;case Ce.COMMENT_ENDED:Ae!==">"?(Qe(Me,"Malformed comment"),Me.comment+="--"+Ae,Me.state=Ce.COMMENT):Me.state=Ce.TEXT;continue;case Ce.CDATA:Ae==="]"?Me.state=Ce.CDATA_ENDING:Me.cdata+=Ae;continue;case Ce.CDATA_ENDING:Ae==="]"?Me.state=Ce.CDATA_ENDING_2:(Me.cdata+="]"+Ae,Me.state=Ce.CDATA);continue;case Ce.CDATA_ENDING_2:Ae===">"?(Me.cdata&&Re(Me,"oncdata",Me.cdata),Re(Me,"onclosecdata"),Me.cdata="",Me.state=Ce.TEXT):Ae==="]"?Me.cdata+="]":(Me.cdata+="]]"+Ae,Me.state=Ce.CDATA);continue;case Ce.PROC_INST:Ae==="?"?Me.state=Ce.PROC_INST_ENDING:be(Ae)?Me.state=Ce.PROC_INST_BODY:Me.procInstName+=Ae;continue;case Ce.PROC_INST_BODY:if(!Me.procInstBody&&be(Ae))continue;Ae==="?"?Me.state=Ce.PROC_INST_ENDING:Me.procInstBody+=Ae;continue;case Ce.PROC_INST_ENDING:Ae===">"?(Re(Me,"onprocessinginstruction",{name:Me.procInstName,body:Me.procInstBody}),Me.procInstName=Me.procInstBody="",Me.state=Ce.TEXT):(Me.procInstBody+="?"+Ae,Me.state=Ce.PROC_INST_BODY);continue;case Ce.OPEN_TAG:we(he,Ae)?Me.tagName+=Ae:(Je(Me),Ae===">"?Fe(Me):Ae==="/"?Me.state=Ce.OPEN_TAG_SLASH:(be(Ae)||Qe(Me,"Invalid character in tag name"),Me.state=Ce.ATTRIB));continue;case Ce.OPEN_TAG_SLASH:Ae===">"?(Fe(Me,!0),je(Me)):(Qe(Me,"Forward-slash in opening tag not followed by >"),Me.state=Ce.ATTRIB);continue;case Ce.ATTRIB:if(be(Ae))continue;Ae===">"?Fe(Me):Ae==="/"?Me.state=Ce.OPEN_TAG_SLASH:we(ge,Ae)?(Me.attribName=Ae,Me.attribValue="",Me.state=Ce.ATTRIB_NAME):Qe(Me,"Invalid attribute name");continue;case Ce.ATTRIB_NAME:Ae==="="?Me.state=Ce.ATTRIB_VALUE:Ae===">"?(Qe(Me,"Attribute without value"),Me.attribValue=Me.attribName,He(Me),Fe(Me)):be(Ae)?Me.state=Ce.ATTRIB_NAME_SAW_WHITE:we(he,Ae)?Me.attribName+=Ae:Qe(Me,"Invalid attribute name");continue;case Ce.ATTRIB_NAME_SAW_WHITE:if(Ae==="=")Me.state=Ce.ATTRIB_VALUE;else{if(be(Ae))continue;Qe(Me,"Attribute without value"),Me.tag.attributes[Me.attribName]="",Me.attribValue="",Re(Me,"onattribute",{name:Me.attribName,value:""}),Me.attribName="",Ae===">"?Fe(Me):we(ge,Ae)?(Me.attribName=Ae,Me.state=Ce.ATTRIB_NAME):(Qe(Me,"Invalid attribute name"),Me.state=Ce.ATTRIB)}continue;case Ce.ATTRIB_VALUE:if(be(Ae))continue;ye(Ae)?(Me.q=Ae,Me.state=Ce.ATTRIB_VALUE_QUOTED):(Qe(Me,"Unquoted attribute value"),Me.state=Ce.ATTRIB_VALUE_UNQUOTED,Me.attribValue=Ae);continue;case Ce.ATTRIB_VALUE_QUOTED:if(Ae!==Me.q){Ae==="&"?Me.state=Ce.ATTRIB_VALUE_ENTITY_Q:Me.attribValue+=Ae;continue}He(Me),Me.q="",Me.state=Ce.ATTRIB_VALUE_CLOSED;continue;case Ce.ATTRIB_VALUE_CLOSED:be(Ae)?Me.state=Ce.ATTRIB:Ae===">"?Fe(Me):Ae==="/"?Me.state=Ce.OPEN_TAG_SLASH:we(ge,Ae)?(Qe(Me,"No whitespace between attributes"),Me.attribName=Ae,Me.attribValue="",Me.state=Ce.ATTRIB_NAME):Qe(Me,"Invalid attribute name");continue;case Ce.ATTRIB_VALUE_UNQUOTED:if(!Pe(Ae)){Ae==="&"?Me.state=Ce.ATTRIB_VALUE_ENTITY_U:Me.attribValue+=Ae;continue}He(Me),Ae===">"?Fe(Me):Me.state=Ce.ATTRIB;continue;case Ce.CLOSE_TAG:if(Me.tagName)Ae===">"?je(Me):we(he,Ae)?Me.tagName+=Ae:Me.script?(Me.script+=""?je(Me):Qe(Me,"Invalid characters in closing tag");continue;case Ce.TEXT_ENTITY:case Ce.ATTRIB_VALUE_ENTITY_Q:case Ce.ATTRIB_VALUE_ENTITY_U:var Ze,ze;switch(Me.state){case Ce.TEXT_ENTITY:Ze=Ce.TEXT,ze="textNode";break;case Ce.ATTRIB_VALUE_ENTITY_Q:Ze=Ce.ATTRIB_VALUE_QUOTED,ze="attribValue";break;case Ce.ATTRIB_VALUE_ENTITY_U:Ze=Ce.ATTRIB_VALUE_UNQUOTED,ze="attribValue";break}Ae===";"?(Me[ze]+=et(Me),Me.entity="",Me.state=Ze):we(Me.entity.length?me:ve,Ae)?Me.entity+=Ae:(Qe(Me,"Invalid character in entity name"),Me[ze]+="&"+Me.entity+Ae,Me.entity="",Me.state=Ze);continue;default:throw new Error(Me,"Unknown state: "+Me.state)}return Me.position>=Me.bufferCheckPosition&&ue(Me),Me}String.fromCodePoint||function(){var Ke=String.fromCharCode,Me=Math.floor,Ve=function(){var Ae=16384,Be=[],$e,Ze,ze=-1,_e=arguments.length;if(!_e)return"";for(var Oe="";++ze<_e;){var Ne=Number(arguments[ze]);if(!isFinite(Ne)||Ne<0||Ne>1114111||Me(Ne)!==Ne)throw RangeError("Invalid code point: "+Ne);Ne<=65535?Be.push(Ne):(Ne-=65536,$e=(Ne>>10)+55296,Ze=Ne%1024+56320,Be.push($e,Ze)),(ze+1===_e||Be.length>Ae)&&(Oe+=Ke.apply(null,Be),Be.length=0)}return Oe};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Ve,configurable:!0,writable:!0}):String.fromCodePoint=Ve}()})(typeof fe=="undefined"?this.sax={}:fe)}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(E,pe,fe){pe.exports=se;var le=E("events").EventEmitter,re=E("inherits");re(se,le),se.Readable=E("readable-stream/lib/_stream_readable.js"),se.Writable=E("readable-stream/lib/_stream_writable.js"),se.Duplex=E("readable-stream/lib/_stream_duplex.js"),se.Transform=E("readable-stream/lib/_stream_transform.js"),se.PassThrough=E("readable-stream/lib/_stream_passthrough.js"),se.finished=E("readable-stream/lib/internal/streams/end-of-stream.js"),se.pipeline=E("readable-stream/lib/internal/streams/pipeline.js"),se.Stream=se;function se(){le.call(this)}se.prototype.pipe=function(ie,ue){var ae=this;function oe(z){ie.writable&&ie.write(z)===!1&&ae.pause&&ae.pause()}ae.on("data",oe);function ne(){ae.readable&&ae.resume&&ae.resume()}ie.on("drain",ne),!ie._isStdio&&(!ue||ue.end!==!1)&&(ae.on("end",a),ae.on("close",y));var ee=!1;function a(){ee||(ee=!0,ie.end())}function y(){ee||(ee=!0,typeof ie.destroy=="function"&&ie.destroy())}function x(z){if(b(),le.listenerCount(this,"error")===0)throw z}ae.on("error",x),ie.on("error",x);function b(){ae.removeListener("data",oe),ie.removeListener("drain",ne),ae.removeListener("end",a),ae.removeListener("close",y),ae.removeListener("error",x),ie.removeListener("error",x),ae.removeListener("end",b),ae.removeListener("close",b),ie.removeListener("close",b)}return ae.on("end",b),ae.on("close",b),ie.on("close",b),ie.emit("pipe",ae),ie}},{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,fe){"use strict";function le(ne,ee){ne.prototype=Object.create(ee.prototype),ne.prototype.constructor=ne,ne.__proto__=ee}var re={};function se(ne,ee,a){a||(a=Error);function y(b,z,te){return typeof ee=="string"?ee:ee(b,z,te)}var x=function(b){le(z,b);function z(te,ce,ge){return b.call(this,y(te,ce,ge))||this}return z}(a);x.prototype.name=a.name,x.prototype.code=ne,re[ne]=x}function ie(ne,ee){if(Array.isArray(ne)){var a=ne.length;return ne=ne.map(function(y){return String(y)}),a>2?"one of ".concat(ee," ").concat(ne.slice(0,a-1).join(", "),", or ")+ne[a-1]:a===2?"one of ".concat(ee," ").concat(ne[0]," or ").concat(ne[1]):"of ".concat(ee," ").concat(ne[0])}else return"of ".concat(ee," ").concat(String(ne))}function ue(ne,ee,a){return ne.substr(!a||a<0?0:+a,ee.length)===ee}function ae(ne,ee,a){return(a===void 0||a>ne.length)&&(a=ne.length),ne.substring(a-ee.length,a)===ee}function oe(ne,ee,a){return typeof a!="number"&&(a=0),a+ee.length>ne.length?!1:ne.indexOf(ee,a)!==-1}se("ERR_INVALID_OPT_VALUE",function(ne,ee){return'The value "'+ee+'" is invalid for option "'+ne+'"'},TypeError),se("ERR_INVALID_ARG_TYPE",function(ne,ee,a){var y;typeof ee=="string"&&ue(ee,"not ")?(y="must not be",ee=ee.replace(/^not /,"")):y="must be";var x;if(ae(ne," argument"))x="The ".concat(ne," ").concat(y," ").concat(ie(ee,"type"));else{var b=oe(ne,".")?"property":"argument";x='The "'.concat(ne,'" ').concat(b," ").concat(y," ").concat(ie(ee,"type"))}return x+=". Received type ".concat(typeof a),x},TypeError),se("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),se("ERR_METHOD_NOT_IMPLEMENTED",function(ne){return"The "+ne+" method is not implemented"}),se("ERR_STREAM_PREMATURE_CLOSE","Premature close"),se("ERR_STREAM_DESTROYED",function(ne){return"Cannot call "+ne+" after a stream was destroyed"}),se("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),se("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),se("ERR_STREAM_WRITE_AFTER_END","write after end"),se("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),se("ERR_UNKNOWN_ENCODING",function(ne){return"Unknown encoding: "+ne},TypeError),se("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),pe.exports.codes=re},{}],400:[function(E,pe,fe){(function(le){(function(){"use strict";var re=Object.keys||function(y){var x=[];for(var b in y)x.push(b);return x};pe.exports=ne;var se=E("./_stream_readable"),ie=E("./_stream_writable");E("inherits")(ne,se);for(var ue=re(ie.prototype),ae=0;ae0)if(typeof _e!="string"&&!rt.objectMode&&Object.getPrototypeOf(_e)!==oe.prototype&&(_e=ee(_e)),Ne)rt.endEmitted?Le(ze,new be):ke(ze,rt,_e,!0);else if(rt.ended)Le(ze,new ve);else{if(rt.destroyed)return!1;rt.reading=!1,rt.decoder&&!Oe?(_e=rt.decoder.write(_e),rt.objectMode||_e.length!==0?ke(ze,rt,_e,!1):je(ze,rt)):ke(ze,rt,_e,!1)}else Ne||(rt.reading=!1,je(ze,rt))}return!rt.ended&&(rt.length=qe?ze=qe:(ze--,ze|=ze>>>1,ze|=ze>>>2,ze|=ze>>>4,ze|=ze>>>8,ze|=ze>>>16,ze++),ze}function Je(ze,_e){return ze<=0||_e.length===0&&_e.ended?0:_e.objectMode?1:ze!==ze?_e.flowing&&_e.length?_e.buffer.head.data.length:_e.length:(ze>_e.highWaterMark&&(_e.highWaterMark=Qe(ze)),ze<=_e.length?ze:_e.ended?_e.length:(_e.needReadable=!0,0))}Re.prototype.read=function(ze){x("read",ze),ze=parseInt(ze,10);var _e=this._readableState,Oe=ze;if(ze!==0&&(_e.emittedReadable=!1),ze===0&&_e.needReadable&&((_e.highWaterMark!==0?_e.length>=_e.highWaterMark:_e.length>0)||_e.ended))return x("read: emitReadable",_e.length,_e.ended),_e.length===0&&_e.ended?Be(this):He(this),null;if(ze=Je(ze,_e),ze===0&&_e.ended)return _e.length===0&&Be(this),null;var Ne=_e.needReadable;x("need readable",Ne),(_e.length===0||_e.length-ze<_e.highWaterMark)&&(Ne=!0,x("length less than watermark",Ne)),_e.ended||_e.reading?(Ne=!1,x("reading or ended",Ne)):Ne&&(x("do read"),_e.reading=!0,_e.sync=!0,_e.length===0&&(_e.needReadable=!0),this._read(_e.highWaterMark),_e.sync=!1,_e.reading||(ze=Je(Oe,_e)));var Ge;return ze>0?Ge=Ae(ze,_e):Ge=null,Ge===null?(_e.needReadable=_e.length<=_e.highWaterMark,ze=0):(_e.length-=ze,_e.awaitDrain=0),_e.length===0&&(_e.ended||(_e.needReadable=!0),Oe!==ze&&_e.ended&&Be(this)),Ge!==null&&this.emit("data",Ge),Ge};function Ye(ze,_e){if(x("onEofChunk"),!_e.ended){if(_e.decoder){var Oe=_e.decoder.end();Oe&&Oe.length&&(_e.buffer.push(Oe),_e.length+=_e.objectMode?1:Oe.length)}_e.ended=!0,_e.sync?He(ze):(_e.needReadable=!1,_e.emittedReadable||(_e.emittedReadable=!0,Fe(ze)))}}function He(ze){var _e=ze._readableState;x("emitReadable",_e.needReadable,_e.emittedReadable),_e.needReadable=!1,_e.emittedReadable||(x("emitReadable",_e.flowing),_e.emittedReadable=!0,le.nextTick(Fe,ze))}function Fe(ze){var _e=ze._readableState;x("emitReadable_",_e.destroyed,_e.length,_e.ended),!_e.destroyed&&(_e.length||_e.ended)&&(ze.emit("readable"),_e.emittedReadable=!1),_e.needReadable=!_e.flowing&&!_e.ended&&_e.length<=_e.highWaterMark,Ve(ze)}function je(ze,_e){_e.readingMore||(_e.readingMore=!0,le.nextTick(et,ze,_e))}function et(ze,_e){for(;!_e.reading&&!_e.ended&&(_e.length<_e.highWaterMark||_e.flowing&&_e.length===0);){var Oe=_e.length;if(x("maybeReadMore read 0"),ze.read(0),Oe===_e.length)break}_e.readingMore=!1}Re.prototype._read=function(ze){Le(this,new me("_read()"))},Re.prototype.pipe=function(ze,_e){var Oe=this,Ne=this._readableState;switch(Ne.pipesCount){case 0:Ne.pipes=ze;break;case 1:Ne.pipes=[Ne.pipes,ze];break;default:Ne.pipes.push(ze);break}Ne.pipesCount+=1,x("pipe count=%d opts=%j",Ne.pipesCount,_e);var Ge=(!_e||_e.end!==!1)&&ze!==le.stdout&&ze!==le.stderr,rt=Ge?ut:gt;Ne.endEmitted?le.nextTick(rt):Oe.once("end",rt),ze.on("unpipe",pt);function pt(St,wt){x("onunpipe"),St===Oe&&wt&&wt.hasUnpiped===!1&&(wt.hasUnpiped=!0,xt())}function ut(){x("onend"),ze.end()}var nt=tt(Oe);ze.on("drain",nt);var vt=!1;function xt(){x("cleanup"),ze.removeListener("close",Et),ze.removeListener("finish",st),ze.removeListener("drain",nt),ze.removeListener("error",at),ze.removeListener("unpipe",pt),Oe.removeListener("end",ut),Oe.removeListener("end",gt),Oe.removeListener("data",Rt),vt=!0,Ne.awaitDrain&&(!ze._writableState||ze._writableState.needDrain)&&nt()}Oe.on("data",Rt);function Rt(St){x("ondata");var wt=ze.write(St);x("dest.write",wt),wt===!1&&((Ne.pipesCount===1&&Ne.pipes===ze||Ne.pipesCount>1&&Ze(Ne.pipes,ze)!==-1)&&!vt&&(x("false write response, pause",Ne.awaitDrain),Ne.awaitDrain++),Oe.pause())}function at(St){x("onerror",St),gt(),ze.removeListener("error",at),ue(ze,"error")===0&&Le(ze,St)}Te(ze,"error",at);function Et(){ze.removeListener("finish",st),gt()}ze.once("close",Et);function st(){x("onfinish"),ze.removeListener("close",Et),gt()}ze.once("finish",st);function gt(){x("unpipe"),Oe.unpipe(ze)}return ze.emit("pipe",Oe),Ne.flowing||(x("pipe resume"),Oe.resume()),ze};function tt(ze){return function(){var Oe=ze._readableState;x("pipeOnDrain",Oe.awaitDrain),Oe.awaitDrain&&Oe.awaitDrain--,Oe.awaitDrain===0&&ue(ze,"data")&&(Oe.flowing=!0,Ve(ze))}}Re.prototype.unpipe=function(ze){var _e=this._readableState,Oe={hasUnpiped:!1};if(_e.pipesCount===0)return this;if(_e.pipesCount===1)return ze&&ze!==_e.pipes?this:(ze||(ze=_e.pipes),_e.pipes=null,_e.pipesCount=0,_e.flowing=!1,ze&&ze.emit("unpipe",this,Oe),this);if(!ze){var Ne=_e.pipes,Ge=_e.pipesCount;_e.pipes=null,_e.pipesCount=0,_e.flowing=!1;for(var rt=0;rt0,Ne.flowing!==!1&&this.resume()):ze==="readable"&&!Ne.endEmitted&&!Ne.readableListening&&(Ne.readableListening=Ne.needReadable=!0,Ne.flowing=!1,Ne.emittedReadable=!1,x("on readable",Ne.length,Ne.reading),Ne.length?He(this):Ne.reading||le.nextTick(Xe,this)),Oe},Re.prototype.addListener=Re.prototype.on,Re.prototype.removeListener=function(ze,_e){var Oe=ae.prototype.removeListener.call(this,ze,_e);return ze==="readable"&&le.nextTick(it,this),Oe},Re.prototype.removeAllListeners=function(ze){var _e=ae.prototype.removeAllListeners.apply(this,arguments);return(ze==="readable"||ze===void 0)&&le.nextTick(it,this),_e};function it(ze){var _e=ze._readableState;_e.readableListening=ze.listenerCount("readable")>0,_e.resumeScheduled&&!_e.paused?_e.flowing=!0:ze.listenerCount("data")>0&&ze.resume()}function Xe(ze){x("readable nexttick read 0"),ze.read(0)}Re.prototype.resume=function(){var ze=this._readableState;return ze.flowing||(x("resume"),ze.flowing=!ze.readableListening,Ke(this,ze)),ze.paused=!1,this};function Ke(ze,_e){_e.resumeScheduled||(_e.resumeScheduled=!0,le.nextTick(Me,ze,_e))}function Me(ze,_e){x("resume",_e.reading),_e.reading||ze.read(0),_e.resumeScheduled=!1,ze.emit("resume"),Ve(ze),_e.flowing&&!_e.reading&&ze.read(0)}Re.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 Ve(ze){var _e=ze._readableState;for(x("flow",_e.flowing);_e.flowing&&ze.read()!==null;);}Re.prototype.wrap=function(ze){var _e=this,Oe=this._readableState,Ne=!1;ze.on("end",function(){if(x("wrapped end"),Oe.decoder&&!Oe.ended){var pt=Oe.decoder.end();pt&&pt.length&&_e.push(pt)}_e.push(null)}),ze.on("data",function(pt){if(x("wrapped data"),Oe.decoder&&(pt=Oe.decoder.write(pt)),!(Oe.objectMode&&pt==null)&&!(!Oe.objectMode&&(!pt||!pt.length))){var ut=_e.push(pt);ut||(Ne=!0,ze.pause())}});for(var Ge in ze)this[Ge]===void 0&&typeof ze[Ge]=="function"&&(this[Ge]=function(ut){return function(){return ze[ut].apply(ze,arguments)}}(Ge));for(var rt=0;rt=_e.length?(_e.decoder?Oe=_e.buffer.join(""):_e.buffer.length===1?Oe=_e.buffer.first():Oe=_e.buffer.concat(_e.length),_e.buffer.clear()):Oe=_e.buffer.consume(ze,_e.decoder),Oe}function Be(ze){var _e=ze._readableState;x("endReadable",_e.endEmitted),_e.endEmitted||(_e.ended=!0,le.nextTick($e,_e,ze))}function $e(ze,_e){if(x("endReadableNT",ze.endEmitted,ze.length),!ze.endEmitted&&ze.length===0&&(ze.endEmitted=!0,_e.readable=!1,_e.emit("end"),ze.autoDestroy)){var Oe=_e._writableState;(!Oe||Oe.autoDestroy&&Oe.finished)&&_e.destroy()}}typeof Symbol=="function"&&(Re.from=function(ze,_e){return we===void 0&&(we=E("./internal/streams/from")),we(Re,ze,_e)});function Ze(ze,_e){for(var Oe=0,Ne=ze.length;Oe-1))throw new Pe(Ae);return this._writableState.defaultEncoding=Ae,this},Object.defineProperty(Ee.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function ke(Ve,Ae,Be){return!Ve.objectMode&&Ve.decodeStrings!==!1&&typeof Ae=="string"&&(Ae=ne.from(Ae,Be)),Ae}Object.defineProperty(Ee.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Ie(Ve,Ae,Be,$e,Ze,ze){if(!Be){var _e=ke(Ae,$e,Ze);$e!==_e&&(Be=!0,Ze="buffer",$e=_e)}var Oe=Ae.objectMode?1:$e.length;Ae.length+=Oe;var Ne=Ae.length0?this.tail.next=he:this.head=he,this.tail=he,++this.length}},{key:"unshift",value:function(ge){var he={data:ge,next:this.head};this.length===0&&(this.tail=he),this.head=he,++this.length}},{key:"shift",value:function(){if(this.length!==0){var ge=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,ge}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(ge){if(this.length===0)return"";for(var he=this.head,ve=""+he.data;he=he.next;)ve+=ge+he.data;return ve}},{key:"concat",value:function(ge){if(this.length===0)return a.alloc(0);for(var he=a.allocUnsafe(ge>>>0),ve=this.head,me=0;ve;)z(ve.data,he,me),me+=ve.data.length,ve=ve.next;return he}},{key:"consume",value:function(ge,he){var ve;return gebe.length?be.length:ge;if(ye===be.length?me+=be:me+=be.slice(0,ge),ge-=ye,ge===0){ye===be.length?(++ve,he.next?this.head=he.next:this.head=this.tail=null):(this.head=he,he.data=be.slice(ye));break}++ve}return this.length-=ve,me}},{key:"_getBuffer",value:function(ge){var he=a.allocUnsafe(ge),ve=this.head,me=1;for(ve.data.copy(he),ge-=ve.data.length;ve=ve.next;){var be=ve.data,ye=ge>be.length?be.length:ge;if(be.copy(he,he.length-ge,0,ye),ge-=ye,ge===0){ye===be.length?(++me,ve.next?this.head=ve.next:this.head=this.tail=null):(this.head=ve,ve.data=be.slice(ye));break}++me}return this.length-=me,he}},{key:b,value:function(ge,he){return x(this,re(re({},he),{},{depth:0,customInspect:!1}))}}]),te}()},{buffer:90,util:89}],407:[function(E,pe,fe){(function(le){(function(){"use strict";function re(ne,ee){var a=this,y=this._readableState&&this._readableState.destroyed,x=this._writableState&&this._writableState.destroyed;return y||x?(ee?ee(ne):ne&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,le.nextTick(ae,this,ne)):le.nextTick(ae,this,ne)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ne||null,function(b){!ee&&b?a._writableState?a._writableState.errorEmitted?le.nextTick(ie,a):(a._writableState.errorEmitted=!0,le.nextTick(se,a,b)):le.nextTick(se,a,b):ee?(le.nextTick(ie,a),ee(b)):le.nextTick(ie,a)}),this)}function se(ne,ee){ae(ne,ee),ie(ne)}function ie(ne){ne._writableState&&!ne._writableState.emitClose||ne._readableState&&!ne._readableState.emitClose||ne.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(ne,ee){ne.emit("error",ee)}function oe(ne,ee){var a=ne._readableState,y=ne._writableState;a&&a.autoDestroy||y&&y.autoDestroy?ne.destroy(ee):ne.emit("error",ee)}pe.exports={destroy:re,undestroy:ue,errorOrDestroy:oe}}).call(this)}).call(this,E("_process"))},{_process:467}],408:[function(E,pe,fe){"use strict";var le=E("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function re(ae){var oe=!1;return function(){if(!oe){oe=!0;for(var ne=arguments.length,ee=new Array(ne),a=0;a0;return ne(ve,be,ye,function(Pe){ge||(ge=Pe),Pe&&he.forEach(ee),!be&&(he.forEach(ee),ce(ge))})});return z.reduce(a)}pe.exports=x},{"../../../errors":399,"./end-of-stream":408}],411:[function(E,pe,fe){"use strict";var le=E("../../../errors").codes.ERR_INVALID_OPT_VALUE;function re(ie,ue,ae){return ie.highWaterMark!=null?ie.highWaterMark:ue?ie[ae]:null}function se(ie,ue,ae,oe){var ne=re(ue,oe,ae);if(ne!=null){if(!(isFinite(ne)&&Math.floor(ne)===ne)||ne<0){var ee=oe?ae:"highWaterMark";throw new le(ee,ne)}return Math.floor(ne)}return ie.objectMode?16:16*1024}pe.exports={getHighWaterMark:se}},{"../../../errors":399}],412:[function(E,pe,fe){arguments[4][393][0].apply(fe,arguments)},{dup:393,events:344}],413:[function(E,pe,fe){"use strict";var le=E("safe-buffer").Buffer,re=le.isEncoding||function(he){switch(he=""+he,he&&he.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 se(he){if(!he)return"utf8";for(var ve;;)switch(he){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 he;default:if(ve)return;he=(""+he).toLowerCase(),ve=!0}}function ie(he){var ve=se(he);if(typeof ve!="string"&&(le.isEncoding===re||!re(he)))throw new Error("Unknown encoding: "+he);return ve||he}fe.StringDecoder=ue;function ue(he){this.encoding=ie(he);var ve;switch(this.encoding){case"utf16le":this.text=x,this.end=b,ve=4;break;case"utf8":this.fillLast=ee,ve=4;break;case"base64":this.text=z,this.end=te,ve=3;break;default:this.write=ce,this.end=ge;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=le.allocUnsafe(ve)}ue.prototype.write=function(he){if(he.length===0)return"";var ve,me;if(this.lastNeed){if(ve=this.fillLast(he),ve===void 0)return"";me=this.lastNeed,this.lastNeed=0}else me=0;return me>5===6?2:he>>4===14?3:he>>3===30?4:he>>6===2?-1:-2}function oe(he,ve,me){var be=ve.length-1;if(be=0?(ye>0&&(he.lastNeed=ye-1),ye):--be=0?(ye>0&&(he.lastNeed=ye-2),ye):--be=0?(ye>0&&(ye===2?ye=0:he.lastNeed=ye-3),ye):0))}function ne(he,ve,me){if((ve[0]&192)!==128)return he.lastNeed=0,"\uFFFD";if(he.lastNeed>1&&ve.length>1){if((ve[1]&192)!==128)return he.lastNeed=1,"\uFFFD";if(he.lastNeed>2&&ve.length>2&&(ve[2]&192)!==128)return he.lastNeed=2,"\uFFFD"}}function ee(he){var ve=this.lastTotal-this.lastNeed,me=ne(this,he,ve);if(me!==void 0)return me;if(this.lastNeed<=he.length)return he.copy(this.lastChar,ve,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);he.copy(this.lastChar,ve,0,he.length),this.lastNeed-=he.length}function a(he,ve){var me=oe(this,he,ve);if(!this.lastNeed)return he.toString("utf8",ve);this.lastTotal=me;var be=he.length-(me-this.lastNeed);return he.copy(this.lastChar,0,be),he.toString("utf8",ve,be)}function y(he){var ve=he&&he.length?this.write(he):"";return this.lastNeed?ve+"\uFFFD":ve}function x(he,ve){if((he.length-ve)%2===0){var me=he.toString("utf16le",ve);if(me){var be=me.charCodeAt(me.length-1);if(be>=55296&&be<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=he[he.length-2],this.lastChar[1]=he[he.length-1],me.slice(0,-1)}return me}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=he[he.length-1],he.toString("utf16le",ve,he.length-1)}function b(he){var ve=he&&he.length?this.write(he):"";if(this.lastNeed){var me=this.lastTotal-this.lastNeed;return ve+this.lastChar.toString("utf16le",0,me)}return ve}function z(he,ve){var me=(he.length-ve)%3;return me===0?he.toString("base64",ve):(this.lastNeed=3-me,this.lastTotal=3,me===1?this.lastChar[0]=he[he.length-1]:(this.lastChar[0]=he[he.length-2],this.lastChar[1]=he[he.length-1]),he.toString("base64",ve,he.length-me))}function te(he){var ve=he&&he.length?this.write(he):"";return this.lastNeed?ve+this.lastChar.toString("base64",0,3-this.lastNeed):ve}function ce(he){return he.toString(this.encoding)}function ge(he){return he&&he.length?this.write(he):""}},{"safe-buffer":396}],414:[function(E,pe,fe){(function(le,re){(function(){var se=E("process/browser.js").nextTick,ie=Function.prototype.apply,ue=Array.prototype.slice,ae={},oe=0;fe.setTimeout=function(){return new ne(ie.call(setTimeout,window,arguments),clearTimeout)},fe.setInterval=function(){return new ne(ie.call(setInterval,window,arguments),clearInterval)},fe.clearTimeout=fe.clearInterval=function(ee){ee.close()};function ne(ee,a){this._id=ee,this._clearFn=a}ne.prototype.unref=ne.prototype.ref=function(){},ne.prototype.close=function(){this._clearFn.call(window,this._id)},fe.enroll=function(ee,a){clearTimeout(ee._idleTimeoutId),ee._idleTimeout=a},fe.unenroll=function(ee){clearTimeout(ee._idleTimeoutId),ee._idleTimeout=-1},fe._unrefActive=fe.active=function(ee){clearTimeout(ee._idleTimeoutId);var a=ee._idleTimeout;a>=0&&(ee._idleTimeoutId=setTimeout(function(){ee._onTimeout&&ee._onTimeout()},a))},fe.setImmediate=typeof le=="function"?le:function(ee){var a=oe++,y=arguments.length<2?!1:ue.call(arguments,1);return ae[a]=!0,se(function(){ae[a]&&(y?ee.apply(null,y):ee.call(null),fe.clearImmediate(a))}),a},fe.clearImmediate=typeof re=="function"?re:function(ee){delete ae[ee]}}).call(this)}).call(this,E("timers").setImmediate,E("timers").clearImmediate)},{"process/browser.js":381,timers:414}],415:[function(E,pe,fe){var le=E("buffer").Buffer;pe.exports=function(re){if(re instanceof Uint8Array){if(re.byteOffset===0&&re.byteLength===re.buffer.byteLength)return re.buffer;if(typeof re.buffer.slice=="function")return re.buffer.slice(re.byteOffset,re.byteOffset+re.byteLength)}if(le.isBuffer(re)){for(var se=new Uint8Array(re.length),ie=re.length,ue=0;ue=Xe)return Ve;switch(Ve){case"%s":return String(it[tt++]);case"%d":return Number(it[tt++]);case"%j":try{return JSON.stringify(it[tt++])}catch(Ae){return"[Circular]"}default:return Ve}}),Me=it[tt];tt=3&&(tt.depth=arguments[2]),arguments.length>=4&&(tt.colors=arguments[3]),he(et)?tt.showHidden=et:et&&fe._extend(tt,et),we(tt.showHidden)&&(tt.showHidden=!1),we(tt.depth)&&(tt.depth=2),we(tt.colors)&&(tt.colors=!1),we(tt.customInspect)&&(tt.customInspect=!0),tt.colors&&(tt.stylize=ne),y(tt,je,tt.depth)}fe.inspect=oe,oe.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},oe.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function ne(je,et){var tt=oe.styles[et];return tt?"\x1B["+oe.colors[tt][0]+"m"+je+"\x1B["+oe.colors[tt][1]+"m":je}function ee(je,et){return je}function a(je){var et={};return je.forEach(function(tt,it){et[tt]=!0}),et}function y(je,et,tt){if(je.customInspect&&et&&Re(et.inspect)&&et.inspect!==fe.inspect&&!(et.constructor&&et.constructor.prototype===et)){var it=et.inspect(tt,je);return ye(it)||(it=y(je,it,tt)),it}var Xe=x(je,et);if(Xe)return Xe;var Ke=Object.keys(et),Me=a(Ke);if(je.showHidden&&(Ke=Object.getOwnPropertyNames(et)),Ee(et)&&(Ke.indexOf("message")>=0||Ke.indexOf("description")>=0))return b(et);if(Ke.length===0){if(Re(et)){var Ve=et.name?": "+et.name:"";return je.stylize("[Function"+Ve+"]","special")}if(Le(et))return je.stylize(RegExp.prototype.toString.call(et),"regexp");if(Te(et))return je.stylize(Date.prototype.toString.call(et),"date");if(Ee(et))return b(et)}var Ae="",Be=!1,$e=["{","}"];if(ge(et)&&(Be=!0,$e=["[","]"]),Re(et)){var Ze=et.name?": "+et.name:"";Ae=" [Function"+Ze+"]"}if(Le(et)&&(Ae=" "+RegExp.prototype.toString.call(et)),Te(et)&&(Ae=" "+Date.prototype.toUTCString.call(et)),Ee(et)&&(Ae=" "+b(et)),Ke.length===0&&(!Be||et.length==0))return $e[0]+Ae+$e[1];if(tt<0)return Le(et)?je.stylize(RegExp.prototype.toString.call(et),"regexp"):je.stylize("[Object]","special");je.seen.push(et);var ze;return Be?ze=z(je,et,tt,Me,Ke):ze=Ke.map(function(_e){return te(je,et,tt,Me,_e,Be)}),je.seen.pop(),ce(ze,Ae,$e)}function x(je,et){if(we(et))return je.stylize("undefined","undefined");if(ye(et)){var tt="'"+JSON.stringify(et).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return je.stylize(tt,"string")}if(be(et))return je.stylize(""+et,"number");if(he(et))return je.stylize(""+et,"boolean");if(ve(et))return je.stylize("null","null")}function b(je){return"["+Error.prototype.toString.call(je)+"]"}function z(je,et,tt,it,Xe){for(var Ke=[],Me=0,Ve=et.length;Me-1&&(Ke?Ve=Ve.split(` `).map(function(Be){return" "+Be}).join(` `).slice(2):Ve=` `+Ve.split(` `).map(function(Be){return" "+Be}).join(` `))):Ve=je.stylize("[Circular]","special")),we(Me)){if(Ke&&Xe.match(/^\d+$/))return Ve;Me=JSON.stringify(""+Xe),Me.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Me=Me.slice(1,-1),Me=je.stylize(Me,"name")):(Me=Me.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Me=je.stylize(Me,"string"))}return Me+": "+Ve}function ce(je,et,tt){var it=0,Xe=je.reduce(function(Ke,Me){return it++,Me.indexOf(` `)>=0&&it++,Ke+Me.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Xe>60?tt[0]+(et===""?"":et+` `)+" "+je.join(`, `)+" "+tt[1]:tt[0]+et+" "+je.join(", ")+" "+tt[1]}fe.types=E("./support/types");function ge(je){return Array.isArray(je)}fe.isArray=ge;function he(je){return typeof je=="boolean"}fe.isBoolean=he;function ve(je){return je===null}fe.isNull=ve;function me(je){return je==null}fe.isNullOrUndefined=me;function be(je){return typeof je=="number"}fe.isNumber=be;function ye(je){return typeof je=="string"}fe.isString=ye;function Pe(je){return typeof je=="symbol"}fe.isSymbol=Pe;function we(je){return je===void 0}fe.isUndefined=we;function Le(je){return Ce(je)&&ke(je)==="[object RegExp]"}fe.isRegExp=Le,fe.types.isRegExp=Le;function Ce(je){return typeof je=="object"&&je!==null}fe.isObject=Ce;function Te(je){return Ce(je)&&ke(je)==="[object Date]"}fe.isDate=Te,fe.types.isDate=Te;function Ee(je){return Ce(je)&&(ke(je)==="[object Error]"||je instanceof Error)}fe.isError=Ee,fe.types.isNativeError=Ee;function Re(je){return typeof je=="function"}fe.isFunction=Re;function De(je){return je===null||typeof je=="boolean"||typeof je=="number"||typeof je=="string"||typeof je=="symbol"||typeof je=="undefined"}fe.isPrimitive=De,fe.isBuffer=E("./support/isBuffer");function ke(je){return Object.prototype.toString.call(je)}function Ie(je){return je<10?"0"+je.toString(10):je.toString(10)}var qe=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Qe(){var je=new Date,et=[Ie(je.getHours()),Ie(je.getMinutes()),Ie(je.getSeconds())].join(":");return[je.getDate(),qe[je.getMonth()],et].join(" ")}fe.log=function(){console.log("%s - %s",Qe(),fe.format.apply(fe,arguments))},fe.inherits=E("inherits"),fe._extend=function(je,et){if(!et||!Ce(et))return je;for(var tt=Object.keys(et),it=tt.length;it--;)je[tt[it]]=et[tt[it]];return je};function Je(je,et){return Object.prototype.hasOwnProperty.call(je,et)}var Ye=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;fe.promisify=function(et){if(typeof et!="function")throw new TypeError('The "original" argument must be of type Function');if(Ye&&et[Ye]){var tt=et[Ye];if(typeof tt!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(tt,Ye,{value:tt,enumerable:!1,writable:!1,configurable:!0}),tt}function tt(){for(var it,Xe,Ke=new Promise(function(Ae,Be){it=Ae,Xe=Be}),Me=[],Ve=0;Ve-1?ve:ve!=="Object"?!1:ce(he)}return ae?te(he):null}}).call(this)}).call(this,typeof ft!="undefined"?ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"available-typed-arrays":86,"call-bind":93,"call-bind/callBound":92,"for-each":345,gopd:349,"has-tostringtag/shams":353}],421:[function(E,pe,fe){(function(){"use strict";fe.stripBOM=function(le){return le[0]==="\uFEFF"?le.substring(1):le}}).call(this)},{}],422:[function(E,pe,fe){(function(){"use strict";var le,re,se,ie,ue,ae={}.hasOwnProperty;le=E("xmlbuilder"),re=E("./defaults").defaults,ie=function(oe){return typeof oe=="string"&&(oe.indexOf("&")>=0||oe.indexOf(">")>=0||oe.indexOf("<")>=0)},ue=function(oe){return""},se=function(oe){return oe.replace("]]>","]]]]>")},fe.Builder=function(){function oe(ne){var ee,a,y;this.options={},a=re["0.2"];for(ee in a)ae.call(a,ee)&&(y=a[ee],this.options[ee]=y);for(ee in ne)ae.call(ne,ee)&&(y=ne[ee],this.options[ee]=y)}return oe.prototype.buildObject=function(ne){var ee,a,y,x,b;return ee=this.options.attrkey,a=this.options.charkey,Object.keys(ne).length===1&&this.options.rootName===re["0.2"].rootName?(b=Object.keys(ne)[0],ne=ne[b]):b=this.options.rootName,y=function(z){return function(te,ce){var ge,he,ve,me,be,ye;if(typeof ce!="object")z.options.cdata&&ie(ce)?te.raw(ue(ce)):te.txt(ce);else if(Array.isArray(ce)){for(me in ce)if(ae.call(ce,me)){he=ce[me];for(be in he)ve=he[be],te=y(te.ele(be),ve).up()}}else for(be in ce)if(ae.call(ce,be))if(he=ce[be],be===ee){if(typeof he=="object")for(ge in he)ye=he[ge],te=te.att(ge,ye)}else if(be===a)z.options.cdata&&ie(he)?te=te.raw(ue(he)):te=te.txt(he);else if(Array.isArray(he))for(me in he)ae.call(he,me)&&(ve=he[me],typeof ve=="string"?z.options.cdata&&ie(ve)?te=te.ele(be).raw(ue(ve)).up():te=te.ele(be,ve).up():te=y(te.ele(be),ve).up());else typeof he=="object"?te=y(te.ele(be),he).up():typeof he=="string"&&z.options.cdata&&ie(he)?te=te.ele(be).raw(ue(he)).up():(he==null&&(he=""),te=te.ele(be,he.toString()).up());return te}}(this),x=le.create(b,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),y(x,ne).end(this.options.renderOpts)},oe}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(E,pe,fe){(function(){fe.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:` `},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},{}],424:[function(E,pe,fe){(function(){"use strict";var le,re,se,ie,ue,ae,oe,ne,ee,a=function(b,z){return function(){return b.apply(z,arguments)}},y=function(b,z){for(var te in z)x.call(z,te)&&(b[te]=z[te]);function ce(){this.constructor=b}return ce.prototype=z.prototype,b.prototype=new ce,b.__super__=z.prototype,b},x={}.hasOwnProperty;ne=E("sax"),ie=E("events"),le=E("./bom"),oe=E("./processors"),ee=E("timers").setImmediate,re=E("./defaults").defaults,ue=function(b){return typeof b=="object"&&b!=null&&Object.keys(b).length===0},ae=function(b,z,te){var ce,ge,he;for(ce=0,ge=b.length;ce0&&(Pe[ve.options.childkey]=Le),Le=Pe;else if(Ee){Ee[ve.options.childkey]=Ee[ve.options.childkey]||[],Ce={};for(ye in Le)x.call(Le,ye)&&se(Ce,ye,Le[ye]);Ee[ve.options.childkey].push(Ce),delete Le["#name"],Object.keys(Le).length===1&&ce in Le&&!ve.EXPLICIT_CHARKEY&&(Le=Le[ce])}}return he.length>0?ve.assignOrPush(Ee,we,Le):(ve.options.explicitRoot&&(Te=Le,Le={},se(Le,we,Te)),ve.resultObject=Le,ve.saxParser.ended=!0,ve.emit("end",ve.resultObject))}}(this),ge=function(ve){return function(me){var be,ye;if(ye=he[he.length-1],ye)return ye[ce]+=me,ve.options.explicitChildren&&ve.options.preserveChildrenOrder&&ve.options.charsAsChildren&&(ve.options.includeWhiteChars||me.replace(/\\n/g,"").trim()!=="")&&(ye[ve.options.childkey]=ye[ve.options.childkey]||[],be={"#name":"__text__"},be[ce]=me,ve.options.normalize&&(be[ce]=be[ce].replace(/\s{2,}/g," ").trim()),ye[ve.options.childkey].push(be)),ye}}(this),this.saxParser.ontext=ge,this.saxParser.oncdata=function(ve){return function(me){var be;if(be=ge(me),be)return be.cdata=!0}}(this)},z.prototype.parseString=function(te,ce){var ge;ce!=null&&typeof ce=="function"&&(this.on("end",function(he){return this.reset(),ce(null,he)}),this.on("error",function(he){return this.reset(),ce(he)}));try{return te=te.toString(),te.trim()===""?(this.emit("end",null),!0):(te=le.stripBOM(te),this.options.async?(this.remaining=te,ee(this.processAsync),this.saxParser):this.saxParser.write(te).close())}catch(he){if(ge=he,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw ge}else return this.emit("error",ge),this.saxParser.errThrown=!0}},z.prototype.parseStringPromise=function(te){return new Promise(function(ce){return function(ge,he){return ce.parseString(te,function(ve,me){return ve?he(ve):ge(me)})}}(this))},z}(ie),fe.parseString=function(b,z,te){var ce,ge,he;return te!=null?(typeof te=="function"&&(ce=te),typeof z=="object"&&(ge=z)):(typeof z=="function"&&(ce=z),ge={}),he=new fe.Parser(ge),he.parseString(b,ce)},fe.parseStringPromise=function(b,z){var te,ce;return typeof z=="object"&&(te=z),ce=new fe.Parser(te),ce.parseStringPromise(b)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(E,pe,fe){(function(){"use strict";var le;le=new RegExp(/(?!xmlns)^.*:/),fe.normalize=function(re){return re.toLowerCase()},fe.firstCharLowerCase=function(re){return re.charAt(0).toLowerCase()+re.slice(1)},fe.stripPrefix=function(re){return re.replace(le,"")},fe.parseNumbers=function(re){return isNaN(re)||(re=re%1===0?parseInt(re,10):parseFloat(re)),re},fe.parseBooleans=function(re){return/^(?:true|false)$/i.test(re)&&(re=re.toLowerCase()==="true"),re}}).call(this)},{}],426:[function(E,pe,fe){(function(){"use strict";var le,re,se,ie,ue=function(oe,ne){for(var ee in ne)ae.call(ne,ee)&&(oe[ee]=ne[ee]);function a(){this.constructor=oe}return a.prototype=ne.prototype,oe.prototype=new a,oe.__super__=ne.prototype,oe},ae={}.hasOwnProperty;re=E("./defaults"),le=E("./builder"),se=E("./parser"),ie=E("./processors"),fe.defaults=re.defaults,fe.processors=ie,fe.ValidationError=function(oe){ue(ne,oe);function ne(ee){this.message=ee}return ne}(Error),fe.Builder=le.Builder,fe.Parser=se.Parser,fe.parseString=se.parseString,fe.parseStringPromise=se.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(E,pe,fe){(function(){pe.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(E,pe,fe){(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,fe){(function(){var le,re,se,ie,ue,ae,oe,ne=[].slice,ee={}.hasOwnProperty;le=function(){var a,y,x,b,z,te;if(te=arguments[0],z=2<=arguments.length?ne.call(arguments,1):[],ue(Object.assign))Object.assign.apply(null,arguments);else for(a=0,x=z.length;a":"attribute: {"+ue+"}, parent: <"+this.parent.name+">"},ie.prototype.isEqualNode=function(ue){return!(ue.namespaceURI!==this.namespaceURI||ue.prefix!==this.prefix||ue.localName!==this.localName||ue.value!==this.value)},ie}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(E,pe,fe){(function(){var le,re,se,ie=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;le=E("./NodeType"),se=E("./XMLCharacterData"),pe.exports=re=function(ae){ie(oe,ae);function oe(ne,ee){if(oe.__super__.constructor.call(this,ne),ee==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=le.CData,this.value=this.stringify.cdata(ee)}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(ne){return this.options.writer.cdata(this,this.options.writer.filterOptions(ne))},oe}(se)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(E,pe,fe){(function(){var le,re,se=function(ue,ae){for(var oe in ae)ie.call(ae,oe)&&(ue[oe]=ae[oe]);function ne(){this.constructor=ue}return ne.prototype=ae.prototype,ue.prototype=new ne,ue.__super__=ae.prototype,ue},ie={}.hasOwnProperty;re=E("./XMLNode"),pe.exports=le=function(ue){se(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,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.appendData=function(oe){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.insertData=function(oe,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.deleteData=function(oe,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.replaceData=function(oe,ne,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.isEqualNode=function(oe){return!(!ae.__super__.isEqualNode.apply(this,arguments).isEqualNode(oe)||oe.data!==this.data)},ae}(re)}).call(this)},{"./XMLNode":450}],434:[function(E,pe,fe){(function(){var le,re,se,ie=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;le=E("./NodeType"),re=E("./XMLCharacterData"),pe.exports=se=function(ae){ie(oe,ae);function oe(ne,ee){if(oe.__super__.constructor.call(this,ne),ee==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=le.Comment,this.value=this.stringify.comment(ee)}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(ne){return this.options.writer.comment(this,this.options.writer.filterOptions(ne))},oe}(re)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(E,pe,fe){(function(){var le,re,se;re=E("./XMLDOMErrorHandler"),se=E("./XMLDOMStringList"),pe.exports=le=function(){function ie(){var ue;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new re,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=ue=Object.create(this.defaultParams)}return Object.defineProperty(ie.prototype,"parameterNames",{get:function(){return new se(Object.keys(this.defaultParams))}}),ie.prototype.getParameter=function(ue){return this.params.hasOwnProperty(ue)?this.params[ue]:null},ie.prototype.canSetParameter=function(ue,ae){return!0},ie.prototype.setParameter=function(ue,ae){return ae!=null?this.params[ue]=ae:delete this.params[ue]},ie}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(E,pe,fe){(function(){var le;pe.exports=le=function(){function re(){}return re.prototype.handleError=function(se){throw new Error(se)},re}()}).call(this)},{}],437:[function(E,pe,fe){(function(){var le;pe.exports=le=function(){function re(){}return re.prototype.hasFeature=function(se,ie){return!0},re.prototype.createDocumentType=function(se,ie,ue){throw new Error("This DOM method is not implemented.")},re.prototype.createDocument=function(se,ie,ue){throw new Error("This DOM method is not implemented.")},re.prototype.createHTMLDocument=function(se){throw new Error("This DOM method is not implemented.")},re.prototype.getFeature=function(se,ie){throw new Error("This DOM method is not implemented.")},re}()}).call(this)},{}],438:[function(E,pe,fe){(function(){var le;pe.exports=le=function(){function re(se){this.arr=se||[]}return Object.defineProperty(re.prototype,"length",{get:function(){return this.arr.length}}),re.prototype.item=function(se){return this.arr[se]||null},re.prototype.contains=function(se){return this.arr.indexOf(se)!==-1},re}()}).call(this)},{}],439:[function(E,pe,fe){(function(){var le,re,se,ie=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;se=E("./XMLNode"),le=E("./NodeType"),pe.exports=re=function(ae){ie(oe,ae);function oe(ne,ee,a,y,x,b){if(oe.__super__.constructor.call(this,ne),ee==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(a==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(ee));if(!y)throw new Error("Missing DTD attribute type. "+this.debugInfo(ee));if(!x)throw new Error("Missing DTD attribute default. "+this.debugInfo(ee));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(ee));if(b&&!x.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(ee));this.elementName=this.stringify.name(ee),this.type=le.AttributeDeclaration,this.attributeName=this.stringify.name(a),this.attributeType=this.stringify.dtdAttType(y),b&&(this.defaultValue=this.stringify.dtdAttDefault(b)),this.defaultValueType=x}return oe.prototype.toString=function(ne){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(ne))},oe}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(E,pe,fe){(function(){var le,re,se,ie=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;se=E("./XMLNode"),le=E("./NodeType"),pe.exports=re=function(ae){ie(oe,ae);function oe(ne,ee,a){if(oe.__super__.constructor.call(this,ne),ee==null)throw new Error("Missing DTD element name. "+this.debugInfo());a||(a="(#PCDATA)"),Array.isArray(a)&&(a="("+a.join(",")+")"),this.name=this.stringify.name(ee),this.type=le.ElementDeclaration,this.value=this.stringify.dtdElementValue(a)}return oe.prototype.toString=function(ne){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(ne))},oe}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(E,pe,fe){(function(){var le,re,se,ie,ue=function(oe,ne){for(var ee in ne)ae.call(ne,ee)&&(oe[ee]=ne[ee]);function a(){this.constructor=oe}return a.prototype=ne.prototype,oe.prototype=new a,oe.__super__=ne.prototype,oe},ae={}.hasOwnProperty;ie=E("./Utility").isObject,se=E("./XMLNode"),le=E("./NodeType"),pe.exports=re=function(oe){ue(ne,oe);function ne(ee,a,y,x){if(ne.__super__.constructor.call(this,ee),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=le.EntityDeclaration,!ie(x))this.value=this.stringify.dtdEntityValue(x),this.internal=!0;else{if(!x.pubID&&!x.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(y));if(x.pubID&&!x.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(y));if(this.internal=!1,x.pubID!=null&&(this.pubID=this.stringify.dtdPubID(x.pubID)),x.sysID!=null&&(this.sysID=this.stringify.dtdSysID(x.sysID)),x.nData!=null&&(this.nData=this.stringify.dtdNData(x.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(y))}}return Object.defineProperty(ne.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(ne.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(ne.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(ne.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(ne.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(ne.prototype,"xmlVersion",{get:function(){return null}}),ne.prototype.toString=function(ee){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(ee))},ne}(se)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(E,pe,fe){(function(){var le,re,se,ie=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;se=E("./XMLNode"),le=E("./NodeType"),pe.exports=re=function(ae){ie(oe,ae);function oe(ne,ee,a){if(oe.__super__.constructor.call(this,ne),ee==null)throw new Error("Missing DTD notation name. "+this.debugInfo(ee));if(!a.pubID&&!a.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(ee));this.name=this.stringify.name(ee),this.type=le.NotationDeclaration,a.pubID!=null&&(this.pubID=this.stringify.dtdPubID(a.pubID)),a.sysID!=null&&(this.sysID=this.stringify.dtdSysID(a.sysID))}return Object.defineProperty(oe.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(oe.prototype,"systemId",{get:function(){return this.sysID}}),oe.prototype.toString=function(ne){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(ne))},oe}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(E,pe,fe){(function(){var le,re,se,ie,ue=function(oe,ne){for(var ee in ne)ae.call(ne,ee)&&(oe[ee]=ne[ee]);function a(){this.constructor=oe}return a.prototype=ne.prototype,oe.prototype=new a,oe.__super__=ne.prototype,oe},ae={}.hasOwnProperty;ie=E("./Utility").isObject,se=E("./XMLNode"),le=E("./NodeType"),pe.exports=re=function(oe){ue(ne,oe);function ne(ee,a,y,x){var b;ne.__super__.constructor.call(this,ee),ie(a)&&(b=a,a=b.version,y=b.encoding,x=b.standalone),a||(a="1.0"),this.type=le.Declaration,this.version=this.stringify.xmlVersion(a),y!=null&&(this.encoding=this.stringify.xmlEncoding(y)),x!=null&&(this.standalone=this.stringify.xmlStandalone(x))}return ne.prototype.toString=function(ee){return this.options.writer.declaration(this,this.options.writer.filterOptions(ee))},ne}(se)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(E,pe,fe){(function(){var le,re,se,ie,ue,ae,oe,ne,ee,a=function(x,b){for(var z in b)y.call(b,z)&&(x[z]=b[z]);function te(){this.constructor=x}return te.prototype=b.prototype,x.prototype=new te,x.__super__=b.prototype,x},y={}.hasOwnProperty;ee=E("./Utility").isObject,ne=E("./XMLNode"),le=E("./NodeType"),re=E("./XMLDTDAttList"),ie=E("./XMLDTDEntity"),se=E("./XMLDTDElement"),ue=E("./XMLDTDNotation"),oe=E("./XMLNamedNodeMap"),pe.exports=ae=function(x){a(b,x);function b(z,te,ce){var ge,he,ve,me,be,ye;if(b.__super__.constructor.call(this,z),this.type=le.DocType,z.children){for(me=z.children,he=0,ve=me.length;he=0;)this.up();return this.onEnd()},Ce.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},Ce.prototype.openNode=function(Te){var Ee,Re,De,ke;if(!Te.isOpen){if(!this.root&&this.currentLevel===0&&Te.type===le.Element&&(this.root=Te),Re="",Te.type===le.Element){this.writerOptions.state=re.OpenTag,Re=this.writer.indent(Te,this.writerOptions,this.currentLevel)+"<"+Te.name,ke=Te.attribs;for(De in ke)Le.call(ke,De)&&(Ee=ke[De],Re+=this.writer.attribute(Ee,this.writerOptions,this.currentLevel));Re+=(Te.children?">":"/>")+this.writer.endline(Te,this.writerOptions,this.currentLevel),this.writerOptions.state=re.InsideTag}else this.writerOptions.state=re.OpenTag,Re=this.writer.indent(Te,this.writerOptions,this.currentLevel)+""),Re+=this.writer.endline(Te,this.writerOptions,this.currentLevel);return this.onData(Re,this.currentLevel),Te.isOpen=!0}},Ce.prototype.closeNode=function(Te){var Ee;if(!Te.isClosed)return Ee="",this.writerOptions.state=re.CloseTag,Te.type===le.Element?Ee=this.writer.indent(Te,this.writerOptions,this.currentLevel)+""+this.writer.endline(Te,this.writerOptions,this.currentLevel):Ee=this.writer.indent(Te,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(Te,this.writerOptions,this.currentLevel),this.writerOptions.state=re.None,this.onData(Ee,this.currentLevel),Te.isClosed=!0},Ce.prototype.onData=function(Te,Ee){return this.documentStarted=!0,this.onDataCallback(Te,Ee+1)},Ce.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},Ce.prototype.debugInfo=function(Te){return Te==null?"":"node: <"+Te+">"},Ce.prototype.ele=function(){return this.element.apply(this,arguments)},Ce.prototype.nod=function(Te,Ee,Re){return this.node(Te,Ee,Re)},Ce.prototype.txt=function(Te){return this.text(Te)},Ce.prototype.dat=function(Te){return this.cdata(Te)},Ce.prototype.com=function(Te){return this.comment(Te)},Ce.prototype.ins=function(Te,Ee){return this.instruction(Te,Ee)},Ce.prototype.dec=function(Te,Ee,Re){return this.declaration(Te,Ee,Re)},Ce.prototype.dtd=function(Te,Ee,Re){return this.doctype(Te,Ee,Re)},Ce.prototype.e=function(Te,Ee,Re){return this.element(Te,Ee,Re)},Ce.prototype.n=function(Te,Ee,Re){return this.node(Te,Ee,Re)},Ce.prototype.t=function(Te){return this.text(Te)},Ce.prototype.d=function(Te){return this.cdata(Te)},Ce.prototype.c=function(Te){return this.comment(Te)},Ce.prototype.r=function(Te){return this.raw(Te)},Ce.prototype.i=function(Te,Ee){return this.instruction(Te,Ee)},Ce.prototype.att=function(){return this.currentNode&&this.currentNode.type===le.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ce.prototype.a=function(){return this.currentNode&&this.currentNode.type===le.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ce.prototype.ent=function(Te,Ee){return this.entity(Te,Ee)},Ce.prototype.pent=function(Te,Ee){return this.pEntity(Te,Ee)},Ce.prototype.not=function(Te,Ee){return this.notation(Te,Ee)},Ce}()}).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,fe){(function(){var le,re,se,ie=function(ae,oe){for(var ne in oe)ue.call(oe,ne)&&(ae[ne]=oe[ne]);function ee(){this.constructor=ae}return ee.prototype=oe.prototype,ae.prototype=new ee,ae.__super__=oe.prototype,ae},ue={}.hasOwnProperty;se=E("./XMLNode"),le=E("./NodeType"),pe.exports=re=function(ae){ie(oe,ae);function oe(ne){oe.__super__.constructor.call(this,ne),this.type=le.Dummy}return oe.prototype.clone=function(){return Object.create(this)},oe.prototype.toString=function(ne){return""},oe}(se)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(E,pe,fe){(function(){var le,re,se,ie,ue,ae,oe,ne,ee,a=function(x,b){for(var z in b)y.call(b,z)&&(x[z]=b[z]);function te(){this.constructor=x}return te.prototype=b.prototype,x.prototype=new te,x.__super__=b.prototype,x},y={}.hasOwnProperty;ee=E("./Utility"),ne=ee.isObject,oe=ee.isFunction,ae=ee.getValue,ue=E("./XMLNode"),le=E("./NodeType"),re=E("./XMLAttribute"),ie=E("./XMLNamedNodeMap"),pe.exports=se=function(x){a(b,x);function b(z,te,ce){var ge,he,ve,me;if(b.__super__.constructor.call(this,z),te==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(te),this.type=le.Element,this.attribs={},this.schemaTypeInfo=null,ce!=null&&this.attribute(ce),z.type===le.Document&&(this.isRoot=!0,this.documentObject=z,z.rootObject=this,z.children)){for(me=z.children,he=0,ve=me.length;he=ge;te=0<=ge?++ce:--ce)if(!this.attribs[te].isEqualNode(z.attribs[te]))return!1;return!0},b}(ue)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(E,pe,fe){(function(){var le;pe.exports=le=function(){function re(se){this.nodes=se}return Object.defineProperty(re.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),re.prototype.clone=function(){return this.nodes=null},re.prototype.getNamedItem=function(se){return this.nodes[se]},re.prototype.setNamedItem=function(se){var ie;return ie=this.nodes[se.nodeName],this.nodes[se.nodeName]=se,ie||null},re.prototype.removeNamedItem=function(se){var ie;return ie=this.nodes[se],delete this.nodes[se],ie||null},re.prototype.item=function(se){return this.nodes[Object.keys(this.nodes)[se]]||null},re.prototype.getNamedItemNS=function(se,ie){throw new Error("This DOM method is not implemented.")},re.prototype.setNamedItemNS=function(se){throw new Error("This DOM method is not implemented.")},re.prototype.removeNamedItemNS=function(se,ie){throw new Error("This DOM method is not implemented.")},re}()}).call(this)},{}],450:[function(E,pe,fe){(function(){var le,re,se,ie,ue,ae,oe,ne,ee,a,y,x,b,z,te,ce,ge,he,ve,me={}.hasOwnProperty;ve=E("./Utility"),he=ve.isObject,ge=ve.isFunction,ce=ve.isEmpty,te=ve.getValue,ne=null,se=null,ie=null,ue=null,ae=null,b=null,z=null,x=null,oe=null,re=null,y=null,ee=null,le=null,pe.exports=a=function(){function be(ye){this.parent=ye,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,ne||(ne=E("./XMLElement"),se=E("./XMLCData"),ie=E("./XMLComment"),ue=E("./XMLDeclaration"),ae=E("./XMLDocType"),b=E("./XMLRaw"),z=E("./XMLText"),x=E("./XMLProcessingInstruction"),oe=E("./XMLDummy"),re=E("./NodeType"),y=E("./XMLNodeList"),ee=E("./XMLNamedNodeMap"),le=E("./DocumentPosition"))}return Object.defineProperty(be.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(be.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(be.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(be.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(be.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new y(this.children)),this.childNodeList}}),Object.defineProperty(be.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(be.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(be.prototype,"previousSibling",{get:function(){var ye;return ye=this.parent.children.indexOf(this),this.parent.children[ye-1]||null}}),Object.defineProperty(be.prototype,"nextSibling",{get:function(){var ye;return ye=this.parent.children.indexOf(this),this.parent.children[ye+1]||null}}),Object.defineProperty(be.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(be.prototype,"textContent",{get:function(){var ye,Pe,we,Le,Ce;if(this.nodeType===re.Element||this.nodeType===re.DocumentFragment){for(Ce="",Le=this.children,Pe=0,we=Le.length;Pe":(we=this.parent)!=null&&we.name?"node: <"+ye+">, parent: <"+this.parent.name+">":"node: <"+ye+">"},be.prototype.ele=function(ye,Pe,we){return this.element(ye,Pe,we)},be.prototype.nod=function(ye,Pe,we){return this.node(ye,Pe,we)},be.prototype.txt=function(ye){return this.text(ye)},be.prototype.dat=function(ye){return this.cdata(ye)},be.prototype.com=function(ye){return this.comment(ye)},be.prototype.ins=function(ye,Pe){return this.instruction(ye,Pe)},be.prototype.doc=function(){return this.document()},be.prototype.dec=function(ye,Pe,we){return this.declaration(ye,Pe,we)},be.prototype.e=function(ye,Pe,we){return this.element(ye,Pe,we)},be.prototype.n=function(ye,Pe,we){return this.node(ye,Pe,we)},be.prototype.t=function(ye){return this.text(ye)},be.prototype.d=function(ye){return this.cdata(ye)},be.prototype.c=function(ye){return this.comment(ye)},be.prototype.r=function(ye){return this.raw(ye)},be.prototype.i=function(ye,Pe){return this.instruction(ye,Pe)},be.prototype.u=function(){return this.up()},be.prototype.importXMLBuilder=function(ye){return this.importDocument(ye)},be.prototype.replaceChild=function(ye,Pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.removeChild=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.appendChild=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.hasChildNodes=function(){return this.children.length!==0},be.prototype.cloneNode=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.isSupported=function(ye,Pe){return!0},be.prototype.hasAttributes=function(){return this.attribs.length!==0},be.prototype.compareDocumentPosition=function(ye){var Pe,we;return Pe=this,Pe===ye?0:this.document()!==ye.document()?(we=le.Disconnected|le.ImplementationSpecific,Math.random()<.5?we|=le.Preceding:we|=le.Following,we):Pe.isAncestor(ye)?le.Contains|le.Preceding:Pe.isDescendant(ye)?le.Contains|le.Following:Pe.isPreceding(ye)?le.Preceding:le.Following},be.prototype.isSameNode=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.lookupPrefix=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.isDefaultNamespace=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.lookupNamespaceURI=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.isEqualNode=function(ye){var Pe,we,Le;if(ye.nodeType!==this.nodeType||ye.children.length!==this.children.length)return!1;for(Pe=we=0,Le=this.children.length-1;0<=Le?we<=Le:we>=Le;Pe=0<=Le?++we:--we)if(!this.children[Pe].isEqualNode(ye.children[Pe]))return!1;return!0},be.prototype.getFeature=function(ye,Pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.setUserData=function(ye,Pe,we){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.getUserData=function(ye){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.contains=function(ye){return ye?ye===this||this.isDescendant(ye):!1},be.prototype.isDescendant=function(ye){var Pe,we,Le,Ce,Te;for(Te=this.children,Le=0,Ce=Te.length;Lewe},be.prototype.treePosition=function(ye){var Pe,we;return we=0,Pe=!1,this.foreachTreeNode(this.document(),function(Le){if(we++,!Pe&&Le===ye)return Pe=!0}),Pe?we:-1},be.prototype.foreachTreeNode=function(ye,Pe){var we,Le,Ce,Te,Ee;for(ye||(ye=this.document()),Te=ye.children,Le=0,Ce=Te.length;Le0){for(this.stream.write(" ["),this.stream.write(this.endline(ee,a,y)),a.state=re.InsideTag,te=ee.children,b=0,z=te.length;b"),this.stream.write(this.endline(ee,a,y)),a.state=re.None,this.closeNode(ee,a,y)},ne.prototype.element=function(ee,a,y){var x,b,z,te,ce,ge,he,ve,me,be;y||(y=0),this.openNode(ee,a,y),a.state=re.OpenTag,this.stream.write(this.indent(ee,a,y)+"<"+ee.name),me=ee.attribs;for(he in me)ae.call(me,he)&&(x=me[he],this.attribute(x,a,y));if(z=ee.children.length,te=z===0?null:ee.children[0],z===0||ee.children.every(function(ye){return(ye.type===le.Text||ye.type===le.Raw)&&ye.value===""}))a.allowEmpty?(this.stream.write(">"),a.state=re.CloseTag,this.stream.write("")):(a.state=re.CloseTag,this.stream.write(a.spaceBeforeSlash+"/>"));else if(a.pretty&&z===1&&(te.type===le.Text||te.type===le.Raw)&&te.value!=null)this.stream.write(">"),a.state=re.InsideTag,a.suppressPrettyCount++,ve=!0,this.writeChildNode(te,a,y+1),a.suppressPrettyCount--,ve=!1,a.state=re.CloseTag,this.stream.write("");else{for(this.stream.write(">"+this.endline(ee,a,y)),a.state=re.InsideTag,be=ee.children,ce=0,ge=be.length;ce")}return this.stream.write(this.endline(ee,a,y)),a.state=re.None,this.closeNode(ee,a,y)},ne.prototype.processingInstruction=function(ee,a,y){return this.stream.write(ne.__super__.processingInstruction.call(this,ee,a,y))},ne.prototype.raw=function(ee,a,y){return this.stream.write(ne.__super__.raw.call(this,ee,a,y))},ne.prototype.text=function(ee,a,y){return this.stream.write(ne.__super__.text.call(this,ee,a,y))},ne.prototype.dtdAttList=function(ee,a,y){return this.stream.write(ne.__super__.dtdAttList.call(this,ee,a,y))},ne.prototype.dtdElement=function(ee,a,y){return this.stream.write(ne.__super__.dtdElement.call(this,ee,a,y))},ne.prototype.dtdEntity=function(ee,a,y){return this.stream.write(ne.__super__.dtdEntity.call(this,ee,a,y))},ne.prototype.dtdNotation=function(ee,a,y){return this.stream.write(ne.__super__.dtdNotation.call(this,ee,a,y))},ne}(ie)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(E,pe,fe){(function(){var le,re,se=function(ue,ae){for(var oe in ae)ie.call(ae,oe)&&(ue[oe]=ae[oe]);function ne(){this.constructor=ue}return ne.prototype=ae.prototype,ue.prototype=new ne,ue.__super__=ae.prototype,ue},ie={}.hasOwnProperty;re=E("./XMLWriterBase"),pe.exports=le=function(ue){se(ae,ue);function ae(oe){ae.__super__.constructor.call(this,oe)}return ae.prototype.document=function(oe,ne){var ee,a,y,x,b;for(ne=this.filterOptions(ne),x="",b=oe.children,a=0,y=b.length;a","]]]]>"),this.assertLegalChar(ue))},ie.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)},ie.prototype.raw=function(ue){return this.options.noValidation?ue:""+ue||""},ie.prototype.attValue=function(ue){return this.options.noValidation?ue:this.assertLegalChar(this.attEscape(ue=""+ue||""))},ie.prototype.insTarget=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ie.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)},ie.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},ie.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)},ie.prototype.xmlStandalone=function(ue){return this.options.noValidation?ue:ue?"yes":"no"},ie.prototype.dtdPubID=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ie.prototype.dtdSysID=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ie.prototype.dtdElementValue=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ie.prototype.dtdAttType=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ie.prototype.dtdAttDefault=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ie.prototype.dtdEntityValue=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ie.prototype.dtdNData=function(ue){return this.options.noValidation?ue:this.assertLegalChar(""+ue||"")},ie.prototype.convertAttKey="@",ie.prototype.convertPIKey="?",ie.prototype.convertTextKey="#text",ie.prototype.convertCDataKey="#cdata",ie.prototype.convertCommentKey="#comment",ie.prototype.convertRawKey="#raw",ie.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},ie.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},ie.prototype.textEscape=function(ue){var ae;return this.options.noValidation?ue:(ae=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ue.replace(ae,"&").replace(//g,">").replace(/\r/g," "))},ie.prototype.attEscape=function(ue){var ae;return this.options.noValidation?ue:(ae=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,ue.replace(ae,"&").replace(/0)?new Array(Pe).join(be.indent):""},ve.prototype.endline=function(me,be,ye){return!be.pretty||be.suppressPrettyCount?"":be.newline},ve.prototype.attribute=function(me,be,ye){var Pe;return this.openAttribute(me,be,ye),Pe=" "+me.name+'="'+me.value+'"',this.closeAttribute(me,be,ye),Pe},ve.prototype.cdata=function(me,be,ye){var Pe;return this.openNode(me,be,ye),be.state=re.OpenTag,Pe=this.indent(me,be,ye)+""+this.endline(me,be,ye),be.state=re.None,this.closeNode(me,be,ye),Pe},ve.prototype.comment=function(me,be,ye){var Pe;return this.openNode(me,be,ye),be.state=re.OpenTag,Pe=this.indent(me,be,ye)+""+this.endline(me,be,ye),be.state=re.None,this.closeNode(me,be,ye),Pe},ve.prototype.declaration=function(me,be,ye){var Pe;return this.openNode(me,be,ye),be.state=re.OpenTag,Pe=this.indent(me,be,ye)+"",Pe+=this.endline(me,be,ye),be.state=re.None,this.closeNode(me,be,ye),Pe},ve.prototype.docType=function(me,be,ye){var Pe,we,Le,Ce,Te;if(ye||(ye=0),this.openNode(me,be,ye),be.state=re.OpenTag,Ce=this.indent(me,be,ye),Ce+="0){for(Ce+=" [",Ce+=this.endline(me,be,ye),be.state=re.InsideTag,Te=me.children,we=0,Le=Te.length;we",Ce+=this.endline(me,be,ye),be.state=re.None,this.closeNode(me,be,ye),Ce},ve.prototype.element=function(me,be,ye){var Pe,we,Le,Ce,Te,Ee,Re,De,ke,Ie,qe,Qe,Je,Ye;ye||(ye=0),Ie=!1,qe="",this.openNode(me,be,ye),be.state=re.OpenTag,qe+=this.indent(me,be,ye)+"<"+me.name,Qe=me.attribs;for(ke in Qe)he.call(Qe,ke)&&(Pe=Qe[ke],qe+=this.attribute(Pe,be,ye));if(Le=me.children.length,Ce=Le===0?null:me.children[0],Le===0||me.children.every(function(He){return(He.type===le.Text||He.type===le.Raw)&&He.value===""}))be.allowEmpty?(qe+=">",be.state=re.CloseTag,qe+=""+this.endline(me,be,ye)):(be.state=re.CloseTag,qe+=be.spaceBeforeSlash+"/>"+this.endline(me,be,ye));else if(be.pretty&&Le===1&&(Ce.type===le.Text||Ce.type===le.Raw)&&Ce.value!=null)qe+=">",be.state=re.InsideTag,be.suppressPrettyCount++,Ie=!0,qe+=this.writeChildNode(Ce,be,ye+1),be.suppressPrettyCount--,Ie=!1,be.state=re.CloseTag,qe+=""+this.endline(me,be,ye);else{if(be.dontPrettyTextNodes){for(Je=me.children,Te=0,Re=Je.length;Te"+this.endline(me,be,ye),be.state=re.InsideTag,Ye=me.children,Ee=0,De=Ye.length;Ee",Ie&&be.suppressPrettyCount--,qe+=this.endline(me,be,ye),be.state=re.None}return this.closeNode(me,be,ye),qe},ve.prototype.writeChildNode=function(me,be,ye){switch(me.type){case le.CData:return this.cdata(me,be,ye);case le.Comment:return this.comment(me,be,ye);case le.Element:return this.element(me,be,ye);case le.Raw:return this.raw(me,be,ye);case le.Text:return this.text(me,be,ye);case le.ProcessingInstruction:return this.processingInstruction(me,be,ye);case le.Dummy:return"";case le.Declaration:return this.declaration(me,be,ye);case le.DocType:return this.docType(me,be,ye);case le.AttributeDeclaration:return this.dtdAttList(me,be,ye);case le.ElementDeclaration:return this.dtdElement(me,be,ye);case le.EntityDeclaration:return this.dtdEntity(me,be,ye);case le.NotationDeclaration:return this.dtdNotation(me,be,ye);default:throw new Error("Unknown XML node type: "+me.constructor.name)}},ve.prototype.processingInstruction=function(me,be,ye){var Pe;return this.openNode(me,be,ye),be.state=re.OpenTag,Pe=this.indent(me,be,ye)+"",Pe+=this.endline(me,be,ye),be.state=re.None,this.closeNode(me,be,ye),Pe},ve.prototype.raw=function(me,be,ye){var Pe;return this.openNode(me,be,ye),be.state=re.OpenTag,Pe=this.indent(me,be,ye),be.state=re.InsideTag,Pe+=me.value,be.state=re.CloseTag,Pe+=this.endline(me,be,ye),be.state=re.None,this.closeNode(me,be,ye),Pe},ve.prototype.text=function(me,be,ye){var Pe;return this.openNode(me,be,ye),be.state=re.OpenTag,Pe=this.indent(me,be,ye),be.state=re.InsideTag,Pe+=me.value,be.state=re.CloseTag,Pe+=this.endline(me,be,ye),be.state=re.None,this.closeNode(me,be,ye),Pe},ve.prototype.dtdAttList=function(me,be,ye){var Pe;return this.openNode(me,be,ye),be.state=re.OpenTag,Pe=this.indent(me,be,ye)+""+this.endline(me,be,ye),be.state=re.None,this.closeNode(me,be,ye),Pe},ve.prototype.dtdElement=function(me,be,ye){var Pe;return this.openNode(me,be,ye),be.state=re.OpenTag,Pe=this.indent(me,be,ye)+""+this.endline(me,be,ye),be.state=re.None,this.closeNode(me,be,ye),Pe},ve.prototype.dtdEntity=function(me,be,ye){var Pe;return this.openNode(me,be,ye),be.state=re.OpenTag,Pe=this.indent(me,be,ye)+""+this.endline(me,be,ye),be.state=re.None,this.closeNode(me,be,ye),Pe},ve.prototype.dtdNotation=function(me,be,ye){var Pe;return this.openNode(me,be,ye),be.state=re.OpenTag,Pe=this.indent(me,be,ye)+""+this.endline(me,be,ye),be.state=re.None,this.closeNode(me,be,ye),Pe},ve.prototype.openNode=function(me,be,ye){},ve.prototype.closeNode=function(me,be,ye){},ve.prototype.openAttribute=function(me,be,ye){},ve.prototype.closeAttribute=function(me,be,ye){},ve}()}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLCData":432,"./XMLComment":434,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLDeclaration":443,"./XMLDocType":444,"./XMLDummy":447,"./XMLElement":448,"./XMLProcessingInstruction":452,"./XMLRaw":453,"./XMLText":457}],459:[function(E,pe,fe){(function(){var le,re,se,ie,ue,ae,oe,ne,ee,a;a=E("./Utility"),ne=a.assign,ee=a.isFunction,se=E("./XMLDOMImplementation"),ie=E("./XMLDocument"),ue=E("./XMLDocumentCB"),oe=E("./XMLStringWriter"),ae=E("./XMLStreamWriter"),le=E("./NodeType"),re=E("./WriterState"),pe.exports.create=function(y,x,b,z){var te,ce;if(y==null)throw new Error("Root element needs a name.");return z=ne({},x,b,z),te=new ie(z),ce=te.element(y),z.headless||(te.declaration(z),(z.pubID!=null||z.sysID!=null)&&te.dtd(z)),ce},pe.exports.begin=function(y,x,b){var z;return ee(y)&&(z=[y,x],x=z[0],b=z[1],y={}),x?new ue(y,x,b):new ie(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 se,pe.exports.nodeType=le,pe.exports.writerState=re}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(E,pe,fe){pe.exports=re;var le=Object.prototype.hasOwnProperty;function re(){for(var se={},ie=0;ieue?y=a(y):y.length>5]|=128<>>9<<4)+14]=x;for(var b=1732584193,z=-271733879,te=-1732584194,ce=271733878,ge=0;ge>16)+(x>>16)+(b>>16);return z<<16|b&65535}function a(y,x){return y<>>32-x}pe.exports=function(x){return le.hash(x,se,16)}},{"./helpers":462}],464:[function(E,pe,fe){"use strict";var le=E("./helpers");function re(oe,ne){oe[ne>>5]|=128<<24-ne%32,oe[(ne+64>>9<<4)+15]=ne;for(var ee=Array(80),a=1732584193,y=-271733879,x=-1732584194,b=271733878,z=-1009589776,te=0;te>16)+(ne>>16)+(ee>>16);return a<<16|ee&65535}function ae(oe,ne){return oe<>>32-ne}pe.exports=function(ne){return le.hash(ne,re,20,!0)}},{"./helpers":462}],465:[function(E,pe,fe){"use strict";pe.exports=function(){return function(){}}},{}],466:[function(E,pe,fe){(function(le){(function(){"use strict";var re=E("@babel/runtime/helpers/interopRequireDefault"),se=re(E("@babel/runtime/helpers/typeof")),ie=E("stream"),ue=ie.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=le.isBuffer;function ne(ee){return ee instanceof ue}pe.exports.writableStream=function(a){return ne(a)&&typeof a._write=="function"&&(0,se.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,fe){"use strict";var le=E("immediate"),re=pe.exports={};re.nextTick=le,re.title="browser",re.browser=!0,re.env={},re.argv=[],re.version="",re.versions={};function se(){}re.on=se,re.addListener=se,re.once=se,re.off=se,re.removeListener=se,re.removeAllListeners=se,re.emit=se,re.prependListener=se,re.prependOnceListener=se,re.listeners=function(ie){return[]},re.binding=function(ie){throw new Error("process.binding is not supported")},re.cwd=function(){return"/"},re.chdir=function(ie){throw new Error("process.chdir is not supported")},re.umask=function(){return 0}},{immediate:358}],468:[function(E,pe,fe){(function(le){(function(){"use strict";E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js");var re=E("./lib/request"),se=E("./lib/response"),ie=E("xtend"),ue=E("builtin-status-codes"),ae=E("url"),oe=fe;oe.request=function(ne,ee){typeof ne=="string"?ne=ae.parse(ne):ne=ie(ne);var a=le.location.protocol.search(/^https?:$/)===-1?"http:":"",y=ne.protocol||a,x=ne.hostname||ne.host,b=ne.port,z=ne.path||"/";x&&x.indexOf(":")!==-1&&(x="["+x+"]"),ne.url=(x?y+"//"+x:"")+(b?":"+b:"")+z,ne.method=(ne.method||"GET").toUpperCase(),ne.headers=ne.headers||{};var te=new re(ne);return ee&&te.on("response",ee),te},oe.get=function(ee,a){var y=oe.request(ee,a);return y.end(),y},oe.ClientRequest=re,oe.IncomingMessage=se.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 ft!="undefined"?ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":470,"./lib/response":471,"builtin-status-codes":91,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.search.js":306,url:472,xtend:460}],469:[function(E,pe,fe){(function(le){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),E("core-js/modules/es.array-buffer.constructor.js"),E("core-js/modules/es.array-buffer.slice.js"),E("core-js/modules/es.array.slice.js"),fe.fetch=oe(le.fetch)&&oe(le.ReadableStream),fe.writableStream=oe(le.WritableStream),fe.abortController=oe(le.AbortController),fe.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),fe.blobConstructor=!0}catch(ne){}var re;function se(){if(re!==void 0)return re;if(le.XMLHttpRequest){re=new le.XMLHttpRequest;try{re.open("GET",le.XDomainRequest?"/":"https://example.com")}catch(ne){re=null}}else re=null;return re}function ie(ne){var ee=se();if(!ee)return!1;try{return ee.responseType=ne,ee.responseType===ne}catch(a){}return!1}var ue=typeof le.ArrayBuffer!="undefined",ae=ue&&oe(le.ArrayBuffer.prototype.slice);fe.arraybuffer=fe.fetch||ue&&ie("arraybuffer"),fe.msstream=!fe.fetch&&ae&&ie("ms-stream"),fe.mozchunkedarraybuffer=!fe.fetch&&ue&&ie("moz-chunked-arraybuffer"),fe.overrideMimeType=fe.fetch||(se()?oe(se().overrideMimeType):!1),fe.vbArray=oe(le.VBArray);function oe(ne){return typeof ne=="function"}re=null}).call(this)}).call(this,typeof ft!="undefined"?ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"core-js/modules/es.array-buffer.constructor.js":270,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],470:[function(E,pe,fe){(function(le,re,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"),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 ie=E("./capability"),ue=E("inherits"),ae=E("./response"),oe=E("readable-stream"),ne=E("to-arraybuffer"),ee=ae.IncomingMessage,a=ae.readyStates;function y(te,ce){return ie.fetch&&ce?"fetch":ie.mozchunkedarraybuffer?"moz-chunked-arraybuffer":ie.msstream?"ms-stream":ie.arraybuffer&&te?"arraybuffer":ie.vbArray&&te?"text:vbarray":"text"}var x=pe.exports=function(te){var ce=this;oe.Writable.call(ce),ce._opts=te,ce._body=[],ce._headers={},te.auth&&ce.setHeader("Authorization","Basic "+new se(te.auth).toString("base64")),Object.keys(te.headers).forEach(function(ve){ce.setHeader(ve,te.headers[ve])});var ge,he=!0;if(te.mode==="disable-fetch"||"requestTimeout"in te&&!ie.abortController)he=!1,ge=!0;else if(te.mode==="prefer-streaming")ge=!1;else if(te.mode==="allow-wrong-content-type")ge=!ie.overrideMimeType;else if(!te.mode||te.mode==="default"||te.mode==="prefer-fast")ge=!0;else throw new Error("Invalid value for opts.mode");ce._mode=y(ge,he),ce._fetchTimer=null,ce.on("finish",function(){ce._onFinish()})};ue(x,oe.Writable),x.prototype.setHeader=function(te,ce){var ge=this,he=te.toLowerCase();z.indexOf(he)===-1&&(ge._headers[he]={name:te,value:ce})},x.prototype.getHeader=function(te){var ce=this._headers[te.toLowerCase()];return ce?ce.value:null},x.prototype.removeHeader=function(te){var ce=this;delete ce._headers[te.toLowerCase()]},x.prototype._onFinish=function(){var te=this;if(!te._destroyed){var ce=te._opts,ge=te._headers,he=null;ce.method!=="GET"&&ce.method!=="HEAD"&&(ie.arraybuffer?he=ne(se.concat(te._body)):ie.blobConstructor?he=new re.Blob(te._body.map(function(we){return ne(we)}),{type:(ge["content-type"]||{}).value||""}):he=se.concat(te._body).toString());var ve=[];if(Object.keys(ge).forEach(function(we){var Le=ge[we].name,Ce=ge[we].value;Array.isArray(Ce)?Ce.forEach(function(Te){ve.push([Le,Te])}):ve.push([Le,Ce])}),te._mode==="fetch"){var me=null,be=null;if(ie.abortController){var ye=new AbortController;me=ye.signal,te._fetchAbortController=ye,"requestTimeout"in ce&&ce.requestTimeout!==0&&(te._fetchTimer=re.setTimeout(function(){te.emit("requestTimeout"),te._fetchAbortController&&te._fetchAbortController.abort()},ce.requestTimeout))}re.fetch(te._opts.url,{method:te._opts.method,headers:ve,body:he||void 0,mode:"cors",credentials:ce.withCredentials?"include":"same-origin",signal:me}).then(function(we){te._fetchResponse=we,te._connect()},function(we){re.clearTimeout(te._fetchTimer),te._destroyed||te.emit("error",we)})}else{var Pe=te._xhr=new re.XMLHttpRequest;try{Pe.open(te._opts.method,te._opts.url,!0)}catch(we){le.nextTick(function(){te.emit("error",we)});return}"responseType"in Pe&&(Pe.responseType=te._mode.split(":")[0]),"withCredentials"in Pe&&(Pe.withCredentials=!!ce.withCredentials),te._mode==="text"&&"overrideMimeType"in Pe&&Pe.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in ce&&(Pe.timeout=ce.requestTimeout,Pe.ontimeout=function(){te.emit("requestTimeout")}),ve.forEach(function(we){Pe.setRequestHeader(we[0],we[1])}),te._response=null,Pe.onreadystatechange=function(){switch(Pe.readyState){case a.LOADING:case a.DONE:te._onXHRProgress();break}},te._mode==="moz-chunked-arraybuffer"&&(Pe.onprogress=function(){te._onXHRProgress()}),Pe.onerror=function(){te._destroyed||te.emit("error",new Error("XHR error"))};try{Pe.send(he)}catch(we){le.nextTick(function(){te.emit("error",we)});return}}}};function b(te){try{var ce=te.status;return ce!==null&&ce!==0}catch(ge){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 ee(te._xhr,te._fetchResponse,te._mode,te._fetchTimer),te._response.on("error",function(ce){te.emit("error",ce)}),te.emit("response",te._response))},x.prototype._write=function(te,ce,ge){var he=this;he._body.push(te),ge()},x.prototype.abort=x.prototype.destroy=function(){var te=this;te._destroyed=!0,re.clearTimeout(te._fetchTimer),te._response&&(te._response._destroyed=!0),te._xhr?te._xhr.abort():te._fetchAbortController&&te._fetchAbortController.abort()},x.prototype.end=function(te,ce,ge){var he=this;typeof te=="function"&&(ge=te,te=void 0),oe.Writable.prototype.end.call(he,te,ce,ge)},x.prototype.flushHeaders=function(){},x.prototype.setTimeout=function(){},x.prototype.setNoDelay=function(){},x.prototype.setSocketKeepAlive=function(){};var z=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this)}).call(this,E("_process"),typeof ft!="undefined"?ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("buffer").Buffer)},{"./capability":469,"./response":471,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.map.js":280,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.regexp.to-string.js":301,"core-js/modules/es.string.split.js":307,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394,"to-arraybuffer":415}],471:[function(E,pe,fe){(function(le,re,se){(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 ie=E("./capability"),ue=E("inherits"),ae=E("readable-stream"),oe=fe.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},ne=fe.IncomingMessage=function(ee,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(){le.nextTick(function(){b.emit("close")})}),y==="fetch"){var z=function me(){ce.read().then(function(be){if(!b._destroyed){if(be.done){re.clearTimeout(x),b.push(null);return}b.push(new se(be.value)),me()}}).catch(function(be){re.clearTimeout(x),b._destroyed||b.emit("error",be)})};if(b._fetchResponse=a,b.url=a.url,b.statusCode=a.status,b.statusMessage=a.statusText,a.headers.forEach(function(me,be){b.headers[be.toLowerCase()]=me,b.rawHeaders.push(be,me)}),ie.writableStream){var te=new WritableStream({write:function(be){return new Promise(function(ye,Pe){b._destroyed?Pe():b.push(new se(be))?ye():b._resumeFetch=ye})},close:function(){re.clearTimeout(x),b._destroyed||b.push(null)},abort:function(be){b._destroyed||b.emit("error",be)}});try{a.body.pipeTo(te).catch(function(me){re.clearTimeout(x),b._destroyed||b.emit("error",me)});return}catch(me){}}var ce=a.body.getReader();z()}else{b._xhr=ee,b._pos=0,b.url=ee.responseURL,b.statusCode=ee.status,b.statusMessage=ee.statusText;var ge=ee.getAllResponseHeaders().split(/\r?\n/);if(ge.forEach(function(me){var be=me.match(/^([^:]+):\s*(.*)/);if(be){var ye=be[1].toLowerCase();ye==="set-cookie"?(b.headers[ye]===void 0&&(b.headers[ye]=[]),b.headers[ye].push(be[2])):b.headers[ye]!==void 0?b.headers[ye]+=", "+be[2]:b.headers[ye]=be[2],b.rawHeaders.push(be[1],be[2])}}),b._charset="x-user-defined",!ie.overrideMimeType){var he=b.rawHeaders["mime-type"];if(he){var ve=he.match(/;\s*charset=([^;])(;|$)/);ve&&(b._charset=ve[1].toLowerCase())}b._charset||(b._charset="utf-8")}}};ue(ne,ae.Readable),ne.prototype._read=function(){var ee=this,a=ee._resumeFetch;a&&(ee._resumeFetch=null,a())},ne.prototype._onXHRProgress=function(){var ee=this,a=ee._xhr,y=null;switch(ee._mode){case"text:vbarray":if(a.readyState!==oe.DONE)break;try{y=new re.VBArray(a.responseBody).toArray()}catch(ce){}if(y!==null){ee.push(new se(y));break}case"text":try{y=a.responseText}catch(ce){ee._mode="text:vbarray";break}if(y.length>ee._pos){var x=y.substr(ee._pos);if(ee._charset==="x-user-defined"){for(var b=new se(x.length),z=0;zee._pos&&(ee.push(new se(new Uint8Array(te.result.slice(ee._pos)))),ee._pos=te.result.byteLength)},te.onload=function(){ee.push(null)},te.readAsArrayBuffer(y);break}ee._xhr.readyState===oe.DONE&&ee._mode!=="ms-stream"&&ee.push(null)}}).call(this)}).call(this,E("_process"),typeof ft!="undefined"?ft:typeof self!="undefined"?self:typeof window!="undefined"?window:{},E("buffer").Buffer)},{"./capability":469,_process:467,buffer:90,"core-js/modules/es.array-buffer.slice.js":271,"core-js/modules/es.array.iterator.js":278,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.split.js":307,"core-js/modules/es.typed-array.copy-within.js":315,"core-js/modules/es.typed-array.every.js":316,"core-js/modules/es.typed-array.fill.js":317,"core-js/modules/es.typed-array.filter.js":318,"core-js/modules/es.typed-array.find-index.js":319,"core-js/modules/es.typed-array.find.js":320,"core-js/modules/es.typed-array.for-each.js":321,"core-js/modules/es.typed-array.includes.js":322,"core-js/modules/es.typed-array.index-of.js":323,"core-js/modules/es.typed-array.iterator.js":324,"core-js/modules/es.typed-array.join.js":325,"core-js/modules/es.typed-array.last-index-of.js":326,"core-js/modules/es.typed-array.map.js":327,"core-js/modules/es.typed-array.reduce-right.js":328,"core-js/modules/es.typed-array.reduce.js":329,"core-js/modules/es.typed-array.reverse.js":330,"core-js/modules/es.typed-array.set.js":331,"core-js/modules/es.typed-array.slice.js":332,"core-js/modules/es.typed-array.some.js":333,"core-js/modules/es.typed-array.sort.js":334,"core-js/modules/es.typed-array.subarray.js":335,"core-js/modules/es.typed-array.to-locale-string.js":336,"core-js/modules/es.typed-array.to-string.js":337,"core-js/modules/es.typed-array.uint8-array.js":338,"core-js/modules/web.dom-collections.for-each.js":339,inherits:364,"readable-stream":394}],472:[function(E,pe,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(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 se=E("punycode"),ie=E("./util");fe.parse=be,fe.resolve=Pe,fe.resolveObject=we,fe.format=ye,fe.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]*$/,ne=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ee=["<",">",'"',"`"," ","\r",` `," "],a=["{","}","|","\\","^","`"].concat(ee),y=["'"].concat(a),x=["%","/","?",";","#"].concat(y),b=["/","?","#"],z=255,te=/^[+a-z0-9A-Z_-]{0,63}$/,ce=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ge={javascript:!0,"javascript:":!0},he={javascript:!0,"javascript:":!0},ve={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},me=E("querystring");function be(Le,Ce,Te){if(Le&&ie.isObject(Le)&&Le instanceof ue)return Le;var Ee=new ue;return Ee.parse(Le,Ce,Te),Ee}ue.prototype.parse=function(Le,Ce,Te){if(!ie.isString(Le))throw new TypeError("Parameter 'url' must be a string, not "+(0,re.default)(Le));var Ee=Le.indexOf("?"),Re=Ee!==-1&&Ee127?Ve+="x":Ve+=Me[Ae];if(!Ve.match(te)){var $e=Xe.slice(0,Fe),Ze=Xe.slice(Fe+1),ze=Me.match(ce);ze&&($e.push(ze[1]),Ze.unshift(ze[2])),Ze.length&&(Ie="/"+Ze.join(".")+Ie),this.hostname=$e.join(".");break}}}this.hostname.length>z?this.hostname="":this.hostname=this.hostname.toLowerCase(),it||(this.hostname=se.toASCII(this.hostname));var _e=this.port?":"+this.port:"",Oe=this.hostname||"";this.host=Oe+_e,this.href+=this.host,it&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Ie[0]!=="/"&&(Ie="/"+Ie))}if(!ge[Je])for(var Fe=0,Ke=y.length;Fe0?Te.host.split("@"):!1;Ve&&(Te.auth=Ve.shift(),Te.host=Te.hostname=Ve.shift())}return Te.search=Le.search,Te.query=Le.query,(!ie.isNull(Te.pathname)||!ie.isNull(Te.search))&&(Te.path=(Te.pathname?Te.pathname:"")+(Te.search?Te.search:"")),Te.href=Te.format(),Te}if(!Xe.length)return Te.pathname=null,Te.search?Te.path="/"+Te.search:Te.path=null,Te.href=Te.format(),Te;for(var Ae=Xe.slice(-1)[0],Be=(Te.host||Le.host||Xe.length>1)&&(Ae==="."||Ae==="..")||Ae==="",$e=0,Ze=Xe.length;Ze>=0;Ze--)Ae=Xe[Ze],Ae==="."?Xe.splice(Ze,1):Ae===".."?(Xe.splice(Ze,1),$e++):$e&&(Xe.splice(Ze,1),$e--);if(!tt&&!it)for(;$e--;$e)Xe.unshift("..");tt&&Xe[0]!==""&&(!Xe[0]||Xe[0].charAt(0)!=="/")&&Xe.unshift(""),Be&&Xe.join("/").substr(-1)!=="/"&&Xe.push("");var ze=Xe[0]===""||Xe[0]&&Xe[0].charAt(0)==="/";if(Me){Te.hostname=Te.host=ze?"":Xe.length?Xe.shift():"";var Ve=Te.host&&Te.host.indexOf("@")>0?Te.host.split("@"):!1;Ve&&(Te.auth=Ve.shift(),Te.host=Te.hostname=Ve.shift())}return tt=tt||Te.host&&Xe.length,tt&&!ze&&Xe.unshift(""),Xe.length?Te.pathname=Xe.join("/"):(Te.pathname=null,Te.path=null),(!ie.isNull(Te.pathname)||!ie.isNull(Te.search))&&(Te.path=(Te.pathname?Te.pathname:"")+(Te.search?Te.search:"")),Te.auth=Le.auth||Te.auth,Te.slashes=Te.slashes||Le.slashes,Te.href=Te.format(),Te},ue.prototype.parseHost=function(){var Le=this.host,Ce=oe.exec(Le);Ce&&(Ce=Ce[0],Ce!==":"&&(this.port=Ce.substr(1)),Le=Le.substr(0,Le.length-Ce.length)),Le&&(this.hostname=Le)}},{"./util":473,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.join.js":279,"core-js/modules/es.array.slice.js":281,"core-js/modules/es.array.splice.js":283,"core-js/modules/es.object.keys.js":290,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.match.js":304,"core-js/modules/es.string.replace.js":305,"core-js/modules/es.string.search.js":306,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,punycode:382,querystring:385}],473:[function(E,pe,fe){"use strict";var le=E("@babel/runtime/helpers/interopRequireDefault"),re=le(E("@babel/runtime/helpers/typeof"));pe.exports={isString:function(ie){return typeof ie=="string"},isObject:function(ie){return(0,re.default)(ie)==="object"&&ie!==null},isNull:function(ie){return ie===null},isNullOrUndefined:function(ie){return ie==null}}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79}],474:[function(E,pe,fe){"use strict";E("core-js/modules/es.number.constructor.js"),fe.encodeURIComponent=function(le){try{return encodeURIComponent(le)}catch(re){return le}},fe.escape=E("escape-html"),fe.timestamp=function(re){if(re){var se=re;return typeof se=="string"&&(se=Number(se)),String(re).length===10&&(se*=1e3),new Date(se)}return Math.round(Date.now()/1e3)}},{"core-js/modules/es.number.constructor.js":286,"escape-html":343}],475:[function(E,pe,fe){(function(le,re){(function(){"use strict";var se=E("@babel/runtime/helpers/interopRequireDefault"),ie=se(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"),ne=E("https"),ee=E("debug")("urllib"),a=E("humanize-ms"),y=0,x=Math.pow(2,31)-10,b=/^https?:\/\//i;function z(he,ve){return he===void 0?ve:he}function te(he){return he?he.split(";")[0].trim().toLowerCase():""}function ce(he,ve){return function(me,be,ye){if(me)return ve(me);he({data:be,status:ye.statusCode,headers:ye.headers,res:ye})}}fe.TIMEOUTS=[a("300s"),a("300s")];var ge=["json","text"];fe.request=function(ve,me,be){return arguments.length===2&&typeof me=="function"&&(be=me,me=null),typeof be=="function"?fe.requestWithCallback(ve,me,be):new Promise(function(ye,Pe){fe.requestWithCallback(ve,me,ce(ye,Pe))})},fe.requestWithCallback=function(ve,me,be){if(!ve||typeof ve!="string"&&(0,ie.default)(ve)!=="object"){var ye=ue.format("expect request url to be a string or a http request options, but got %j",ve);throw new Error(ye)}arguments.length===2&&typeof me=="function"&&(be=me,me=null),me=me||{},y>=x&&(y=0);var Pe=++y;me.requestUrls=me.requestUrls||[];var we={requestId:Pe,url:ve,args:me,ctx:me.ctx};me.emitter&&me.emitter.emit("request",we),me.timeout=me.timeout||fe.TIMEOUTS,me.maxRedirects=me.maxRedirects||10,me.streaming=me.streaming||me.customResponse;var Le=Date.now(),Ce;typeof ve=="string"?(b.test(ve)||(ve="https://"+ve),Ce=ae.parse(ve)):Ce=ve;var Te=(me.type||me.method||Ce.method||"GET").toUpperCase(),Ee=Ce.port||80,Re=oe,De=z(me.agent,fe.agent),ke=me.fixJSONCtlChars;Ce.protocol==="https:"&&(Re=ne,De=z(me.httpsAgent,fe.httpsAgent),Ce.port||(Ee=443));var Ie={host:Ce.hostname||Ce.host||"localhost",path:Ce.path||"/",method:Te,port:Ee,agent:De,headers:me.headers||{},lookup:me.lookup};Array.isArray(me.timeout)?Ie.requestTimeout=me.timeout[me.timeout.length-1]:typeof me.timeout!="undefined"&&(Ie.requestTimeout=me.timeout);var qe=me.auth||Ce.auth;qe&&(Ie.auth=qe);var Qe=me.content||me.data,Je=Te==="GET"||Te==="HEAD"||me.dataAsQueryString;if(!me.content&&Qe&&!(typeof Qe=="string"||re.isBuffer(Qe)))if(Je)Qe=me.nestedQuerystring?qs.stringify(Qe):querystring.stringify(Qe);else{var Ye=Ie.headers["Content-Type"]||Ie.headers["content-type"];Ye||(me.contentType==="json"?Ye="application/json":Ye="application/x-www-form-urlencoded",Ie.headers["Content-Type"]=Ye),te(Ye)==="application/json"?Qe=JSON.stringify(Qe):Qe=me.nestedQuerystring?qs.stringify(Qe):querystring.stringify(Qe)}Je&&Qe&&(Ie.path+=(Ce.query?"&":"?")+Qe,Qe=null);var He=0;if(Qe){var Fe=Qe.length;re.isBuffer(Qe)||(Fe=re.byteLength(Qe)),He=Ie.headers["Content-Length"]=Fe}me.dataType==="json"&&(Ie.headers.Accept="application/json"),typeof me.beforeRequest=="function"&&me.beforeRequest(Ie);var je=null,et=null,tt=null,it=!1,Xe=!1,Ke=0,Me=-1,Ve=!1,Ae="",Be="",$e=null;me.timing&&($e={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function Ze(){je&&(clearTimeout(je),je=null)}function ze(){et&&(clearTimeout(et),et=null)}function _e(at,Et,st){if(ze(),!be){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),Pe,le.pid,Ie.method,ve),at&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s stack: %s`,Date(),Pe,le.pid,at.name,at.message,at.stack);return}var gt=be;be=null;var St={};st&&(Me=st.statusCode,St=st.headers);var wt=Date.now()-Le;$e&&($e.contentDownload=wt),ee("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",wt,Ke,Me,Ie.method,Ie.host,Ie.path,Xe,$e);var Tt={status:Me,statusCode:Me,headers:St,size:Ke,aborted:Ve,rt:wt,keepAliveSocket:Xe,data:Et,requestUrls:me.requestUrls,timing:$e,remoteAddress:Ae,remotePort:Be};if(at){var Wt="";De&&typeof De.getCurrentStatus=="function"&&(Wt=", agent status: "+JSON.stringify(De.getCurrentStatus())),at.message+=", "+Ie.method+" "+ve+" "+Me+" (connected: "+it+", keepalive socket: "+Xe+Wt+`) headers: `+JSON.stringify(St),at.data=Et,at.path=Ie.path,at.status=Me,at.headers=St,at.res=Tt}gt(at,Et,me.streaming?st:Tt),me.emitter&&(we.url=ve,we.socket=xt&&xt.connection,we.options=Ie,we.size=He,me.emitter.emit("response",{requestId:Pe,error:at,ctx:me.ctx,req:we,res:Tt}))}function Oe(at){var Et=null;if(me.followRedirect&&statuses.redirect[at.statusCode]){me._followRedirectCount=(me._followRedirectCount||0)+1;var st=at.headers.location;if(!st)Et=new Error("Got statusCode "+at.statusCode+" but cannot resolve next location from headers"),Et.name="FollowRedirectError";else if(me._followRedirectCount>me.maxRedirects)Et=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+ve),Et.name="MaxRedirectError";else{var gt=me.formatRedirectUrl?me.formatRedirectUrl(ve,st):ae.resolve(ve,st);ee("Request#%d %s: `redirected` from %s to %s",Pe,Ie.path,ve,gt),ze(),me.headers&&me.headers.Host&&b.test(st)&&(me.headers.Host=null);var St=be;return be=null,fe.requestWithCallback(gt,me,St),{redirect:!0,error:null}}}return{redirect:!1,error:Et}}me.gzip&&!Ie.headers["Accept-Encoding"]&&!Ie.headers["accept-encoding"]&&(Ie.headers["Accept-Encoding"]="gzip");function Ne(at,Et,st){var gt=at.headers["content-encoding"];return st(null,Et,gt)}var Ge=me.writeStream;ee("Request#%d %s %s with headers %j, options.path: %s",Pe,Te,ve,Ie.headers,Ie.path),me.requestUrls.push(ve);function rt(at){if($e&&($e.waiting=Date.now()-Le),ee("Request#%d %s `req response` event emit: status %d, headers: %j",Pe,ve,at.statusCode,at.headers),me.streaming){var Et=Oe(at);if(Et.redirect){at.resume();return}return Et.error?(at.resume(),_e(Et.error,null,at)):_e(null,null,at)}if(at.on("close",function(){ee("Request#%d %s: `res close` event emit, total size %d",Pe,ve,Ke)}),at.on("error",function(){ee("Request#%d %s: `res error` event emit, total size %d",Pe,ve,Ke)}),at.on("aborted",function(){Ve=!0,ee("Request#%d %s: `res aborted` event emit, total size %d",Pe,ve,Ke)}),Ge){var st=Oe(at);if(st.redirect){at.resume();return}return st.error?(at.resume(),Ge.end(),_e(st.error,null,at)):(me.consumeWriteStream===!1?at.on("end",_e.bind(null,null,null,at)):Ge.on("close",function(){ee("Request#%d %s: writeStream close event emitted",Pe,ve),_e(tt||null,null,at)}),at.pipe(Ge))}var gt=[];at.on("data",function(St){ee("Request#%d %s: `res data` event emit, size %d",Pe,ve,St.length),Ke+=St.length,gt.push(St)}),at.on("end",function(){var St=re.concat(gt,Ke);if(ee("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",Pe,ve,Ke,at._dumped),tt)return _e(tt,St,at);var wt=Oe(at);if(wt.error)return _e(wt.error,St,at);wt.redirect||Ne(at,St,function(Tt,Wt,hn){if(Tt)return _e(Tt,St,at);if(!hn&&ge.indexOf(me.dataType)>=0){try{Wt=decodeBodyByCharset(Wt,at)}catch(Tn){return ee("decodeBodyByCharset error: %s",Tn),_e(null,Wt,at)}if(me.dataType==="json")if(Ke===0)Wt=null;else{var pn=parseJSON(Wt,ke);pn.error?Tt=pn.error:Wt=pn.data}}Ve&&ee("Request#%d %s: Remote socket was terminated before `response.end()` was called",Pe,ve),_e(Tt,Wt,at)})})}var pt,ut;Array.isArray(me.timeout)?(pt=a(me.timeout[0]),ut=a(me.timeout[1])):pt=ut=a(me.timeout),ee("ConnectTimeout: %d, ResponseTimeout: %d",pt,ut);function nt(){ee("Connect timer ticking, timeout: %d",pt),je=setTimeout(function(){je=null,Me===-1&&(Me=-2);var at="Connect timeout for "+pt+"ms",Et="ConnectionTimeoutError";xt.socket||(Et="SocketAssignTimeoutError",at+=", working sockets is full"),tt=new Error(at),tt.name=Et,tt.requestId=Pe,ee("ConnectTimeout: Request#%d %s %s: %s, connected: %s",Pe,ve,tt.name,at,it),Rt()},pt)}function vt(){ee("Response timer ticking, timeout: %d",ut),et=setTimeout(function(){et=null;var at="Response timeout for "+ut+"ms",Et="ResponseTimeoutError";tt=new Error(at),tt.name=Et,tt.requestId=Pe,ee("ResponseTimeout: Request#%d %s %s: %s, connected: %s",Pe,ve,tt.name,at,it),Rt()},ut)}var xt;Ie.mode=me.mode?me.mode:"";try{xt=Re.request(Ie,rt)}catch(at){return _e(at)}typeof window=="undefined"?nt():xt.on("requestTimeout",function(){Me===-1&&(Me=-2);var at="Connect timeout for "+pt+"ms",Et="ConnectionTimeoutError";tt=new Error(at),tt.name=Et,tt.requestId=Pe,Rt()});function Rt(){ee("Request#%d %s abort, connected: %s",Pe,ve,it),xt.socket||(tt.noSocket=!0,_e(tt)),xt.abort()}return $e&&xt.on("finish",function(){$e.requestSent=Date.now()-Le}),xt.once("socket",function(at){$e&&($e.queuing=Date.now()-Le);var Et=at.readyState;if(Et==="opening"){at.once("lookup",function(st,gt,St){ee("Request#%d %s lookup: %s, %s, %s",Pe,ve,st,gt,St),$e&&($e.dnslookup=Date.now()-Le),gt&&(Ae=gt)}),at.once("connect",function(){$e&&($e.connected=Date.now()-Le),Ze(),vt(),ee("Request#%d %s new socket connected",Pe,ve),it=!0,Ae||(Ae=at.remoteAddress),Be=at.remotePort});return}ee("Request#%d %s reuse socket connected, readyState: %s",Pe,ve,Et),it=!0,Xe=!0,Ae||(Ae=at.remoteAddress),Be=at.remotePort,Ze(),vt()}),xt.on("error",function(at){(at.name==="Error"||at.name==="TypeError")&&(at.name=it?"ResponseError":"RequestError"),at.message+=' (req "error")',ee("Request#%d %s `req error` event emit, %s: %s",Pe,ve,at.name,at.message),_e(tt||at)}),Ge&&Ge.once("error",function(at){at.message+=' (writeStream "error")',tt=at,ee("Request#%d %s `writeStream error` event emit, %s: %s",Pe,ve,at.name,at.message),Rt()}),me.stream?(me.stream.pipe(xt),me.stream.once("error",function(at){at.message+=' (stream "error")',tt=at,ee("Request#%d %s `readStream error` event emit, %s: %s",Pe,ve,at.name,at.message),Rt()})):xt.end(Qe),xt.requestId=Pe,xt}}).call(this)}).call(this,E("_process"),E("buffer").Buffer)},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79,_process:467,buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.function.name.js":284,"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295,"core-js/modules/es.regexp.exec.js":300,"core-js/modules/es.string.split.js":307,"core-js/modules/es.string.trim.js":308,debug:465,http:468,https:355,"humanize-ms":356,url:472,util:419}]},{},[1])(1)})})(window)},38780:function(_t,ft){"use strict";function de(){const Se=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let xe=1;xe{const fe=E[pe];fe!==void 0&&(Se[pe]=fe)})}return Se}ft.Z=de},81643:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return Se}});const Se=xe=>xe?typeof xe=="function"?xe():xe:null},66367:function(_t,ft,de){"use strict";de.d(ft,{F:function(){return Se},Z:function(){return xe}});function Se(E){return E!=null&&E===E.window}function xe(E,pe){var fe,le;if(typeof window=="undefined")return 0;const re=pe?"scrollTop":"scrollLeft";let se=0;return Se(E)?se=E[pe?"pageYOffset":"pageXOffset"]:E instanceof Document?se=E.documentElement[re]:(E instanceof HTMLElement||E)&&(se=E[re]),E&&!Se(E)&&typeof se!="number"&&(se=(le=((fe=E.ownerDocument)!==null&&fe!==void 0?fe:E).documentElement)===null||le===void 0?void 0:le[re]),se}},57838:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return xe}});var Se=de(67294);function xe(){const[,E]=Se.useReducer(pe=>pe+1,0);return E}},58375:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return pe}});var Se=de(96523);function xe(fe,le,re,se){const ie=re-le;return fe/=se/2,fe<1?ie/2*fe*fe*fe+le:ie/2*((fe-=2)*fe*fe+2)+le}var E=de(66367);function pe(fe){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:re=()=>window,callback:se,duration:ie=450}=le,ue=re(),ae=(0,E.Z)(ue,!0),oe=Date.now(),ne=()=>{const a=Date.now()-oe,y=xe(a>ie?ie:a,ae,fe,ie);(0,E.F)(ue)?ue.scrollTo(window.pageXOffset,y):ue instanceof Document||ue.constructor.name==="HTMLDocument"?ue.documentElement.scrollTop=y:ue.scrollTop=y,a{var ye;const{prefixCls:Pe,className:we,rootClassName:Le,children:Ce,indeterminate:Te=!1,style:Ee,onMouseEnter:Re,onMouseLeave:De,skipGroup:ke=!1,disabled:Ie}=me,qe=ne(me,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Qe,direction:Je,checkbox:Ye}=pe.useContext(fe.E_),He=pe.useContext(ie),{isFormItemInput:Fe}=pe.useContext(re.aM),je=pe.useContext(le.Z),et=(ye=(He==null?void 0:He.disabled)||Ie)!==null&&ye!==void 0?ye:je,tt=pe.useRef(qe.value);pe.useEffect(()=>{He==null||He.registerValue(qe.value)},[]),pe.useEffect(()=>{if(!ke)return qe.value!==tt.current&&(He==null||He.cancelValue(tt.current),He==null||He.registerValue(qe.value),tt.current=qe.value),()=>He==null?void 0:He.cancelValue(qe.value)},[qe.value]);const it=Qe("checkbox",Pe),[Xe,Ke]=(0,ue.ZP)(it),Me=Object.assign({},qe);He&&!ke&&(Me.onChange=function(){qe.onChange&&qe.onChange.apply(qe,arguments),He.toggleOption&&He.toggleOption({label:Ce,value:qe.value})},Me.name=He.name,Me.checked=He.value.includes(qe.value));const Ve=xe()(`${it}-wrapper`,{[`${it}-rtl`]:Je==="rtl",[`${it}-wrapper-checked`]:Me.checked,[`${it}-wrapper-disabled`]:et,[`${it}-wrapper-in-form-item`]:Fe},Ye==null?void 0:Ye.className,we,Le,Ke),Ae=xe()({[`${it}-indeterminate`]:Te},oe.A,Ke),Be=Te?"mixed":void 0;return Xe(pe.createElement(ae.Z,{component:"Checkbox",disabled:et},pe.createElement("label",{className:Ve,style:Object.assign(Object.assign({},Ye==null?void 0:Ye.style),Ee),onMouseEnter:Re,onMouseLeave:De},pe.createElement(E.Z,Object.assign({"aria-checked":Be},Me,{prefixCls:it,className:Ae,disabled:et,ref:be})),Ce!==void 0&&pe.createElement("span",null,Ce))))};var y=pe.forwardRef(ee),x=de(74902),b=de(10366),z=function(me,be){var ye={};for(var Pe in me)Object.prototype.hasOwnProperty.call(me,Pe)&&be.indexOf(Pe)<0&&(ye[Pe]=me[Pe]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Pe=Object.getOwnPropertySymbols(me);we{const{defaultValue:ye,children:Pe,options:we=[],prefixCls:Le,className:Ce,rootClassName:Te,style:Ee,onChange:Re}=me,De=z(me,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:ke,direction:Ie}=pe.useContext(fe.E_),[qe,Qe]=pe.useState(De.value||ye||[]),[Je,Ye]=pe.useState([]);pe.useEffect(()=>{"value"in De&&Qe(De.value||[])},[De.value]);const He=pe.useMemo(()=>we.map($e=>typeof $e=="string"||typeof $e=="number"?{label:$e,value:$e}:$e),[we]),Fe=$e=>{Ye(Ze=>Ze.filter(ze=>ze!==$e))},je=$e=>{Ye(Ze=>[].concat((0,x.Z)(Ze),[$e]))},et=$e=>{const Ze=qe.indexOf($e.value),ze=(0,x.Z)(qe);Ze===-1?ze.push($e.value):ze.splice(Ze,1),"value"in De||Qe(ze),Re==null||Re(ze.filter(_e=>Je.includes(_e)).sort((_e,Oe)=>{const Ne=He.findIndex(rt=>rt.value===_e),Ge=He.findIndex(rt=>rt.value===Oe);return Ne-Ge}))},tt=ke("checkbox",Le),it=`${tt}-group`,[Xe,Ke]=(0,ue.ZP)(tt),Me=(0,b.Z)(De,["value","disabled"]),Ve=we.length?He.map($e=>pe.createElement(y,{prefixCls:tt,key:$e.value.toString(),disabled:"disabled"in $e?$e.disabled:De.disabled,value:$e.value,checked:qe.includes($e.value),onChange:$e.onChange,className:`${it}-item`,style:$e.style,title:$e.title},$e.label)):Pe,Ae={toggleOption:et,value:qe,disabled:De.disabled,name:De.name,registerValue:je,cancelValue:Fe},Be=xe()(it,{[`${it}-rtl`]:Ie==="rtl"},Ce,Te,Ke);return Xe(pe.createElement("div",Object.assign({className:Be,style:Ee},Me,{ref:be}),pe.createElement(ie.Provider,{value:Ae},Ve)))},ce=pe.forwardRef(te);var ge=pe.memo(ce);const he=y;he.Group=ge,he.__ANT_CHECKBOX=!0;var ve=he},63185:function(_t,ft,de){"use strict";de.d(ft,{C2:function(){return fe}});var Se=de(14747),xe=de(45503),E=de(67968);const pe=le=>{const{checkboxCls:re}=le,se=`${re}-wrapper`;return[{[`${re}-group`]:Object.assign(Object.assign({},(0,Se.Wf)(le)),{display:"inline-flex",flexWrap:"wrap",columnGap:le.marginXS,[`> ${le.antCls}-row`]:{flex:1}}),[se]:Object.assign(Object.assign({},(0,Se.Wf)(le)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${se}`]:{marginInlineStart:0},[`&${se}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[re]:Object.assign(Object.assign({},(0,Se.Wf)(le)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:le.borderRadiusSM,alignSelf:"center",[`${re}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${re}-inner`]:Object.assign({},(0,Se.oN)(le))},[`${re}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:le.checkboxSize,height:le.checkboxSize,direction:"ltr",backgroundColor:le.colorBgContainer,border:`${le.lineWidth}px ${le.lineType} ${le.colorBorder}`,borderRadius:le.borderRadiusSM,borderCollapse:"separate",transition:`all ${le.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:le.checkboxSize/14*5,height:le.checkboxSize/14*8,border:`${le.lineWidthBold}px solid ${le.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${le.motionDurationFast} ${le.motionEaseInBack}, opacity ${le.motionDurationFast}`}},"& + span":{paddingInlineStart:le.paddingXS,paddingInlineEnd:le.paddingXS}})},{[` ${se}:not(${se}-disabled), ${re}:not(${re}-disabled) `]:{[`&:hover ${re}-inner`]:{borderColor:le.colorPrimary}},[`${se}:not(${se}-disabled)`]:{[`&:hover ${re}-checked:not(${re}-disabled) ${re}-inner`]:{backgroundColor:le.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${re}-checked:not(${re}-disabled):after`]:{borderColor:le.colorPrimaryHover}}},{[`${re}-checked`]:{[`${re}-inner`]:{backgroundColor:le.colorPrimary,borderColor:le.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${le.motionDurationMid} ${le.motionEaseOutBack} ${le.motionDurationFast}`}}},[` ${se}-checked:not(${se}-disabled), ${re}-checked:not(${re}-disabled) `]:{[`&:hover ${re}-inner`]:{backgroundColor:le.colorPrimaryHover,borderColor:"transparent"}}},{[re]:{"&-indeterminate":{[`${re}-inner`]:{backgroundColor:le.colorBgContainer,borderColor:le.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:le.fontSizeLG/2,height:le.fontSizeLG/2,backgroundColor:le.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${se}-disabled`]:{cursor:"not-allowed"},[`${re}-disabled`]:{[`&, ${re}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${re}-inner`]:{background:le.colorBgContainerDisabled,borderColor:le.colorBorder,"&:after":{borderColor:le.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:le.colorTextDisabled},[`&${re}-indeterminate ${re}-inner::after`]:{background:le.colorTextDisabled}}}]};function fe(le,re){const se=(0,xe.TS)(re,{checkboxCls:`.${le}`,checkboxSize:re.controlInteractiveSize});return[pe(se)]}ft.ZP=(0,E.Z)("Checkbox",(le,re)=>{let{prefixCls:se}=re;return[fe(se,le)]})},47221:function(_t,ft,de){"use strict";de.d(ft,{default:function(){return Me}});var Se=de(91034),xe=de(94184),E=de.n(xe),pe=de(97685),fe=de(74902),le=de(71002),re=de(21770),se=de(80334),ie=de(67294),ue=de(87462),ae=de(45987),oe=de(50344),ne=de(4942),ee=de(62874),a=de(15105),y=ie.forwardRef(function(Ve,Ae){var Be,$e=Ve.prefixCls,Ze=Ve.forceRender,ze=Ve.className,_e=Ve.style,Oe=Ve.children,Ne=Ve.isActive,Ge=Ve.role,rt=ie.useState(Ne||Ze),pt=(0,pe.Z)(rt,2),ut=pt[0],nt=pt[1];return ie.useEffect(function(){(Ze||Ne)&&nt(!0)},[Ze,Ne]),ut?ie.createElement("div",{ref:Ae,className:E()("".concat($e,"-content"),(Be={},(0,ne.Z)(Be,"".concat($e,"-content-active"),Ne),(0,ne.Z)(Be,"".concat($e,"-content-inactive"),!Ne),Be),ze),style:_e,role:Ge},ie.createElement("div",{className:"".concat($e,"-content-box")},Oe)):null});y.displayName="PanelContent";var x=y,b=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=ie.forwardRef(function(Ve,Ae){var Be,$e,Ze=Ve.showArrow,ze=Ze===void 0?!0:Ze,_e=Ve.headerClass,Oe=Ve.isActive,Ne=Ve.onItemClick,Ge=Ve.forceRender,rt=Ve.className,pt=Ve.prefixCls,ut=Ve.collapsible,nt=Ve.accordion,vt=Ve.panelKey,xt=Ve.extra,Rt=Ve.header,at=Ve.expandIcon,Et=Ve.openMotion,st=Ve.destroyInactivePanel,gt=Ve.children,St=(0,ae.Z)(Ve,b),wt=ut==="disabled",Tt=ut==="header",Wt=ut==="icon",hn=xt!=null&&typeof xt!="boolean",pn=function(){Ne==null||Ne(vt)},Tn=function(Vr){(Vr.key==="Enter"||Vr.keyCode===a.Z.ENTER||Vr.which===a.Z.ENTER)&&pn()},Cn=typeof at=="function"?at(Ve):ie.createElement("i",{className:"arrow"});Cn&&(Cn=ie.createElement("div",{className:"".concat(pt,"-expand-icon"),onClick:["header","icon"].includes(ut)?pn:void 0},Cn));var Vn=E()((Be={},(0,ne.Z)(Be,"".concat(pt,"-item"),!0),(0,ne.Z)(Be,"".concat(pt,"-item-active"),Oe),(0,ne.Z)(Be,"".concat(pt,"-item-disabled"),wt),Be),rt),Qn=E()(_e,($e={},(0,ne.Z)($e,"".concat(pt,"-header"),!0),(0,ne.Z)($e,"".concat(pt,"-header-collapsible-only"),Tt),(0,ne.Z)($e,"".concat(pt,"-icon-collapsible-only"),Wt),$e)),fr={className:Qn,"aria-expanded":Oe,"aria-disabled":wt,onKeyDown:Tn};return!Tt&&!Wt&&(fr.onClick=pn,fr.role=nt?"tab":"button",fr.tabIndex=wt?-1:0),ie.createElement("div",(0,ue.Z)({},St,{ref:Ae,className:Vn}),ie.createElement("div",fr,ze&&Cn,ie.createElement("span",{className:"".concat(pt,"-header-text"),onClick:ut==="header"?pn:void 0},Rt),hn&&ie.createElement("div",{className:"".concat(pt,"-extra")},xt)),ie.createElement(ee.Z,(0,ue.Z)({visible:Oe,leavedClassName:"".concat(pt,"-content-hidden")},Et,{forceRender:Ge,removeOnLeave:st}),function(kr,Vr){var Ur=kr.className,Rr=kr.style;return ie.createElement(x,{ref:Vr,prefixCls:pt,className:Ur,style:Rr,isActive:Oe,forceRender:Ge,role:nt?"tabpanel":void 0},gt)}))}),te=z,ce=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ge=function(Ae,Be){var $e=Be.prefixCls,Ze=Be.accordion,ze=Be.collapsible,_e=Be.destroyInactivePanel,Oe=Be.onItemClick,Ne=Be.activeKey,Ge=Be.openMotion,rt=Be.expandIcon;return Ae.map(function(pt,ut){var nt=pt.children,vt=pt.label,xt=pt.key,Rt=pt.collapsible,at=pt.onItemClick,Et=pt.destroyInactivePanel,st=(0,ae.Z)(pt,ce),gt=String(xt!=null?xt:ut),St=Rt!=null?Rt:ze,wt=Et!=null?Et:_e,Tt=function(pn){St!=="disabled"&&(Oe(pn),at==null||at(pn))},Wt=!1;return Ze?Wt=Ne[0]===gt:Wt=Ne.indexOf(gt)>-1,ie.createElement(te,(0,ue.Z)({},st,{prefixCls:$e,key:gt,panelKey:gt,isActive:Wt,accordion:Ze,openMotion:Ge,expandIcon:rt,header:vt,collapsible:St,onItemClick:Tt,destroyInactivePanel:wt}),nt)})},he=function(Ae,Be,$e){if(!Ae)return null;var Ze=$e.prefixCls,ze=$e.accordion,_e=$e.collapsible,Oe=$e.destroyInactivePanel,Ne=$e.onItemClick,Ge=$e.activeKey,rt=$e.openMotion,pt=$e.expandIcon,ut=Ae.key||String(Be),nt=Ae.props,vt=nt.header,xt=nt.headerClass,Rt=nt.destroyInactivePanel,at=nt.collapsible,Et=nt.onItemClick,st=!1;ze?st=Ge[0]===ut:st=Ge.indexOf(ut)>-1;var gt=at!=null?at:_e,St=function(Wt){gt!=="disabled"&&(Ne(Wt),Et==null||Et(Wt))},wt={key:ut,panelKey:ut,header:vt,headerClass:xt,isActive:st,prefixCls:Ze,destroyInactivePanel:Rt!=null?Rt:Oe,openMotion:rt,accordion:ze,children:Ae.props.children,onItemClick:St,expandIcon:pt,collapsible:gt};return typeof Ae.type=="string"?Ae:(Object.keys(wt).forEach(function(Tt){typeof wt[Tt]=="undefined"&&delete wt[Tt]}),ie.cloneElement(Ae,wt))};function ve(Ve,Ae,Be){return Array.isArray(Ve)?ge(Ve,Be):(0,oe.Z)(Ae).map(function($e,Ze){return he($e,Ze,Be)})}var me=ve;function be(Ve){var Ae=Ve;if(!Array.isArray(Ae)){var Be=(0,le.Z)(Ae);Ae=Be==="number"||Be==="string"?[Ae]:[]}return Ae.map(function($e){return String($e)})}var ye=ie.forwardRef(function(Ve,Ae){var Be=Ve.prefixCls,$e=Be===void 0?"rc-collapse":Be,Ze=Ve.destroyInactivePanel,ze=Ze===void 0?!1:Ze,_e=Ve.style,Oe=Ve.accordion,Ne=Ve.className,Ge=Ve.children,rt=Ve.collapsible,pt=Ve.openMotion,ut=Ve.expandIcon,nt=Ve.activeKey,vt=Ve.defaultActiveKey,xt=Ve.onChange,Rt=Ve.items,at=E()($e,Ne),Et=(0,re.Z)([],{value:nt,onChange:function(hn){return xt==null?void 0:xt(hn)},defaultValue:vt,postState:be}),st=(0,pe.Z)(Et,2),gt=st[0],St=st[1],wt=function(hn){return St(function(){if(Oe)return gt[0]===hn?[]:[hn];var pn=gt.indexOf(hn),Tn=pn>-1;return Tn?gt.filter(function(Cn){return Cn!==hn}):[].concat((0,fe.Z)(gt),[hn])})};(0,se.ZP)(!Ge,"`children` will be removed in next major version. Please use `items` instead.");var Tt=me(Rt,Ge,{prefixCls:$e,accordion:Oe,openMotion:pt,expandIcon:ut,collapsible:rt,destroyInactivePanel:ze,onItemClick:wt,activeKey:gt});return ie.createElement("div",{ref:Ae,className:at,style:_e,role:Oe?"tablist":void 0},Tt)}),Pe=Object.assign(ye,{Panel:te}),we=Pe,Le=Pe.Panel,Ce=de(37419),Te=de(10366),Ee=de(33603),Re=de(96159),De=de(53124),ke=de(98675),qe=ie.forwardRef((Ve,Ae)=>{const{getPrefixCls:Be}=ie.useContext(De.E_),{prefixCls:$e,className:Ze,showArrow:ze=!0}=Ve,_e=Be("collapse",$e),Oe=E()({[`${_e}-no-arrow`]:!ze},Ze);return ie.createElement(we.Panel,Object.assign({ref:Ae},Ve,{prefixCls:_e,className:Oe}))}),Qe=de(14747),Je=de(33507),Ye=de(67968),He=de(45503);const Fe=Ve=>{const{componentCls:Ae,contentBg:Be,padding:$e,headerBg:Ze,headerPadding:ze,collapseHeaderPaddingSM:_e,collapseHeaderPaddingLG:Oe,collapsePanelBorderRadius:Ne,lineWidth:Ge,lineType:rt,colorBorder:pt,colorText:ut,colorTextHeading:nt,colorTextDisabled:vt,fontSize:xt,fontSizeLG:Rt,lineHeight:at,marginSM:Et,paddingSM:st,paddingLG:gt,paddingXS:St,motionDurationSlow:wt,fontSizeIcon:Tt,contentPadding:Wt}=Ve,hn=`${Ge}px ${rt} ${pt}`;return{[Ae]:Object.assign(Object.assign({},(0,Qe.Wf)(Ve)),{backgroundColor:Ze,border:hn,borderBottom:0,borderRadius:`${Ne}px`,"&-rtl":{direction:"rtl"},[`& > ${Ae}-item`]:{borderBottom:hn,"&:last-child":{[` &, & > ${Ae}-header`]:{borderRadius:`0 0 ${Ne}px ${Ne}px`}},[`> ${Ae}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:ze,color:nt,lineHeight:at,cursor:"pointer",transition:`all ${wt}, visibility 0s`,[`> ${Ae}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Ae}-expand-icon`]:{height:xt*at,display:"flex",alignItems:"center",paddingInlineEnd:Et},[`${Ae}-arrow`]:Object.assign(Object.assign({},(0,Qe.Ro)()),{fontSize:Tt,svg:{transition:`transform ${wt}`}}),[`${Ae}-header-text`]:{marginInlineEnd:"auto"}},[`${Ae}-header-collapsible-only`]:{cursor:"default",[`${Ae}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Ae}-icon-collapsible-only`]:{cursor:"default",[`${Ae}-expand-icon`]:{cursor:"pointer"}}},[`${Ae}-content`]:{color:ut,backgroundColor:Be,borderTop:hn,[`& > ${Ae}-content-box`]:{padding:Wt},"&-hidden":{display:"none"}},"&-small":{[`> ${Ae}-item`]:{[`> ${Ae}-header`]:{padding:_e,paddingInlineStart:St,[`> ${Ae}-expand-icon`]:{marginInlineStart:st-St}},[`> ${Ae}-content > ${Ae}-content-box`]:{padding:st}}},"&-large":{[`> ${Ae}-item`]:{fontSize:Rt,[`> ${Ae}-header`]:{padding:Oe,paddingInlineStart:$e,[`> ${Ae}-expand-icon`]:{height:Rt*at,marginInlineStart:gt-$e}},[`> ${Ae}-content > ${Ae}-content-box`]:{padding:gt}}},[`${Ae}-item:last-child`]:{[`> ${Ae}-content`]:{borderRadius:`0 0 ${Ne}px ${Ne}px`}},[`& ${Ae}-item-disabled > ${Ae}-header`]:{"\n &,\n & > .arrow\n ":{color:vt,cursor:"not-allowed"}},[`&${Ae}-icon-position-end`]:{[`& > ${Ae}-item`]:{[`> ${Ae}-header`]:{[`${Ae}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:Et}}}}})}},je=Ve=>{const{componentCls:Ae}=Ve,Be=`> ${Ae}-item > ${Ae}-header ${Ae}-arrow svg`;return{[`${Ae}-rtl`]:{[Be]:{transform:"rotate(180deg)"}}}},et=Ve=>{const{componentCls:Ae,headerBg:Be,paddingXXS:$e,colorBorder:Ze}=Ve;return{[`${Ae}-borderless`]:{backgroundColor:Be,border:0,[`> ${Ae}-item`]:{borderBottom:`1px solid ${Ze}`},[` > ${Ae}-item:last-child, > ${Ae}-item:last-child ${Ae}-header `]:{borderRadius:0},[`> ${Ae}-item:last-child`]:{borderBottom:0},[`> ${Ae}-item > ${Ae}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Ae}-item > ${Ae}-content > ${Ae}-content-box`]:{paddingTop:$e}}}},tt=Ve=>{const{componentCls:Ae,paddingSM:Be}=Ve;return{[`${Ae}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Ae}-item`]:{borderBottom:0,[`> ${Ae}-content`]:{backgroundColor:"transparent",border:0,[`> ${Ae}-content-box`]:{paddingBlock:Be}}}}}};var it=(0,Ye.Z)("Collapse",Ve=>{const Ae=(0,He.TS)(Ve,{collapseHeaderPaddingSM:`${Ve.paddingXS}px ${Ve.paddingSM}px`,collapseHeaderPaddingLG:`${Ve.padding}px ${Ve.paddingLG}px`,collapsePanelBorderRadius:Ve.borderRadiusLG});return[Fe(Ae),et(Ae),tt(Ae),je(Ae),(0,Je.Z)(Ae)]},Ve=>({headerPadding:`${Ve.paddingSM}px ${Ve.padding}px`,headerBg:Ve.colorFillAlter,contentPadding:`${Ve.padding}px 16px`,contentBg:Ve.colorBgContainer})),Ke=Object.assign(ie.forwardRef((Ve,Ae)=>{const{getPrefixCls:Be,direction:$e,collapse:Ze}=ie.useContext(De.E_),{prefixCls:ze,className:_e,rootClassName:Oe,style:Ne,bordered:Ge=!0,ghost:rt,size:pt,expandIconPosition:ut="start",children:nt,expandIcon:vt}=Ve,xt=(0,ke.Z)(hn=>{var pn;return(pn=pt!=null?pt:hn)!==null&&pn!==void 0?pn:"middle"}),Rt=Be("collapse",ze),at=Be(),[Et,st]=it(Rt),gt=ie.useMemo(()=>ut==="left"?"start":ut==="right"?"end":ut,[ut]),St=function(){let hn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const pn=vt?vt(hn):ie.createElement(Se.Z,{rotate:hn.isActive?90:void 0});return(0,Re.Tm)(pn,()=>({className:E()(pn.props.className,`${Rt}-arrow`)}))},wt=E()(`${Rt}-icon-position-${gt}`,{[`${Rt}-borderless`]:!Ge,[`${Rt}-rtl`]:$e==="rtl",[`${Rt}-ghost`]:!!rt,[`${Rt}-${xt}`]:xt!=="middle"},Ze==null?void 0:Ze.className,_e,Oe,st),Tt=Object.assign(Object.assign({},(0,Ee.Z)(at)),{motionAppear:!1,leavedClassName:`${Rt}-content-hidden`}),Wt=ie.useMemo(()=>nt?(0,Ce.Z)(nt).map((hn,pn)=>{var Tn,Cn;if(!((Tn=hn.props)===null||Tn===void 0)&&Tn.disabled){const Vn=(Cn=hn.key)!==null&&Cn!==void 0?Cn:String(pn),{disabled:Qn,collapsible:fr}=hn.props,kr=Object.assign(Object.assign({},(0,Te.Z)(hn.props,["disabled"])),{key:Vn,collapsible:fr!=null?fr:Qn?"disabled":void 0});return(0,Re.Tm)(hn,kr)}return hn}):null,[nt]);return Et(ie.createElement(we,Object.assign({ref:Ae,openMotion:Tt},(0,Te.Z)(Ve,["rootClassName"]),{expandIcon:St,prefixCls:Rt,className:wt,style:Object.assign(Object.assign({},Ze==null?void 0:Ze.style),Ne)}),Wt))}),{Panel:qe}),Me=Ke},72565:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return Po}});var Se=de(94184),xe=de.n(Se),E=de(1413),pe=de(97685),fe=de(67294),le=de(73935);function re(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var se={};function ie(Dt,At){}function ue(Dt,At){}function ae(){se={}}function oe(Dt,At,on){!At&&!se[on]&&(Dt(!1,on),se[on]=!0)}function ne(Dt,At){oe(ie,Dt,At)}function ee(Dt,At){oe(ue,Dt,At)}var a=null,y=de(71002),x=de(18459);function b(Dt,At,on){var yn=fe.useRef({});return(!("value"in yn.current)||on(yn.current.condition,At))&&(yn.current.value=Dt(),yn.current.condition=At),yn.current.value}function z(Dt,At){typeof Dt=="function"?Dt(At):(0,y.Z)(Dt)==="object"&&Dt&&"current"in Dt&&(Dt.current=At)}function te(){for(var Dt=arguments.length,At=new Array(Dt),on=0;on0&&arguments[0]!==void 0?arguments[0]:{},At=Dt.mark;return At?At.startsWith("data-")?At:"data-".concat(At):Ee}function ke(Dt){if(Dt.attachTo)return Dt.attachTo;var At=document.querySelector("head");return At||document.body}function Ie(Dt){return Dt==="queue"?"prependQueue":Dt?"prepend":"append"}function qe(Dt){return Array.from((Re.get(Dt)||Dt).children).filter(function(At){return At.tagName==="STYLE"})}function Qe(Dt){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!re())return null;var on=At.csp,yn=At.prepend,On=document.createElement("style");On.setAttribute(Te,Ie(yn)),on!=null&&on.nonce&&(On.nonce=on==null?void 0:on.nonce),On.innerHTML=Dt;var tn=ke(At),mr=tn.firstChild;if(yn){if(yn==="queue"){var Ar=qe(tn).filter(function(Kr){return["prepend","prependQueue"].includes(Kr.getAttribute(Te))});if(Ar.length)return tn.insertBefore(On,Ar[Ar.length-1].nextSibling),On}tn.insertBefore(On,mr)}else tn.appendChild(On);return On}function Je(Dt){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},on=ke(At);return qe(on).find(function(yn){return yn.getAttribute(De(At))===Dt})}function Ye(Dt){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},on=Je(Dt,At);if(on){var yn=ke(At);yn.removeChild(on)}}function He(Dt,At){var on=Re.get(Dt);if(!on||!Ce(document,on)){var yn=Qe("",At),On=yn.parentNode;Re.set(Dt,On),Dt.removeChild(yn)}}function Fe(){Re.clear()}function je(Dt,At){var on=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},yn=ke(on);He(yn,on);var On=Je(At,on);if(On){var tn,mr;if((tn=on.csp)!==null&&tn!==void 0&&tn.nonce&&On.nonce!==((mr=on.csp)===null||mr===void 0?void 0:mr.nonce)){var Ar;On.nonce=(Ar=on.csp)===null||Ar===void 0?void 0:Ar.nonce}return On.innerHTML!==Dt&&(On.innerHTML=Dt),On}var Kr=Qe(Dt,on);return Kr.setAttribute(De(on),At),Kr}var et;function tt(Dt){if(typeof document=="undefined")return 0;if(Dt||et===void 0){var At=document.createElement("div");At.style.width="100%",At.style.height="200px";var on=document.createElement("div"),yn=on.style;yn.position="absolute",yn.top="0",yn.left="0",yn.pointerEvents="none",yn.visibility="hidden",yn.width="200px",yn.height="150px",yn.overflow="hidden",on.appendChild(At),document.body.appendChild(on);var On=At.offsetWidth;on.style.overflow="scroll";var tn=At.offsetWidth;On===tn&&(tn=on.clientWidth),document.body.removeChild(on),et=On-tn}return et}function it(Dt){var At=Dt.match(/^(.*)px$/),on=Number(At==null?void 0:At[1]);return Number.isNaN(on)?tt():on}function Xe(Dt){if(typeof document=="undefined"||!Dt||!(Dt instanceof Element))return{width:0,height:0};var At=getComputedStyle(Dt,"::-webkit-scrollbar"),on=At.width,yn=At.height;return{width:it(on),height:it(yn)}}function Ke(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Me="rc-util-locker-".concat(Date.now()),Ve=0;function Ae(Dt){var At=!!Dt,on=fe.useState(function(){return Ve+=1,"".concat(Me,"_").concat(Ve)}),yn=(0,pe.Z)(on,1),On=yn[0];ye(function(){if(At){var tn=Xe(document.body).width,mr=Ke();je(` html body { overflow-y: hidden; `.concat(mr?"width: calc(100% - ".concat(tn,"px);"):"",` }`),On)}else Ye(On);return function(){Ye(On)}},[At,On])}var Be=!1;function $e(Dt){return typeof Dt=="boolean"&&(Be=Dt),Be}var Ze=function(At){return At===!1?!1:!re()||!At?null:typeof At=="string"?document.querySelector(At):typeof At=="function"?At():At},ze=fe.forwardRef(function(Dt,At){var on=Dt.open,yn=Dt.autoLock,On=Dt.getContainer,tn=Dt.debug,mr=Dt.autoDestroy,Ar=mr===void 0?!0:mr,Kr=Dt.children,to=fe.useState(on),Yr=(0,pe.Z)(to,2),po=Yr[0],ur=Yr[1],Ct=po||on;fe.useEffect(function(){(Ar||on)&&ur(on)},[on,Ar]);var Bt=fe.useState(function(){return Ze(On)}),sn=(0,pe.Z)(Bt,2),ht=sn[0],cn=sn[1];fe.useEffect(function(){var Jt=Ze(On);cn(Jt!=null?Jt:null)});var _n=Le(Ct&&!ht,tn),An=(0,pe.Z)(_n,2),Kt=An[0],Yt=An[1],qt=ht!=null?ht:Kt;Ae(yn&&on&&re()&&(qt===Kt||qt===document.body));var jn=null;if(Kr&&ge(Kr)&&At){var er=Kr;jn=er.ref}var ar=ce(jn,At);if(!Ct||!re()||ht===void 0)return null;var Pt=qt===!1||$e(),Ut=Kr;return At&&(Ut=fe.cloneElement(Kr,{ref:ar})),fe.createElement(ve.Provider,{value:Yt},Pt?Ut:(0,le.createPortal)(Ut,qt))}),_e=ze,Oe=_e;function Ne(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ge=Ne()?fe.useLayoutEffect:fe.useEffect,rt=function(At,on){var yn=fe.useRef(!0);Ge(function(){return At(yn.current)},on),Ge(function(){return yn.current=!1,function(){yn.current=!0}},[])},pt=function(At,on){rt(function(yn){if(!yn)return At()},on)},ut=rt,nt=fe.createContext(null),vt=fe.createContext({}),xt=nt,Rt=de(4942),at=de(87462),Et=de(62874),st={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(At){var on=At.keyCode;if(At.altKey&&!At.ctrlKey||At.metaKey||on>=st.F1&&on<=st.F12)return!1;switch(on){case st.ALT:case st.CAPS_LOCK:case st.CONTEXT_MENU:case st.CTRL:case st.DOWN:case st.END:case st.ESC:case st.HOME:case st.INSERT:case st.LEFT:case st.MAC_FF_META:case st.META:case st.NUMLOCK:case st.NUM_CENTER:case st.PAGE_DOWN:case st.PAGE_UP:case st.PAUSE:case st.PRINT_SCREEN:case st.RIGHT:case st.SHIFT:case st.UP:case st.WIN_KEY:case st.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(At){if(At>=st.ZERO&&At<=st.NINE||At>=st.NUM_ZERO&&At<=st.NUM_MULTIPLY||At>=st.A&&At<=st.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&At===0)return!0;switch(At){case st.SPACE:case st.QUESTION_MARK:case st.NUM_PLUS:case st.NUM_MINUS:case st.NUM_PERIOD:case st.NUM_DIVISION:case st.SEMICOLON:case st.DASH:case st.EQUALS:case st.COMMA:case st.PERIOD:case st.SLASH:case st.APOSTROPHE:case st.SINGLE_QUOTE:case st.OPEN_SQUARE_BRACKET:case st.BACKSLASH:case st.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},gt=st,St=`accept acceptCharset accessKey action allowFullScreen allowTransparency alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge charSet checked classID className colSpan cols content contentEditable contextMenu controls coords crossOrigin data dateTime default defer dir disabled download draggable encType form formAction formEncType formMethod formNoValidate formTarget frameBorder headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media mediaGroup method min minLength multiple muted name noValidate nonce open optimum pattern placeholder poster preload radioGroup readOnly rel required reversed role rowSpan rows sandbox scope scoped scrolling seamless selected shape size sizes span spellCheck src srcDoc srcLang srcSet start step style summary tabIndex target title type useMap value width wmode wrap`,wt=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Tt="".concat(St," ").concat(wt).split(/[\s\n]+/),Wt="aria-",hn="data-";function pn(Dt,At){return Dt.indexOf(At)===0}function Tn(Dt){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,on;At===!1?on={aria:!0,data:!0,attr:!0}:At===!0?on={aria:!0}:on=(0,E.Z)({},At);var yn={};return Object.keys(Dt).forEach(function(On){(on.aria&&(On==="role"||pn(On,Wt))||on.data&&pn(On,hn)||on.attr&&Tt.includes(On))&&(yn[On]=Dt[On])}),yn}function Cn(Dt){var At=React.useRef();At.current=Dt;var on=React.useCallback(function(){for(var yn,On=arguments.length,tn=new Array(On),mr=0;mr3&&arguments[3]!==void 0?arguments[3]:!1;return At.length&&yn&&on===void 0&&!get(Dt,At.slice(0,-1))?Dt:bn(Dt,At,on,yn)}function tr(Dt){return _typeof(Dt)==="object"&&Dt!==null&&Object.getPrototypeOf(Dt)===Object.prototype}function Xn(Dt){return Array.isArray(Dt)?[]:{}}var pr=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function hr(){for(var Dt=arguments.length,At=new Array(Dt),on=0;on{const{prefixCls:At,title:on,footer:yn,extra:On,closeIcon:tn,closable:mr,onClose:Ar,headerStyle:Kr,drawerStyle:to,bodyStyle:Yr,footerStyle:po,children:ur}=Dt,Ct=fe.useCallback(_n=>fe.createElement("button",{type:"button",onClick:Ar,"aria-label":"Close",className:`${At}-close`},_n),[Ar]),[Bt,sn]=(0,Or.Z)(mr,tn,Ct,void 0,!0),ht=fe.useMemo(()=>!on&&!Bt?null:fe.createElement("div",{style:Kr,className:xe()(`${At}-header`,{[`${At}-header-close-only`]:Bt&&!on&&!On})},fe.createElement("div",{className:`${At}-header-title`},sn,on&&fe.createElement("div",{className:`${At}-title`},on)),On&&fe.createElement("div",{className:`${At}-extra`},On)),[Bt,sn,On,Kr,At,on]),cn=fe.useMemo(()=>{if(!yn)return null;const _n=`${At}-footer`;return fe.createElement("div",{className:_n,style:po},yn)},[yn,po,At]);return fe.createElement("div",{className:`${At}-wrapper-body`,style:to},ht,fe.createElement("div",{className:`${At}-body`,style:Yr},ur),cn)},ro=de(4173),qr=de(67968),Ln=de(45503),Uo=Dt=>{const{componentCls:At,motionDurationSlow:on}=Dt,yn={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${on}`}}};return{[At]:{[`${At}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${on}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${At}-panel-motion`]:{"&-left":[yn,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[yn,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[yn,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[yn,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const Un=Dt=>{const{componentCls:At,zIndexPopup:on,colorBgMask:yn,colorBgElevated:On,motionDurationSlow:tn,motionDurationMid:mr,padding:Ar,paddingLG:Kr,fontSizeLG:to,lineHeightLG:Yr,lineWidth:po,lineType:ur,colorSplit:Ct,marginSM:Bt,colorIcon:sn,colorIconHover:ht,colorText:cn,fontWeightStrong:_n,footerPaddingBlock:An,footerPaddingInline:Kt}=Dt,Yt=`${At}-content-wrapper`;return{[At]:{position:"fixed",inset:0,zIndex:on,pointerEvents:"none","&-pure":{position:"relative",background:On,[`&${At}-left`]:{boxShadow:Dt.boxShadowDrawerLeft},[`&${At}-right`]:{boxShadow:Dt.boxShadowDrawerRight},[`&${At}-top`]:{boxShadow:Dt.boxShadowDrawerUp},[`&${At}-bottom`]:{boxShadow:Dt.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${At}-mask`]:{position:"absolute",inset:0,zIndex:on,background:yn,pointerEvents:"auto"},[Yt]:{position:"absolute",zIndex:on,maxWidth:"100vw",transition:`all ${tn}`,"&-hidden":{display:"none"}},[`&-left > ${Yt}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Dt.boxShadowDrawerLeft},[`&-right > ${Yt}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Dt.boxShadowDrawerRight},[`&-top > ${Yt}`]:{top:0,insetInline:0,boxShadow:Dt.boxShadowDrawerUp},[`&-bottom > ${Yt}`]:{bottom:0,insetInline:0,boxShadow:Dt.boxShadowDrawerDown},[`${At}-content`]:{width:"100%",height:"100%",overflow:"auto",background:On,pointerEvents:"auto"},[`${At}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${At}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Ar}px ${Kr}px`,fontSize:to,lineHeight:Yr,borderBottom:`${po}px ${ur} ${Ct}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${At}-extra`]:{flex:"none"},[`${At}-close`]:{display:"inline-block",marginInlineEnd:Bt,color:sn,fontWeight:_n,fontSize:to,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${mr}`,textRendering:"auto","&:focus, &:hover":{color:ht,textDecoration:"none"}},[`${At}-title`]:{flex:1,margin:0,color:cn,fontWeight:Dt.fontWeightStrong,fontSize:to,lineHeight:Yr},[`${At}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Kr,overflow:"auto"},[`${At}-footer`]:{flexShrink:0,padding:`${An}px ${Kt}px`,borderTop:`${po}px ${ur} ${Ct}`},"&-rtl":{direction:"rtl"}}}};var or=(0,qr.Z)("Drawer",Dt=>{const At=(0,Ln.TS)(Dt,{});return[Un(At),Uo(At)]},Dt=>({zIndexPopup:Dt.zIndexPopupBase,footerPaddingBlock:Dt.paddingXS,footerPaddingInline:Dt.padding})),Er=de(16569),Yn=function(Dt,At){var on={};for(var yn in Dt)Object.prototype.hasOwnProperty.call(Dt,yn)&&At.indexOf(yn)<0&&(on[yn]=Dt[yn]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,yn=Object.getOwnPropertySymbols(Dt);On{var At;const{rootClassName:on,width:yn,height:On,size:tn="default",mask:mr=!0,push:Ar=Mr,open:Kr,afterOpenChange:to,onClose:Yr,prefixCls:po,getContainer:ur,style:Ct,className:Bt,visible:sn,afterVisibleChange:ht}=Dt,cn=Yn(Dt,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:_n,getPrefixCls:An,direction:Kt,drawer:Yt}=fe.useContext(br.E_),qt=An("drawer",po),[jn,er]=or(qt),ar=ur===void 0&&_n?()=>_n(document.body):ur,Pt=xe()({"no-mask":!mr,[`${qt}-rtl`]:Kt==="rtl"},on,er),Ut=fe.useMemo(()=>yn!=null?yn:tn==="large"?736:378,[yn,tn]),Jt=fe.useMemo(()=>On!=null?On:tn==="large"?736:378,[On,tn]),kn={motionName:(0,vn.m)(qt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},mn=Zt=>({motionName:(0,vn.m)(qt,`panel-motion-${Zt}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Qt=(0,Er.H)();return jn(fe.createElement(ro.BR,null,fe.createElement(cr.Ux,{status:!0,override:!0},fe.createElement(Vt,Object.assign({prefixCls:qt,onClose:Yr,maskMotion:kn,motion:mn},cn,{open:Kr!=null?Kr:sn,mask:mr,push:Ar,width:Ut,height:Jt,style:Object.assign(Object.assign({},Yt==null?void 0:Yt.style),Ct),className:xe()(Yt==null?void 0:Yt.className,Bt),rootClassName:Pt,getContainer:ar,afterOpenChange:to!=null?to:ht,panelRef:Qt}),fe.createElement(co,Object.assign({prefixCls:qt},cn,{onClose:Yr}))))))},Mo=Dt=>{const{prefixCls:At,style:on,className:yn,placement:On="right"}=Dt,tn=Yn(Dt,["prefixCls","style","className","placement"]),{getPrefixCls:mr}=fe.useContext(br.E_),Ar=mr("drawer",At),[Kr,to]=or(Ar),Yr=xe()(Ar,`${Ar}-pure`,`${Ar}-${On}`,to,yn);return Kr(fe.createElement("div",{className:Yr,style:on},fe.createElement(co,Object.assign({prefixCls:Ar},tn))))};To._InternalPanelDoNotUseOrYouWillBeFired=Mo;var Po=To},35874:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return Ze}});var Se=de(67294),xe=de(91034),E=de(94184),pe=de.n(E),fe=de(87462),le=de(4942),re=de(97685),se=de(45987),ie=de(62709),ue=de(71002),ae=de(12060);function oe(ze,_e,Oe){var Ne=React.useRef({});return(!("value"in Ne.current)||Oe(Ne.current.condition,_e))&&(Ne.current.value=ze(),Ne.current.condition=_e),Ne.current.value}function ne(ze,_e){typeof ze=="function"?ze(_e):(0,ue.Z)(ze)==="object"&&ze&&"current"in ze&&(ze.current=_e)}function ee(){for(var ze=arguments.length,_e=new Array(ze),Oe=0;Oe=x.F1&&Oe<=x.F12)return!1;switch(Oe){case x.ALT:case x.CAPS_LOCK:case x.CONTEXT_MENU:case x.CTRL:case x.DOWN:case x.END:case x.ESC:case x.HOME:case x.INSERT:case x.LEFT:case x.MAC_FF_META:case x.META:case x.NUMLOCK:case x.NUM_CENTER:case x.PAGE_DOWN:case x.PAGE_UP:case x.PAUSE:case x.PRINT_SCREEN:case x.RIGHT:case x.SHIFT:case x.UP:case x.WIN_KEY:case x.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(_e){if(_e>=x.ZERO&&_e<=x.NINE||_e>=x.NUM_ZERO&&_e<=x.NUM_MULTIPLY||_e>=x.A&&_e<=x.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&_e===0)return!0;switch(_e){case x.SPACE:case x.QUESTION_MARK:case x.NUM_PLUS:case x.NUM_MINUS:case x.NUM_PERIOD:case x.NUM_DIVISION:case x.SEMICOLON:case x.DASH:case x.EQUALS:case x.COMMA:case x.PERIOD:case x.SLASH:case x.APOSTROPHE:case x.SINGLE_QUOTE:case x.OPEN_SQUARE_BRACKET:case x.BACKSLASH:case x.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},b=x,z=function(_e){return+setTimeout(_e,16)},te=function(_e){return clearTimeout(_e)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(z=function(_e){return window.requestAnimationFrame(_e)},te=function(_e){return window.cancelAnimationFrame(_e)});var ce=0,ge=new Map;function he(ze){ge.delete(ze)}var ve=function(_e){var Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ce+=1;var Ne=ce;function Ge(rt){if(rt===0)he(Ne),_e();else{var pt=z(function(){Ge(rt-1)});ge.set(Ne,pt)}}return Ge(Oe),Ne};ve.cancel=function(ze){var _e=ge.get(ze);return he(_e),te(_e)};var me=ve,be=b.ESC,ye=b.TAB;function Pe(ze){var _e=ze.visible,Oe=ze.triggerRef,Ne=ze.onVisibleChange,Ge=ze.autoFocus,rt=ze.overlayRef,pt=Se.useRef(!1),ut=function(){if(_e){var Rt,at;(Rt=Oe.current)===null||Rt===void 0||(at=Rt.focus)===null||at===void 0||at.call(Rt),Ne==null||Ne(!1)}},nt=function(){var Rt;return(Rt=rt.current)!==null&&Rt!==void 0&&Rt.focus?(rt.current.focus(),pt.current=!0,!0):!1},vt=function(Rt){switch(Rt.keyCode){case be:ut();break;case ye:{var at=!1;pt.current||(at=nt()),at?Rt.preventDefault():ut();break}}};Se.useEffect(function(){return _e?(window.addEventListener("keydown",vt),Ge&&me(nt,3),function(){window.removeEventListener("keydown",vt),pt.current=!1}):function(){pt.current=!1}},[_e])}var we=(0,Se.forwardRef)(function(ze,_e){var Oe=ze.overlay,Ne=ze.arrow,Ge=ze.prefixCls,rt=(0,Se.useMemo)(function(){var ut;return typeof Oe=="function"?ut=Oe():ut=Oe,ut},[Oe]),pt=ee(_e,rt==null?void 0:rt.ref);return Se.createElement(Se.Fragment,null,Ne&&Se.createElement("div",{className:"".concat(Ge,"-arrow")}),Se.cloneElement(rt,{ref:y(rt)?pt:void 0}))}),Le=we,Ce={adjustX:1,adjustY:1},Te=[0,0],Ee={topLeft:{points:["bl","tl"],overflow:Ce,offset:[0,-4],targetOffset:Te},top:{points:["bc","tc"],overflow:Ce,offset:[0,-4],targetOffset:Te},topRight:{points:["br","tr"],overflow:Ce,offset:[0,-4],targetOffset:Te},bottomLeft:{points:["tl","bl"],overflow:Ce,offset:[0,4],targetOffset:Te},bottom:{points:["tc","bc"],overflow:Ce,offset:[0,4],targetOffset:Te},bottomRight:{points:["tr","br"],overflow:Ce,offset:[0,4],targetOffset:Te}},Re=Ee,De=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function ke(ze,_e){var Oe,Ne=ze.arrow,Ge=Ne===void 0?!1:Ne,rt=ze.prefixCls,pt=rt===void 0?"rc-dropdown":rt,ut=ze.transitionName,nt=ze.animation,vt=ze.align,xt=ze.placement,Rt=xt===void 0?"bottomLeft":xt,at=ze.placements,Et=at===void 0?Re:at,st=ze.getPopupContainer,gt=ze.showAction,St=ze.hideAction,wt=ze.overlayClassName,Tt=ze.overlayStyle,Wt=ze.visible,hn=ze.trigger,pn=hn===void 0?["hover"]:hn,Tn=ze.autoFocus,Cn=ze.overlay,Vn=ze.children,Qn=ze.onVisibleChange,fr=(0,se.Z)(ze,De),kr=Se.useState(),Vr=(0,re.Z)(kr,2),Ur=Vr[0],Rr=Vr[1],Pn="visible"in ze?Wt:Ur,Xt=Se.useRef(null),nn=Se.useRef(null),bn=Se.useRef(null);Se.useImperativeHandle(_e,function(){return Xt.current});var Mn=function(xn){Rr(xn),Qn==null||Qn(xn)};Pe({visible:Pn,triggerRef:bn,onVisibleChange:Mn,autoFocus:Tn,overlayRef:nn});var tr=function(xn){var Hn=ze.onOverlayClick;Rr(!1),Hn&&Hn(xn)},Xn=function(){return Se.createElement(Le,{ref:nn,overlay:Cn,prefixCls:pt,arrow:Ge})},pr=function(){return typeof Cn=="function"?Xn:Xn()},hr=function(){var xn=ze.minOverlayWidthMatchTrigger,Hn=ze.alignPoint;return"minOverlayWidthMatchTrigger"in ze?xn:!Hn},Zn=function(){var xn=ze.openClassName;return xn!==void 0?xn:"".concat(pt,"-open")},Lt=Se.cloneElement(Vn,{className:pe()((Oe=Vn.props)===null||Oe===void 0?void 0:Oe.className,Pn&&Zn()),ref:y(Vn)?ee(bn,Vn.ref):void 0}),Nt=St;return!Nt&&pn.indexOf("contextMenu")!==-1&&(Nt=["click"]),Se.createElement(ie.Z,(0,fe.Z)({builtinPlacements:Et},fr,{prefixCls:pt,ref:Xt,popupClassName:pe()(wt,(0,le.Z)({},"".concat(pt,"-show-arrow"),Ge)),popupStyle:Tt,action:pn,showAction:gt,hideAction:Nt,popupPlacement:Rt,popupAlign:vt,popupTransitionName:ut,popupAnimation:nt,popupVisible:Pn,stretch:hr()?"minWidth":"",popup:pr(),onPopupVisibleChange:Mn,onPopupClick:tr,getPopupContainer:st}),Lt)}var Ie=Se.forwardRef(ke),qe=Ie,Qe=de(60276),Je=de(5663),Ye=de(10366),He=de(80636),Fe=de(8745),je=de(96159),et=de(53124),tt=de(68508),it=de(76529),Xe=de(46605),Ke=de(66748);const Me=null,Ve=ze=>{const{menu:_e,arrow:Oe,prefixCls:Ne,children:Ge,trigger:rt,disabled:pt,dropdownRender:ut,getPopupContainer:nt,overlayClassName:vt,rootClassName:xt,open:Rt,onOpenChange:at,visible:Et,onVisibleChange:st,mouseEnterDelay:gt=.15,mouseLeaveDelay:St=.1,autoAdjustOverflow:wt=!0,placement:Tt="",overlay:Wt,transitionName:hn}=ze,{getPopupContainer:pn,getPrefixCls:Tn,direction:Cn}=Se.useContext(et.E_),Vn=Se.useMemo(()=>{const Lt=Tn();return hn!==void 0?hn:Tt.includes("top")?`${Lt}-slide-down`:`${Lt}-slide-up`},[Tn,Tt,hn]),Qn=Se.useMemo(()=>Tt?Tt.includes("Center")?Tt.slice(0,Tt.indexOf("Center")):Tt:Cn==="rtl"?"bottomRight":"bottomLeft",[Tt,Cn]),fr=Tn("dropdown",Ne),[kr,Vr]=(0,Ke.Z)(fr),[,Ur]=(0,Xe.Z)(),Rr=Se.Children.only(Ge),Pn=(0,je.Tm)(Rr,{className:pe()(`${fr}-trigger`,{[`${fr}-rtl`]:Cn==="rtl"},Rr.props.className),disabled:pt}),Xt=pt?[]:rt;let nn;Xt&&Xt.includes("contextMenu")&&(nn=!0);const[bn,Mn]=(0,Je.Z)(!1,{value:Rt!=null?Rt:Et}),tr=(0,Qe.useEvent)(Lt=>{at==null||at(Lt),st==null||st(Lt),Mn(Lt)}),Xn=pe()(vt,xt,Vr,{[`${fr}-rtl`]:Cn==="rtl"}),pr=(0,He.Z)({arrowPointAtCenter:typeof Oe=="object"&&Oe.pointAtCenter,autoAdjustOverflow:wt,offset:Ur.marginXXS,arrowWidth:Oe?Ur.sizePopupArrow:0,borderRadius:Ur.borderRadius}),hr=Se.useCallback(()=>{Mn(!1)},[]),Zn=()=>{let Lt;return _e!=null&&_e.items?Lt=Se.createElement(tt.default,Object.assign({},_e)):typeof Wt=="function"?Lt=Wt():Lt=Wt,ut&&(Lt=ut(Lt)),Lt=Se.Children.only(typeof Lt=="string"?Se.createElement("span",null,Lt):Lt),Se.createElement(it.J,{prefixCls:`${fr}-menu`,expandIcon:Se.createElement("span",{className:`${fr}-menu-submenu-arrow`},Se.createElement(xe.Z,{className:`${fr}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:hr,validator:Nt=>{let{mode:Mt}=Nt}},Lt)};return kr(Se.createElement(qe,Object.assign({alignPoint:nn},(0,Ye.Z)(ze,["rootClassName"]),{mouseEnterDelay:gt,mouseLeaveDelay:St,visible:bn,builtinPlacements:pr,arrow:!!Oe,overlayClassName:Xn,prefixCls:fr,getPopupContainer:nt||pn,transitionName:Vn,trigger:Xt,overlay:Zn,placement:Qn,onVisibleChange:tr}),Pn))};function Ae(ze){return Object.assign(Object.assign({},ze),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Be=(0,Fe.Z)(Ve,"dropdown",ze=>ze,Ae),$e=ze=>Se.createElement(Be,Object.assign({},ze),Se.createElement("span",null));Ve._InternalPanelDoNotUseOrYouWillBeFired=$e;var Ze=Ve},85418:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return a}});var Se=de(35874),xe=de(94184),E=de.n(xe),pe=de(67294),fe=de(25877),le=de(71577),re=de(53124),se=de(93421),ie=de(4173),ue=de(66748),ae=function(y,x){var b={};for(var z in y)Object.prototype.hasOwnProperty.call(y,z)&&x.indexOf(z)<0&&(b[z]=y[z]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,z=Object.getOwnPropertySymbols(y);te{const{getPopupContainer:x,getPrefixCls:b,direction:z}=pe.useContext(re.E_),{prefixCls:te,type:ce="default",danger:ge,disabled:he,loading:ve,onClick:me,htmlType:be,children:ye,className:Pe,menu:we,arrow:Le,autoFocus:Ce,overlay:Te,trigger:Ee,align:Re,open:De,onOpenChange:ke,placement:Ie,getPopupContainer:qe,href:Qe,icon:Je=pe.createElement(fe.Z,null),title:Ye,buttonsRender:He=pt=>pt,mouseEnterDelay:Fe,mouseLeaveDelay:je,overlayClassName:et,overlayStyle:tt,destroyPopupOnHide:it,dropdownRender:Xe}=y,Ke=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"]),Me=b("dropdown",te),Ve=`${Me}-button`,[Ae,Be]=(0,ue.Z)(Me),$e={menu:we,arrow:Le,autoFocus:Ce,align:Re,disabled:he,trigger:he?[]:Ee,onOpenChange:ke,getPopupContainer:qe||x,mouseEnterDelay:Fe,mouseLeaveDelay:je,overlayClassName:et,overlayStyle:tt,destroyPopupOnHide:it,dropdownRender:Xe},{compactSize:Ze,compactItemClassnames:ze}=(0,ie.ri)(Me,z),_e=E()(Ve,ze,Pe,Be);"overlay"in y&&($e.overlay=Te),"open"in y&&($e.open=De),"placement"in y?$e.placement=Ie:$e.placement=z==="rtl"?"bottomLeft":"bottomRight";const Oe=pe.createElement(le.ZP,{type:ce,danger:ge,disabled:he,loading:ve,onClick:me,htmlType:be,href:Qe,title:Ye},ye),Ne=pe.createElement(le.ZP,{type:ce,danger:ge,icon:Je}),[Ge,rt]=He([Oe,Ne]);return Ae(pe.createElement(se.Z.Compact,Object.assign({className:_e,size:Ze,block:!0},Ke),Ge,pe.createElement(Se.Z,Object.assign({},$e),rt)))};oe.__ANT_BUTTON=!0;var ne=oe;const ee=Se.Z;ee.Button=ne;var a=ee},66748:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return ae}});var Se=de(14747),xe=de(67771),E=de(33297),pe=de(50438),fe=de(97414),le=de(67968),re=de(45503),ie=oe=>{const{componentCls:ne,menuCls:ee,colorError:a,colorTextLightSolid:y}=oe,x=`${ee}-item`;return{[`${ne}, ${ne}-menu-submenu`]:{[`${ee} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const ue=oe=>{const{componentCls:ne,menuCls:ee,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:x,antCls:b,iconCls:z,motionDurationMid:te,dropdownPaddingVertical:ce,fontSize:ge,dropdownEdgeChildPadding:he,colorTextDisabled:ve,fontSizeIcon:me,controlPaddingHorizontal:be,colorBgElevated:ye}=oe;return[{[ne]:Object.assign(Object.assign({},(0,Se.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`]:{[`& > ${z}-down, & > ${b}-btn-icon > ${z}-down`]:{fontSize:me}},[`${ne}-wrap`]:{position:"relative",[`${b}-btn > ${z}-down`]:{fontSize:me},[`${z}-down::before`]:{transition:`transform ${te}`}},[`${ne}-wrap-open`]:{[`${z}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${b}-slide-down-enter${b}-slide-down-enter-active${ne}-placement-bottomLeft, &${b}-slide-down-appear${b}-slide-down-appear-active${ne}-placement-bottomLeft, &${b}-slide-down-enter${b}-slide-down-enter-active${ne}-placement-bottom, &${b}-slide-down-appear${b}-slide-down-appear-active${ne}-placement-bottom, &${b}-slide-down-enter${b}-slide-down-enter-active${ne}-placement-bottomRight, &${b}-slide-down-appear${b}-slide-down-appear-active${ne}-placement-bottomRight`]:{animationName:xe.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${ne}-placement-topLeft, &${b}-slide-up-appear${b}-slide-up-appear-active${ne}-placement-topLeft, &${b}-slide-up-enter${b}-slide-up-enter-active${ne}-placement-top, &${b}-slide-up-appear${b}-slide-up-appear-active${ne}-placement-top, &${b}-slide-up-enter${b}-slide-up-enter-active${ne}-placement-topRight, &${b}-slide-up-appear${b}-slide-up-appear-active${ne}-placement-topRight`]:{animationName:xe.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${ne}-placement-bottomLeft, &${b}-slide-down-leave${b}-slide-down-leave-active${ne}-placement-bottom, &${b}-slide-down-leave${b}-slide-down-leave-active${ne}-placement-bottomRight`]:{animationName:xe.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${ne}-placement-topLeft, &${b}-slide-up-leave${b}-slide-up-leave-active${ne}-placement-top, &${b}-slide-up-leave${b}-slide-up-leave-active${ne}-placement-topRight`]:{animationName:xe.ly}})},(0,fe.ZP)(oe,{colorBg:ye,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${ne} ${ee}`]:{position:"relative",margin:0},[`${ee}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ne}, ${ne}-menu-submenu`]:{[ee]:Object.assign(Object.assign({padding:he,listStyleType:"none",backgroundColor:ye,backgroundClip:"padding-box",borderRadius:oe.borderRadiusLG,outline:"none",boxShadow:oe.boxShadowSecondary},(0,Se.Qy)(oe)),{[`${ee}-item-group-title`]:{padding:`${ce}px ${be}px`,color:oe.colorTextDescription,transition:`all ${te}`},[`${ee}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ee}-item-icon`]:{minWidth:ge,marginInlineEnd:oe.marginXS,fontSize:oe.fontSizeSM},[`${ee}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ee}-item, ${ee}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ce}px ${be}px`,color:oe.colorText,fontWeight:"normal",fontSize:ge,lineHeight:oe.lineHeight,cursor:"pointer",transition:`all ${te}`,borderRadius:oe.borderRadiusSM,"&:hover, &-active":{backgroundColor:oe.controlItemBgHover}},(0,Se.Qy)(oe)),{"&-selected":{color:oe.colorPrimary,backgroundColor:oe.controlItemBgActive,"&:hover, &-active":{backgroundColor:oe.controlItemBgActiveHover}},"&-disabled":{color:ve,cursor:"not-allowed","&:hover":{color:ve,backgroundColor:ye,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${oe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:oe.colorSplit},[`${ne}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:oe.paddingXS,[`${ne}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:oe.colorTextDescription,fontSize:me,fontStyle:"normal"}}}),[`${ee}-item-group-list`]:{margin:`0 ${oe.marginXS}px`,padding:0,listStyle:"none"},[`${ee}-submenu-title`]:{paddingInlineEnd:be+oe.fontSizeSM},[`${ee}-submenu-vertical`]:{position:"relative"},[`${ee}-submenu${ee}-submenu-disabled ${ne}-menu-submenu-title`]:{[`&, ${ne}-menu-submenu-arrow-icon`]:{color:ve,backgroundColor:ye,cursor:"not-allowed"}},[`${ee}-submenu-selected ${ne}-menu-submenu-title`]:{color:oe.colorPrimary}})}},[(0,xe.oN)(oe,"slide-up"),(0,xe.oN)(oe,"slide-down"),(0,E.Fm)(oe,"move-up"),(0,E.Fm)(oe,"move-down"),(0,pe._y)(oe,"zoom-big")]]};var ae=(0,le.Z)("Dropdown",(oe,ne)=>{let{rootPrefixCls:ee}=ne;const{marginXXS:a,sizePopupArrow:y,controlHeight:x,fontSize:b,lineHeight:z,paddingXXS:te,componentCls:ce,borderRadiusLG:ge}=oe,he=(x-b*z)/2,{dropdownArrowOffset:ve}=(0,fe.fS)({contentRadius:ge}),me=(0,re.TS)(oe,{menuCls:`${ce}-menu`,rootPrefixCls:ee,dropdownArrowDistance:y/2+a,dropdownArrowOffset:ve,dropdownPaddingVertical:he,dropdownEdgeChildPadding:te});return[ue(me),ie(me)]},oe=>({zIndexPopup:oe.zIndexPopupBase+50}))},25378:function(_t,ft,de){"use strict";var Se=de(67294),xe=de(14075),E=de(57838),pe=de(74443);function fe(){let le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const re=(0,Se.useRef)({}),se=(0,E.Z)(),ie=(0,pe.ZP)();return(0,xe.Z)(()=>{const ue=ie.subscribe(ae=>{re.current=ae,le&&se()});return()=>ie.unsubscribe(ue)},[]),re.current}ft.Z=fe},99398:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return wn}});var Se=de(67294),xe=de.t(Se,2),E=de(99569),pe=de(94184),fe=de.n(pe),le=de(87462),re=de(1413),se=de(4942),ie=de(97685),ue=de(71002),ae=de(45987),oe=/margin|padding|width|height|max|min|offset/,ne={left:!0,top:!0},ee={cssFloat:1,styleFloat:1,float:1};function a(ct){return ct.nodeType===1?ct.ownerDocument.defaultView.getComputedStyle(ct,null):{}}function y(ct,lt,mt){if(lt=lt.toLowerCase(),mt==="auto"){if(lt==="height")return ct.offsetHeight;if(lt==="width")return ct.offsetWidth}return lt in ne||(ne[lt]=oe.test(lt)),ne[lt]?parseFloat(mt)||0:mt}function x(ct,lt){var mt=arguments.length,Ot=a(ct);return lt=ee[lt]?"cssFloat"in ct.style?"cssFloat":"styleFloat":lt,mt===1?Ot:y(ct,lt,Ot[lt]||ct.style[lt])}function b(ct,lt,mt){var Ot=arguments.length;if(lt=ee[lt]?"cssFloat"in ct.style?"cssFloat":"styleFloat":lt,Ot===3)return typeof mt=="number"&&oe.test(lt)&&(mt="".concat(mt,"px")),ct.style[lt]=mt,mt;for(var It in lt)lt.hasOwnProperty(It)&&b(ct,It,lt[It]);return a(ct)}function z(ct){return ct===document.body?document.documentElement.clientWidth:ct.offsetWidth}function te(ct){return ct===document.body?window.innerHeight||document.documentElement.clientHeight:ct.offsetHeight}function ce(){var ct=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),lt=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ct,height:lt}}function ge(){var ct=document.documentElement.clientWidth,lt=window.innerHeight||document.documentElement.clientHeight;return{width:ct,height:lt}}function he(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function ve(ct){var lt=ct.getBoundingClientRect(),mt=document.documentElement;return{left:lt.left+(window.pageXOffset||mt.scrollLeft)-(mt.clientLeft||document.body.clientLeft||0),top:lt.top+(window.pageYOffset||mt.scrollTop)-(mt.clientTop||document.body.clientTop||0)}}function me(ct){var lt=Se.useRef();lt.current=ct;var mt=Se.useCallback(function(){for(var Ot,It=arguments.length,kt=new Array(It),un=0;un=it.F1&&mt<=it.F12)return!1;switch(mt){case it.ALT:case it.CAPS_LOCK:case it.CONTEXT_MENU:case it.CTRL:case it.DOWN:case it.END:case it.ESC:case it.HOME:case it.INSERT:case it.LEFT:case it.MAC_FF_META:case it.META:case it.NUMLOCK:case it.NUM_CENTER:case it.PAGE_DOWN:case it.PAGE_UP:case it.PAUSE:case it.PRINT_SCREEN:case it.RIGHT:case it.SHIFT:case it.UP:case it.WIN_KEY:case it.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(lt){if(lt>=it.ZERO&<<=it.NINE||lt>=it.NUM_ZERO&<<=it.NUM_MULTIPLY||lt>=it.A&<<=it.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&<===0)return!0;switch(lt){case it.SPACE:case it.QUESTION_MARK:case it.NUM_PLUS:case it.NUM_MINUS:case it.NUM_PERIOD:case it.NUM_DIVISION:case it.SEMICOLON:case it.DASH:case it.EQUALS:case it.COMMA:case it.PERIOD:case it.SLASH:case it.APOSTROPHE:case it.SINGLE_QUOTE:case it.OPEN_SQUARE_BRACKET:case it.BACKSLASH:case it.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Xe=it,Ke=`accept acceptCharset accessKey action allowFullScreen allowTransparency alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge charSet checked classID className colSpan cols content contentEditable contextMenu controls coords crossOrigin data dateTime default defer dir disabled download draggable encType form formAction formEncType formMethod formNoValidate formTarget frameBorder headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media mediaGroup method min minLength multiple muted name noValidate nonce open optimum pattern placeholder poster preload radioGroup readOnly rel required reversed role rowSpan rows sandbox scope scoped scrolling seamless selected shape size sizes span spellCheck src srcDoc srcLang srcSet start step style summary tabIndex target title type useMap value width wmode wrap`,Me=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Ve="".concat(Ke," ").concat(Me).split(/[\s\n]+/),Ae="aria-",Be="data-";function $e(ct,lt){return ct.indexOf(lt)===0}function Ze(ct){var lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,mt;lt===!1?mt={aria:!0,data:!0,attr:!0}:lt===!0?mt={aria:!0}:mt=(0,re.Z)({},lt);var Ot={};return Object.keys(ct).forEach(function(It){(mt.aria&&(It==="role"||$e(It,Ae))||mt.data&&$e(It,Be)||mt.attr&&Ve.includes(It))&&(Ot[It]=ct[It])}),Ot}function ze(ct,lt,mt){var Ot=lt;return!Ot&&mt&&(Ot="".concat(ct,"-").concat(mt)),Ot}function _e(ct,lt){var mt=ct["page".concat(lt?"Y":"X","Offset")],Ot="scroll".concat(lt?"Top":"Left");if(typeof mt!="number"){var It=ct.document;mt=It.documentElement[Ot],typeof mt!="number"&&(mt=It.body[Ot])}return mt}function Oe(ct){var lt=ct.getBoundingClientRect(),mt={left:lt.left,top:lt.top},Ot=ct.ownerDocument,It=Ot.defaultView||Ot.parentWindow;return mt.left+=_e(It),mt.top+=_e(It,!0),mt}var Ne=de(62874),Ge=de(59864);function rt(ct,lt,mt){var Ot=Se.useRef({});return(!("value"in Ot.current)||mt(Ot.current.condition,lt))&&(Ot.current.value=ct(),Ot.current.condition=lt),Ot.current.value}function pt(ct,lt){typeof ct=="function"?ct(lt):(0,ue.Z)(ct)==="object"&&ct&&"current"in ct&&(ct.current=lt)}function ut(){for(var ct=arguments.length,lt=new Array(ct),mt=0;mt=Cn.F1&&mt<=Cn.F12)return!1;switch(mt){case Cn.ALT:case Cn.CAPS_LOCK:case Cn.CONTEXT_MENU:case Cn.CTRL:case Cn.DOWN:case Cn.END:case Cn.ESC:case Cn.HOME:case Cn.INSERT:case Cn.LEFT:case Cn.MAC_FF_META:case Cn.META:case Cn.NUMLOCK:case Cn.NUM_CENTER:case Cn.PAGE_DOWN:case Cn.PAGE_UP:case Cn.PAUSE:case Cn.PRINT_SCREEN:case Cn.RIGHT:case Cn.SHIFT:case Cn.UP:case Cn.WIN_KEY:case Cn.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(lt){if(lt>=Cn.ZERO&<<=Cn.NINE||lt>=Cn.NUM_ZERO&<<=Cn.NUM_MULTIPLY||lt>=Cn.A&<<=Cn.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&<===0)return!0;switch(lt){case Cn.SPACE:case Cn.QUESTION_MARK:case Cn.NUM_PLUS:case Cn.NUM_MINUS:case Cn.NUM_PERIOD:case Cn.NUM_DIVISION:case Cn.SEMICOLON:case Cn.DASH:case Cn.EQUALS:case Cn.COMMA:case Cn.PERIOD:case Cn.SLASH:case Cn.APOSTROPHE:case Cn.SINGLE_QUOTE:case Cn.OPEN_SQUARE_BRACKET:case Cn.BACKSLASH:case Cn.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Vn=Cn,Qn={},fr=[],kr=function(lt){fr.push(lt)};function Vr(ct,lt){if(0)var mt}function Ur(ct,lt){if(0)var mt}function Rr(){Qn={}}function Pn(ct,lt,mt){!lt&&!Qn[mt]&&(ct(!1,mt),Qn[mt]=!0)}function Xt(ct,lt){Pn(Vr,ct,lt)}function nn(ct,lt){Pn(Ur,ct,lt)}Xt.preMessage=kr,Xt.resetWarned=Rr,Xt.noteOnce=nn;var bn=Xt;function Mn(ct,lt,mt,Ot){var It=lt+mt,kt=(mt-Ot)/2;if(mt>Ot){if(lt>0)return(0,se.Z)({},ct,kt);if(lt<0&&ItOt)return(0,se.Z)({},ct,lt<0?kt:-kt);return{}}function tr(ct,lt,mt,Ot){var It=ge(),kt=It.width,un=It.height,En=null;return ct<=kt&<<=un?En={x:0,y:0}:(ct>kt||lt>un)&&(En=(0,re.Z)((0,re.Z)({},Mn("x",mt,ct,kt)),Mn("y",Ot,lt,un))),En}function Xn(ct,lt){var mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ot=new Set;function It(kt,un){var En=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Bn=Ot.has(kt);if(bn(!Bn,"Warning: There may be circular references"),Bn)return!1;if(kt===un)return!0;if(mt&&En>1)return!1;Ot.add(kt);var Gn=En+1;if(Array.isArray(kt)){if(!Array.isArray(un)||kt.length!==un.length)return!1;for(var zn=0;zn1&&arguments[1]!==void 0?arguments[1]:1;Lt+=1;var Ot=Lt;function It(kt){if(kt===0)Mt(Ot),lt();else{var un=hr(function(){It(kt-1)});Nt.set(Ot,un)}}return It(mt),Ot};xn.cancel=function(ct){var lt=Nt.get(ct);return Mt(lt),Zn(lt)};var Hn=xn,Fn={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function wr(ct,lt,mt,Ot){var It=(0,Se.useRef)(null),kt=(0,Se.useRef)([]),un=(0,Se.useState)(Fn),En=(0,ie.Z)(un,2),Bn=En[0],Gn=En[1],zn=function(_r){Gn(Fn),Ot&&!pr(Fn,Bn)&&Ot({transform:Fn,action:_r})},$n=function(_r,Nr){It.current===null&&(kt.current=[],It.current=Hn(function(){Gn(function(Lr){var Wr=Lr;return kt.current.forEach(function(Jr){Wr=(0,re.Z)((0,re.Z)({},Wr),Jr)}),It.current=null,Ot==null||Ot({transform:Wr,action:Nr}),Wr})})),kt.current.push((0,re.Z)((0,re.Z)({},Bn),_r))},Wn=function(_r,Nr,Lr,Wr){var Jr=ct.current,so=Jr.width,gr=Jr.height,oo=Jr.offsetWidth,wo=Jr.offsetHeight,Do=Jr.offsetLeft,uo=Jr.offsetTop,So=_r,ir=Bn.scale*_r;ir>mt?(So=mt/Bn.scale,ir=mt):ir1,xa=Go&&Jr>=1,Oa=wr(Vo,Do,So,Jo),Qo=Oa.transform,qo=Oa.resetTransform,ba=Oa.updateTransform,Za=Oa.dispatchZoomChange,ja=(0,Se.useState)(!0),Fa=(0,ie.Z)(ja,2),Ga=Fa[0],Cr=Fa[1],no=Qo.rotate,Xo=Qo.scale,ha=Qo.x,Aa=Qo.y,$a=fe()((0,se.Z)({},"".concat(mt,"-moving"),Wo));(0,Se.useEffect)(function(){Ga||Cr(!0)},[Ga]);var _a=function(){qo("close")},ta=function(){Za(jr+oo,"zoomIn")},Va=function(){Za(jr/(jr+oo),"zoomOut")},fi=function(){ba({rotate:no+90},"rotateRight")},Wa=function(){ba({rotate:no-90},"rotateLeft")},Xa=function(){ba({flipX:!Qo.flipX},"flipX")},ti=function(){ba({flipY:!Qo.flipY},"flipY")},bi=function(No){No==null||No.preventDefault(),No==null||No.stopPropagation(),Lr>0&&(Cr(!1),qo("prev"),oa==null||oa(Lr-1,Lr))},Pi=function(No){No==null||No.preventDefault(),No==null||No.stopPropagation(),Lr0&&(Ja=jr/Ja),Za(Ja,"wheel",No.clientX,No.clientY)}},Hi=function(No){!Gn||!ea||(No.keyCode===Vn.LEFT?bi():No.keyCode===Vn.RIGHT&&Pi())},Di=function(No){Gn&&(Xo!==1?ba({x:0,y:0,scale:1},"doubleClick"):Za(jr+oo,"doubleClick",No.clientX,No.clientY))};(0,Se.useEffect)(function(){var Ca,No,hi,Ya;if(En){hi=Tn(window,"mouseup",gi,!1),Ya=Tn(window,"mousemove",Ri,!1);try{window.top!==window.self&&(Ca=Tn(window.top,"mouseup",gi,!1),No=Tn(window.top,"mousemove",Ri,!1))}catch(Ja){Vr(!1,"[rc-image] ".concat(Ja))}}return function(){var Ja,si,li,pi;(Ja=hi)===null||Ja===void 0||Ja.remove(),(si=Ya)===null||si===void 0||si.remove(),(li=Ca)===null||li===void 0||li.remove(),(pi=No)===null||pi===void 0||pi.remove()}},[Gn,Wo,ha,Aa,no,En]),(0,Se.useEffect)(function(){var Ca=Tn(window,"keydown",Hi,!1);return function(){Ca.remove()}},[Gn,ea,Lr]);var xi=Se.createElement(Ft,(0,le.Z)({},Eo,{width:lt.width,height:lt.height,imgRef:Vo,className:"".concat(mt,"-img"),alt:It,style:{transform:"translate3d(".concat(Qo.x,"px, ").concat(Qo.y,"px, 0) scale3d(").concat(Qo.flipX?"-":"").concat(Xo,", ").concat(Qo.flipY?"-":"").concat(Xo,", 1) rotate(").concat(no,"deg)"),transitionDuration:!Ga&&"0s"},fallback:kt,src:Ot,onWheel:zi,onMouseDown:Ui,onDoubleClick:Di}));return Se.createElement(Se.Fragment,null,Se.createElement(hn,(0,le.Z)({transitionName:Hr,maskTransitionName:Oo,closable:!1,keyboard:!0,prefixCls:mt,onClose:Bn,visible:Gn,wrapClassName:$a,rootClassName:Wn,getContainer:_r},Ro,{afterClose:_a}),Se.createElement("div",{className:"".concat(mt,"-img-wrapper")},bo?bo(xi,(0,re.Z)({transform:Qo},Go?{current:Lr}:{})):xi)),Se.createElement(Sr,{visible:Gn,transform:Qo,maskTransitionName:Oo,closeIcon:Kn,getContainer:_r,prefixCls:mt,rootClassName:Wn,icons:$n,countRender:so,showSwitch:ea,showProgress:xa,current:Lr,count:Jr,scale:Xo,minScale:Do,maxScale:So,toolbarRender:Bo,onSwitchLeft:bi,onSwitchRight:Pi,onZoomIn:ta,onZoomOut:Va,onRotateRight:fi,onRotateLeft:Wa,onFlipX:Xa,onFlipY:ti,onClose:Bn}))},rn=dn,fn=de(74902);function Nn(ct){var lt=Se.useState({}),mt=(0,ie.Z)(lt,2),Ot=mt[0],It=mt[1],kt=Se.useCallback(function(En,Bn){return It(function(Gn){return(0,re.Z)((0,re.Z)({},Gn),{},(0,se.Z)({},En,Bn))}),function(){It(function(Gn){var zn=(0,re.Z)({},Gn);return delete zn[En],zn})}},[]),un=Se.useMemo(function(){return ct?ct.map(function(En){if(typeof En=="string")return{data:{src:En}};var Bn={};return Object.keys(En).forEach(function(Gn){["src"].concat((0,fn.Z)(Re)).includes(Gn)&&(Bn[Gn]=En[Gn])}),{data:Bn}}):Object.keys(Ot).reduce(function(En,Bn){var Gn=Ot[Bn],zn=Gn.canPreview,$n=Gn.data;return zn&&En.push({data:$n,id:Bn}),En},[])},[ct,Ot]);return[un,kt]}var ln=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Vt=["src"],vn=function(lt){var mt,Ot=lt.previewPrefixCls,It=Ot===void 0?"rc-image-preview":Ot,kt=lt.children,un=lt.icons,En=un===void 0?{}:un,Bn=lt.items,Gn=lt.preview,zn=lt.fallback,$n=(0,ue.Z)(Gn)==="object"?Gn:{},Wn=$n.visible,Kn=$n.onVisibleChange,_r=$n.getContainer,Nr=$n.current,Lr=$n.movable,Wr=$n.minScale,Jr=$n.maxScale,so=$n.countRender,gr=$n.closeIcon,oo=$n.onChange,wo=$n.onTransform,Do=$n.toolbarRender,uo=$n.imageRender,So=(0,ae.Z)($n,ln),ir=Nn(Bn),Hr=(0,ie.Z)(ir,2),xo=Hr[0],Oo=Hr[1],bo=Ee(0,{value:Nr}),Eo=(0,ie.Z)(bo,2),Bo=Eo[0],Jo=Eo[1],oa=(0,Se.useState)(!1),Ro=(0,ie.Z)(oa,2),Vo=Ro[0],la=Ro[1],pa=((mt=xo[Bo])===null||mt===void 0?void 0:mt.data)||{},aa=pa.src,Wo=(0,ae.Z)(pa,Vt),ma=Ee(!!Wn,{value:Wn,onChange:function(no,Xo){Kn==null||Kn(no,Xo,Bo)}}),Go=(0,ie.Z)(ma,2),ea=Go[0],xa=Go[1],Oa=(0,Se.useState)(null),Qo=(0,ie.Z)(Oa,2),qo=Qo[0],ba=Qo[1],Za=Se.useCallback(function(Cr,no,Xo){var ha=xo.findIndex(function(Aa){return Aa.id===Cr});xa(!0),ba({x:no,y:Xo}),Jo(ha<0?0:ha),la(!0)},[xo]);Se.useEffect(function(){ea?Vo||Jo(0):la(!1)},[ea]);var ja=function(no,Xo){Jo(no),oo==null||oo(no,Xo)},Fa=function(){xa(!1),ba(null)},Ga=Se.useMemo(function(){return{register:Oo,onPreview:Za}},[Oo,Za]);return Se.createElement(De.Provider,{value:Ga},kt,Se.createElement(rn,(0,le.Z)({"aria-hidden":!ea,movable:Lr,visible:ea,prefixCls:It,closeIcon:gr,onClose:Fa,mousePosition:qo,imgCommonProps:Wo,src:aa,fallback:zn,icons:En,minScale:Wr,maxScale:Jr,getContainer:_r,current:Bo,count:xo.length,countRender:so,onTransform:wo,toolbarRender:Do,imageRender:uo,onChange:ja},So)))},br=vn,cr=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Or=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],zr=function(lt){var mt=lt.src,Ot=lt.alt,It=lt.onPreviewClose,kt=lt.prefixCls,un=kt===void 0?"rc-image":kt,En=lt.previewPrefixCls,Bn=En===void 0?"".concat(un,"-preview"):En,Gn=lt.placeholder,zn=lt.fallback,$n=lt.width,Wn=lt.height,Kn=lt.style,_r=lt.preview,Nr=_r===void 0?!0:_r,Lr=lt.className,Wr=lt.onClick,Jr=lt.onError,so=lt.wrapperClassName,gr=lt.wrapperStyle,oo=lt.rootClassName,wo=(0,ae.Z)(lt,cr),Do=Gn&&Gn!==!0,uo=(0,ue.Z)(Nr)==="object"?Nr:{},So=uo.src,ir=uo.visible,Hr=ir===void 0?void 0:ir,xo=uo.onVisibleChange,Oo=xo===void 0?It:xo,bo=uo.getContainer,Eo=bo===void 0?void 0:bo,Bo=uo.mask,Jo=uo.maskClassName,oa=uo.movable,Ro=uo.icons,Vo=uo.scaleStep,la=uo.minScale,pa=uo.maxScale,aa=uo.imageRender,Wo=uo.toolbarRender,ma=(0,ae.Z)(uo,Or),Go=So!=null?So:mt,ea=Ee(!!Hr,{value:Hr,onChange:Oo}),xa=(0,ie.Z)(ea,2),Oa=xa[0],Qo=xa[1],qo=Qe({src:mt,isCustomPlaceholder:Do,fallback:zn}),ba=(0,ie.Z)(qo,3),Za=ba[0],ja=ba[1],Fa=ba[2],Ga=(0,Se.useState)(null),Cr=(0,ie.Z)(Ga,2),no=Cr[0],Xo=Cr[1],ha=(0,Se.useContext)(De),Aa=!!Nr,$a=function(){Qo(!1),Xo(null)},_a=fe()(un,so,oo,(0,se.Z)({},"".concat(un,"-error"),Fa==="error")),ta=(0,Se.useMemo)(function(){var Xa={};return Re.forEach(function(ti){lt[ti]!==void 0&&(Xa[ti]=lt[ti])}),Xa},Re.map(function(Xa){return lt[Xa]})),Va=(0,Se.useMemo)(function(){return(0,re.Z)((0,re.Z)({},ta),{},{src:Go})},[Go,ta]),fi=Ie(Aa,Va),Wa=function(ti){var bi=ve(ti.target),Pi=bi.left,gi=bi.top;ha?ha.onPreview(fi,Pi,gi):(Xo({x:Pi,y:gi}),Qo(!0)),Wr==null||Wr(ti)};return Se.createElement(Se.Fragment,null,Se.createElement("div",(0,le.Z)({},wo,{className:_a,onClick:Aa?Wa:Wr,style:(0,re.Z)({width:$n,height:Wn},gr)}),Se.createElement("img",(0,le.Z)({},ta,{className:fe()("".concat(un,"-img"),(0,se.Z)({},"".concat(un,"-img-placeholder"),Gn===!0),Lr),style:(0,re.Z)({height:Wn},Kn),ref:Za},ja,{width:$n,height:Wn,onError:Jr})),Fa==="loading"&&Se.createElement("div",{"aria-hidden":"true",className:"".concat(un,"-placeholder")},Gn),Bo&&Aa&&Se.createElement("div",{className:fe()("".concat(un,"-mask"),Jo),style:{display:(Kn==null?void 0:Kn.display)==="none"?"none":void 0}},Bo)),!ha&&Aa&&Se.createElement(rn,(0,le.Z)({"aria-hidden":!Oa,visible:Oa,prefixCls:Bn,onClose:$a,mousePosition:no,src:Go,alt:Ot,fallback:zn,getContainer:Eo,icons:Ro,movable:oa,scaleStep:Vo,minScale:la,maxScale:pa,rootClassName:oo,imageRender:aa,imgCommonProps:ta,toolbarRender:Wo},ma)))};zr.PreviewGroup=br,zr.displayName="Image";var co=zr,ro=co,qr=de(33603),Ln=de(53124),io=de(24457),Uo=de(73475),Un=de(22751),or=de(91034),Er={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"},Yn=Er,yo=de(74643),Mr=function(lt,mt){return Se.createElement(yo.Z,(0,le.Z)({},lt,{ref:mt,icon:Yn}))},To=Se.forwardRef(Mr),Mo={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"},Po=Mo,Dt=function(lt,mt){return Se.createElement(yo.Z,(0,le.Z)({},lt,{ref:mt,icon:Po}))},At=Se.forwardRef(Dt),on={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"},yn=on,On=function(lt,mt){return Se.createElement(yo.Z,(0,le.Z)({},lt,{ref:mt,icon:yn}))},tn=Se.forwardRef(On),mr={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"},Ar=mr,Kr=function(lt,mt){return Se.createElement(yo.Z,(0,le.Z)({},lt,{ref:mt,icon:Ar}))},to=Se.forwardRef(Kr),Yr={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"},po=Yr,ur=function(lt,mt){return Se.createElement(yo.Z,(0,le.Z)({},lt,{ref:mt,icon:po}))},Ct=Se.forwardRef(ur),Bt=de(84780),sn=de(71194),ht=de(14747),cn=de(50438),_n=de(16932),An=de(67968),Kt=de(45503);const Yt=ct=>({position:ct||"absolute",inset:0}),qt=ct=>{const{iconCls:lt,motionDurationSlow:mt,paddingXXS:Ot,marginXXS:It,prefixCls:kt,colorTextLightSolid:un}=ct;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:un,background:new Bt.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${mt}`,[`.${kt}-mask-info`]:Object.assign(Object.assign({},ht.vS),{padding:`0 ${Ot}px`,[lt]:{marginInlineEnd:It,svg:{verticalAlign:"baseline"}}})}},jn=ct=>{const{previewCls:lt,modalMaskBg:mt,paddingSM:Ot,marginXL:It,margin:kt,paddingLG:un,previewOperationColorDisabled:En,previewOperationHoverColor:Bn,motionDurationSlow:Gn,iconCls:zn,colorTextLightSolid:$n}=ct,Wn=new Bt.C(mt).setAlpha(.1),Kn=Wn.clone().setAlpha(.2);return{[`${lt}-footer`]:{position:"fixed",bottom:It,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:ct.previewOperationColor},[`${lt}-progress`]:{marginBottom:kt},[`${lt}-close`]:{position:"fixed",top:It,right:{_skip_check_:!0,value:It},display:"flex",color:$n,backgroundColor:Wn.toRgbString(),borderRadius:"50%",padding:Ot,outline:0,border:0,cursor:"pointer",transition:`all ${Gn}`,"&:hover":{backgroundColor:Kn.toRgbString()},[`& > ${zn}`]:{fontSize:ct.previewOperationSize}},[`${lt}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${un}px`,backgroundColor:Wn.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Ot,padding:Ot,cursor:"pointer",transition:`all ${Gn}`,userSelect:"none",[`&:not(${lt}-operations-operation-disabled):hover > ${zn}`]:{color:Bn},"&-disabled":{color:En,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${zn}`]:{fontSize:ct.previewOperationSize}}}}},er=ct=>{const{modalMaskBg:lt,iconCls:mt,previewOperationColorDisabled:Ot,previewCls:It,zIndexPopup:kt,motionDurationSlow:un}=ct,En=new Bt.C(lt).setAlpha(.1),Bn=En.clone().setAlpha(.2);return{[`${It}-switch-left, ${It}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:kt+1,display:"flex",alignItems:"center",justifyContent:"center",width:ct.imagePreviewSwitchSize,height:ct.imagePreviewSwitchSize,marginTop:-ct.imagePreviewSwitchSize/2,color:ct.previewOperationColor,background:En.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${un}`,userSelect:"none","&:hover":{background:Bn.toRgbString()},"&-disabled":{"&, &:hover":{color:Ot,background:"transparent",cursor:"not-allowed",[`> ${mt}`]:{cursor:"not-allowed"}}},[`> ${mt}`]:{fontSize:ct.previewOperationSize}},[`${It}-switch-left`]:{insetInlineStart:ct.marginSM},[`${It}-switch-right`]:{insetInlineEnd:ct.marginSM}}},ar=ct=>{const{motionEaseOut:lt,previewCls:mt,motionDurationSlow:Ot,componentCls:It}=ct;return[{[`${It}-preview-root`]:{[mt]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${mt}-body`]:Object.assign(Object.assign({},Yt()),{overflow:"hidden"}),[`${mt}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Ot} ${lt} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Yt()),{transition:`transform ${Ot} ${lt} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${mt}-moving`]:{[`${mt}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${It}-preview-root`]:{[`${mt}-wrap`]:{zIndex:ct.zIndexPopup}}},{[`${It}-preview-operations-wrapper`]:{position:"fixed",zIndex:ct.zIndexPopup+1},"&":[jn(ct),er(ct)]}]},Pt=ct=>{const{componentCls:lt}=ct;return{[lt]:{position:"relative",display:"inline-block",[`${lt}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${lt}-img-placeholder`]:{backgroundColor:ct.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${lt}-mask`]:Object.assign({},qt(ct)),[`${lt}-mask:hover`]:{opacity:1},[`${lt}-placeholder`]:Object.assign({},Yt())}}},Ut=ct=>{const{previewCls:lt}=ct;return{[`${lt}-root`]:(0,cn._y)(ct,"zoom"),"&":(0,_n.J$)(ct,!0)}};var Jt=(0,An.Z)("Image",ct=>{const lt=`${ct.componentCls}-preview`,mt=(0,Kt.TS)(ct,{previewCls:lt,modalMaskBg:new Bt.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:ct.controlHeightLG});return[Pt(mt),ar(mt),(0,sn.QA)((0,Kt.TS)(mt,{componentCls:lt})),Ut(mt)]},ct=>({zIndexPopup:ct.zIndexPopupBase+80,previewOperationColor:new Bt.C(ct.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Bt.C(ct.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Bt.C(ct.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:ct.fontSizeIcon*1.5})),kn=function(ct,lt){var mt={};for(var Ot in ct)Object.prototype.hasOwnProperty.call(ct,Ot)&<.indexOf(Ot)<0&&(mt[Ot]=ct[Ot]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var It=0,Ot=Object.getOwnPropertySymbols(ct);It{var{previewPrefixCls:lt,preview:mt}=ct,Ot=kn(ct,["previewPrefixCls","preview"]);const{getPrefixCls:It}=Se.useContext(Ln.E_),kt=It("image",lt),un=`${kt}-preview`,En=It(),[Bn,Gn]=Jt(kt),zn=Se.useMemo(()=>{var $n;if(mt===!1)return mt;const Wn=typeof mt=="object"?mt:{},Kn=fe()(Gn,($n=Wn.rootClassName)!==null&&$n!==void 0?$n:"");return Object.assign(Object.assign({},Wn),{transitionName:(0,qr.m)(En,"zoom",Wn.transitionName),maskTransitionName:(0,qr.m)(En,"fade",Wn.maskTransitionName),rootClassName:Kn})},[mt]);return Bn(Se.createElement(ro.PreviewGroup,Object.assign({preview:zn,previewPrefixCls:un,icons:mn},Ot)))},Gt=function(ct,lt){var mt={};for(var Ot in ct)Object.prototype.hasOwnProperty.call(ct,Ot)&<.indexOf(Ot)<0&&(mt[Ot]=ct[Ot]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var It=0,Ot=Object.getOwnPropertySymbols(ct);It{const{prefixCls:lt,preview:mt,className:Ot,rootClassName:It,style:kt}=ct,un=Gt(ct,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:En,locale:Bn=io.Z,getPopupContainer:Gn,image:zn}=Se.useContext(Ln.E_),$n=En("image",lt),Wn=En(),Kn=Bn.Image||io.Z.Image,[_r,Nr]=Jt($n),Lr=fe()(It,Nr),Wr=fe()(Ot,Nr,zn==null?void 0:zn.className),Jr=Se.useMemo(()=>{if(mt===!1)return mt;const gr=typeof mt=="object"?mt:{},{getContainer:oo}=gr,wo=Gt(gr,["getContainer"]);return Object.assign(Object.assign({mask:Se.createElement("div",{className:`${$n}-mask-info`},Se.createElement(E.Z,null),Kn==null?void 0:Kn.preview),icons:mn},wo),{getContainer:oo||Gn,transitionName:(0,qr.m)(Wn,"zoom",gr.transitionName),maskTransitionName:(0,qr.m)(Wn,"fade",gr.maskTransitionName)})},[mt,Kn]),so=Object.assign(Object.assign({},zn==null?void 0:zn.style),kt);return _r(Se.createElement(ro,Object.assign({prefixCls:$n,preview:Jr,rootClassName:Lr,className:Wr,style:so},un)))};$t.PreviewGroup=Zt;var wn=$t},71322:function(_t,ft,de){"use strict";de.d(ft,{D:function(){return z},Z:function(){return ge}});var Se=de(87462),xe=de(67294),E={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},pe=E,fe=de(74643),le=function(ve,me){return xe.createElement(fe.Z,(0,Se.Z)({},ve,{ref:me,icon:pe}))},re=xe.forwardRef(le),se=de(22751),ie=de(91034),ue=de(94184),ae=de.n(ue),oe=de(10366),ee=he=>!isNaN(parseFloat(he))&&isFinite(he),a=de(53124),y=de(84321),x=function(he,ve){var me={};for(var be in he)Object.prototype.hasOwnProperty.call(he,be)&&ve.indexOf(be)<0&&(me[be]=he[be]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,be=Object.getOwnPropertySymbols(he);ye{let he=0;return function(){let ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return he+=1,`${ve}${he}`}})();var ge=xe.forwardRef((he,ve)=>{const{prefixCls:me,className:be,trigger:ye,children:Pe,defaultCollapsed:we=!1,theme:Le="dark",style:Ce={},collapsible:Te=!1,reverseArrow:Ee=!1,width:Re=200,collapsedWidth:De=80,zeroWidthTriggerStyle:ke,breakpoint:Ie,onCollapse:qe,onBreakpoint:Qe}=he,Je=x(he,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ye}=(0,xe.useContext)(y.Gs),[He,Fe]=(0,xe.useState)("collapsed"in he?he.collapsed:we),[je,et]=(0,xe.useState)(!1);(0,xe.useEffect)(()=>{"collapsed"in he&&Fe(he.collapsed)},[he.collapsed]);const tt=(Ae,Be)=>{"collapsed"in he||Fe(Ae),qe==null||qe(Ae,Be)},it=(0,xe.useRef)();it.current=Ae=>{et(Ae.matches),Qe==null||Qe(Ae.matches),He!==Ae.matches&&tt(Ae.matches,"responsive")},(0,xe.useEffect)(()=>{function Ae($e){return it.current($e)}let Be;if(typeof window!="undefined"){const{matchMedia:$e}=window;if($e&&Ie&&Ie in b){Be=$e(`(max-width: ${b[Ie]})`);try{Be.addEventListener("change",Ae)}catch(Ze){Be.addListener(Ae)}Ae(Be)}}return()=>{try{Be==null||Be.removeEventListener("change",Ae)}catch($e){Be==null||Be.removeListener(Ae)}}},[Ie]),(0,xe.useEffect)(()=>{const Ae=te("ant-sider-");return Ye.addSider(Ae),()=>Ye.removeSider(Ae)},[]);const Xe=()=>{tt(!He,"clickTrigger")},{getPrefixCls:Ke}=(0,xe.useContext)(a.E_),Me=()=>{const Ae=Ke("layout-sider",me),Be=(0,oe.Z)(Je,["collapsed"]),$e=He?De:Re,Ze=ee($e)?`${$e}px`:String($e),ze=parseFloat(String(De||0))===0?xe.createElement("span",{onClick:Xe,className:ae()(`${Ae}-zero-width-trigger`,`${Ae}-zero-width-trigger-${Ee?"right":"left"}`),style:ke},ye||xe.createElement(re,null)):null,Ne={expanded:Ee?xe.createElement(ie.Z,null):xe.createElement(se.Z,null),collapsed:Ee?xe.createElement(se.Z,null):xe.createElement(ie.Z,null)}[He?"collapsed":"expanded"],Ge=ye!==null?ze||xe.createElement("div",{className:`${Ae}-trigger`,onClick:Xe,style:{width:Ze}},ye||Ne):null,rt=Object.assign(Object.assign({},Ce),{flex:`0 0 ${Ze}`,maxWidth:Ze,minWidth:Ze,width:Ze}),pt=ae()(Ae,`${Ae}-${Le}`,{[`${Ae}-collapsed`]:!!He,[`${Ae}-has-trigger`]:Te&&ye!==null&&!ze,[`${Ae}-below`]:!!je,[`${Ae}-zero-width`]:parseFloat(Ze)===0},be);return xe.createElement("aside",Object.assign({className:pt},Be,{style:rt,ref:ve}),xe.createElement("div",{className:`${Ae}-children`},Pe),Te||je&&ze?Ge:null)},Ve=xe.useMemo(()=>({siderCollapsed:He}),[He]);return xe.createElement(z.Provider,{value:Ve},Me())})},84321:function(_t,ft,de){"use strict";de.d(ft,{VY:function(){return te},$_:function(){return z},h4:function(){return b},Gs:function(){return ne},ZP:function(){return ce}});var Se=de(74902),xe=de(94184),E=de.n(xe),pe=de(10366),fe=de(67294),le=de(53124),re=de(67968),ie=ge=>{const{componentCls:he,bodyBg:ve,lightSiderBg:me,lightTriggerBg:be,lightTriggerColor:ye}=ge;return{[`${he}-sider-light`]:{background:me,[`${he}-sider-trigger`]:{color:ye,background:be},[`${he}-sider-zero-width-trigger`]:{color:ye,background:be,border:`1px solid ${ve}`,borderInlineStart:0}}}};const ue=ge=>{const{antCls:he,componentCls:ve,colorText:me,triggerColor:be,footerBg:ye,triggerBg:Pe,headerHeight:we,headerPadding:Le,headerColor:Ce,footerPadding:Te,triggerHeight:Ee,zeroTriggerHeight:Re,zeroTriggerWidth:De,motionDurationMid:ke,motionDurationSlow:Ie,fontSize:qe,borderRadius:Qe,bodyBg:Je,headerBg:Ye,siderBg:He}=ge;return{[ve]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Je,"&, *":{boxSizing:"border-box"},[`&${ve}-has-sider`]:{flexDirection:"row",[`> ${ve}, > ${ve}-content`]:{width:0}},[`${ve}-header, &${ve}-footer`]:{flex:"0 0 auto"},[`${ve}-sider`]:{position:"relative",minWidth:0,background:He,transition:`all ${ke}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${he}-menu${he}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ee},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ee,color:be,lineHeight:`${Ee}px`,textAlign:"center",background:Pe,cursor:"pointer",transition:`all ${ke}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:we,insetInlineEnd:-De,zIndex:1,width:De,height:Re,color:be,fontSize:ge.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:He,borderStartStartRadius:0,borderStartEndRadius:Qe,borderEndEndRadius:Qe,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Ie} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Ie}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-De,borderStartStartRadius:Qe,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Qe}}}}},ie(ge)),{"&-rtl":{direction:"rtl"}}),[`${ve}-header`]:{height:we,padding:Le,color:Ce,lineHeight:`${we}px`,background:Ye,[`${he}-menu`]:{lineHeight:"inherit"}},[`${ve}-footer`]:{padding:Te,color:me,fontSize:qe,background:ye},[`${ve}-content`]:{flex:"auto",minHeight:0}}};var ae=(0,re.Z)("Layout",ge=>[ue(ge)],ge=>{const{colorBgLayout:he,controlHeight:ve,controlHeightLG:me,colorText:be,controlHeightSM:ye,marginXXS:Pe,colorTextLightSolid:we,colorBgContainer:Le}=ge,Ce=me*1.25;return{colorBgHeader:"#001529",colorBgBody:he,colorBgTrigger:"#002140",bodyBg:he,headerBg:"#001529",headerHeight:ve*2,headerPadding:`0 ${Ce}px`,headerColor:be,footerPadding:`${ye}px ${Ce}px`,footerBg:he,siderBg:"#001529",triggerHeight:me+Pe*2,triggerBg:"#002140",triggerColor:we,zeroTriggerWidth:me,zeroTriggerHeight:me,lightSiderBg:Le,lightTriggerBg:Le,lightTriggerColor:be}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),oe=function(ge,he){var ve={};for(var me in ge)Object.prototype.hasOwnProperty.call(ge,me)&&he.indexOf(me)<0&&(ve[me]=ge[me]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,me=Object.getOwnPropertySymbols(ge);benull,removeSider:()=>null}});function ee(ge){let{suffixCls:he,tagName:ve,displayName:me}=ge;return be=>fe.forwardRef((Pe,we)=>fe.createElement(be,Object.assign({ref:we,suffixCls:he,tagName:ve},Pe)))}const a=fe.forwardRef((ge,he)=>{const{prefixCls:ve,suffixCls:me,className:be,tagName:ye}=ge,Pe=oe(ge,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:we}=fe.useContext(le.E_),Le=we("layout",ve),[Ce,Te]=ae(Le),Ee=me?`${Le}-${me}`:Le;return Ce(fe.createElement(ye,Object.assign({className:E()(ve||Ee,be,Te),ref:he},Pe)))}),y=fe.forwardRef((ge,he)=>{const{direction:ve}=fe.useContext(le.E_),[me,be]=fe.useState([]),{prefixCls:ye,className:Pe,rootClassName:we,children:Le,hasSider:Ce,tagName:Te,style:Ee}=ge,Re=oe(ge,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),De=(0,pe.Z)(Re,["suffixCls"]),{getPrefixCls:ke,layout:Ie}=fe.useContext(le.E_),qe=ke("layout",ye),[Qe,Je]=ae(qe),Ye=E()(qe,{[`${qe}-has-sider`]:typeof Ce=="boolean"?Ce:me.length>0,[`${qe}-rtl`]:ve==="rtl"},Ie==null?void 0:Ie.className,Pe,we,Je),He=fe.useMemo(()=>({siderHook:{addSider:Fe=>{be(je=>[].concat((0,Se.Z)(je),[Fe]))},removeSider:Fe=>{be(je=>je.filter(et=>et!==Fe))}}}),[]);return Qe(fe.createElement(ne.Provider,{value:He},fe.createElement(Te,Object.assign({ref:he,className:Ye,style:Object.assign(Object.assign({},Ie==null?void 0:Ie.style),Ee)},De),Le)))}),x=ee({tagName:"div",displayName:"Layout"})(y),b=ee({suffixCls:"header",tagName:"header",displayName:"Header"})(a),z=ee({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),te=ee({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var ce=x},76529:function(_t,ft,de){"use strict";de.d(ft,{J:function(){return le}});var Se=de(67294),xe=de(4173),E=de(60276),pe=function(re,se){var ie={};for(var ue in re)Object.prototype.hasOwnProperty.call(re,ue)&&se.indexOf(ue)<0&&(ie[ue]=re[ue]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,ue=Object.getOwnPropertySymbols(re);ae{const{children:ie}=re,ue=pe(re,["children"]),ae=Se.useContext(fe),oe=Se.useMemo(()=>Object.assign(Object.assign({},ae),ue),[ae,ue.prefixCls,ue.mode,ue.selectable]);return Se.createElement(fe.Provider,{value:oe},Se.createElement(xe.BR,null,(0,E.supportNodeRef)(ie)?Se.cloneElement(ie,{ref:se}):ie))});ft.Z=fe},68508:function(_t,ft,de){"use strict";de.d(ft,{default:function(){return Ae}});var Se=de(78595),xe=de(67294),E=de(71322),pe=de(94184),fe=de.n(pe),le=de(53124),re=function(Be,$e){var Ze={};for(var ze in Be)Object.prototype.hasOwnProperty.call(Be,ze)&&$e.indexOf(ze)<0&&(Ze[ze]=Be[ze]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,ze=Object.getOwnPropertySymbols(Be);_e{const{prefixCls:$e,className:Ze,dashed:ze}=Be,_e=re(Be,["prefixCls","className","dashed"]),{getPrefixCls:Oe}=xe.useContext(le.E_),Ne=Oe("menu",$e),Ge=fe()({[`${Ne}-item-divider-dashed`]:!!ze},Ze);return xe.createElement(Se.iz,Object.assign({className:Ge},_e))},ue=de(37419),ae=de(10366),oe=de(83062),ne=de(96159),a=(0,xe.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=Be=>{var $e;const{className:Ze,children:ze,icon:_e,title:Oe,danger:Ne}=Be,{prefixCls:Ge,firstLevel:rt,direction:pt,disableMenuItemTitleTooltip:ut,inlineCollapsed:nt}=xe.useContext(a),vt=gt=>{const St=xe.createElement("span",{className:`${Ge}-title-content`},ze);return(!_e||(0,ne.l$)(ze)&&ze.type==="span")&&ze&>&&rt&&typeof ze=="string"?xe.createElement("div",{className:`${Ge}-inline-collapsed-noicon`},ze.charAt(0)):St},{siderCollapsed:xt}=xe.useContext(E.D);let Rt=Oe;typeof Oe=="undefined"?Rt=rt?ze:"":Oe===!1&&(Rt="");const at={title:Rt};!xt&&!nt&&(at.title=null,at.open=!1);const Et=(0,ue.Z)(ze).length;let st=xe.createElement(Se.ck,Object.assign({},(0,ae.Z)(Be,["title","icon","danger"]),{className:fe()({[`${Ge}-item-danger`]:Ne,[`${Ge}-item-only-child`]:(_e?Et+1:Et)===1},Ze),title:typeof Oe=="string"?Oe:void 0}),(0,ne.Tm)(_e,{className:fe()((0,ne.l$)(_e)?($e=_e.props)===null||$e===void 0?void 0:$e.className:"",`${Ge}-item-icon`)}),vt(nt));return ut||(st=xe.createElement(oe.Z,Object.assign({},at,{placement:pt==="rtl"?"left":"right",overlayClassName:`${Ge}-inline-collapsed-tooltip`}),st)),st},z=Be=>{var $e;const{popupClassName:Ze,icon:ze,title:_e,theme:Oe}=Be,Ne=xe.useContext(a),{prefixCls:Ge,inlineCollapsed:rt,theme:pt}=Ne,ut=(0,Se.Xl)();let nt;if(!ze)nt=rt&&!ut.length&&_e&&typeof _e=="string"?xe.createElement("div",{className:`${Ge}-inline-collapsed-noicon`},_e.charAt(0)):xe.createElement("span",{className:`${Ge}-title-content`},_e);else{const xt=(0,ne.l$)(_e)&&_e.type==="span";nt=xe.createElement(xe.Fragment,null,(0,ne.Tm)(ze,{className:fe()((0,ne.l$)(ze)?($e=ze.props)===null||$e===void 0?void 0:$e.className:"",`${Ge}-item-icon`)}),xt?_e:xe.createElement("span",{className:`${Ge}-title-content`},_e))}const vt=xe.useMemo(()=>Object.assign(Object.assign({},Ne),{firstLevel:!1}),[Ne]);return xe.createElement(a.Provider,{value:vt},xe.createElement(Se.Wd,Object.assign({},(0,ae.Z)(Be,["icon"]),{title:nt,popupClassName:fe()(Ge,Ze,`${Ge}-${Oe||pt}`)})))},te=de(25877),ce=de(60276),ge=de(33603),he=de(76529),ve=function(Be,$e){var Ze={};for(var ze in Be)Object.prototype.hasOwnProperty.call(Be,ze)&&$e.indexOf(ze)<0&&(Ze[ze]=Be[ze]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,ze=Object.getOwnPropertySymbols(Be);_e{if($e&&typeof $e=="object"){const ze=$e,{label:_e,children:Oe,key:Ne,type:Ge}=ze,rt=ve(ze,["label","children","key","type"]),pt=Ne!=null?Ne:`tmp-${Ze}`;return Oe||Ge==="group"?Ge==="group"?xe.createElement(Se.BW,Object.assign({key:pt},rt,{title:_e}),me(Oe)):xe.createElement(z,Object.assign({key:pt},rt,{title:_e}),me(Oe)):Ge==="divider"?xe.createElement(ie,Object.assign({key:pt},rt)):xe.createElement(x,Object.assign({key:pt},rt),_e)}return null}).filter($e=>$e)}function be(Be){return xe.useMemo(()=>Be&&me(Be),[Be])}var ye=de(84780),Pe=de(14747),we=de(33507),Le=de(67771),Ce=de(50438),Te=de(67968),Ee=de(45503),De=Be=>{const{componentCls:$e,motionDurationSlow:Ze,horizontalLineHeight:ze,colorSplit:_e,lineWidth:Oe,lineType:Ne,itemPaddingInline:Ge}=Be;return{[`${$e}-horizontal`]:{lineHeight:ze,border:0,borderBottom:`${Oe}px ${Ne} ${_e}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${$e}-item, ${$e}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ge},[`> ${$e}-item:hover, > ${$e}-item-active, > ${$e}-submenu ${$e}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${$e}-item, ${$e}-submenu-title`]:{transition:[`border-color ${Ze}`,`background ${Ze}`].join(",")},[`${$e}-submenu-arrow`]:{display:"none"}}}},Ie=Be=>{let{componentCls:$e,menuArrowOffset:Ze}=Be;return{[`${$e}-rtl`]:{direction:"rtl"},[`${$e}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${$e}-rtl${$e}-vertical, ${$e}-submenu-rtl ${$e}-vertical`]:{[`${$e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Ze})`},"&::after":{transform:`rotate(45deg) translateY(${Ze})`}}}}};const qe=Be=>Object.assign({},(0,Pe.oN)(Be));var Je=(Be,$e)=>{const{componentCls:Ze,itemColor:ze,itemSelectedColor:_e,groupTitleColor:Oe,itemBg:Ne,subMenuItemBg:Ge,itemSelectedBg:rt,activeBarHeight:pt,activeBarWidth:ut,activeBarBorderWidth:nt,motionDurationSlow:vt,motionEaseInOut:xt,motionEaseOut:Rt,itemPaddingInline:at,motionDurationMid:Et,itemHoverColor:st,lineType:gt,colorSplit:St,itemDisabledColor:wt,dangerItemColor:Tt,dangerItemHoverColor:Wt,dangerItemSelectedColor:hn,dangerItemActiveBg:pn,dangerItemSelectedBg:Tn,itemHoverBg:Cn,itemActiveBg:Vn,menuSubMenuBg:Qn,horizontalItemSelectedColor:fr,horizontalItemSelectedBg:kr,horizontalItemBorderRadius:Vr,horizontalItemHoverBg:Ur,popupBg:Rr}=Be;return{[`${Ze}-${$e}, ${Ze}-${$e} > ${Ze}`]:{color:ze,background:Ne,[`&${Ze}-root:focus-visible`]:Object.assign({},qe(Be)),[`${Ze}-item-group-title`]:{color:Oe},[`${Ze}-submenu-selected`]:{[`> ${Ze}-submenu-title`]:{color:_e}},[`${Ze}-item-disabled, ${Ze}-submenu-disabled`]:{color:`${wt} !important`},[`${Ze}-item:not(${Ze}-item-selected):not(${Ze}-submenu-selected)`]:{[`&:hover, > ${Ze}-submenu-title:hover`]:{color:st}},[`&:not(${Ze}-horizontal)`]:{[`${Ze}-item:not(${Ze}-item-selected)`]:{"&:hover":{backgroundColor:Cn},"&:active":{backgroundColor:Vn}},[`${Ze}-submenu-title`]:{"&:hover":{backgroundColor:Cn},"&:active":{backgroundColor:Vn}}},[`${Ze}-item-danger`]:{color:Tt,[`&${Ze}-item:hover`]:{[`&:not(${Ze}-item-selected):not(${Ze}-submenu-selected)`]:{color:Wt}},[`&${Ze}-item:active`]:{background:pn}},[`${Ze}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Ze}-item-selected`]:{color:_e,[`&${Ze}-item-danger`]:{color:hn},"a, a:hover":{color:"inherit"}},[`& ${Ze}-item-selected`]:{backgroundColor:rt,[`&${Ze}-item-danger`]:{backgroundColor:Tn}},[`${Ze}-item, ${Ze}-submenu-title`]:{[`&:not(${Ze}-item-disabled):focus-visible`]:Object.assign({},qe(Be))},[`&${Ze}-submenu > ${Ze}`]:{backgroundColor:Qn},[`&${Ze}-popup > ${Ze}`]:{backgroundColor:Rr},[`&${Ze}-horizontal`]:Object.assign(Object.assign({},$e==="dark"?{borderBottom:0}:{}),{[`> ${Ze}-item, > ${Ze}-submenu`]:{top:nt,marginTop:-nt,marginBottom:0,borderRadius:Vr,"&::after":{position:"absolute",insetInline:at,bottom:0,borderBottom:`${pt}px solid transparent`,transition:`border-color ${vt} ${xt}`,content:'""'},"&:hover, &-active, &-open":{background:Ur,"&::after":{borderBottomWidth:pt,borderBottomColor:fr}},"&-selected":{color:fr,backgroundColor:kr,"&:hover":{backgroundColor:kr},"&::after":{borderBottomWidth:pt,borderBottomColor:fr}}}}),[`&${Ze}-root`]:{[`&${Ze}-inline, &${Ze}-vertical`]:{borderInlineEnd:`${nt}px ${gt} ${St}`}},[`&${Ze}-inline`]:{[`${Ze}-sub${Ze}-inline`]:{background:Ge},[`${Ze}-item, ${Ze}-submenu-title`]:nt&&ut?{width:`calc(100% + ${nt}px)`}:{},[`${Ze}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${ut}px solid ${_e}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Et} ${Rt}`,`opacity ${Et} ${Rt}`].join(","),content:'""'},[`&${Ze}-item-danger`]:{"&::after":{borderInlineEndColor:hn}}},[`${Ze}-selected, ${Ze}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Et} ${xt}`,`opacity ${Et} ${xt}`].join(",")}}}}}};const Ye=Be=>{const{componentCls:$e,itemHeight:Ze,itemMarginInline:ze,padding:_e,menuArrowSize:Oe,marginXS:Ne,itemMarginBlock:Ge}=Be,rt=_e+Oe+Ne;return{[`${$e}-item`]:{position:"relative",overflow:"hidden"},[`${$e}-item, ${$e}-submenu-title`]:{height:Ze,lineHeight:`${Ze}px`,paddingInline:_e,overflow:"hidden",textOverflow:"ellipsis",marginInline:ze,marginBlock:Ge,width:`calc(100% - ${ze*2}px)`},[`> ${$e}-item, > ${$e}-submenu > ${$e}-submenu-title`]:{height:Ze,lineHeight:`${Ze}px`},[`${$e}-item-group-list ${$e}-submenu-title, ${$e}-submenu-title`]:{paddingInlineEnd:rt}}};var Fe=Be=>{const{componentCls:$e,iconCls:Ze,itemHeight:ze,colorTextLightSolid:_e,dropdownWidth:Oe,controlHeightLG:Ne,motionDurationMid:Ge,motionEaseOut:rt,paddingXL:pt,itemMarginInline:ut,fontSizeLG:nt,motionDurationSlow:vt,paddingXS:xt,boxShadowSecondary:Rt,collapsedWidth:at,collapsedIconSize:Et}=Be,st={height:ze,lineHeight:`${ze}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[$e]:{"&-inline, &-vertical":Object.assign({[`&${$e}-root`]:{boxShadow:"none"}},Ye(Be))},[`${$e}-submenu-popup`]:{[`${$e}-vertical`]:Object.assign(Object.assign({},Ye(Be)),{boxShadow:Rt})}},{[`${$e}-submenu-popup ${$e}-vertical${$e}-sub`]:{minWidth:Oe,maxHeight:`calc(100vh - ${Ne*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${$e}-inline`]:{width:"100%",[`&${$e}-root`]:{[`${$e}-item, ${$e}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${vt}`,`background ${vt}`,`padding ${Ge} ${rt}`].join(","),[`> ${$e}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${$e}-sub${$e}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${$e}-submenu > ${$e}-submenu-title`]:st,[`& ${$e}-item-group-title`]:{paddingInlineStart:pt}},[`${$e}-item`]:st}},{[`${$e}-inline-collapsed`]:{width:at,[`&${$e}-root`]:{[`${$e}-item, ${$e}-submenu ${$e}-submenu-title`]:{[`> ${$e}-inline-collapsed-noicon`]:{fontSize:nt,textAlign:"center"}}},[`> ${$e}-item, > ${$e}-item-group > ${$e}-item-group-list > ${$e}-item, > ${$e}-item-group > ${$e}-item-group-list > ${$e}-submenu > ${$e}-submenu-title, > ${$e}-submenu > ${$e}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${nt/2}px - ${ut}px)`,textOverflow:"clip",[` ${$e}-submenu-arrow, ${$e}-submenu-expand-icon `]:{opacity:0},[`${$e}-item-icon, ${Ze}`]:{margin:0,fontSize:Et,lineHeight:`${ze}px`,"+ span":{display:"inline-block",opacity:0}}},[`${$e}-item-icon, ${Ze}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${$e}-item-icon, ${Ze}`]:{display:"none"},"a, a:hover":{color:_e}},[`${$e}-item-group-title`]:Object.assign(Object.assign({},Pe.vS),{paddingInline:xt})}}]};const je=Be=>{const{componentCls:$e,motionDurationSlow:Ze,motionDurationMid:ze,motionEaseInOut:_e,motionEaseOut:Oe,iconCls:Ne,iconSize:Ge,iconMarginInlineEnd:rt}=Be;return{[`${$e}-item, ${$e}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Ze}`,`background ${Ze}`,`padding ${Ze} ${_e}`].join(","),[`${$e}-item-icon, ${Ne}`]:{minWidth:Ge,fontSize:Ge,transition:[`font-size ${ze} ${Oe}`,`margin ${Ze} ${_e}`,`color ${Ze}`].join(","),"+ span":{marginInlineStart:rt,opacity:1,transition:[`opacity ${Ze} ${_e}`,`margin ${Ze}`,`color ${Ze}`].join(",")}},[`${$e}-item-icon`]:Object.assign({},(0,Pe.Ro)()),[`&${$e}-item-only-child`]:{[`> ${Ne}, > ${$e}-item-icon`]:{marginInlineEnd:0}}},[`${$e}-item-disabled, ${$e}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${$e}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},et=Be=>{const{componentCls:$e,motionDurationSlow:Ze,motionEaseInOut:ze,borderRadius:_e,menuArrowSize:Oe,menuArrowOffset:Ne}=Be;return{[`${$e}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Be.margin,width:Oe,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Ze} ${ze}, opacity ${Ze}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Oe*.6,height:Oe*.15,backgroundColor:"currentcolor",borderRadius:_e,transition:[`background ${Ze} ${ze}`,`transform ${Ze} ${ze}`,`top ${Ze} ${ze}`,`color ${Ze} ${ze}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Ne})`},"&::after":{transform:`rotate(-45deg) translateY(${Ne})`}}}}},tt=Be=>{const{antCls:$e,componentCls:Ze,fontSize:ze,motionDurationSlow:_e,motionDurationMid:Oe,motionEaseInOut:Ne,paddingXS:Ge,padding:rt,colorSplit:pt,lineWidth:ut,zIndexPopup:nt,borderRadiusLG:vt,subMenuItemBorderRadius:xt,menuArrowSize:Rt,menuArrowOffset:at,lineType:Et,menuPanelMaskInset:st,groupTitleLineHeight:gt,groupTitleFontSize:St}=Be;return[{"":{[`${Ze}`]:Object.assign(Object.assign({},(0,Pe.dF)()),{"&-hidden":{display:"none"}})},[`${Ze}-submenu-hidden`]:{display:"none"}},{[Ze]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Pe.Wf)(Be)),(0,Pe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ze,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${_e} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Ze}-item`]:{flex:"none"}},[`${Ze}-item, ${Ze}-submenu, ${Ze}-submenu-title`]:{borderRadius:Be.itemBorderRadius},[`${Ze}-item-group-title`]:{padding:`${Ge}px ${rt}px`,fontSize:St,lineHeight:gt,transition:`all ${_e}`},[`&-horizontal ${Ze}-submenu`]:{transition:[`border-color ${_e} ${Ne}`,`background ${_e} ${Ne}`].join(",")},[`${Ze}-submenu, ${Ze}-submenu-inline`]:{transition:[`border-color ${_e} ${Ne}`,`background ${_e} ${Ne}`,`padding ${Oe} ${Ne}`].join(",")},[`${Ze}-submenu ${Ze}-sub`]:{cursor:"initial",transition:[`background ${_e} ${Ne}`,`padding ${_e} ${Ne}`].join(",")},[`${Ze}-title-content`]:{transition:`color ${_e}`},[`${Ze}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Ze}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:pt,borderStyle:Et,borderWidth:0,borderTopWidth:ut,marginBlock:ut,padding:0,"&-dashed":{borderStyle:"dashed"}}}),je(Be)),{[`${Ze}-item-group`]:{[`${Ze}-item-group-list`]:{margin:0,padding:0,[`${Ze}-item, ${Ze}-submenu-title`]:{paddingInline:`${ze*2}px ${rt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:nt,borderRadius:vt,boxShadow:"none",transformOrigin:"0 0",[`&${Ze}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${st}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:st},"\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:Be.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Be.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Be.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Be.paddingXS},[`> ${Ze}`]:Object.assign(Object.assign(Object.assign({borderRadius:vt},je(Be)),et(Be)),{[`${Ze}-item, ${Ze}-submenu > ${Ze}-submenu-title`]:{borderRadius:xt},[`${Ze}-submenu-title::after`]:{transition:`transform ${_e} ${Ne}`}})}}),et(Be)),{[`&-inline-collapsed ${Ze}-submenu-arrow, &-inline ${Ze}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${at})`},"&::after":{transform:`rotate(45deg) translateX(-${at})`}},[`${Ze}-submenu-open${Ze}-submenu-inline > ${Ze}-submenu-title > ${Ze}-submenu-arrow`]:{transform:`translateY(-${Rt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${at})`},"&::before":{transform:`rotate(45deg) translateX(${at})`}}})},{[`${$e}-layout-header`]:{[Ze]:{lineHeight:"inherit"}}}]};var it=(Be,$e)=>(0,Te.Z)("Menu",ze=>{if($e===!1)return[];const{colorBgElevated:_e,colorPrimary:Oe,colorTextLightSolid:Ne,controlHeightLG:Ge,fontSize:rt,darkItemColor:pt,darkDangerItemColor:ut,darkItemBg:nt,darkSubMenuItemBg:vt,darkItemSelectedColor:xt,darkItemSelectedBg:Rt,darkDangerItemSelectedBg:at,darkItemHoverBg:Et,darkGroupTitleColor:st,darkItemHoverColor:gt,darkItemDisabledColor:St,darkDangerItemHoverColor:wt,darkDangerItemSelectedColor:Tt,darkDangerItemActiveBg:Wt}=ze,hn=rt/7*5,pn=(0,Ee.TS)(ze,{menuArrowSize:hn,menuHorizontalHeight:Ge*1.15,menuArrowOffset:`${hn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:_e}),Tn=(0,Ee.TS)(pn,{itemColor:pt,itemHoverColor:gt,groupTitleColor:st,itemSelectedColor:xt,itemBg:nt,popupBg:nt,subMenuItemBg:vt,itemActiveBg:"transparent",itemSelectedBg:Rt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Et,itemDisabledColor:St,dangerItemColor:ut,dangerItemHoverColor:wt,dangerItemSelectedColor:Tt,dangerItemActiveBg:Wt,dangerItemSelectedBg:at,menuSubMenuBg:vt,horizontalItemSelectedColor:Ne,horizontalItemSelectedBg:Oe});return[tt(pn),De(pn),Fe(pn),Je(pn,"light"),Je(Tn,"dark"),Ie(pn),(0,we.Z)(pn),(0,Le.oN)(pn,"slide-up"),(0,Le.oN)(pn,"slide-down"),(0,Ce._y)(pn,"zoom-big")]},ze=>{const{colorPrimary:_e,colorError:Oe,colorTextDisabled:Ne,colorErrorBg:Ge,colorText:rt,colorTextDescription:pt,colorBgContainer:ut,colorFillAlter:nt,colorFillContent:vt,lineWidth:xt,lineWidthBold:Rt,controlItemBgActive:at,colorBgTextHover:Et,controlHeightLG:st,lineHeight:gt,colorBgElevated:St,marginXXS:wt,padding:Tt,fontSize:Wt,controlHeightSM:hn,fontSizeLG:pn,colorTextLightSolid:Tn,colorErrorHover:Cn}=ze,Vn=new ye.C(Tn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ze.zIndexPopupBase+50,radiusItem:ze.borderRadiusLG,itemBorderRadius:ze.borderRadiusLG,radiusSubMenuItem:ze.borderRadiusSM,subMenuItemBorderRadius:ze.borderRadiusSM,colorItemText:rt,itemColor:rt,colorItemTextHover:rt,itemHoverColor:rt,colorItemTextHoverHorizontal:_e,horizontalItemHoverColor:_e,colorGroupTitle:pt,groupTitleColor:pt,colorItemTextSelected:_e,itemSelectedColor:_e,colorItemTextSelectedHorizontal:_e,horizontalItemSelectedColor:_e,colorItemBg:ut,itemBg:ut,colorItemBgHover:Et,itemHoverBg:Et,colorItemBgActive:vt,itemActiveBg:at,colorSubItemBg:nt,subMenuItemBg:nt,colorItemBgSelected:at,itemSelectedBg:at,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Rt,activeBarHeight:Rt,colorActiveBarBorderSize:xt,activeBarBorderWidth:xt,colorItemTextDisabled:Ne,itemDisabledColor:Ne,colorDangerItemText:Oe,dangerItemColor:Oe,colorDangerItemTextHover:Oe,dangerItemHoverColor:Oe,colorDangerItemTextSelected:Oe,dangerItemSelectedColor:Oe,colorDangerItemBgActive:Ge,dangerItemActiveBg:Ge,colorDangerItemBgSelected:Ge,dangerItemSelectedBg:Ge,itemMarginInline:ze.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:st,groupTitleLineHeight:gt,collapsedWidth:st*2,popupBg:St,itemMarginBlock:wt,itemPaddingInline:Tt,horizontalLineHeight:`${st*1.15}px`,iconSize:Wt,iconMarginInlineEnd:hn-Wt,collapsedIconSize:pn,groupTitleFontSize:Wt,darkItemDisabledColor:new ye.C(Tn).setAlpha(.25).toRgbString(),darkItemColor:Vn,darkDangerItemColor:Oe,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Tn,darkItemSelectedBg:_e,darkDangerItemSelectedBg:Oe,darkItemHoverBg:"transparent",darkGroupTitleColor:Vn,darkItemHoverColor:Tn,darkDangerItemHoverColor:Cn,darkDangerItemSelectedColor:Tn,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"]]})(Be),Xe=function(Be,$e){var Ze={};for(var ze in Be)Object.prototype.hasOwnProperty.call(Be,ze)&&$e.indexOf(ze)<0&&(Ze[ze]=Be[ze]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,ze=Object.getOwnPropertySymbols(Be);_e{var Ze,ze;const _e=xe.useContext(he.Z),Oe=_e||{},{getPrefixCls:Ne,getPopupContainer:Ge,direction:rt,menu:pt}=xe.useContext(le.E_),ut=Ne(),{prefixCls:nt,className:vt,style:xt,theme:Rt="light",expandIcon:at,_internalDisableMenuItemTitleTooltip:Et,inlineCollapsed:st,siderCollapsed:gt,items:St,children:wt,rootClassName:Tt,mode:Wt,selectable:hn,onClick:pn,overflowedIndicatorPopupClassName:Tn}=Be,Cn=Xe(Be,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Vn=(0,ae.Z)(Cn,["collapsedWidth"]),Qn=be(St)||wt;(Ze=Oe.validator)===null||Ze===void 0||Ze.call(Oe,{mode:Wt});const fr=(0,ce.useEvent)(function(){var Xn;pn==null||pn.apply(void 0,arguments),(Xn=Oe.onClick)===null||Xn===void 0||Xn.call(Oe)}),kr=Oe.mode||Wt,Vr=hn!=null?hn:Oe.selectable,Ur=xe.useMemo(()=>gt!==void 0?gt:st,[st,gt]),Rr={horizontal:{motionName:`${ut}-slide-up`},inline:(0,ge.Z)(ut),other:{motionName:`${ut}-zoom-big`}},Pn=Ne("menu",nt||Oe.prefixCls),[Xt,nn]=it(Pn,!_e),bn=fe()(`${Pn}-${Rt}`,pt==null?void 0:pt.className,vt);let Mn;if(typeof at=="function")Mn=at;else if(at===null||at===!1)Mn=null;else if(Oe.expandIcon===null||Oe.expandIcon===!1)Mn=null;else{const Xn=at!=null?at:Oe.expandIcon;Mn=(0,ne.Tm)(Xn,{className:fe()(`${Pn}-submenu-expand-icon`,(0,ne.l$)(Xn)?(ze=Xn.props)===null||ze===void 0?void 0:ze.className:"")})}const tr=xe.useMemo(()=>({prefixCls:Pn,inlineCollapsed:Ur||!1,direction:rt,firstLevel:!0,theme:Rt,mode:kr,disableMenuItemTitleTooltip:Et}),[Pn,Ur,rt,Et,Rt]);return Xt(xe.createElement(he.Z.Provider,{value:null},xe.createElement(a.Provider,{value:tr},xe.createElement(Se.ZP,Object.assign({getPopupContainer:Ge,overflowedIndicator:xe.createElement(te.Z,null),overflowedIndicatorPopupClassName:fe()(Pn,`${Pn}-${Rt}`,Tn),mode:kr,selectable:Vr,onClick:fr},Vn,{inlineCollapsed:Ur,style:Object.assign(Object.assign({},pt==null?void 0:pt.style),xt),className:bn,prefixCls:Pn,direction:rt,defaultMotions:Rr,expandIcon:Mn,ref:$e,rootClassName:fe()(Tt,nn)}),Qn))))});const Ve=(0,xe.forwardRef)((Be,$e)=>{const Ze=(0,xe.useRef)(null),ze=xe.useContext(E.D);return(0,xe.useImperativeHandle)($e,()=>({menu:Ze.current,focus:_e=>{var Oe;(Oe=Ze.current)===null||Oe===void 0||Oe.focus(_e)}})),xe.createElement(Me,Object.assign({ref:Ze},Be,ze))});Ve.Item=x,Ve.SubMenu=z,Ve.Divider=ie,Ve.ItemGroup=Se.BW;var Ae=Ve},28452:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return ut}});var Se=de(87462),xe=de(67294),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},pe=E,fe=de(74643),le=function(vt,xt){return xe.createElement(fe.Z,(0,Se.Z)({},vt,{ref:xt,icon:pe}))},re=xe.forwardRef(le),se=de(81893),ie=de(22751),ue=de(91034),ae=de(94184),oe=de.n(ae),ne=de(4942),ee=de(1413),a=de(15671),y=de(43144),x=de(60136),b=de(51630),z=`accept acceptCharset accessKey action allowFullScreen allowTransparency alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge charSet checked classID className colSpan cols content contentEditable contextMenu controls coords crossOrigin data dateTime default defer dir disabled download draggable encType form formAction formEncType formMethod formNoValidate formTarget frameBorder headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media mediaGroup method min minLength multiple muted name noValidate nonce open optimum pattern placeholder poster preload radioGroup readOnly rel required reversed role rowSpan rows sandbox scope scoped scrolling seamless selected shape size sizes span spellCheck src srcDoc srcLang srcSet start step style summary tabIndex target title type useMap value width wmode wrap`,te=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ce="".concat(z," ").concat(te).split(/[\s\n]+/),ge="aria-",he="data-";function ve(nt,vt){return nt.indexOf(vt)===0}function me(nt){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,xt;vt===!1?xt={aria:!0,data:!0,attr:!0}:vt===!0?xt={aria:!0}:xt=(0,ee.Z)({},vt);var Rt={};return Object.keys(nt).forEach(function(at){(xt.aria&&(at==="role"||ve(at,ge))||xt.data&&ve(at,he)||xt.attr&&ce.includes(at))&&(Rt[at]=nt[at])}),Rt}var be={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ye=be,Pe=de(81626),we=function(nt){(0,x.Z)(xt,nt);var vt=(0,b.Z)(xt);function xt(){var Rt;(0,a.Z)(this,xt);for(var at=arguments.length,Et=new Array(at),st=0;st=0||gt.relatedTarget.className.indexOf("".concat(Wt,"-item"))>=0))&&Tt(Rt.getValidValue()))},Rt.go=function(gt){var St=Rt.state.goInputText;St!==""&&(gt.keyCode===ye.ENTER||gt.type==="click")&&(Rt.setState({goInputText:""}),Rt.props.quickGo(Rt.getValidValue()))},Rt}return(0,y.Z)(xt,[{key:"getPageSizeOptions",value:function(){var at=this.props,Et=at.pageSize,st=at.pageSizeOptions;return st.some(function(gt){return gt.toString()===Et.toString()})?st:st.concat([Et.toString()]).sort(function(gt,St){var wt=Number.isNaN(Number(gt))?0:Number(gt),Tt=Number.isNaN(Number(St))?0:Number(St);return wt-Tt})}},{key:"render",value:function(){var at=this,Et=this.props,st=Et.pageSize,gt=Et.locale,St=Et.rootPrefixCls,wt=Et.changeSize,Tt=Et.quickGo,Wt=Et.goButton,hn=Et.selectComponentClass,pn=Et.buildOptionText,Tn=Et.selectPrefixCls,Cn=Et.disabled,Vn=this.state.goInputText,Qn="".concat(St,"-options"),fr=hn,kr=null,Vr=null,Ur=null;if(!wt&&!Tt)return null;var Rr=this.getPageSizeOptions();if(wt&&fr){var Pn=Rr.map(function(Xt,nn){return xe.createElement(fr.Option,{key:nn,value:Xt.toString()},(pn||at.buildOptionText)(Xt))});kr=xe.createElement(fr,{disabled:Cn,prefixCls:Tn,showSearch:!1,className:"".concat(Qn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(st||Rr[0]).toString(),onChange:this.changeSize,getPopupContainer:function(nn){return nn.parentNode},"aria-label":gt.page_size,defaultOpen:!1},Pn)}return Tt&&(Wt&&(Ur=typeof Wt=="boolean"?xe.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Cn,className:"".concat(Qn,"-quick-jumper-button")},gt.jump_to_confirm):xe.createElement("span",{onClick:this.go,onKeyUp:this.go},Wt)),Vr=xe.createElement("div",{className:"".concat(Qn,"-quick-jumper")},gt.jump_to,xe.createElement("input",{disabled:Cn,type:"text",value:Vn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":gt.page}),gt.page,Ur)),xe.createElement("li",{className:"".concat(Qn)},kr,Vr)}}]),xt}(xe.Component);we.defaultProps={pageSizeOptions:["10","20","50","100"]};var Le=we,Ce=function(vt){var xt,Rt=vt.rootPrefixCls,at=vt.page,Et=vt.active,st=vt.className,gt=vt.showTitle,St=vt.onClick,wt=vt.onKeyPress,Tt=vt.itemRender,Wt="".concat(Rt,"-item"),hn=oe()(Wt,"".concat(Wt,"-").concat(at),(xt={},(0,ne.Z)(xt,"".concat(Wt,"-active"),Et),(0,ne.Z)(xt,"".concat(Wt,"-disabled"),!at),(0,ne.Z)(xt,vt.className,st),xt)),pn=function(){St(at)},Tn=function(Qn){wt(Qn,St,at)},Cn=Tt(at,"page",xe.createElement("a",{rel:"nofollow"},at));return Cn?xe.createElement("li",{title:gt?at.toString():null,className:hn,onClick:pn,onKeyPress:Tn,tabIndex:0},Cn):null},Te=Ce;function Ee(){}function Re(nt){var vt=Number(nt);return typeof vt=="number"&&!Number.isNaN(vt)&&isFinite(vt)&&Math.floor(vt)===vt}var De=function(vt,xt,Rt){return Rt};function ke(nt,vt,xt){var Rt=typeof nt=="undefined"?vt.pageSize:nt;return Math.floor((xt.total-1)/Rt)+1}var Ie=function(nt){(0,x.Z)(xt,nt);var vt=(0,b.Z)(xt);function xt(Rt){var at;(0,a.Z)(this,xt),at=vt.call(this,Rt),at.paginationNode=xe.createRef(),at.getJumpPrevPage=function(){return Math.max(1,at.state.current-(at.props.showLessItems?3:5))},at.getJumpNextPage=function(){return Math.min(ke(void 0,at.state,at.props),at.state.current+(at.props.showLessItems?3:5))},at.getItemIcon=function(wt,Tt){var Wt=at.props.prefixCls,hn=wt||xe.createElement("button",{type:"button","aria-label":Tt,className:"".concat(Wt,"-item-link")});return typeof wt=="function"&&(hn=xe.createElement(wt,(0,ee.Z)({},at.props))),hn},at.isValid=function(wt){var Tt=at.props.total;return Re(wt)&&wt!==at.state.current&&Re(Tt)&&Tt>0},at.shouldDisplayQuickJumper=function(){var wt=at.props,Tt=wt.showQuickJumper,Wt=wt.total,hn=at.state.pageSize;return Wt<=hn?!1:Tt},at.handleKeyDown=function(wt){(wt.keyCode===ye.ARROW_UP||wt.keyCode===ye.ARROW_DOWN)&&wt.preventDefault()},at.handleKeyUp=function(wt){var Tt=at.getValidValue(wt),Wt=at.state.currentInputValue;Tt!==Wt&&at.setState({currentInputValue:Tt}),wt.keyCode===ye.ENTER?at.handleChange(Tt):wt.keyCode===ye.ARROW_UP?at.handleChange(Tt-1):wt.keyCode===ye.ARROW_DOWN&&at.handleChange(Tt+1)},at.handleBlur=function(wt){var Tt=at.getValidValue(wt);at.handleChange(Tt)},at.changePageSize=function(wt){var Tt=at.state.current,Wt=ke(wt,at.state,at.props);Tt=Tt>Wt?Wt:Tt,Wt===0&&(Tt=at.state.current),typeof wt=="number"&&("pageSize"in at.props||at.setState({pageSize:wt}),"current"in at.props||at.setState({current:Tt,currentInputValue:Tt})),at.props.onShowSizeChange(Tt,wt),"onChange"in at.props&&at.props.onChange&&at.props.onChange(Tt,wt)},at.handleChange=function(wt){var Tt=at.props,Wt=Tt.disabled,hn=Tt.onChange,pn=at.state,Tn=pn.pageSize,Cn=pn.current,Vn=pn.currentInputValue;if(at.isValid(wt)&&!Wt){var Qn=ke(void 0,at.state,at.props),fr=wt;return wt>Qn?fr=Qn:wt<1&&(fr=1),"current"in at.props||at.setState({current:fr}),fr!==Vn&&at.setState({currentInputValue:fr}),hn(fr,Tn),fr}return Cn},at.prev=function(){at.hasPrev()&&at.handleChange(at.state.current-1)},at.next=function(){at.hasNext()&&at.handleChange(at.state.current+1)},at.jumpPrev=function(){at.handleChange(at.getJumpPrevPage())},at.jumpNext=function(){at.handleChange(at.getJumpNextPage())},at.hasPrev=function(){return at.state.current>1},at.hasNext=function(){return at.state.current2?Wt-2:0),pn=2;pn=st?St=st:St=Number(Et),St}},{key:"getShowSizeChanger",value:function(){var at=this.props,Et=at.showSizeChanger,st=at.total,gt=at.totalBoundaryShowSizeChanger;return typeof Et!="undefined"?Et:st>gt}},{key:"render",value:function(){var at=this.props,Et=at.prefixCls,st=at.className,gt=at.style,St=at.disabled,wt=at.hideOnSinglePage,Tt=at.total,Wt=at.locale,hn=at.showQuickJumper,pn=at.showLessItems,Tn=at.showTitle,Cn=at.showTotal,Vn=at.simple,Qn=at.itemRender,fr=at.showPrevNextJumpers,kr=at.jumpPrevIcon,Vr=at.jumpNextIcon,Ur=at.selectComponentClass,Rr=at.selectPrefixCls,Pn=at.pageSizeOptions,Xt=this.state,nn=Xt.current,bn=Xt.pageSize,Mn=Xt.currentInputValue;if(wt===!0&&Tt<=bn)return null;var tr=ke(void 0,this.state,this.props),Xn=[],pr=null,hr=null,Zn=null,Lt=null,Nt=null,Mt=hn&&hn.goButton,xn=pn?1:2,Hn=nn-1>0?nn-1:0,Fn=nn+1Tt?Tt:nn*bn]));if(Vn){Mt&&(typeof Mt=="boolean"?Nt=xe.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Wt.jump_to_confirm):Nt=xe.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Mt),Nt=xe.createElement("li",{title:Tn?"".concat(Wt.jump_to).concat(nn,"/").concat(tr):null,className:"".concat(Et,"-simple-pager")},Nt));var Sr=this.renderPrev(Hn);return xe.createElement("ul",(0,Se.Z)({className:oe()(Et,"".concat(Et,"-simple"),(0,ne.Z)({},"".concat(Et,"-disabled"),St),st),style:gt,ref:this.paginationNode},wr),dr,Sr?xe.createElement("li",{title:Tn?Wt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:oe()("".concat(Et,"-prev"),(0,ne.Z)({},"".concat(Et,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Sr):null,xe.createElement("li",{title:Tn?"".concat(nn,"/").concat(tr):null,className:"".concat(Et,"-simple-pager")},xe.createElement("input",{type:"text",value:Mn,disabled:St,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),xe.createElement("span",{className:"".concat(Et,"-slash")},"/"),tr),xe.createElement("li",{title:Tn?Wt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:oe()("".concat(Et,"-next"),(0,ne.Z)({},"".concat(Et,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Fn)),Nt)}if(tr<=3+xn*2){var jr={locale:Wt,rootPrefixCls:Et,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Tn,itemRender:Qn};tr||Xn.push(xe.createElement(Te,(0,Se.Z)({},jr,{key:"noPager",page:1,className:"".concat(Et,"-item-disabled")})));for(var ho=1;ho<=tr;ho+=1){var Sn=nn===ho;Xn.push(xe.createElement(Te,(0,Se.Z)({},jr,{key:ho,page:ho,active:Sn})))}}else{var Dr=pn?Wt.prev_3:Wt.prev_5,Ft=pn?Wt.next_3:Wt.next_5,dn=Qn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(kr,"prev page")),rn=Qn(this.getJumpNextPage(),"jump-next",this.getItemIcon(Vr,"next page"));fr&&(pr=dn?xe.createElement("li",{title:Tn?Dr:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:oe()("".concat(Et,"-jump-prev"),(0,ne.Z)({},"".concat(Et,"-jump-prev-custom-icon"),!!kr))},dn):null,hr=rn?xe.createElement("li",{title:Tn?Ft:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:oe()("".concat(Et,"-jump-next"),(0,ne.Z)({},"".concat(Et,"-jump-next-custom-icon"),!!Vr))},rn):null),Lt=xe.createElement(Te,{locale:Wt,last:!0,rootPrefixCls:Et,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:tr,page:tr,active:!1,showTitle:Tn,itemRender:Qn}),Zn=xe.createElement(Te,{locale:Wt,rootPrefixCls:Et,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Tn,itemRender:Qn});var fn=Math.max(1,nn-xn),Nn=Math.min(nn+xn,tr);nn-1<=xn&&(Nn=1+xn*2),tr-nn<=xn&&(fn=tr-xn*2);for(var ln=fn;ln<=Nn;ln+=1){var Vt=nn===ln;Xn.push(xe.createElement(Te,{locale:Wt,rootPrefixCls:Et,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ln,page:ln,active:Vt,showTitle:Tn,itemRender:Qn}))}nn-1>=xn*2&&nn!==3&&(Xn[0]=(0,xe.cloneElement)(Xn[0],{className:"".concat(Et,"-item-after-jump-prev")}),Xn.unshift(pr)),tr-nn>=xn*2&&nn!==tr-2&&(Xn[Xn.length-1]=(0,xe.cloneElement)(Xn[Xn.length-1],{className:"".concat(Et,"-item-before-jump-next")}),Xn.push(hr)),fn!==1&&Xn.unshift(Zn),Nn!==tr&&Xn.push(Lt)}var vn=!this.hasPrev()||!tr,br=!this.hasNext()||!tr,cr=this.renderPrev(Hn),Or=this.renderNext(Fn);return xe.createElement("ul",(0,Se.Z)({className:oe()(Et,st,(0,ne.Z)({},"".concat(Et,"-disabled"),St)),style:gt,ref:this.paginationNode},wr),dr,cr?xe.createElement("li",{title:Tn?Wt.prev_page:null,onClick:this.prev,tabIndex:vn?null:0,onKeyPress:this.runIfEnterPrev,className:oe()("".concat(Et,"-prev"),(0,ne.Z)({},"".concat(Et,"-disabled"),vn)),"aria-disabled":vn},cr):null,Xn,Or?xe.createElement("li",{title:Tn?Wt.next_page:null,onClick:this.next,tabIndex:br?null:0,onKeyPress:this.runIfEnterNext,className:oe()("".concat(Et,"-next"),(0,ne.Z)({},"".concat(Et,"-disabled"),br)),"aria-disabled":br},Or):null,xe.createElement(Le,{disabled:St,locale:Wt,rootPrefixCls:Et,selectComponentClass:Ur,selectPrefixCls:Rr,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:nn,pageSize:bn,pageSizeOptions:Pn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Mt}))}}],[{key:"getDerivedStateFromProps",value:function(at,Et){var st={};if("current"in at&&(st.current=at.current,at.current!==Et.current&&(st.currentInputValue=st.current)),"pageSize"in at&&at.pageSize!==Et.pageSize){var gt=Et.current,St=ke(at.pageSize,Et,at);gt=gt>St?St:gt,"current"in at||(st.current=gt,st.currentInputValue=gt),st.pageSize=at.pageSize}return st}}]),xt}(xe.Component);Ie.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ee,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ee,locale:Pe.Z,style:{},itemRender:De,totalBoundaryShowSizeChanger:50};var qe=Ie,Qe=de(62906),Je=de(53124),Ye=de(98675),He=de(25378),Fe=de(10110),je=de(11713);const et=nt=>xe.createElement(je.default,Object.assign({},nt,{showSearch:!0,size:"small"})),tt=nt=>xe.createElement(je.default,Object.assign({},nt,{showSearch:!0,size:"middle"}));et.Option=je.default.Option,tt.Option=je.default.Option;var it=de(47673),Xe=de(14747),Ke=de(67968),Me=de(45503);const Ve=nt=>{const{componentCls:vt}=nt;return{[`${vt}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${vt}-item-link`]:{color:nt.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${vt}-item-link`]:{color:nt.colorTextDisabled,cursor:"not-allowed"}}},[`&${vt}-disabled`]:{cursor:"not-allowed",[`${vt}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:nt.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:nt.colorBorder,backgroundColor:nt.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:nt.itemActiveBgDisabled},a:{color:nt.itemActiveColorDisabled}}},[`${vt}-item-link`]:{color:nt.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${vt}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${vt}-simple-pager`]:{color:nt.colorTextDisabled},[`${vt}-jump-prev, ${vt}-jump-next`]:{[`${vt}-item-link-icon`]:{opacity:0},[`${vt}-item-ellipsis`]:{opacity:1}}},[`&${vt}-simple`]:{[`${vt}-prev, ${vt}-next`]:{[`&${vt}-disabled ${vt}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Ae=nt=>{const{componentCls:vt}=nt;return{[`&${vt}-mini ${vt}-total-text, &${vt}-mini ${vt}-simple-pager`]:{height:nt.itemSizeSM,lineHeight:`${nt.itemSizeSM}px`},[`&${vt}-mini ${vt}-item`]:{minWidth:nt.itemSizeSM,height:nt.itemSizeSM,margin:0,lineHeight:`${nt.itemSizeSM-2}px`},[`&${vt}-mini:not(${vt}-disabled) ${vt}-item:not(${vt}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:nt.colorBgTextHover},"&:active":{backgroundColor:nt.colorBgTextActive}},[`&${vt}-mini ${vt}-prev, &${vt}-mini ${vt}-next`]:{minWidth:nt.itemSizeSM,height:nt.itemSizeSM,margin:0,lineHeight:`${nt.itemSizeSM}px`},[`&${vt}-mini:not(${vt}-disabled)`]:{[`${vt}-prev, ${vt}-next`]:{[`&:hover ${vt}-item-link`]:{backgroundColor:nt.colorBgTextHover},[`&:active ${vt}-item-link`]:{backgroundColor:nt.colorBgTextActive},[`&${vt}-disabled:hover ${vt}-item-link`]:{backgroundColor:"transparent"}}},[` &${vt}-mini ${vt}-prev ${vt}-item-link, &${vt}-mini ${vt}-next ${vt}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:nt.itemSizeSM,lineHeight:`${nt.itemSizeSM}px`}},[`&${vt}-mini ${vt}-jump-prev, &${vt}-mini ${vt}-jump-next`]:{height:nt.itemSizeSM,marginInlineEnd:0,lineHeight:`${nt.itemSizeSM}px`},[`&${vt}-mini ${vt}-options`]:{marginInlineStart:nt.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:nt.miniOptionsSizeChangerTop},"&-quick-jumper":{height:nt.itemSizeSM,lineHeight:`${nt.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,it.x0)(nt)),{width:nt.paginationMiniQuickJumperInputWidth,height:nt.controlHeightSM})}}}},Be=nt=>{const{componentCls:vt}=nt;return{[` &${vt}-simple ${vt}-prev, &${vt}-simple ${vt}-next `]:{height:nt.itemSizeSM,lineHeight:`${nt.itemSizeSM}px`,verticalAlign:"top",[`${vt}-item-link`]:{height:nt.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:nt.colorBgTextHover},"&:active":{backgroundColor:nt.colorBgTextActive},"&::after":{height:nt.itemSizeSM,lineHeight:`${nt.itemSizeSM}px`}}},[`&${vt}-simple ${vt}-simple-pager`]:{display:"inline-block",height:nt.itemSizeSM,marginInlineEnd:nt.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:nt.marginXS,padding:`0 ${nt.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:nt.itemInputBg,border:`${nt.lineWidth}px ${nt.lineType} ${nt.colorBorder}`,borderRadius:nt.borderRadius,outline:"none",transition:`border-color ${nt.motionDurationMid}`,color:"inherit","&:hover":{borderColor:nt.colorPrimary},"&:focus":{borderColor:nt.colorPrimaryHover,boxShadow:`${nt.inputOutlineOffset}px 0 ${nt.controlOutlineWidth}px ${nt.controlOutline}`},"&[disabled]":{color:nt.colorTextDisabled,backgroundColor:nt.colorBgContainerDisabled,borderColor:nt.colorBorder,cursor:"not-allowed"}}}}},$e=nt=>{const{componentCls:vt}=nt;return{[`${vt}-jump-prev, ${vt}-jump-next`]:{outline:0,[`${vt}-item-container`]:{position:"relative",[`${vt}-item-link-icon`]:{color:nt.colorPrimary,fontSize:nt.fontSizeSM,opacity:0,transition:`all ${nt.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${vt}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:nt.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:nt.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:nt.paginationEllipsisTextIndent,opacity:1,transition:`all ${nt.motionDurationMid}`}},"&:hover":{[`${vt}-item-link-icon`]:{opacity:1},[`${vt}-item-ellipsis`]:{opacity:0}}},[` ${vt}-prev, ${vt}-jump-prev, ${vt}-jump-next `]:{marginInlineEnd:nt.marginXS},[` ${vt}-prev, ${vt}-next, ${vt}-jump-prev, ${vt}-jump-next `]:{display:"inline-block",minWidth:nt.itemSize,height:nt.itemSize,color:nt.colorText,fontFamily:nt.fontFamily,lineHeight:`${nt.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:nt.borderRadius,cursor:"pointer",transition:`all ${nt.motionDurationMid}`},[`${vt}-prev, ${vt}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:nt.colorText,cursor:"pointer",userSelect:"none"},[`${vt}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:nt.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${nt.lineWidth}px ${nt.lineType} transparent`,borderRadius:nt.borderRadius,outline:"none",transition:`all ${nt.motionDurationMid}`},[`&:hover ${vt}-item-link`]:{backgroundColor:nt.colorBgTextHover},[`&:active ${vt}-item-link`]:{backgroundColor:nt.colorBgTextActive},[`&${vt}-disabled:hover`]:{[`${vt}-item-link`]:{backgroundColor:"transparent"}}},[`${vt}-slash`]:{marginInlineEnd:nt.paginationSlashMarginInlineEnd,marginInlineStart:nt.paginationSlashMarginInlineStart},[`${vt}-options`]:{display:"inline-block",marginInlineStart:nt.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:nt.controlHeight,marginInlineStart:nt.marginXS,lineHeight:`${nt.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,it.ik)(nt)),{width:nt.controlHeightLG*1.25,height:nt.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:nt.marginXS,marginInlineEnd:nt.marginXS})}}}},Ze=nt=>{const{componentCls:vt}=nt;return{[`${vt}-item`]:{display:"inline-block",minWidth:nt.itemSize,height:nt.itemSize,marginInlineEnd:nt.marginXS,fontFamily:nt.fontFamily,lineHeight:`${nt.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${nt.lineWidth}px ${nt.lineType} transparent`,borderRadius:nt.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${nt.paginationItemPaddingInline}px`,color:nt.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${vt}-item-active)`]:{"&:hover":{transition:`all ${nt.motionDurationMid}`,backgroundColor:nt.colorBgTextHover},"&:active":{backgroundColor:nt.colorBgTextActive}},"&-active":{fontWeight:nt.fontWeightStrong,backgroundColor:nt.itemActiveBg,borderColor:nt.colorPrimary,a:{color:nt.colorPrimary},"&:hover":{borderColor:nt.colorPrimaryHover},"&:hover a":{color:nt.colorPrimaryHover}}}}},ze=nt=>{const{componentCls:vt}=nt;return{[vt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Xe.Wf)(nt)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${vt}-total-text`]:{display:"inline-block",height:nt.itemSize,marginInlineEnd:nt.marginXS,lineHeight:`${nt.itemSize-2}px`,verticalAlign:"middle"}}),Ze(nt)),$e(nt)),Be(nt)),Ae(nt)),Ve(nt)),{[`@media only screen and (max-width: ${nt.screenLG}px)`]:{[`${vt}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${nt.screenSM}px)`]:{[`${vt}-options`]:{display:"none"}}}),[`&${nt.componentCls}-rtl`]:{direction:"rtl"}}},_e=nt=>{const{componentCls:vt}=nt;return{[`${vt}${vt}-disabled:not(${vt}-mini)`]:{"&, &:hover":{[`${vt}-item-link`]:{borderColor:nt.colorBorder}},"&:focus-visible":{[`${vt}-item-link`]:{borderColor:nt.colorBorder}},[`${vt}-item, ${vt}-item-link`]:{backgroundColor:nt.colorBgContainerDisabled,borderColor:nt.colorBorder,[`&:hover:not(${vt}-item-active)`]:{backgroundColor:nt.colorBgContainerDisabled,borderColor:nt.colorBorder,a:{color:nt.colorTextDisabled}},[`&${vt}-item-active`]:{backgroundColor:nt.itemActiveBgDisabled}},[`${vt}-prev, ${vt}-next`]:{"&:hover button":{backgroundColor:nt.colorBgContainerDisabled,borderColor:nt.colorBorder,color:nt.colorTextDisabled},[`${vt}-item-link`]:{backgroundColor:nt.colorBgContainerDisabled,borderColor:nt.colorBorder}}},[`${vt}:not(${vt}-mini)`]:{[`${vt}-prev, ${vt}-next`]:{"&:hover button":{borderColor:nt.colorPrimaryHover,backgroundColor:nt.itemBg},[`${vt}-item-link`]:{backgroundColor:nt.itemLinkBg,borderColor:nt.colorBorder},[`&:hover ${vt}-item-link`]:{borderColor:nt.colorPrimary,backgroundColor:nt.itemBg,color:nt.colorPrimary},[`&${vt}-disabled`]:{[`${vt}-item-link`]:{borderColor:nt.colorBorder,color:nt.colorTextDisabled}}},[`${vt}-item`]:{backgroundColor:nt.itemBg,border:`${nt.lineWidth}px ${nt.lineType} ${nt.colorBorder}`,[`&:hover:not(${vt}-item-active)`]:{borderColor:nt.colorPrimary,backgroundColor:nt.itemBg,a:{color:nt.colorPrimary}},"&-active":{borderColor:nt.colorPrimary}}}}},Oe=nt=>{const{componentCls:vt}=nt;return{[`${vt}:not(${vt}-disabled)`]:{[`${vt}-item`]:Object.assign({},(0,Xe.Qy)(nt)),[`${vt}-jump-prev, ${vt}-jump-next`]:{"&:focus-visible":Object.assign({[`${vt}-item-link-icon`]:{opacity:1},[`${vt}-item-ellipsis`]:{opacity:0}},(0,Xe.oN)(nt))},[`${vt}-prev, ${vt}-next`]:{[`&:focus-visible ${vt}-item-link`]:Object.assign({},(0,Xe.oN)(nt))}}}};var Ne=(0,Ke.Z)("Pagination",nt=>{const vt=(0,Me.TS)(nt,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:nt.marginXXS/2,paginationMiniQuickJumperInputWidth:nt.controlHeightLG*1.1,paginationItemPaddingInline:nt.marginXXS*1.5,paginationEllipsisLetterSpacing:nt.marginXXS/2,paginationSlashMarginInlineStart:nt.marginXXS,paginationSlashMarginInlineEnd:nt.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,it.e5)(nt),(0,it.TM)(nt));return[ze(vt),Oe(vt),nt.wireframe&&_e(vt)]},nt=>({itemBg:nt.colorBgContainer,itemSize:nt.controlHeight,itemSizeSM:nt.controlHeightSM,itemActiveBg:nt.colorBgContainer,itemLinkBg:nt.colorBgContainer,itemActiveColorDisabled:nt.colorTextDisabled,itemActiveBgDisabled:nt.controlItemBgActiveDisabled,itemInputBg:nt.colorBgContainer,miniOptionsSizeChangerTop:0})),Ge=function(nt,vt){var xt={};for(var Rt in nt)Object.prototype.hasOwnProperty.call(nt,Rt)&&vt.indexOf(Rt)<0&&(xt[Rt]=nt[Rt]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,Rt=Object.getOwnPropertySymbols(nt);at{const{prefixCls:vt,selectPrefixCls:xt,className:Rt,rootClassName:at,style:Et,size:st,locale:gt,selectComponentClass:St,responsive:wt,showSizeChanger:Tt}=nt,Wt=Ge(nt,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:hn}=(0,He.Z)(wt),{getPrefixCls:pn,direction:Tn,pagination:Cn={}}=xe.useContext(Je.E_),Vn=pn("pagination",vt),[Qn,fr]=Ne(Vn),kr=Tt!=null?Tt:Cn.showSizeChanger,Vr=xe.useMemo(()=>{const tr=xe.createElement("span",{className:`${Vn}-item-ellipsis`},"\u2022\u2022\u2022"),Xn=xe.createElement("button",{className:`${Vn}-item-link`,type:"button",tabIndex:-1},Tn==="rtl"?xe.createElement(ue.Z,null):xe.createElement(ie.Z,null)),pr=xe.createElement("button",{className:`${Vn}-item-link`,type:"button",tabIndex:-1},Tn==="rtl"?xe.createElement(ie.Z,null):xe.createElement(ue.Z,null)),hr=xe.createElement("a",{className:`${Vn}-item-link`},xe.createElement("div",{className:`${Vn}-item-container`},Tn==="rtl"?xe.createElement(se.Z,{className:`${Vn}-item-link-icon`}):xe.createElement(re,{className:`${Vn}-item-link-icon`}),tr)),Zn=xe.createElement("a",{className:`${Vn}-item-link`},xe.createElement("div",{className:`${Vn}-item-container`},Tn==="rtl"?xe.createElement(re,{className:`${Vn}-item-link-icon`}):xe.createElement(se.Z,{className:`${Vn}-item-link-icon`}),tr));return{prevIcon:Xn,nextIcon:pr,jumpPrevIcon:hr,jumpNextIcon:Zn}},[Tn,Vn]),[Ur]=(0,Fe.Z)("Pagination",Qe.Z),Rr=Object.assign(Object.assign({},Ur),gt),Pn=(0,Ye.Z)(st),Xt=Pn==="small"||!!(hn&&!Pn&&wt),nn=pn("select",xt),bn=oe()({[`${Vn}-mini`]:Xt,[`${Vn}-rtl`]:Tn==="rtl"},Cn==null?void 0:Cn.className,Rt,at,fr),Mn=Object.assign(Object.assign({},Cn==null?void 0:Cn.style),Et);return Qn(xe.createElement(qe,Object.assign({},Vr,Wt,{style:Mn,prefixCls:Vn,selectPrefixCls:nn,className:bn,selectComponentClass:St||(Xt?et:tt),locale:Rr,showSizeChanger:kr})))},ut=pt},66330:function(_t,ft,de){"use strict";de.d(ft,{t5:function(){return ue}});var Se=de(94184),xe=de.n(Se),E=de(92419),pe=de(67294),fe=de(53124),le=de(81643),re=de(20136),se=function(oe,ne){var ee={};for(var a in oe)Object.prototype.hasOwnProperty.call(oe,a)&&ne.indexOf(a)<0&&(ee[a]=oe[a]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,a=Object.getOwnPropertySymbols(oe);y{if(!(!ne&&!ee))return pe.createElement(pe.Fragment,null,ne&&pe.createElement("div",{className:`${oe}-title`},(0,le.Z)(ne)),pe.createElement("div",{className:`${oe}-inner-content`},(0,le.Z)(ee)))},ue=oe=>{const{hashId:ne,prefixCls:ee,className:a,style:y,placement:x="top",title:b,content:z,children:te}=oe;return pe.createElement("div",{className:xe()(ne,ee,`${ee}-pure`,`${ee}-placement-${x}`,a),style:y},pe.createElement("div",{className:`${ee}-arrow`}),pe.createElement(E.G,Object.assign({},oe,{className:ne,prefixCls:ee}),te||ie(ee,b,z)))},ae=oe=>{const{prefixCls:ne}=oe,ee=se(oe,["prefixCls"]),{getPrefixCls:a}=pe.useContext(fe.E_),y=a("popover",ne),[x,b]=(0,re.Z)(y);return x(pe.createElement(ue,Object.assign({},ee,{prefixCls:y,hashId:b})))};ft.ZP=ae},20136:function(_t,ft,de){"use strict";var Se=de(14747),xe=de(50438),E=de(97414),pe=de(8796),fe=de(67968),le=de(45503);const re=ue=>{const{componentCls:ae,popoverColor:oe,minWidth:ne,fontWeightStrong:ee,popoverPadding:a,boxShadowSecondary:y,colorTextHeading:x,borderRadiusLG:b,zIndexPopup:z,marginXS:te,colorBgElevated:ce,popoverBg:ge}=ue;return[{[ae]:Object.assign(Object.assign({},(0,Se.Wf)(ue)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:z,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":ce,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${ae}-content`]:{position:"relative"},[`${ae}-inner`]:{backgroundColor:ge,backgroundClip:"padding-box",borderRadius:b,boxShadow:y,padding:a},[`${ae}-title`]:{minWidth:ne,marginBottom:te,color:x,fontWeight:ee},[`${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"}}}]},se=ue=>{const{componentCls:ae}=ue;return{[ae]:pe.i.map(oe=>{const ne=ue[`${oe}6`];return{[`&${ae}-${oe}`]:{"--antd-arrow-background-color":ne,[`${ae}-inner`]:{backgroundColor:ne},[`${ae}-arrow`]:{background:"transparent"}}}})}},ie=ue=>{const{componentCls:ae,lineWidth:oe,lineType:ne,colorSplit:ee,paddingSM:a,controlHeight:y,fontSize:x,lineHeight:b,padding:z}=ue,te=y-Math.round(x*b),ce=te/2,ge=te/2-oe,he=z;return{[ae]:{[`${ae}-inner`]:{padding:0},[`${ae}-title`]:{margin:0,padding:`${ce}px ${he}px ${ge}px`,borderBottom:`${oe}px ${ne} ${ee}`},[`${ae}-inner-content`]:{padding:`${a}px ${he}px`}}}};ft.Z=(0,fe.Z)("Popover",ue=>{const{colorBgElevated:ae,colorText:oe,wireframe:ne}=ue,ee=(0,le.TS)(ue,{popoverPadding:12,popoverBg:ae,popoverColor:oe});return[re(ee),se(ee),ne&&ie(ee),(0,xe._y)(ee,"zoom-big")]},ue=>({width:177,minWidth:177,zIndexPopup:ue.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},38703:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return Et}});var Se=de(67294),xe=de(87725),E=de(18299),pe=de(16646),fe=de(73475),le=de(94184),re=de.n(le),se=de(10366),ie=de(53124),ue=de(87462),ae=de(1413),oe=de(45987),ne={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ee=function(){var gt=(0,Se.useRef)([]),St=(0,Se.useRef)(null);return(0,Se.useEffect)(function(){var wt=Date.now(),Tt=!1;gt.current.forEach(function(Wt){if(Wt){Tt=!0;var hn=Wt.style;hn.transitionDuration=".3s, .3s, .3s, .06s",St.current&&wt-St.current<100&&(hn.transitionDuration="0s, 0s")}}),Tt&&(St.current=Date.now())}),gt.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(gt){var St=(0,ae.Z)((0,ae.Z)({},ne),gt),wt=St.className,Tt=St.percent,Wt=St.prefixCls,hn=St.strokeColor,pn=St.strokeLinecap,Tn=St.strokeWidth,Cn=St.style,Vn=St.trailColor,Qn=St.trailWidth,fr=St.transition,kr=(0,oe.Z)(St,a);delete kr.gapPosition;var Vr=Array.isArray(Tt)?Tt:[Tt],Ur=Array.isArray(hn)?hn:[hn],Rr=ee(),Pn=Tn/2,Xt=100-Tn/2,nn="M ".concat(pn==="round"?Pn:0,",").concat(Pn,` L `).concat(pn==="round"?Xt:100,",").concat(Pn),bn="0 0 100 ".concat(Tn),Mn=0;return Se.createElement("svg",(0,ue.Z)({className:re()("".concat(Wt,"-line"),wt),viewBox:bn,preserveAspectRatio:"none",style:Cn},kr),Se.createElement("path",{className:"".concat(Wt,"-line-trail"),d:nn,strokeLinecap:pn,stroke:Vn,strokeWidth:Qn||Tn,fillOpacity:"0"}),Vr.map(function(tr,Xn){var pr=1;switch(pn){case"round":pr=1-Tn/100;break;case"square":pr=1-Tn/2/100;break;default:pr=1;break}var hr={strokeDasharray:"".concat(tr*pr,"px, 100px"),strokeDashoffset:"-".concat(Mn,"px"),transition:fr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Zn=Ur[Xn]||Ur[Ur.length-1];return Mn+=tr,Se.createElement("path",{key:Xn,className:"".concat(Wt,"-line-path"),d:nn,strokeLinecap:pn,stroke:Zn,strokeWidth:Tn,fillOpacity:"0",ref:function(Nt){Rr[Xn]=Nt},style:hr})}))},x=y,b=de(71002),z=de(97685),te=de(98924),ce=0,ge=(0,te.Z)();function he(){var st;return ge?(st=ce,ce+=1):st="TEST_OR_SSR",st}var ve=function(st){var gt=Se.useState(),St=(0,z.Z)(gt,2),wt=St[0],Tt=St[1];return Se.useEffect(function(){Tt("rc_progress_".concat(he()))},[]),st||wt},me=function(gt){var St=gt.bg,wt=gt.children;return Se.createElement("div",{style:{width:"100%",height:"100%",background:St}},wt)};function be(st,gt){return Object.keys(st).map(function(St){var wt=parseFloat(St),Tt="".concat(Math.floor(wt*gt),"%");return"".concat(st[St]," ").concat(Tt)})}var ye=Se.forwardRef(function(st,gt){var St=st.prefixCls,wt=st.color,Tt=st.gradientId,Wt=st.radius,hn=st.style,pn=st.ptg,Tn=st.strokeLinecap,Cn=st.strokeWidth,Vn=st.size,Qn=st.gapDegree,fr=wt&&(0,b.Z)(wt)==="object",kr=fr?"#FFF":void 0,Vr=Vn/2,Ur=Se.createElement("circle",{className:"".concat(St,"-circle-path"),r:Wt,cx:Vr,cy:Vr,stroke:kr,strokeLinecap:Tn,strokeWidth:Cn,opacity:pn===0?0:1,style:hn,ref:gt});if(!fr)return Ur;var Rr="".concat(Tt,"-conic"),Pn=Qn?"".concat(180+Qn/2,"deg"):"0deg",Xt=be(wt,(360-Qn)/360),nn=be(wt,1),bn="conic-gradient(from ".concat(Pn,", ").concat(Xt.join(", "),")"),Mn="linear-gradient(to ".concat(Qn?"bottom":"top",", ").concat(nn.join(", "),")");return Se.createElement(Se.Fragment,null,Se.createElement("mask",{id:Rr},Ur),Se.createElement("foreignObject",{x:0,y:0,width:Vn,height:Vn,mask:"url(#".concat(Rr,")")},Se.createElement(me,{bg:Mn},Se.createElement(me,{bg:bn}))))}),Pe=ye,we=100,Le=function(gt,St,wt,Tt,Wt,hn,pn,Tn,Cn,Vn){var Qn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,fr=wt/100*360*((360-hn)/360),kr=hn===0?0:{bottom:0,top:180,left:90,right:-90}[pn],Vr=(100-Tt)/100*St;Cn==="round"&&Tt!==100&&(Vr+=Vn/2,Vr>=St&&(Vr=St-.01));var Ur=we/2;return{stroke:typeof Tn=="string"?Tn:void 0,strokeDasharray:"".concat(St,"px ").concat(gt),strokeDashoffset:Vr+Qn,transform:"rotate(".concat(Wt+fr+kr,"deg)"),transformOrigin:"".concat(Ur,"px ").concat(Ur,"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}},Ce=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Te(st){var gt=st!=null?st:[];return Array.isArray(gt)?gt:[gt]}var Ee=function(gt){var St=(0,ae.Z)((0,ae.Z)({},ne),gt),wt=St.id,Tt=St.prefixCls,Wt=St.steps,hn=St.strokeWidth,pn=St.trailWidth,Tn=St.gapDegree,Cn=Tn===void 0?0:Tn,Vn=St.gapPosition,Qn=St.trailColor,fr=St.strokeLinecap,kr=St.style,Vr=St.className,Ur=St.strokeColor,Rr=St.percent,Pn=(0,oe.Z)(St,Ce),Xt=we/2,nn=ve(wt),bn="".concat(nn,"-gradient"),Mn=Xt-hn/2,tr=Math.PI*2*Mn,Xn=Cn>0?90+Cn/2:-90,pr=tr*((360-Cn)/360),hr=(0,b.Z)(Wt)==="object"?Wt:{count:Wt,space:2},Zn=hr.count,Lt=hr.space,Nt=Te(Rr),Mt=Te(Ur),xn=Mt.find(function(ho){return ho&&(0,b.Z)(ho)==="object"}),Hn=xn&&(0,b.Z)(xn)==="object",Fn=Hn?"butt":fr,wr=Le(tr,pr,0,100,Xn,Cn,Vn,Qn,Fn,hn),dr=ee(),Sr=function(){var Sn=0;return Nt.map(function(Dr,Ft){var dn=Mt[Ft]||Mt[Mt.length-1],rn=Le(tr,pr,Sn,Dr,Xn,Cn,Vn,dn,Fn,hn);return Sn+=Dr,Se.createElement(Pe,{key:Ft,color:dn,ptg:Dr,radius:Mn,prefixCls:Tt,gradientId:bn,style:rn,strokeLinecap:Fn,strokeWidth:hn,gapDegree:Cn,ref:function(Nn){dr[Ft]=Nn},size:we})}).reverse()},jr=function(){var Sn=Math.round(Zn*(Nt[0]/100)),Dr=100/Zn,Ft=0;return new Array(Zn).fill(null).map(function(dn,rn){var fn=rn<=Sn-1?Mt[0]:Qn,Nn=fn&&(0,b.Z)(fn)==="object"?"url(#".concat(bn,")"):void 0,ln=Le(tr,pr,Ft,Dr,Xn,Cn,Vn,fn,"butt",hn,Lt);return Ft+=(pr-ln.strokeDashoffset+Lt)*100/pr,Se.createElement("circle",{key:rn,className:"".concat(Tt,"-circle-path"),r:Mn,cx:Xt,cy:Xt,stroke:Nn,strokeWidth:hn,opacity:1,style:ln,ref:function(vn){dr[rn]=vn}})})};return Se.createElement("svg",(0,ue.Z)({className:re()("".concat(Tt,"-circle"),Vr),viewBox:"0 0 ".concat(we," ").concat(we),style:kr,id:wt,role:"presentation"},Pn),!Zn&&Se.createElement("circle",{className:"".concat(Tt,"-circle-trail"),r:Mn,cx:Xt,cy:Xt,stroke:Qn,strokeLinecap:Fn,strokeWidth:pn||hn,style:wr}),Zn?jr():Sr())},Re=Ee,De={Line:x,Circle:Re},ke=de(83062),Ie=de(47448);function qe(st){return!st||st<0?0:st>100?100:st}function Qe(st){let{success:gt,successPercent:St}=st,wt=St;return gt&&"progress"in gt&&(wt=gt.progress),gt&&"percent"in gt&&(wt=gt.percent),wt}const Je=st=>{let{percent:gt,success:St,successPercent:wt}=st;const Tt=qe(Qe({success:St,successPercent:wt}));return[Tt,qe(qe(gt)-Tt)]},Ye=st=>{let{success:gt={},strokeColor:St}=st;const{strokeColor:wt}=gt;return[wt||Ie.presetPrimaryColors.green,St||null]},He=(st,gt,St)=>{var wt,Tt,Wt,hn;let pn=-1,Tn=-1;if(gt==="step"){const Cn=St.steps,Vn=St.strokeWidth;typeof st=="string"||typeof st=="undefined"?(pn=st==="small"?2:14,Tn=Vn!=null?Vn:8):typeof st=="number"?[pn,Tn]=[st,st]:[pn=14,Tn=8]=st,pn*=Cn}else if(gt==="line"){const Cn=St==null?void 0:St.strokeWidth;typeof st=="string"||typeof st=="undefined"?Tn=Cn||(st==="small"?6:8):typeof st=="number"?[pn,Tn]=[st,st]:[pn=-1,Tn=8]=st}else(gt==="circle"||gt==="dashboard")&&(typeof st=="string"||typeof st=="undefined"?[pn,Tn]=st==="small"?[60,60]:[120,120]:typeof st=="number"?[pn,Tn]=[st,st]:(pn=(Tt=(wt=st[0])!==null&&wt!==void 0?wt:st[1])!==null&&Tt!==void 0?Tt:120,Tn=(hn=(Wt=st[0])!==null&&Wt!==void 0?Wt:st[1])!==null&&hn!==void 0?hn:120));return[pn,Tn]},Fe=3,je=st=>Fe/st*100;var tt=st=>{const{prefixCls:gt,trailColor:St=null,strokeLinecap:wt="round",gapPosition:Tt,gapDegree:Wt,width:hn=120,type:pn,children:Tn,success:Cn,size:Vn=hn}=st,[Qn,fr]=He(Vn,"circle");let{strokeWidth:kr}=st;kr===void 0&&(kr=Math.max(je(Qn),6));const Vr={width:Qn,height:fr,fontSize:Qn*.15+6},Ur=Se.useMemo(()=>{if(Wt||Wt===0)return Wt;if(pn==="dashboard")return 75},[Wt,pn]),Rr=Tt||pn==="dashboard"&&"bottom"||void 0,Pn=Object.prototype.toString.call(st.strokeColor)==="[object Object]",Xt=Ye({success:Cn,strokeColor:st.strokeColor}),nn=re()(`${gt}-inner`,{[`${gt}-circle-gradient`]:Pn}),bn=Se.createElement(Re,{percent:Je(st),strokeWidth:kr,trailWidth:kr,strokeColor:Xt,strokeLinecap:wt,trailColor:St,prefixCls:gt,gapDegree:Ur,gapPosition:Rr});return Se.createElement("div",{className:nn,style:Vr},Qn<=20?Se.createElement(ke.Z,{title:Tn},Se.createElement("span",null,bn)):Se.createElement(Se.Fragment,null,bn,Tn))},it=function(st,gt){var St={};for(var wt in st)Object.prototype.hasOwnProperty.call(st,wt)&>.indexOf(wt)<0&&(St[wt]=st[wt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,wt=Object.getOwnPropertySymbols(st);Tt{let gt=[];return Object.keys(st).forEach(St=>{const wt=parseFloat(St.replace(/%/g,""));isNaN(wt)||gt.push({key:wt,value:st[St]})}),gt=gt.sort((St,wt)=>St.key-wt.key),gt.map(St=>{let{key:wt,value:Tt}=St;return`${Tt} ${wt}%`}).join(", ")},Ke=(st,gt)=>{const{from:St=Ie.presetPrimaryColors.blue,to:wt=Ie.presetPrimaryColors.blue,direction:Tt=gt==="rtl"?"to left":"to right"}=st,Wt=it(st,["from","to","direction"]);if(Object.keys(Wt).length!==0){const hn=Xe(Wt);return{backgroundImage:`linear-gradient(${Tt}, ${hn})`}}return{backgroundImage:`linear-gradient(${Tt}, ${St}, ${wt})`}};var Ve=st=>{const{prefixCls:gt,direction:St,percent:wt,size:Tt,strokeWidth:Wt,strokeColor:hn,strokeLinecap:pn="round",children:Tn,trailColor:Cn=null,success:Vn}=st,Qn=hn&&typeof hn!="string"?Ke(hn,St):{backgroundColor:hn},fr=pn==="square"||pn==="butt"?0:void 0,kr={backgroundColor:Cn||void 0,borderRadius:fr},Vr=Tt!=null?Tt:[-1,Wt||(Tt==="small"?6:8)],[Ur,Rr]=He(Vr,"line",{strokeWidth:Wt}),Pn=Object.assign({width:`${qe(wt)}%`,height:Rr,borderRadius:fr},Qn),Xt=Qe(st),nn={width:`${qe(Xt)}%`,height:Rr,borderRadius:fr,backgroundColor:Vn==null?void 0:Vn.strokeColor},bn={width:Ur<0?"100%":Ur,height:Rr};return Se.createElement(Se.Fragment,null,Se.createElement("div",{className:`${gt}-outer`,style:bn},Se.createElement("div",{className:`${gt}-inner`,style:kr},Se.createElement("div",{className:`${gt}-bg`,style:Pn}),Xt!==void 0?Se.createElement("div",{className:`${gt}-success-bg`,style:nn}):null)),Tn)},Be=st=>{const{size:gt,steps:St,percent:wt=0,strokeWidth:Tt=8,strokeColor:Wt,trailColor:hn=null,prefixCls:pn,children:Tn}=st,Cn=Math.round(St*(wt/100)),Vn=gt==="small"?2:14,Qn=gt!=null?gt:[Vn,Tt],[fr,kr]=He(Qn,"step",{steps:St,strokeWidth:Tt}),Vr=fr/St,Ur=new Array(St);for(let Rr=0;Rr{const gt=st?"100%":"-100%";return new $e.Keyframes(`antProgress${st?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${gt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${gt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Ne=st=>{const{componentCls:gt,iconCls:St}=st;return{[gt]:Object.assign(Object.assign({},(0,Ze.Wf)(st)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:st.fontSize,marginInlineEnd:st.marginXS,marginBottom:st.marginXS},[`${gt}-outer`]:{display:"inline-block",width:"100%"},[`&${gt}-show-info`]:{[`${gt}-outer`]:{marginInlineEnd:`calc(-2em - ${st.marginXS}px)`,paddingInlineEnd:`calc(2em + ${st.paddingXS}px)`}},[`${gt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:st.remainingColor,borderRadius:st.lineBorderRadius},[`${gt}-inner:not(${gt}-circle-gradient)`]:{[`${gt}-circle-path`]:{stroke:st.defaultColor}},[`${gt}-success-bg, ${gt}-bg`]:{position:"relative",backgroundColor:st.defaultColor,borderRadius:st.lineBorderRadius,transition:`all ${st.motionDurationSlow} ${st.motionEaseInOutCirc}`},[`${gt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:st.colorSuccess},[`${gt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:st.marginXS,color:st.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[St]:{fontSize:st.fontSize}},[`&${gt}-status-active`]:{[`${gt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:st.colorBgContainer,borderRadius:st.lineBorderRadius,opacity:0,animationName:Oe(),animationDuration:st.progressActiveMotionDuration,animationTimingFunction:st.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${gt}-rtl${gt}-status-active`]:{[`${gt}-bg::before`]:{animationName:Oe(!0)}},[`&${gt}-status-exception`]:{[`${gt}-bg`]:{backgroundColor:st.colorError},[`${gt}-text`]:{color:st.colorError}},[`&${gt}-status-exception ${gt}-inner:not(${gt}-circle-gradient)`]:{[`${gt}-circle-path`]:{stroke:st.colorError}},[`&${gt}-status-success`]:{[`${gt}-bg`]:{backgroundColor:st.colorSuccess},[`${gt}-text`]:{color:st.colorSuccess}},[`&${gt}-status-success ${gt}-inner:not(${gt}-circle-gradient)`]:{[`${gt}-circle-path`]:{stroke:st.colorSuccess}}})}},Ge=st=>{const{componentCls:gt,iconCls:St}=st;return{[gt]:{[`${gt}-circle-trail`]:{stroke:st.remainingColor},[`&${gt}-circle ${gt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${gt}-circle ${gt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:st.circleTextColor,fontSize:st.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[St]:{fontSize:`${st.fontSize/st.fontSizeSM}em`}},[`${gt}-circle&-status-exception`]:{[`${gt}-text`]:{color:st.colorError}},[`${gt}-circle&-status-success`]:{[`${gt}-text`]:{color:st.colorSuccess}}},[`${gt}-inline-circle`]:{lineHeight:1,[`${gt}-inner`]:{verticalAlign:"bottom"}}}},rt=st=>{const{componentCls:gt}=st;return{[gt]:{[`${gt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:st.progressStepMinWidth,marginInlineEnd:st.progressStepMarginInlineEnd,backgroundColor:st.remainingColor,transition:`all ${st.motionDurationSlow}`,"&-active":{backgroundColor:st.defaultColor}}}}}},pt=st=>{const{componentCls:gt,iconCls:St}=st;return{[gt]:{[`${gt}-small&-line, ${gt}-small&-line ${gt}-text ${St}`]:{fontSize:st.fontSizeSM}}}};var ut=(0,ze.Z)("Progress",st=>{const gt=st.marginXXS/2,St=(0,_e.TS)(st,{progressStepMarginInlineEnd:gt,progressStepMinWidth:gt,progressActiveMotionDuration:"2.4s"});return[Ne(St),Ge(St),rt(St),pt(St)]},st=>({circleTextColor:st.colorText,defaultColor:st.colorInfo,remainingColor:st.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),nt=function(st,gt){var St={};for(var wt in st)Object.prototype.hasOwnProperty.call(st,wt)&>.indexOf(wt)<0&&(St[wt]=st[wt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,wt=Object.getOwnPropertySymbols(st);Tt{const{prefixCls:St,className:wt,rootClassName:Tt,steps:Wt,strokeColor:hn,percent:pn=0,size:Tn="default",showInfo:Cn=!0,type:Vn="line",status:Qn,format:fr,style:kr}=st,Vr=nt(st,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Ur=Se.useMemo(()=>{var Nt,Mt;const xn=Qe(st);return parseInt(xn!==void 0?(Nt=xn!=null?xn:0)===null||Nt===void 0?void 0:Nt.toString():(Mt=pn!=null?pn:0)===null||Mt===void 0?void 0:Mt.toString(),10)},[pn,st.success,st.successPercent]),Rr=Se.useMemo(()=>!xt.includes(Qn)&&Ur>=100?"success":Qn||"normal",[Qn,Ur]),{getPrefixCls:Pn,direction:Xt,progress:nn}=Se.useContext(ie.E_),bn=Pn("progress",St),[Mn,tr]=ut(bn),Xn=Se.useMemo(()=>{if(!Cn)return null;const Nt=Qe(st);let Mt;const xn=fr||(Fn=>`${Fn}%`),Hn=Vn==="line";return fr||Rr!=="exception"&&Rr!=="success"?Mt=xn(qe(pn),qe(Nt)):Rr==="exception"?Mt=Hn?Se.createElement(pe.Z,null):Se.createElement(fe.Z,null):Rr==="success"&&(Mt=Hn?Se.createElement(xe.Z,null):Se.createElement(E.Z,null)),Se.createElement("span",{className:`${bn}-text`,title:typeof Mt=="string"?Mt:void 0},Mt)},[Cn,pn,Ur,Rr,Vn,bn,fr]),pr=Array.isArray(hn)?hn[0]:hn,hr=typeof hn=="string"||Array.isArray(hn)?hn:void 0;let Zn;Vn==="line"?Zn=Wt?Se.createElement(Be,Object.assign({},st,{strokeColor:hr,prefixCls:bn,steps:Wt}),Xn):Se.createElement(Ve,Object.assign({},st,{strokeColor:pr,prefixCls:bn,direction:Xt}),Xn):(Vn==="circle"||Vn==="dashboard")&&(Zn=Se.createElement(tt,Object.assign({},st,{strokeColor:pr,prefixCls:bn,progressStatus:Rr}),Xn));const Lt=re()(bn,`${bn}-status-${Rr}`,`${bn}-${Vn==="dashboard"&&"circle"||Wt&&"steps"||Vn}`,{[`${bn}-inline-circle`]:Vn==="circle"&&He(Tn,"circle")[0]<=20,[`${bn}-show-info`]:Cn,[`${bn}-${Tn}`]:typeof Tn=="string",[`${bn}-rtl`]:Xt==="rtl"},nn==null?void 0:nn.className,wt,Tt,tr);return Mn(Se.createElement("div",Object.assign({ref:gt,style:Object.assign(Object.assign({},nn==null?void 0:nn.style),kr),className:Lt,role:"progressbar","aria-valuenow":Ur},(0,se.Z)(Vr,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Zn))}),Et=at},46303:function(_t,ft,de){"use strict";de.d(ft,{Z:function(){return Be}});var Se=de(94184),xe=de.n(Se),E=de(67294),pe=de(53124),fe=de(10366),re=$e=>{const{prefixCls:Ze,className:ze,style:_e,size:Oe,shape:Ne}=$e,Ge=xe()({[`${Ze}-lg`]:Oe==="large",[`${Ze}-sm`]:Oe==="small"}),rt=xe()({[`${Ze}-circle`]:Ne==="circle",[`${Ze}-square`]:Ne==="square",[`${Ze}-round`]:Ne==="round"}),pt=E.useMemo(()=>typeof Oe=="number"?{width:Oe,height:Oe,lineHeight:`${Oe}px`}:{},[Oe]);return E.createElement("span",{className:xe()(Ze,Ge,rt,ze),style:Object.assign(Object.assign({},pt),_e)})},se=de(45930),ie=de(67968),ue=de(45503);const ae=new se.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),oe=$e=>({height:$e,lineHeight:`${$e}px`}),ne=$e=>Object.assign({width:$e},oe($e)),ee=$e=>({background:$e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:ae,animationDuration:$e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),a=$e=>Object.assign({width:$e*5,minWidth:$e*5},oe($e)),y=$e=>{const{skeletonAvatarCls:Ze,gradientFromColor:ze,controlHeight:_e,controlHeightLG:Oe,controlHeightSM:Ne}=$e;return{[`${Ze}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ze},ne(_e)),[`${Ze}${Ze}-circle`]:{borderRadius:"50%"},[`${Ze}${Ze}-lg`]:Object.assign({},ne(Oe)),[`${Ze}${Ze}-sm`]:Object.assign({},ne(Ne))}},x=$e=>{const{controlHeight:Ze,borderRadiusSM:ze,skeletonInputCls:_e,controlHeightLG:Oe,controlHeightSM:Ne,gradientFromColor:Ge}=$e;return{[`${_e}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ge,borderRadius:ze},a(Ze)),[`${_e}-lg`]:Object.assign({},a(Oe)),[`${_e}-sm`]:Object.assign({},a(Ne))}},b=$e=>Object.assign({width:$e},oe($e)),z=$e=>{const{skeletonImageCls:Ze,imageSizeBase:ze,gradientFromColor:_e,borderRadiusSM:Oe}=$e;return{[`${Ze}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:_e,borderRadius:Oe},b(ze*2)),{[`${Ze}-path`]:{fill:"#bfbfbf"},[`${Ze}-svg`]:Object.assign(Object.assign({},b(ze)),{maxWidth:ze*4,maxHeight:ze*4}),[`${Ze}-svg${Ze}-svg-circle`]:{borderRadius:"50%"}}),[`${Ze}${Ze}-circle`]:{borderRadius:"50%"}}},te=($e,Ze,ze)=>{const{skeletonButtonCls:_e}=$e;return{[`${ze}${_e}-circle`]:{width:Ze,minWidth:Ze,borderRadius:"50%"},[`${ze}${_e}-round`]:{borderRadius:Ze}}},ce=$e=>Object.assign({width:$e*2,minWidth:$e*2},oe($e)),ge=$e=>{const{borderRadiusSM:Ze,skeletonButtonCls:ze,controlHeight:_e,controlHeightLG:Oe,controlHeightSM:Ne,gradientFromColor:Ge}=$e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${ze}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ge,borderRadius:Ze,width:_e*2,minWidth:_e*2},ce(_e))},te($e,_e,ze)),{[`${ze}-lg`]:Object.assign({},ce(Oe))}),te($e,Oe,`${ze}-lg`)),{[`${ze}-sm`]:Object.assign({},ce(Ne))}),te($e,Ne,`${ze}-sm`))},he=$e=>{const{componentCls:Ze,skeletonAvatarCls:ze,skeletonTitleCls:_e,skeletonParagraphCls:Oe,skeletonButtonCls:Ne,skeletonInputCls:Ge,skeletonImageCls:rt,controlHeight:pt,controlHeightLG:ut,controlHeightSM:nt,gradientFromColor:vt,padding:xt,marginSM:Rt,borderRadius:at,titleHeight:Et,blockRadius:st,paragraphLiHeight:gt,controlHeightXS:St,paragraphMarginTop:wt}=$e;return{[`${Ze}`]:{display:"table",width:"100%",[`${Ze}-header`]:{display:"table-cell",paddingInlineEnd:xt,verticalAlign:"top",[`${ze}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:vt},ne(pt)),[`${ze}-circle`]:{borderRadius:"50%"},[`${ze}-lg`]:Object.assign({},ne(ut)),[`${ze}-sm`]:Object.assign({},ne(nt))},[`${Ze}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${_e}`]:{width:"100%",height:Et,background:vt,borderRadius:st,[`+ ${Oe}`]:{marginBlockStart:nt}},[`${Oe}`]:{padding:0,"> li":{width:"100%",height:gt,listStyle:"none",background:vt,borderRadius:st,"+ li":{marginBlockStart:St}}},[`${Oe}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Ze}-content`]:{[`${_e}, ${Oe} > li`]:{borderRadius:at}}},[`${Ze}-with-avatar ${Ze}-content`]:{[`${_e}`]:{marginBlockStart:Rt,[`+ ${Oe}`]:{marginBlockStart:wt}}},[`${Ze}${Ze}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ge($e)),y($e)),x($e)),z($e)),[`${Ze}${Ze}-block`]:{width:"100%",[`${Ne}`]:{width:"100%"},[`${Ge}`]:{width:"100%"}},[`${Ze}${Ze}-active`]:{[` ${_e}, ${Oe} > li, ${ze}, ${Ne}, ${Ge}, ${rt} `]:Object.assign({},ee($e))}}};var ve=(0,ie.Z)("Skeleton",$e=>{const{componentCls:Ze}=$e,ze=(0,ue.TS)($e,{skeletonAvatarCls:`${Ze}-avatar`,skeletonTitleCls:`${Ze}-title`,skeletonParagraphCls:`${Ze}-paragraph`,skeletonButtonCls:`${Ze}-button`,skeletonInputCls:`${Ze}-input`,skeletonImageCls:`${Ze}-image`,imageSizeBase:$e.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${$e.gradientFromColor} 25%, ${$e.gradientToColor} 37%, ${$e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[he(ze)]},$e=>{const{colorFillContent:Ze,colorFill:ze}=$e,_e=Ze,Oe=ze;return{color:_e,colorGradientEnd:Oe,gradientFromColor:_e,gradientToColor:Oe,titleHeight:$e.controlHeight/2,blockRadius:$e.borderRadiusSM,paragraphMarginTop:$e.marginLG+$e.marginXXS,paragraphLiHeight:$e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),be=$e=>{const{prefixCls:Ze,className:ze,rootClassName:_e,active:Oe,shape:Ne="circle",size:Ge="default"}=$e,{getPrefixCls:rt}=E.useContext(pe.E_),pt=rt("skeleton",Ze),[ut,nt]=ve(pt),vt=(0,fe.Z)($e,["prefixCls","className"]),xt=xe()(pt,`${pt}-element`,{[`${pt}-active`]:Oe},ze,_e,nt);return ut(E.createElement("div",{className:xt},E.createElement(re,Object.assign({prefixCls:`${pt}-avatar`,shape:Ne,size:Ge},vt))))},Pe=$e=>{const{prefixCls:Ze,className:ze,rootClassName:_e,active:Oe,block:Ne=!1,size:Ge="default"}=$e,{getPrefixCls:rt}=E.useContext(pe.E_),pt=rt("skeleton",Ze),[ut,nt]=ve(pt),vt=(0,fe.Z)($e,["prefixCls"]),xt=xe()(pt,`${pt}-element`,{[`${pt}-active`]:Oe,[`${pt}-block`]:Ne},ze,_e,nt);return ut(E.createElement("div",{className:xt},E.createElement(re,Object.assign({prefixCls:`${pt}-button`,size:Ge},vt))))};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 Ce=$e=>{const{prefixCls:Ze,className:ze,rootClassName:_e,style:Oe,active:Ne}=$e,{getPrefixCls:Ge}=E.useContext(pe.E_),rt=Ge("skeleton",Ze),[pt,ut]=ve(rt),nt=xe()(rt,`${rt}-element`,{[`${rt}-active`]:Ne},ze,_e,ut);return pt(E.createElement("div",{className:nt},E.createElement("div",{className:xe()(`${rt}-image`,ze),style:Oe},E.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${rt}-image-svg`},E.createElement("path",{d:we,className:`${rt}-image-path`})))))},Ee=$e=>{const{prefixCls:Ze,className:ze,rootClassName:_e,active:Oe,block:Ne,size:Ge="default"}=$e,{getPrefixCls:rt}=E.useContext(pe.E_),pt=rt("skeleton",Ze),[ut,nt]=ve(pt),vt=(0,fe.Z)($e,["prefixCls"]),xt=xe()(pt,`${pt}-element`,{[`${pt}-active`]:Oe,[`${pt}-block`]:Ne},ze,_e,nt);return ut(E.createElement("div",{className:xt},E.createElement(re,Object.assign({prefixCls:`${pt}-input`,size:Ge},vt))))},Re=de(87462),De={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"},ke=De,Ie=de(74643),qe=function(Ze,ze){return E.createElement(Ie.Z,(0,Re.Z)({},Ze,{ref:ze,icon:ke}))},Qe=E.forwardRef(qe),Ye=$e=>{const{prefixCls:Ze,className:ze,rootClassName:_e,style:Oe,active:Ne,children:Ge}=$e,{getPrefixCls:rt}=E.useContext(pe.E_),pt=rt("skeleton",Ze),[ut,nt]=ve(pt),vt=xe()(pt,`${pt}-element`,{[`${pt}-active`]:Ne},nt,ze,_e),xt=Ge!=null?Ge:E.createElement(Qe,null);return ut(E.createElement("div",{className:vt},E.createElement("div",{className:xe()(`${pt}-image`,ze),style:Oe},xt)))},He=de(74902),je=$e=>{const Ze=rt=>{const{width:pt,rows:ut=2}=$e;if(Array.isArray(pt))return pt[rt];if(ut-1===rt)return pt},{prefixCls:ze,className:_e,style:Oe,rows:Ne}=$e,Ge=(0,He.Z)(Array(Ne)).map((rt,pt)=>E.createElement("li",{key:pt,style:{width:Ze(pt)}}));return E.createElement("ul",{className:xe()(ze,_e),style:Oe},Ge)},tt=$e=>{let{prefixCls:Ze,className:ze,width:_e,style:Oe}=$e;return E.createElement("h3",{className:xe()(Ze,ze),style:Object.assign({width:_e},Oe)})};function it($e){return $e&&typeof $e=="object"?$e:{}}function Xe($e,Ze){return $e&&!Ze?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Ke($e,Ze){return!$e&&Ze?{width:"38%"}:$e&&Ze?{width:"50%"}:{}}function Me($e,Ze){const ze={};return(!$e||!Ze)&&(ze.width="61%"),!$e&&Ze?ze.rows=3:ze.rows=2,ze}const Ve=$e=>{const{prefixCls:Ze,loading:ze,className:_e,rootClassName:Oe,style:Ne,children:Ge,avatar:rt=!1,title:pt=!0,paragraph:ut=!0,active:nt,round:vt}=$e,{getPrefixCls:xt,direction:Rt,skeleton:at}=E.useContext(pe.E_),Et=xt("skeleton",Ze),[st,gt]=ve(Et);if(ze||!("loading"in $e)){const St=!!rt,wt=!!pt,Tt=!!ut;let Wt;if(St){const Tn=Object.assign(Object.assign({prefixCls:`${Et}-avatar`},Xe(wt,Tt)),it(rt));Wt=E.createElement("div",{className:`${Et}-header`},E.createElement(re,Object.assign({},Tn)))}let hn;if(wt||Tt){let Tn;if(wt){const Vn=Object.assign(Object.assign({prefixCls:`${Et}-title`},Ke(St,Tt)),it(pt));Tn=E.createElement(tt,Object.assign({},Vn))}let Cn;if(Tt){const Vn=Object.assign(Object.assign({prefixCls:`${Et}-paragraph`},Me(St,wt)),it(ut));Cn=E.createElement(je,Object.assign({},Vn))}hn=E.createElement("div",{className:`${Et}-content`},Tn,Cn)}const pn=xe()(Et,{[`${Et}-with-avatar`]:St,[`${Et}-active`]:nt,[`${Et}-rtl`]:Rt==="rtl",[`${Et}-round`]:vt},at==null?void 0:at.className,_e,Oe,gt);return st(E.createElement("div",{className:pn,style:Object.assign(Object.assign({},at==null?void 0:at.style),Ne)},Wt,hn))}return typeof Ge!="undefined"?Ge:null};Ve.Button=Pe,Ve.Avatar=be,Ve.Input=Ee,Ve.Image=Ce,Ve.Node=Ye;var Ae=Ve,Be=Ae},55054:function(_t,ft,de){"use strict";de.d(ft,{default:function(){return ve}});var Se=de(67294),xe=de(57838),E=de(96159),pe=de(94184),fe=de.n(pe),le=de(53124),re=de(46303),ie=me=>{const{value:be,formatter:ye,precision:Pe,decimalSeparator:we,groupSeparator:Le="",prefixCls:Ce}=me;let Te;if(typeof ye=="function")Te=ye(be);else{const Ee=String(be),Re=Ee.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Re||Ee==="-")Te=Ee;else{const De=Re[1];let ke=Re[2]||"0",Ie=Re[4]||"";ke=ke.replace(/\B(?=(\d{3})+(?!\d))/g,Le),typeof Pe=="number"&&(Ie=Ie.padEnd(Pe,"0").slice(0,Pe>0?Pe:0)),Ie&&(Ie=`${we}${Ie}`),Te=[Se.createElement("span",{key:"int",className:`${Ce}-content-value-int`},De,ke),Ie&&Se.createElement("span",{key:"decimal",className:`${Ce}-content-value-decimal`},Ie)]}}return Se.createElement("span",{className:`${Ce}-content-value`},Te)},ue=de(14747),ae=de(67968),oe=de(45503);const ne=me=>{const{componentCls:be,marginXXS:ye,padding:Pe,colorTextDescription:we,titleFontSize:Le,colorTextHeading:Ce,contentFontSize:Te,fontFamily:Ee}=me;return{[`${be}`]:Object.assign(Object.assign({},(0,ue.Wf)(me)),{[`${be}-title`]:{marginBottom:ye,color:we,fontSize:Le},[`${be}-skeleton`]:{paddingTop:Pe},[`${be}-content`]:{color:Ce,fontSize:Te,fontFamily:Ee,[`${be}-content-value`]:{display:"inline-block",direction:"ltr"},[`${be}-content-prefix, ${be}-content-suffix`]:{display:"inline-block"},[`${be}-content-prefix`]:{marginInlineEnd:ye},[`${be}-content-suffix`]:{marginInlineStart:ye}}})}};var ee=(0,ae.Z)("Statistic",me=>{const be=(0,oe.TS)(me,{});return[ne(be)]},me=>{const{fontSizeHeading3:be,fontSize:ye}=me;return{titleFontSize:ye,contentFontSize:be}}),y=me=>{const{prefixCls:be,className:ye,rootClassName:Pe,style:we,valueStyle:Le,value:Ce=0,title:Te,valueRender:Ee,prefix:Re,suffix:De,loading:ke=!1,onMouseEnter:Ie,onMouseLeave:qe,decimalSeparator:Qe=".",groupSeparator:Je=","}=me,{getPrefixCls:Ye,direction:He,statistic:Fe}=Se.useContext(le.E_),je=Ye("statistic",be),[et,tt]=ee(je),it=Se.createElement(ie,Object.assign({decimalSeparator:Qe,groupSeparator:Je,prefixCls:je},me,{value:Ce})),Xe=fe()(je,{[`${je}-rtl`]:He==="rtl"},Fe==null?void 0:Fe.className,ye,Pe,tt);return et(Se.createElement("div",{className:Xe,style:Object.assign(Object.assign({},Fe==null?void 0:Fe.style),we),onMouseEnter:Ie,onMouseLeave:qe},Te&&Se.createElement("div",{className:`${je}-title`},Te),Se.createElement(re.Z,{paragraph:!1,loading:ke,className:`${je}-skeleton`},Se.createElement("div",{style:Le,className:`${je}-content`},Re&&Se.createElement("span",{className:`${je}-content-prefix`},Re),Ee?Ee(it):it,De&&Se.createElement("span",{className:`${je}-content-suffix`},De)))))};const x=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function b(me,be){let ye=me;const Pe=/\[[^\]]*]/g,we=(be.match(Pe)||[]).map(Ee=>Ee.slice(1,-1)),Le=be.replace(Pe,"[]"),Ce=x.reduce((Ee,Re)=>{let[De,ke]=Re;if(Ee.includes(De)){const Ie=Math.floor(ye/ke);return ye-=Ie*ke,Ee.replace(new RegExp(`${De}+`,"g"),qe=>{const Qe=qe.length;return Ie.toString().padStart(Qe,"0")})}return Ee},Le);let Te=0;return Ce.replace(Pe,()=>{const Ee=we[Te];return Te+=1,Ee})}function z(me,be){const{format:ye=""}=be,Pe=new Date(me).getTime(),we=Date.now(),Le=Math.max(Pe-we,0);return b(Le,ye)}const te=1e3/30;function ce(me){return new Date(me).getTime()}const ge=me=>{const{value:be,format:ye="HH:mm:ss",onChange:Pe,onFinish:we}=me,Le=(0,xe.Z)(),Ce=Se.useRef(null),Te=()=>{we==null||we(),Ce.current&&(clearInterval(Ce.current),Ce.current=null)},Ee=()=>{const ke=ce(be);ke>=Date.now()&&(Ce.current=setInterval(()=>{Le(),Pe==null||Pe(ke-Date.now()),ke(Ee(),()=>{Ce.current&&(clearInterval(Ce.current),Ce.current=null)}),[be]);const Re=(ke,Ie)=>z(ke,Object.assign(Object.assign({},Ie),{format:ye})),De=ke=>(0,E.Tm)(ke,{title:void 0});return Se.createElement(y,Object.assign({},me,{valueRender:De,formatter:Re}))};var he=Se.memo(ge);y.Countdown=he;var ve=y},49867:function(_t,ft,de){"use strict";de.d(ft,{N:function(){return Se}});const Se=xe=>({color:xe.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${xe.motionDurationSlow}`,"&:focus, &:hover":{color:xe.colorLinkHover},"&:active":{color:xe.colorLinkActive}})},9430:function(_t,ft,de){"use strict";de.d(ft,{default:function(){return Tl}});var Se={},xe="rc-table-internal-hook",E=de(97685),pe=de(66680),fe=de(8410),le=de(91881),re=de(67294),se=de(73935);function ie(Ue){var We=re.createContext(void 0),ot=function(yt){var bt=yt.value,jt=yt.children,Ht=re.useRef(bt);Ht.current=bt;var zt=re.useState(function(){return{getValue:function(){return Ht.current},listeners:new Set}}),en=(0,E.Z)(zt,1),gn=en[0];return(0,fe.Z)(function(){(0,se.unstable_batchedUpdates)(function(){gn.listeners.forEach(function(an){an(bt)})})},[bt]),re.createElement(We.Provider,{value:gn},jt)};return{Context:We,Provider:ot,defaultValue:Ue}}function ue(Ue,We){var ot=(0,pe.Z)(typeof We=="function"?We:function(an){if(We===void 0)return an;if(!Array.isArray(We))return an[We];var Dn={};return We.forEach(function(Rn){Dn[Rn]=an[Rn]}),Dn}),dt=re.useContext(Ue==null?void 0:Ue.Context),yt=dt||{},bt=yt.listeners,jt=yt.getValue,Ht=re.useRef();Ht.current=ot(dt?jt():Ue==null?void 0:Ue.defaultValue);var zt=re.useState({}),en=(0,E.Z)(zt,2),gn=en[1];return(0,fe.Z)(function(){if(!dt)return;function an(Dn){var Rn=ot(Dn);(0,le.Z)(Ht.current,Rn,!0)||gn({})}return bt.add(an),function(){bt.delete(an)}},[dt]),Ht.current}var ae=de(87462),oe=de(42550);function ne(){var Ue=re.createContext(null);function We(){return re.useContext(Ue)}function ot(yt,bt){var jt=(0,oe.Yr)(yt),Ht=function(en,gn){var an=jt?{ref:gn}:{},Dn=re.useRef(0),Rn=re.useRef(en),In=We();return In!==null?re.createElement(yt,(0,ae.Z)({},en,an)):((!bt||bt(Rn.current,en))&&(Dn.current+=1),Rn.current=en,re.createElement(Ue.Provider,{value:Dn.current},re.createElement(yt,(0,ae.Z)({},en,an))))};return jt?re.forwardRef(Ht):Ht}function dt(yt,bt){var jt=(0,oe.Yr)(yt),Ht=function(en,gn){var an=jt?{ref:gn}:{};return We(),re.createElement(yt,(0,ae.Z)({},en,an))};return jt?re.memo(re.forwardRef(Ht),bt):re.memo(Ht,bt)}return{makeImmutable:ot,responseImmutable:dt,useImmutableMark:We}}var ee=ne(),a=ee.makeImmutable,y=ee.responseImmutable,x=ee.useImmutableMark,b=ne(),z=b.makeImmutable,te=b.responseImmutable,ce=b.useImmutableMark,ge=ie(),he=ge;function ve(Ue,We){var ot=re.useRef(0);ot.current+=1;var dt=re.useRef(Ue),yt=[];Object.keys(Ue||{}).map(function(jt){var Ht;(Ue==null?void 0:Ue[jt])!==((Ht=dt.current)===null||Ht===void 0?void 0:Ht[jt])&&yt.push(jt)}),dt.current=Ue;var bt=re.useRef([]);return yt.length&&(bt.current=yt),re.useDebugValue(ot.current),re.useDebugValue(bt.current.join(", ")),We&&console.log("".concat(We,":"),ot.current,bt.current),ot.current}var me=null,be=re.memo(function(){var Ue=ve();return re.createElement("h1",null,"Render Times: ",Ue)});be.displayName="RenderBlock";var ye=de(71002),Pe=de(1413),we=de(4942),Le=de(94184),Ce=de.n(Le);function Te(Ue,We,ot){var dt=re.useRef({});return(!("value"in dt.current)||ot(dt.current.condition,We))&&(dt.current.value=Ue(),dt.current.condition=We),dt.current.value}var Ee={},Re=[],De=function(We){Re.push(We)};function ke(Ue,We){if(0)var ot}function Ie(Ue,We){if(0)var ot}function qe(){Ee={}}function Qe(Ue,We,ot){!We&&!Ee[ot]&&(Ue(!1,ot),Ee[ot]=!0)}function Je(Ue,We){Qe(ke,Ue,We)}function Ye(Ue,We){Qe(Ie,Ue,We)}Je.preMessage=De,Je.resetWarned=qe,Je.noteOnce=Ye;var He=Je;function Fe(Ue,We){var ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,dt=new Set;function yt(bt,jt){var Ht=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,zt=dt.has(bt);if(He(!zt,"Warning: There may be circular references"),zt)return!1;if(bt===jt)return!0;if(ot&&Ht>1)return!1;dt.add(bt);var en=Ht+1;if(Array.isArray(bt)){if(!Array.isArray(jt)||bt.length!==jt.length)return!1;for(var gn=0;gn=ot}function Ze(Ue,We){return ue(he,function(ot){var dt=$e(Ue,We||1,ot.hoverStartRow,ot.hoverEndRow);return[dt,ot.onHover]})}var ze=function(We){var ot=We.ellipsis,dt=We.rowType,yt=We.children,bt,jt=ot===!0?{showTitle:!0}:ot;return jt&&(jt.showTitle||dt==="header")&&(typeof yt=="string"||typeof yt=="number"?bt=yt.toString():re.isValidElement(yt)&&typeof yt.props.children=="string"&&(bt=yt.props.children)),bt};function _e(Ue){var We,ot,dt,yt,bt,jt,Ht,zt,en=Ue.component,gn=Ue.children,an=Ue.ellipsis,Dn=Ue.scope,Rn=Ue.prefixCls,In=Ue.className,nr=Ue.align,Jn=Ue.record,rr=Ue.render,qn=Ue.dataIndex,sr=Ue.renderIndex,Ir=Ue.shouldCellUpdate,Gr=Ue.index,xr=Ue.rowType,ao=Ue.colSpan,mo=Ue.rowSpan,vr=Ue.fixLeft,Tr=Ue.fixRight,yr=Ue.firstFixLeft,lr=Ue.lastFixLeft,Pr=Ue.firstFixRight,eo=Ue.lastFixRight,Co=Ue.appendNode,fo=Ue.additionalProps,Zr=fo===void 0?{}:fo,_o=Ue.isSticky,Ao="".concat(Rn,"-cell"),Yo=ue(he,["supportSticky","allColumnsFixedLeft"]),ko=Yo.supportSticky,fa=Yo.allColumnsFixedLeft,ga=Be(Jn,qn,sr,gn,rr,Ir),vo=(0,E.Z)(ga,2),va=vo[0],zo=vo[1],ia={},ra=typeof vr=="number"&&ko,Ba=typeof Tr=="number"&&ko;ra&&(ia.position="sticky",ia.left=vr),Ba&&(ia.position="sticky",ia.right=Tr);var Qr=(We=(ot=(dt=zo==null?void 0:zo.colSpan)!==null&&dt!==void 0?dt:Zr.colSpan)!==null&&ot!==void 0?ot:ao)!==null&&We!==void 0?We:1,Xr=(yt=(bt=(jt=zo==null?void 0:zo.rowSpan)!==null&&jt!==void 0?jt:Zr.rowSpan)!==null&&bt!==void 0?bt:mo)!==null&&yt!==void 0?yt:1,$r=Ze(Gr,Xr),Fr=(0,E.Z)($r,2),Ho=Fr[0],Br=Fr[1],lo=function(Sa){var ka;Jn&&Br(Gr,Gr+Xr-1),Zr==null||(ka=Zr.onMouseEnter)===null||ka===void 0||ka.call(Zr,Sa)},jo=function(Sa){var ka;Jn&&Br(-1,-1),Zr==null||(ka=Zr.onMouseLeave)===null||ka===void 0||ka.call(Zr,Sa)};if(Qr===0||Xr===0)return null;var Io=(Ht=Zr.title)!==null&&Ht!==void 0?Ht:ze({rowType:xr,ellipsis:an,children:va}),Ra=Ce()(Ao,In,(zt={},(0,we.Z)(zt,"".concat(Ao,"-fix-left"),ra&&ko),(0,we.Z)(zt,"".concat(Ao,"-fix-left-first"),yr&&ko),(0,we.Z)(zt,"".concat(Ao,"-fix-left-last"),lr&&ko),(0,we.Z)(zt,"".concat(Ao,"-fix-left-all"),lr&&fa&&ko),(0,we.Z)(zt,"".concat(Ao,"-fix-right"),Ba&&ko),(0,we.Z)(zt,"".concat(Ao,"-fix-right-first"),Pr&&ko),(0,we.Z)(zt,"".concat(Ao,"-fix-right-last"),eo&&ko),(0,we.Z)(zt,"".concat(Ao,"-ellipsis"),an),(0,we.Z)(zt,"".concat(Ao,"-with-append"),Co),(0,we.Z)(zt,"".concat(Ao,"-fix-sticky"),(ra||Ba)&&_o&&ko),(0,we.Z)(zt,"".concat(Ao,"-row-hover"),!zo&&Ho),zt),Zr.className,zo==null?void 0:zo.className),Ta={};nr&&(Ta.textAlign=nr);var ni=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},ia),Zr.style),Ta),zo==null?void 0:zo.style),ya=va;return(0,ye.Z)(ya)==="object"&&!Array.isArray(ya)&&!re.isValidElement(ya)&&(ya=null),an&&(lr||Pr)&&(ya=re.createElement("span",{className:"".concat(Ao,"-content")},ya)),re.createElement(en,(0,ae.Z)({},zo,Zr,{className:Ra,style:ni,title:Io,scope:Dn,onMouseEnter:lo,onMouseLeave:jo,colSpan:Qr!==1?Qr:null,rowSpan:Xr!==1?Xr:null}),Co,ya)}var Oe=re.memo(_e);function Ne(Ue,We,ot,dt,yt,bt){var jt=ot[Ue]||{},Ht=ot[We]||{},zt,en;jt.fixed==="left"?zt=dt.left[yt==="rtl"?We:Ue]:Ht.fixed==="right"&&(en=dt.right[yt==="rtl"?Ue:We]);var gn=!1,an=!1,Dn=!1,Rn=!1,In=ot[We+1],nr=ot[Ue-1],Jn=!(bt!=null&&bt.children);if(yt==="rtl"){if(zt!==void 0){var rr=nr&&nr.fixed==="left";Rn=!rr&&Jn}else if(en!==void 0){var qn=In&&In.fixed==="right";Dn=!qn&&Jn}}else if(zt!==void 0){var sr=In&&In.fixed==="left";gn=!sr&&Jn}else if(en!==void 0){var Ir=nr&&nr.fixed==="right";an=!Ir&&Jn}return{fixLeft:zt,fixRight:en,lastFixLeft:gn,firstFixRight:an,lastFixRight:Dn,firstFixLeft:Rn,isSticky:dt.isSticky}}var Ge=re.createContext({}),rt=Ge;function pt(Ue){var We=Ue.className,ot=Ue.index,dt=Ue.children,yt=Ue.colSpan,bt=yt===void 0?1:yt,jt=Ue.rowSpan,Ht=Ue.align,zt=ue(he,["prefixCls","direction"]),en=zt.prefixCls,gn=zt.direction,an=re.useContext(rt),Dn=an.scrollColumnIndex,Rn=an.stickyOffsets,In=an.flattenColumns,nr=an.columns,Jn=ot+bt-1,rr=Jn+1===Dn?bt+1:bt,qn=Ne(ot,ot+rr-1,In,Rn,gn,nr==null?void 0:nr[ot]);return re.createElement(Oe,(0,ae.Z)({className:We,index:ot,component:"td",prefixCls:en,record:null,dataIndex:null,align:Ht,colSpan:rr,rowSpan:jt,render:function(){return dt}},qn))}var ut=de(45987),nt=["children"];function vt(Ue){var We=Ue.children,ot=(0,ut.Z)(Ue,nt);return re.createElement("tr",ot,We)}function xt(Ue){var We=Ue.children;return We}xt.Row=vt,xt.Cell=pt;var Rt=xt;function at(Ue){var We=Ue.children,ot=Ue.stickyOffsets,dt=Ue.flattenColumns,yt=Ue.columns,bt=ue(he,"prefixCls"),jt=dt.length-1,Ht=dt[jt],zt=re.useMemo(function(){return{stickyOffsets:ot,flattenColumns:dt,scrollColumnIndex:Ht!=null&&Ht.scrollbar?jt:null,columns:yt}},[Ht,dt,jt,ot,yt]);return re.createElement(rt.Provider,{value:zt},re.createElement("tfoot",{className:"".concat(bt,"-summary")},We))}var Et=te(at),st=Rt;function gt(Ue){var We=re.useRef();We.current=Ue;var ot=re.useCallback(function(){for(var dt,yt=arguments.length,bt=new Array(yt),jt=0;jt3&&arguments[3]!==void 0?arguments[3]:!1;return We.length&&dt&&ot===void 0&&!get(Ue,We.slice(0,-1))?Ue:Rr(Ue,We,ot,dt)}function Xt(Ue){return _typeof(Ue)==="object"&&Ue!==null&&Object.getPrototypeOf(Ue)===Object.prototype}function nn(Ue){return Array.isArray(Ue)?[]:{}}var bn=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function Mn(){for(var Ue=arguments.length,We=new Array(Ue),ot=0;ot