!(function(){var O1=Object.defineProperty,Q1=Object.defineProperties;var T1=Object.getOwnPropertyDescriptors;var vm=Object.getOwnPropertySymbols;var Lv=Object.prototype.hasOwnProperty,Iv=Object.prototype.propertyIsEnumerable;var bp=(on,Ut,we)=>Ut in on?O1(on,Ut,{enumerable:!0,configurable:!0,writable:!0,value:we}):on[Ut]=we,Nc=(on,Ut)=>{for(var we in Ut||(Ut={}))Lv.call(Ut,we)&&bp(on,we,Ut[we]);if(vm)for(var we of vm(Ut))Iv.call(Ut,we)&&bp(on,we,Ut[we]);return on},Cp=(on,Ut)=>Q1(on,T1(Ut));var Uv=(on,Ut)=>{var we={};for(var Oe in on)Lv.call(on,Oe)&&Ut.indexOf(Oe)<0&&(we[Oe]=on[Oe]);if(on!=null&&vm)for(var Oe of vm(on))Ut.indexOf(Oe)<0&&Iv.call(on,Oe)&&(we[Oe]=on[Oe]);return we};var Mi=(on,Ut,we)=>bp(on,typeof Ut!="symbol"?Ut+"":Ut,we);(self.webpackChunk=self.webpackChunk||[]).push([[5330],{89489:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={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"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},59477:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={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"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},26227:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={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"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},49198:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={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"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},87169:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={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"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},52671:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={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"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},8657:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={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"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},56082:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={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"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},33853:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={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"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},15075:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={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"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},43531:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={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"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},38819:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={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"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},95869:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Be}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},at=ze,Ge=we(7657),je=function(de,Ie){return be.createElement(Ge.Z,(0,Oe.Z)({},de,{ref:Ie,icon:at}))},me=be.forwardRef(je),Be=me},32313:function(on,Ut){"use strict";Ut.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},27346:function(on,Ut){"use strict";Ut.Z={threeBtnSty:"threeBtnSty___TLi14",threeTableSty:"threeTableSty___TPPHp",threeSelectSty:"threeSelectSty___FTtcH",threeCheckboxSty:"threeCheckboxSty___lOX9B",inputStyComm:"inputStyComm___eu0su",threeInputSty:"threeInputSty___mTodi",threeNumberInputSty:"threeNumberInputSty___FdfX9",threeSuffixInputSty:"threeSuffixInputSty___TXvX8",threeRadioSty:"threeRadioSty___d2bpk",threeTreeSty:"threeTreeSty___sYMRj",threeTabsSty:"threeTabsSty___Aq8HO",threeRangePickerSty:"threeRangePickerSty___wy5qD",threeCollapseSty:"threeCollapseSty___EuXSZ",threePaginationSty:"threePaginationSty___qMewa",threeSwitchSty:"threeSwitchSty___vyJb_",threeUploadSty:"threeUploadSty___ze5Tr",threeFormSty:"threeFormSty___OJPML",threecommonSty:"threecommonSty___CbX7M",threeModalSty:"threeModalSty___EyX5Y",threeDrawerSty:"threeDrawerSty___Ei_DC"}},6404:function(){"use strict";function on(ie,y,a,ee){a===void 0&&(a=0),ee===void 0&&(ee=1/0),this._name=ie,this._defaultValue=y,this._minimum=a,this._maximum=ee}Object.defineProperty(on.prototype,"name",{get:function(){return this._name},set:function(ie){if(typeof ie!="string"||ie==="")throw new Error("Shape name must be a valid string.");this._name=ie}}),Object.defineProperty(on.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("The default value must be a real number, not: "+ie);this._defaultValue=ie}}),Object.defineProperty(on.prototype,"minimum",{get:function(){return this._minimum},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("Minimum must be a real number, not: "+ie);this._minimum=ie}}),Object.defineProperty(on.prototype,"maximum",{get:function(){return this._maximum},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("Maximum must be a real number, not: "+ie);this._maximum=ie}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ie,y){var a=go.Shape._FigureParameters[ie];return a?a[y]:null},go.Shape.setFigureParameter=function(ie,y,a){if(!(a instanceof on))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValuea.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var ee=go.Shape._FigureParameters[ie];ee||(ee=[],go.Shape._FigureParameters[ie]=ee),ee[y]=a};var Ut=[];function we(ie,y){var a=Ut.pop();return a===void 0?new go.Point(ie,y):(a.x=ie,a.y=y,a)}function Oe(){var ie=Ut.pop();return ie===void 0?new go.Point:ie}function be(ie){Ut.push(ie)}function ze(ie,y,a,ee,E,te,ne,oe,he){he||(he=new go.Point);var _e=ie-a,Pe=E-ne,Qe=NaN,Ze=NaN;if(_e===0)if(Pe===0)ie===a&&(Qe=ie,Ze=y);else{var Ve=(te-oe)/Pe,nt=te-Ve*E;Qe=ie,Ze=Ve*Qe+nt}else if(Pe===0){var De=(y-ee)/_e,Bt=y-De*ie;Qe=E,Ze=De*Qe+Bt}else{var De=(y-ee)/_e,Ve=(te-oe)/Pe,Bt=y-De*ie,nt=te-Ve*E;Qe=(nt-Bt)/(De-Ve),Ze=De*Qe+Bt}return he.x=Qe,he.y=Ze,he}function at(ie,y,a,ee,E,te,ne,oe,he,_e,Pe,Qe,Ze,Ve){var nt=1-he,De=he,Bt=ie*nt+a*De,ke=y*nt+ee*De,Ot=a*nt+E*De,it=ee*nt+te*De,rt=E*nt+ne*De,wt=te*nt+oe*De,dt=Bt*nt+Ot*De,pt=ke*nt+it*De,st=Ot*nt+rt*De,ft=it*nt+wt*De,rn=dt*nt+st*De,fn=pt*nt+ft*De;_e.x=Bt,_e.y=ke,Pe.x=dt,Pe.y=pt,Qe.x=rn,Qe.y=fn,Ze.x=st,Ze.y=ft,Ve.x=rt,Ve.y=wt}var Ge=new go.Spot(.156,.156),je=new go.Spot(.844,.844),me=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new on("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=5),ee=Math.min(ee,y/3),ee=Math.min(ee,a/3);var E=ee*me,te=new go.Geometry().add(new go.PathFigure(ee,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-ee,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,ee,y-E,0,y,E)).add(new go.PathSegment(go.PathSegment.Line,y,a-ee)).add(new go.PathSegment(go.PathSegment.Bezier,y-ee,a,y,a-E,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,ee,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-ee,E,a,0,a-E)).add(new go.PathSegment(go.PathSegment.Line,0,ee)).add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,E,E,0).close()));return E>1&&(te.spot1=new go.Spot(0,0,E,E),te.spot2=new go.Spot(1,1,-E,-E)),te}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ie,y,a){var ee=new go.Geometry(go.Geometry.Line);return ee.startX=0,ee.startY=a/2,ee.endX=y,ee.endY=a/2,ee}),go.Shape.defineFigureGenerator("LineV",function(ie,y,a){var ee=new go.Geometry(go.Geometry.Line);return ee.startX=y/2,ee.startY=0,ee.endX=y/2,ee.endY=a,ee}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LineRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.25*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)))}),go.Shape.defineFigureGenerator("LineDown",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Line,y,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.75*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,a)))}),go.Shape.defineFigureGenerator("LineUp",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,y,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ie,y,a){var ee=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(ee*y,(1-ee)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,ee*a)).add(new go.PathSegment(go.PathSegment.Move,ee*y,ee*a)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,(1-ee)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(ie,y,a){var ee=y/2,E=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,ee,ee,ee,ee).close()));return E.spot1=Ge,E.spot2=je,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(ie,y,a){var ee=new go.Geometry(go.Geometry.Line);return ee.startX=0,ee.startY=0,ee.endX=y,ee.endY=a,ee}),go.Shape.defineFigureGenerator("Line2",function(ie,y,a){var ee=new go.Geometry(go.Geometry.Line);return ee.startX=y,ee.startY=0,ee.endX=0,ee.endY=a,ee}),go.Shape.defineFigureGenerator("Curve1",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,me*y,0,y,(1-me)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,me*a,(1-me)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,me*a,me*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-me)*y,0,0,(1-me)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new on("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)?ee=.1:ee<-1?ee=-1:ee>1&&(ee=1);var E=Math.abs(ee)*y;if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),Ey&&(ee=y);var E=Math.abs(ee);if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E.5&&(ee=.5);var E=Math.abs(ee)*y;if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),Ey&&(ee=y/2);var E=Math.abs(ee);if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),Ey&&(ee=y/2);var E=Math.abs(ee);if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())):te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),E0&&(ne.add(new go.PathSegment(go.PathSegment.Move,y/2+oe,y/2)),ne.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,oe,oe).close())),te.spot1=Ge,te.spot2=je,te.defaultStretch=go.GraphObject.Uniform,te}),go.Shape.defineFigureGenerator("Cloud",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.08034461*y,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*y,.05349299*a,-.09239631*y,.07836421*a,.1406031*y,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*y,.074219*a,.2450511*y,-.00697547*a,.3776197*y,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*y,.07004196*a,.4539471*y,0,.6066018*y,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*y,.08370865*a,.6914277*y,-.01904177*a,.8921095*y,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*y,.3194596*a,1.036446*y,.04105738*a,1.020377*y,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*y,.562044*a,1.04448*y,.360238*a,.992256*y,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*y,.8217117*a,1.032337*y,.5771781*a,1.018411*y,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*y,.9156953*a,1.028411*y,.9571472*a,.8556702*y,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*y,.9310455*a,.7431877*y,1.009325*a,.5624123*y,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*y,.9344623*a,.4820677*y,1.031761*a,.3030112*y,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.870098*a,.2329994*y,1.01518*a,.03213784*y,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*y,.6545475*a,-.02812061*y,.9032597*a,-.01205169*y,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*y,.4265613*a,-.01812061*y,.6089503*a,-.00606892*y,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.1944299*a,-.01606892*y,.3892545*a,-.01205169*y,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ie,y,a){var ee=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(ee*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,ee*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-ee)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,a)).add(new go.PathSegment(go.PathSegment.Line,ee*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-ee)*a)).add(new go.PathSegment(go.PathSegment.Line,0,ee*a).close())).setSpots(ee/2,ee/2,1-ee/2,1-ee/2)}),go.Shape.setFigureParameter("Pie",0,new on("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new on("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ie,y,a){var ee=ie?ie.parameter1:NaN,E=ie?ie.parameter2:NaN;isNaN(ee)&&(ee=0),isNaN(E)&&(E=315);var te=ee%360;te<0&&(te+=360);var ne=E%360,oe=Math.min(y,a)/2;return new go.Geometry().add(new go.PathFigure(oe,oe).add(new go.PathSegment(go.PathSegment.Arc,te,ne,oe,oe,oe,oe).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ie,y,a){var ee=me/Math.SQRT2*.5,E=Math.SQRT2/2,te=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*y,te*a,y,(1-ee)*a,(E+ee)*y,(te+ee)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new on("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=30);var E=Math.min(ee,y)/2,te=y/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(te-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+E,0)).add(new go.PathSegment(go.PathSegment.Line,te+E,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,a)).add(new go.PathSegment(go.PathSegment.Line,te-E,a)).add(new go.PathSegment(go.PathSegment.Line,te-E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne-E)).add(new go.PathSegment(go.PathSegment.Line,te-E,ne-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new on("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=10);var E=Math.min(ee,y)/2,te=y/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(te-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+E,0)).add(new go.PathSegment(go.PathSegment.Line,te+E,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,a)).add(new go.PathSegment(go.PathSegment.Line,te-E,a)).add(new go.PathSegment(go.PathSegment.Line,te-E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne-E)).add(new go.PathSegment(go.PathSegment.Line,te-E,ne-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new on("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ie,y,a){var ee=ie?ie.parameter1:NaN;if((isNaN(ee)||ee<0)&&(ee=30),y===0||a===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var te=y/2,ne=a/2,oe=Math.atan2(a,y),he=ee-Math.min(Math.cos(oe)*ee/2,te),_e=ee-Math.min(Math.sin(oe)*ee/2,ne),E=new go.Geometry,Pe=new go.PathFigure(he,0,!0);return E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,te,.2*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,y-he,0)),Pe.add(new go.PathSegment(go.PathSegment.Line,y,_e)),Pe.add(new go.PathSegment(go.PathSegment.Line,.8*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,y,a-_e)),Pe.add(new go.PathSegment(go.PathSegment.Line,y-he,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,te,.8*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,he,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,a-_e)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,_e).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new on("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=10);var E=new go.Geometry,te=new go.PathFigure(.1*y,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new on("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.2);var E=new go.Geometry,te=new go.PathFigure(0,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,ee*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ee/2)*y,ee*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ee/2)*y,(1-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,(1-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-ee/2)*y,(1-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-ee/2)*y,ee*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,ee*a).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new on("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.5);var E=new go.Geometry,te=new go.PathFigure(0,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,a,Math.abs(1-ee)*y,.25*a,Math.abs(1-ee)*y,.75*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ee*y,.75*a,ee*y,.25*a).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,me*y,0,y,(.5-me/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+me/2)*a,me*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,0,y,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*y,.75*a,.5*y,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*y,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,0,0,.45*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.55*y,0,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.5*a,.9*y,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*y,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.6*y,.2*a,y,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.7*a,y,.8*a,.6*y,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,.5*y,.75*a,.55*y,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.7*a,.45*y,.95*a,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*y,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*y,.01*a,0,.25*a,.4*y,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.4*y,.6*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.6*a,.55*y,.95*a,.5*y,.75*a));var te=.2,ne=.3,oe=0,he=te*me;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5+te+oe)*a,(.5-te+ne)*y,(.5+he+oe)*a,(.5-he+ne)*y,(.5+te+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ne)*y,(.5+oe)*a,(.5+he+ne)*y,(.5+te+oe)*a,(.5+te+ne)*y,(.5+he+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-te+oe)*a,(1-.5+te+ne)*y,(.5-he+oe)*a,(.5+he+ne)*y,(.5-te+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-he+ne)*y,(.5-te+oe)*a,(.5-te+ne+.05)*y,(.5-he+oe-.02)*a)),te=.2,ne=0,oe=-.3,he=te*me,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ne)*y,(.5+oe)*a,(.5+he+ne)*y,(.5+te+oe)*a,(.5+te+ne)*y,(.5+he+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-te+oe)*a,(1-.5+te+ne)*y,(.5-he+oe)*a,(.5+he+ne)*y,(.5-te+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ne)*y,(.5+oe)*a,(.5-he+ne)*y,(.5-te+oe)*a,(.5-te+ne)*y,(.5-he+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-he+ne)*y,(.5+te+oe)*a,(.5-te+ne)*y,(.5+he+oe)*a,(.5-he+ne)*y,(.5+te+oe)*a)),te=.2,ne=-.3,oe=0,he=te*me,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-te+oe)*a,(1-.5+te+ne-.05)*y,(.5-he+oe-.02)*a,(.5+he+ne)*y,(.5-te+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ne)*y,(.5+oe)*a,(.5-he+ne)*y,(.5-te+oe)*a,(.5-te+ne)*y,(.5-he+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5+te+oe)*a,(.5-te+ne)*y,(.5+he+oe)*a,(.5-he+ne)*y,(.5+te+oe)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+he+ne)*y,(.5+te+oe)*a,(.5+te+ne)*y,(.5+he+oe)*a).close()),ee.setSpots(.06,.33,.93,.68),ee}),go.Shape.defineFigureGenerator("YinYang",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*.5,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,y*.5,y*.25,y*.25,y*.25));var te=.1,ne=.5,oe=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(ne+te)*y,oe*a)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*ne,a*oe,te*y,te*y).close()),E=new go.PathFigure(y*.5,0,!1),ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),oe=.75,E=new go.PathFigure((ne+te)*y,oe*a,!0),ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*ne,a*oe,te*y,te*y).close()),ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Peace",function(ie,y,a){var ee=.8535533905932737,E=.5*y,te=.5*a;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,te,E,te)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,E,te)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,ee*a)).add(new go.PathSegment(go.PathSegment.Move,E,te)).add(new go.PathSegment(go.PathSegment.Line,ee*y,ee*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=.5,ne=.5,oe=.5,he=new go.PathFigure(ne*y,(oe-te)*a);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-te)*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a)),te=.4,E=me*.4;var _e=Oe(),Pe=Oe(),Qe=Oe(),Ze=Oe();at(ne,oe-te,ne+E,oe-te,ne+te,oe-E,ne+te,oe,.42,_e,Pe,Qe,Ze,Ze);var Ve=Oe(),nt=Oe(),De=Oe();at(ne,oe-te,ne+E,oe-te,ne+te,oe-E,ne+te,oe,.58,Ze,Ze,De,Ve,nt);var Bt=Oe(),ke=Oe(),Ot=Oe();at(ne,oe+te,ne-E,oe+te,ne-te,oe+E,ne-te,oe,.42,Bt,ke,Ot,Ze,Ze);var it=Oe(),rt=Oe(),wt=Oe();return at(ne,oe+te,ne-E,oe+te,ne-te,oe+E,ne-te,oe,.58,Ze,Ze,wt,it,rt),he.add(new go.PathSegment(go.PathSegment.Move,wt.x*y,wt.y*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,it.x*y,it.y*a,rt.x*y,rt.y*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-te)*a,(ne-te)*y,(oe-E)*a,(ne-E)*y,(oe-te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,Qe.x*y,Qe.y*a,_e.x*y,_e.y*a,Pe.x*y,Pe.y*a)),he.add(new go.PathSegment(go.PathSegment.Line,wt.x*y,wt.y*a).close()),he.add(new go.PathSegment(go.PathSegment.Move,Ot.x*y,Ot.y*a)),he.add(new go.PathSegment(go.PathSegment.Line,De.x*y,De.y*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,Ve.x*y,Ve.y*a,nt.x*y,nt.y*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne+te)*y,(oe+E)*a,(ne+E)*y,(oe+te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,Ot.x*y,Ot.y*a,Bt.x*y,Bt.y*a,ke.x*y,ke.y*a).close()),be(_e),be(Pe),be(Qe),be(Ze),be(Ve),be(nt),be(De),be(Bt),be(ke),be(Ot),be(it),be(rt),be(wt),ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Fragile",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*y,0)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*y,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.5*a,y,.25*a,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new on("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=30),ee>y&&(ee=y);var E=(y-ee)/2,te=E+ee;return new go.Geometry().add(new go.PathFigure(te,.5*a).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*y,0)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ie,y,a){var ee=new go.Geometry,E=me*.4,te=.4,ne=.5,oe=.5,he=Oe(),_e=Oe(),Pe=Oe(),Qe=Oe(),Ze=new go.PathFigure((ne-te)*y,oe*a,!1);ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-te)*a,(ne-te)*y,(oe-E)*a,(ne-E)*y,(oe-te)*a)),at(ne,oe-te,ne+E,oe-te,ne+te,oe-E,ne+te,oe,.44,Pe,Qe,_e,he,he),Ze.add(new go.PathSegment(go.PathSegment.Bezier,_e.x*y,_e.y*a,Pe.x*y,Pe.y*a,Qe.x*y,Qe.y*a));var Ve=we(_e.x,_e.y);at(ne,oe-te,ne+E,oe-te,ne+te,oe-E,ne+te,oe,.56,he,he,_e,Pe,Qe);var nt=we(_e.x,_e.y);Ze.add(new go.PathSegment(go.PathSegment.Line,(Ve.x*.1+.95*.9)*y,Ve.y*.1*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.85*y,Ve.y*.1*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),Ze.add(new go.PathSegment(go.PathSegment.Line,y,0)),Ze.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,(nt.x*.1+.9)*y,.15*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,(nt.x*.1+.9)*y,(nt.y*.1+.05*.9)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,nt.x*y,nt.y*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,Pe.x*y,Pe.y*a,Qe.x*y,Qe.y*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne+te)*y,(oe+E)*a,(ne+E)*y,(oe+te)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,(ne-E)*y,(oe+te)*a,(ne-te)*y,(oe+E)*a)),te=.35,E=me*.35;var De=new go.PathFigure(ne*y,(oe-te)*a,!1);ee.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-te)*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a));var Bt=new go.PathFigure((ne-te)*y,oe*a,!1);return ee.add(Bt),be(he),be(_e),be(Pe),be(Qe),be(Ve),be(nt),ee.spot1=new go.Spot(.202,.257),ee.spot2=new go.Spot(.792,.739),ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("GenderFemale",function(ie,y,a){var ee=new go.Geometry,E=.375,te=0,ne=-.125,oe=E*me,he=new go.PathFigure((.525+te)*y,(.5+E+ne)*a,!1);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+te)*y,(.5+ne)*a,(.5+oe+te)*y,(.5+E+ne)*a,(.5+E+te)*y,(.5+oe+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-E+ne)*a,(1-.5+E+te)*y,(.5-oe+ne)*a,(.5+oe+te)*y,(.5-E+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+te)*y,(.5+ne)*a,(.5-oe+te)*y,(.5-E+ne)*a,(.5-E+te)*y,(.5-oe+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.475+te)*y,(.5+E+ne)*a,(.5-E+te)*y,(.5+oe+ne)*a,(.5-oe+te)*y,(.5+E+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),he.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),he.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),he.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),he.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),he.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),he.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),he.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),he.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),he.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),E=.325,te=0,ne=-.125,oe=E*me;var he=new go.PathFigure((1-.5+E+te)*y,(.5+ne)*a,!1);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5+E+ne)*a,(.5+E+te)*y,(.5+oe+ne)*a,(.5+oe+te)*y,(.5+E+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+te)*y,(.5+ne)*a,(.5-oe+te)*y,(.5+E+ne)*a,(.5-E+te)*y,(.5+oe+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-E+ne)*a,(.5-E+te)*y,(.5-oe+ne)*a,(.5-oe+te)*y,(.5-E+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+te)*y,(.5+ne)*a,(.5+oe+te)*y,(.5-E+ne)*a,(1-.5+E+te)*y,(.5-oe+ne)*a));var he=new go.PathFigure((.525+te)*y,(.5+E+ne)*a,!1);return ee.add(he),ee.spot1=new go.Spot(.232,.136),ee.spot2=new go.Spot(.682,.611),ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("LogicImplies",function(ie,y,a){var ee=ie?ie.parameter1:NaN;return isNaN(ee)&&(ee=.2),new go.Geometry().add(new go.PathFigure((1-ee)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ie,y,a){var ee=ie?ie.parameter1:NaN;return isNaN(ee)&&(ee=.2),new go.Geometry().add(new go.PathFigure((1-ee)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,ee*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,ee*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ie,y,a){var ee=new go.Geometry().add(new go.PathFigure(.5*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*y,.5*a,.5*y,.5*a)));return ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("LogicTruth",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ie,y,a){var ee=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,ee*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,ee*y,ee*a,ee*y,ee*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ie,y,a){var ee=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,ee*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,ee*y,ee*a,ee*y,ee*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new on("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new on("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var E=ie?ie.parameter2:NaN;isNaN(E)&&(E=.3);var te=(1-ee)*y,ne=(.5-E/2)*a,oe=(.5+E/2)*a,he=new go.Geometry,_e=new go.PathFigure(0,ne,!0);he.add(_e),_e.add(new go.PathSegment(go.PathSegment.Line,te,ne)),_e.add(new go.PathSegment(go.PathSegment.Line,te,0)),_e.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),_e.add(new go.PathSegment(go.PathSegment.Line,te,a)),_e.add(new go.PathSegment(go.PathSegment.Line,te,oe)),_e.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),he.spot1=new go.Spot(0,ne/a);var Pe=ze(0,oe/a,1,oe/a,te/y,1,1,.5,Oe());return he.spot2=new go.Spot(Pe.x,Pe.y),be(Pe),he}),go.Shape.setFigureParameter("Arrow2",0,new on("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new on("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=30),ee>y&&(ee=y);var E=ie?ie.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,a/2);var te=y-ee,ne=(a-E)/2,oe=ne+E,he=new go.Geometry,_e=new go.PathFigure(0,ne,!0);he.add(_e),_e.add(new go.PathSegment(go.PathSegment.Line,te,ne)),_e.add(new go.PathSegment(go.PathSegment.Line,te,0)),_e.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),_e.add(new go.PathSegment(go.PathSegment.Line,te,a)),_e.add(new go.PathSegment(go.PathSegment.Line,te,oe)),_e.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),he.spot1=new go.Spot(0,ne/a);var Pe=ze(0,oe/a,1,oe/a,te/y,1,1,.5,Oe());return he.spot2=new go.Spot(Pe.x,Pe.y),be(Pe),he}),go.Shape.defineFigureGenerator("Chevron",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),ee}),go.Shape.defineFigureGenerator("DoubleArrow",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.214*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.786*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),ee}),go.Shape.setFigureParameter("DoubleEndArrow",0,new on("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var E=(.5-ee/2)*a,te=(.5+ee/2)*a,ne=new go.Geometry,oe=new go.PathFigure(y,.5*a,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*y,te)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.3*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var he=ze(0,.5,.3,0,0,E/a,.1,E/a,Oe());return ne.spot1=new go.Spot(he.x,he.y),he=ze(.7,1,1,.5,0,te/a,1,te/a,he),ne.spot2=new go.Spot(he.x,he.y),be(he),ne}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new on("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new on("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=40);var E=ie?ie.parameter2:NaN;isNaN(E)&&(E=100);var te=(a-ee)/2,ne=te+ee,oe=(a-E)/2,he=oe+E;(ee>a||E>a)&&(E>ee?(ee=ee*a/E,te=(a-ee)/2,ne=te+ee,oe=0,he=a):(te=0,ne=a,oe=0,he=a));var _e=new go.Geometry,Pe=new go.PathFigure(y,.5*a,!0);_e.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,he)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,he)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,oe)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,te)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,oe).close());var Qe=ze(0,.5,.3,oe/a,0,te/a,1,te/a,Oe());return _e.spot1=new go.Spot(Qe.x,Qe.y),Qe=ze(.7,he/a,1,.5,0,ne/a,1,ne/a,Qe),_e.spot2=new go.Spot(Qe.x,Qe.y),be(Qe),_e}),go.Shape.setFigureParameter("IBeamArrow",0,new on("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var E=(.5-ee/2)*a,te=(.5+ee/2)*a,ne=new go.Geometry,oe=new go.PathFigure(y,.5*a,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,te)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(0,E/a);var he=ze(.7,1,1,.5,0,te/a,1,te/a,Oe());return ne.spot2=new go.Spot(he.x,he.y),be(he),ne}),go.Shape.setFigureParameter("IBeamArrow2",0,new on("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new on("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=40);var E=ie?ie.parameter2:NaN;isNaN(E)&&(E=100);var te=(a-ee)/2,ne=te+ee,oe=(a-E)/2,he=oe+E;(ee>a||E>a)&&(E>ee?(ee=ee*a/E,te=(a-ee)/2,ne=te+ee,oe=0,he=a):(te=0,ne=a,oe=0,he=a));var _e=new go.Geometry,Pe=new go.PathFigure(y,.5*a,!0);_e.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,he)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,he)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,he)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,oe)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,oe)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,te)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,oe).close()),_e.spot1=new go.Spot(0,te/a);var Qe=ze(.7,he/a,1,.5,0,ne/a,1,ne/a,Oe());return _e.spot2=new go.Spot(Qe.x,Qe.y),be(Qe),_e}),go.Shape.setFigureParameter("Pointer",0,new on("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.1);var E=new go.Geometry,te=new go.PathFigure(y,.5*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,ee*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(ee,.35);var ne=ze(.2,.65,1,.65,0,1,1,.5,Oe());return E.spot2=new go.Spot(ne.x,ne.y),be(ne),E}),go.Shape.setFigureParameter("RoundedPointer",0,new on("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var E=new go.Geometry,te=new go.PathFigure(y,.5*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ee*y,.75*a,ee*y,.25*a).close()),E.spot1=new go.Spot(ee,.35);var ne=ze(0,.65,1,.65,0,1,1,.5,Oe());return E.spot2=new go.Spot(ne.x,ne.y),be(ne),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new on("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.4);var E=(.5-ee/2)*a,te=(.5+ee/2)*a,ne=new go.Geometry,oe=new go.PathFigure(y,.5*a,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),oe.add(new go.PathSegment(go.PathSegment.Line,0,te)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(.2,.3);var he=ze(.7,1,1,.5,0,te/a,1,te/a,Oe());return ne.spot2=new go.Spot(he.x,he.y),be(he),ne}),go.Shape.setFigureParameter("SplitEndArrow2",0,new on("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=50);var E=(a-ee)/2,te=E+ee;ee>a&&(E=0,te=a);var ne=new go.Geometry,oe=new go.PathFigure(y,.5*a,!0);ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),oe.add(new go.PathSegment(go.PathSegment.Line,0,te)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(.2,E/a);var he=ze(.7,1,1,.5,0,te/a,1,te/a,Oe());return ne.spot2=new go.Spot(he.x,he.y),be(he),ne}),go.Shape.setFigureParameter("SquareArrow",0,new on("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.7);var E=new go.Geometry,te=new go.PathFigure(y,.5*a,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,ee*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,ee*y,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(ee,1),E}),go.Shape.defineFigureGenerator("Cone1",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=me*.1,ne=new go.PathFigure(0,.9*a,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+te)*a,(.5+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+te)*a).close()),ee.spot1=new go.Spot(.25,.5),ee.spot2=new go.Spot(.75,.97),ee}),go.Shape.defineFigureGenerator("Cone2",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.9*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,a,.85/.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var te=new go.PathFigure(0,.9*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),ee.spot1=new go.Spot(.25,.5),ee.spot2=new go.Spot(.75,.82),ee}),go.Shape.defineFigureGenerator("Cube1",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var te=new go.PathFigure(.5*y,a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),te.add(new go.PathSegment(go.PathSegment.Move,.5*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),ee.spot1=new go.Spot(0,.3),ee.spot2=new go.Spot(.5,.85),ee}),go.Shape.defineFigureGenerator("Cube2",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.3*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0).close());var te=new go.PathFigure(0,.3*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Move,.7*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ee.spot1=new go.Spot(0,.3),ee.spot2=new go.Spot(.7,1),ee}),go.Shape.defineFigureGenerator("Cylinder1",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=5),ee=Math.min(ee,a/3);var E=new go.Geometry,te=me*.5,ne=new go.PathFigure(0,ee,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,me*ee,(.5-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,1*y,ee,(.5+te)*y,0,1*y,me*ee)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-ee)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-me*ee,(.5+te)*y,1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-ee,(.5-te)*y,1*a,0,a-me*ee)),ne.add(new go.PathSegment(go.PathSegment.Line,0,ee));var oe=new go.PathFigure(y,ee,!1);return E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*ee,1*y,2*ee-me*ee,(.5+te)*y,2*ee)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,ee,(.5-te)*y,2*ee,0,2*ee-me*ee)),E.spot1=new go.Spot(0,0,0,2*ee),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=5),ee=Math.min(ee,a/3);var E=new go.Geometry,te=me*.5,ne=new go.PathFigure(0,a-ee,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,me*ee,(.5-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,ee,(.5+te)*y,0,y,me*ee)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-ee)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-me*ee,(.5+te)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-ee,(.5-te)*y,a,0,a-me*ee));var oe=new go.PathFigure(0,a-ee,!1);return E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*ee,0,a-ee-me*ee,(.5-te)*y,a-2*ee)),oe.add(new go.PathSegment(go.PathSegment.Bezier,y,a-ee,(.5+te)*y,a-2*ee,y,a-ee-me*ee)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*ee),E}),go.Shape.defineFigureGenerator("Cylinder3",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=5),ee=Math.min(ee,y/3);var E=new go.Geometry,te=me*.5,ne=new go.PathFigure(ee,0,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y-ee,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-me*ee,0,y,(.5-te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-ee,a,y,(.5+te)*a,y-me*ee,a)),ne.add(new go.PathSegment(go.PathSegment.Line,ee,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,me*ee,a,0,(.5+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,(.5-te)*a,me*ee,0));var oe=new go.PathFigure(ee,0,!1);return E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,2*ee,.5*a,ee+me*ee,0,2*ee,(.5-te)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee,a,2*ee,(.5+te)*a,ee+me*ee,a)),E.spot1=new go.Spot(0,0,2*ee,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=5),ee=Math.min(ee,y/3);var E=new go.Geometry,te=me*.5,ne=new go.PathFigure(y-ee,0,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-me*ee,0,y,(.5-te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-ee,a,y,(.5+te)*a,y-me*ee,a)),ne.add(new go.PathSegment(go.PathSegment.Line,ee,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,me*ee,a,0,(.5+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,(.5-te)*a,me*ee,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y-ee,0));var oe=new go.PathFigure(y-ee,0,!1);return E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,y-2*ee,.5*a,y-ee-me*ee,0,y-2*ee,(.5-te)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,y-ee,a,y-2*ee,(.5+te)*a,y-ee-me*ee,a)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*ee,0),E}),go.Shape.defineFigureGenerator("Prism1",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.25*y,.25*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(.25*y,.25*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),ee.spot1=new go.Spot(.408,.172),ee.spot2=new go.Spot(.833,.662),ee}),go.Shape.defineFigureGenerator("Prism2",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.25*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),te.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),ee.spot1=new go.Spot(.25,.5),ee.spot2=new go.Spot(.75,.75),ee}),go.Shape.defineFigureGenerator("Pyramid1",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var te=new go.PathFigure(.5*y,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),ee.spot1=new go.Spot(.25,.367),ee.spot2=new go.Spot(.75,.875),ee}),go.Shape.defineFigureGenerator("Pyramid2",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var te=new go.PathFigure(.5*y,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),te.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),ee.spot1=new go.Spot(.25,.367),ee.spot2=new go.Spot(.75,.875),ee}),go.Shape.defineFigureGenerator("Actor",function(ie,y,a){var ee=new go.Geometry,E=.2,te=.1,ne=me*E,oe=me*te,he=.5,_e=.1,Pe=new go.PathFigure(he*y,(_e+te)*a,!0);ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(he-E)*y,_e*a,(he-ne)*y,(_e+te)*a,(he-E)*y,(_e+oe)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-te)*a,(he-E)*y,(_e-oe)*a,(he-ne)*y,(_e-te)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(he+E)*y,_e*a,(he+ne)*y,(_e-te)*a,(he+E)*y,(_e-oe)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e+te)*a,(he+E)*y,(_e+oe)*a,(he+ne)*y,(_e+te)*a));var Qe=.05,Ze=me*Qe;he=.05,_e=.25;var Ve=new go.PathFigure(.5*y,.2*a,!0);return ee.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),he=.95,_e=.25,Ve.add(new go.PathSegment(go.PathSegment.Bezier,(he+Qe)*y,_e*a,(he+Ze)*y,(_e-Qe)*a,(he+Qe)*y,(_e-Ze)*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),Qe=.025,Ze=me*Qe,he=.825,_e=.35,Ve.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-Qe)*a,(he+Qe)*y,(_e-Ze)*a,(he+Ze)*y,(_e-Qe)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(he-Qe)*y,_e*a,(he-Ze)*y,(_e-Qe)*a,(he-Qe)*y,(_e-Ze)*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),Qe=.05,Ze=me*Qe,he=.5,_e=.7,Ve.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-Qe)*a,(he+Qe)*y,(_e-Ze)*a,(he+Ze)*y,(_e-Qe)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(he-Qe)*y,_e*a,(he-Ze)*y,(_e-Qe)*a,(he-Qe)*y,(_e-Ze)*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),Qe=.025,Ze=me*Qe,he=.175,_e=.35,Ve.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-Qe)*a,(he+Qe)*y,(_e-Ze)*a,(he+Ze)*y,(_e-Qe)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(he-Qe)*y,_e*a,(he-Ze)*y,(_e-Qe)*a,(he-Qe)*y,(_e-Ze)*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),Qe=.05,Ze=me*Qe,he=.05,_e=.25,Ve.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-Qe)*a,(he-Qe)*y,(_e-Ze)*a,(he-Ze)*y,(_e-Qe)*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),ee.spot1=new go.Spot(.2,.2),ee.spot2=new go.Spot(.8,.65),ee}),go.Shape.setFigureParameter("Card",0,new on("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.2);var E=new go.Geometry,te=new go.PathFigure(y,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,ee*a)),te.add(new go.PathSegment(go.PathSegment.Line,ee*y,0).close()),E.spot1=new go.Spot(0,ee),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,.5*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a));var te=new go.PathFigure(.5*y,.5*a,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),ee.spot1=new go.Spot(.25,0),ee.spot2=new go.Spot(.75,.25),ee}),go.Shape.defineFigureGenerator("CreateRequest",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,E*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),ee}),go.Shape.defineFigureGenerator("Database",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=me*.1,ne=new go.PathFigure(y,.1*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+te)*a,(.5+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-te)*a,(.5-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-te)*a));var oe=new go.PathFigure(y,.1*a,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+te)*a,(.5+E)*y,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+te)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+te)*a,(.5+E)*y,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+te)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+te)*a,(.5+E)*y,.4*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-E)*y,.4*a,0,(.3+te)*a)),ee.spot1=new go.Spot(0,.4),ee.spot2=new go.Spot(1,.9),ee}),go.Shape.defineFigureGenerator("DataStorage",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.9*a,.25*y,.1*a).close()),ee.spot1=new go.Spot(.226,0),ee.spot2=new go.Spot(.81,1),ee}),go.Shape.defineFigureGenerator("DiskStorage",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=me*.1,ne=new go.PathFigure(y,.1*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+te)*a,(.5+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-te)*a,(.5-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-te)*a));var oe=new go.PathFigure(y,.1*a,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+te)*a,(.5+E)*y,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+te)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+te)*a,(.5+E)*y,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+te)*a)),ee.spot1=new go.Spot(0,.3),ee.spot2=new go.Spot(1,.9),ee}),go.Shape.defineFigureGenerator("Display",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),ee.spot1=new go.Spot(.25,0),ee.spot2=new go.Spot(.75,1),ee}),go.Shape.defineFigureGenerator("DividedEvent",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var te=me*.2,ne=new go.PathFigure(0,.2*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-te)*a,(.2-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+te)*y,0,y,(.2-te)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+te)*a,(.8+te)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-te)*y,a,0,(.8+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var oe=new go.PathFigure(0,E*a,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),ee}),go.Shape.defineFigureGenerator("DividedProcess",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,E*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),ee}),go.Shape.defineFigureGenerator("Document",function(ie,y,a){var ee=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.6),ee}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(E*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,E*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),ee}),go.Shape.defineFigureGenerator("ExternalProcess",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var te=new go.PathFigure(.1*y,.4*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Move,.9*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Move,.6*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Move,.4*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.9*a)),ee.spot1=new go.Spot(.25,.25),ee.spot2=new go.Spot(.75,.75),ee}),go.Shape.defineFigureGenerator("File",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(.75*y,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),ee.spot1=new go.Spot(0,.25),ee.spot2=go.Spot.BottomRight,ee}),go.Shape.defineFigureGenerator("Interrupt",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a));var te=new go.PathFigure(y,.5*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,a));var ne=new go.PathFigure(y,.5*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.5,.75),ee}),go.Shape.defineFigureGenerator("InternalStorage",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN,te=ie?ie.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(te)&&(te=.1);var ne=new go.PathFigure(0,0,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var oe=new go.PathFigure(E*y,0,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),oe.add(new go.PathSegment(go.PathSegment.Move,0,te*a)),oe.add(new go.PathSegment(go.PathSegment.Line,y,te*a)),ee}),go.Shape.defineFigureGenerator("Junction",function(ie,y,a){var ee=new go.Geometry,E=1/Math.SQRT2,te=(1-1/Math.SQRT2)/2,ne=me*.5,oe=.5,he=new go.PathFigure(y,oe*a,!0);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,a,y,(oe+ne)*a,(oe+ne)*y,a)),he.add(new go.PathSegment(go.PathSegment.Bezier,0,oe*a,(oe-ne)*y,a,0,(oe+ne)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,0,0,(oe-ne)*a,(oe-ne)*y,0)),he.add(new go.PathSegment(go.PathSegment.Bezier,y,oe*a,(oe+ne)*y,0,y,(oe-ne)*a));var _e=new go.PathFigure((te+E)*y,(te+E)*a,!1);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Line,te*y,te*a)),_e.add(new go.PathSegment(go.PathSegment.Move,te*y,(te+E)*a)),_e.add(new go.PathSegment(go.PathSegment.Line,(te+E)*y,te*a)),ee}),go.Shape.defineFigureGenerator("LinedDocument",function(ie,y,a){var ee=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close());var te=new go.PathFigure(.1*y,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),ee.spot1=new go.Spot(.1,0),ee.spot2=new go.Spot(1,.6),ee}),go.Shape.defineFigureGenerator("LoopLimit",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),ee.spot1=new go.Spot(0,.25),ee.spot2=go.Spot.BottomRight,ee}),go.Shape.defineFigureGenerator("MagneticTape",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=.5,ne=new go.PathFigure(.5*y,a,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*a,(te-E)*y,a,0,(te+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,0,0,(te-E)*a,(te-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,te*a,(te+E)*y,0,y,(te-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(te+.1)*y,.9*a,y,(te+E)*a,(te+E)*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),ee.spot1=new go.Spot(.15,.15),ee.spot2=new go.Spot(.85,.8),ee}),go.Shape.defineFigureGenerator("ManualInput",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),ee.spot1=new go.Spot(0,.25),ee.spot2=go.Spot.BottomRight,ee}),go.Shape.defineFigureGenerator("MessageFromUser",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.7);var te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,E*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee.spot1=go.Spot.TopLeft,ee}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.25);var te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,E*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,(1-E)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee}),go.Shape.defineFigureGenerator("MicroformRecording",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(1,.75),ee}),go.Shape.defineFigureGenerator("MultiDocument",function(ie,y,a){var ee=new go.Geometry;a=a/.8;var E=new go.PathFigure(y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.44*a,.96*y,.47*a,.93*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.54*a,.86*y,.57*a,.83*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*y,.4*a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,0).close());var te=new go.PathFigure(.1*y,.2*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.54*a)),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.44*a)),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.8,.77),ee}),go.Shape.defineFigureGenerator("MultiProcess",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.1*y,.1*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close());var te=new go.PathFigure(.2*y,.1*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Move,.1*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),ee.spot1=new go.Spot(0,.2),ee.spot2=new go.Spot(.8,1),ee}),go.Shape.defineFigureGenerator("OfflineStorage",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var te=1-E,ne=new go.PathFigure(0,0,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close());var oe=new go.PathFigure(.5*E*y,E*a,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*y,E*a)),ee}),go.Shape.defineFigureGenerator("OffPageConnector",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(.75,1),ee}),go.Shape.defineFigureGenerator("Or",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=.5,ne=new go.PathFigure(y,te*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,y,(te+E)*a,(te+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*a,(te-E)*y,a,0,(te+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,0,0,(te-E)*a,(te-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,te*a,(te+E)*y,0,y,(te-E)*a));var oe=new go.PathFigure(y,.5*a,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),ee}),go.Shape.defineFigureGenerator("PaperTape",function(ie,y,a){var ee=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.5*y,.6*a,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),ee.spot1=new go.Spot(0,.49),ee.spot2=new go.Spot(1,.75),ee}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN,te=ie?ie.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(te)&&(te=.3);var ne=new go.PathFigure(0,0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-te)*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN,te=ie?ie.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(te)&&(te=.3);var ne=new go.PathFigure(0,0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-te)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee}),go.Shape.defineFigureGenerator("Procedure",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure((1-E)*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,E*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ee}),go.Shape.defineFigureGenerator("Process",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(E*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ee.spot2=go.Spot.BottomRight,ee}),go.Shape.defineFigureGenerator("Sort",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var te=new go.PathFigure(0,.5*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ee.spot1=new go.Spot(.25,.25),ee.spot2=new go.Spot(.75,.5),ee}),go.Shape.defineFigureGenerator("Start",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.25);var te=new go.PathFigure(E*y,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var ne=new go.PathFigure(E*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),ee.spot1=new go.Spot(E,0),ee.spot2=new go.Spot(1-E,1),ee}),go.Shape.defineFigureGenerator("Terminator",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a)),ee.spot1=new go.Spot(.23,0),ee.spot2=new go.Spot(.77,1),ee}),go.Shape.defineFigureGenerator("TransmittalTape",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-E)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a).close()),ee.spot1=go.Spot.TopLeft,ee}),go.Shape.defineFigureGenerator("AndGate",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(.5+E)*y,0,y,(.5-E)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+E)*a,(.5+E)*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(.55,1),ee}),go.Shape.defineFigureGenerator("Buffer",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.5,.75),ee}),go.Shape.defineFigureGenerator("Clock",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=.5,ne=new go.PathFigure(y,te*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,y,(te+E)*a,(te+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*a,(te-E)*y,a,0,(te+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,0,0,(te-E)*a,(te-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,te*a,(te+E)*y,0,y,(te-E)*a));var oe=new go.PathFigure(y,te*a,!1);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y,te*a));var he=new go.PathFigure(.8*y,.75*a,!1);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),he.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),he.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),he.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),he.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),he.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),he.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),ee}),go.Shape.defineFigureGenerator("Ground",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Move,.3*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),ee}),go.Shape.defineFigureGenerator("Inverter",function(ie,y,a){var ee=new go.Geometry,E=me*.1,te=.1,ne=.9,oe=.5,he=new go.PathFigure(.8*y,.5*a,!0);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Line,0,a)),he.add(new go.PathSegment(go.PathSegment.Line,0,0)),he.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var _e=new go.PathFigure((ne+te)*y,oe*a,!0);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne+te)*y,(oe+E)*a,(ne+E)*y,(oe+te)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,(ne-E)*y,(oe+te)*a,(ne-te)*y,(oe+E)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-te)*a,(ne-te)*y,(oe-E)*a,(ne-E)*y,(oe-te)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,(ne+E)*y,(oe-te)*a,(ne+te)*y,(oe-E)*a)),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.4,.75),ee}),go.Shape.defineFigureGenerator("NandGate",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=me*.4,ne=me*.1,oe=.1,he=.9,_e=.5,Pe=new go.PathFigure(.8*y,.5*a,!0);ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+te)*a,(.4+E)*y,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,0)),Pe.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+E)*y,0,.8*y,(.5-te)*a));var Qe=new go.PathFigure((he+oe)*y,_e*a,!0);return ee.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e+oe)*a,(he+oe)*y,(_e+ne)*a,(he+ne)*y,(_e+oe)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(he-oe)*y,_e*a,(he-ne)*y,(_e+oe)*a,(he-oe)*y,(_e+ne)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-oe)*a,(he-oe)*y,(_e-ne)*a,(he-ne)*y,(_e-oe)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(he+oe)*y,_e*a,(he+ne)*y,(_e-oe)*a,(he+oe)*y,(_e-ne)*a)),ee.spot1=new go.Spot(0,.05),ee.spot2=new go.Spot(.55,.95),ee}),go.Shape.defineFigureGenerator("NorGate",function(ie,y,a){var ee=new go.Geometry,E=.5,te=me*E,ne=0,oe=.5,he=new go.PathFigure(.8*y,.5*a,!0);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(ne+te)*y,(oe-E)*a,.7*y,(oe-te)*a)),E=.1,te=me*.1,ne=.9,oe=.5;var _e=new go.PathFigure((ne-E)*y,oe*a,!0);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-E)*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,oe*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+E)*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,oe*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a)),ee.spot1=new go.Spot(.2,.25),ee.spot2=new go.Spot(.6,.75),ee}),go.Shape.defineFigureGenerator("OrGate",function(ie,y,a){var ee=new go.Geometry,E=.5,te=me*E,ne=0,oe=.5,he=new go.PathFigure(0,0,!0);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(ne+te+te)*y,(oe-E)*a,.8*y,(oe-te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(oe+te)*a,(ne+te+te)*y,(oe+E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a).close()),ee.spot1=new go.Spot(.2,.25),ee.spot2=new go.Spot(.75,.75),ee}),go.Shape.defineFigureGenerator("XnorGate",function(ie,y,a){var ee=new go.Geometry,E=.5,te=me*E,ne=.2,oe=.5,he=new go.PathFigure(.1*y,0,!1);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var _e=new go.PathFigure(.8*y,.5*a,!0);ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(ne+te)*y,(oe-E)*a,.7*y,(oe-te)*a)),E=.1,te=me*.1,ne=.9,oe=.5;var Pe=new go.PathFigure((ne-E)*y,oe*a,!0);return ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-E)*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,oe*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+E)*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,oe*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a)),ee.spot1=new go.Spot(.4,.25),ee.spot2=new go.Spot(.65,.75),ee}),go.Shape.defineFigureGenerator("XorGate",function(ie,y,a){var ee=new go.Geometry,E=.5,te=me*E,ne=.2,oe=.5,he=new go.PathFigure(.1*y,0,!1);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var _e=new go.PathFigure(.2*y,0,!0);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(ne+te)*y,(oe-E)*a,.9*y,(oe-te)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),ee.spot1=new go.Spot(.4,.25),ee.spot2=new go.Spot(.8,.75),ee}),go.Shape.defineFigureGenerator("Capacitor",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee}),go.Shape.defineFigureGenerator("Resistor",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.5*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),ee}),go.Shape.defineFigureGenerator("Inductor",function(ie,y,a){var ee=new go.Geometry,E=me*.1,te=.1,ne=.1,oe=.5,he=new go.PathFigure((ne-E*.5)*y,a,!1);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.3,he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+te)*y,0,(ne+E)*y,a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.5,he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+te)*y,0,(ne+E)*y,a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.7,he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+te)*y,0,(ne+E)*y,a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.9,he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E*.5)*y,a,(ne+te)*y,0,(ne+E)*y,a)),ee}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ie,y,a){var ee=new go.Geometry,E=me*.5,te=.5,ne=.5,oe=.5,he=new go.PathFigure((ne-te)*y,oe*a,!1);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-te)*a,(ne-te)*y,(oe-E)*a,(ne-E)*y,(oe-te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,(ne+E)*y,(oe-te)*a,(ne+te)*y,(oe-E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne+te)*y,(oe+E)*a,(ne+E)*y,(oe+te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,(ne-E)*y,(oe+te)*a,(ne-te)*y,(oe+E)*a)),he.add(new go.PathSegment(go.PathSegment.Move,(ne-te+.1)*y,oe*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te-.1)*y,oe*a,ne*y,(oe-te)*a,ne*y,(oe+te)*a)),ee}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee}),go.Shape.defineFigureGenerator("Diode",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.5,.75),ee}),go.Shape.defineFigureGenerator("Wifi",function(ie,y,a){var ee=new go.Geometry,E=y,te=a;y=y*.38,a=a*.6;var ne=me*.8,oe=.8,he=0,_e=.5,Pe=(E-y)/2,Qe=(te-a)/2,Ze=new go.PathFigure(he*y+Pe,(_e+oe)*a+Qe,!0);ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(he-oe)*y+Pe,_e*a+Qe,(he-ne)*y+Pe,(_e+oe)*a+Qe,(he-oe)*y+Pe,(_e+ne)*a+Qe)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e-oe)*a+Qe,(he-oe)*y+Pe,(_e-ne)*a+Qe,(he-ne)*y+Pe,(_e-oe)*a+Qe)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(he-oe+ne*.5)*y+Pe,_e*a+Qe,he*y+Pe,(_e-oe)*a+Qe,(he-oe+ne*.5)*y+Pe,(_e-ne)*a+Qe)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e+oe)*a+Qe,(he-oe+ne*.5)*y+Pe,(_e+ne)*a+Qe,he*y+Pe,(_e+oe)*a+Qe).close()),ne=me*.4,oe=.4,he=.2,_e=.5;var Ve=new go.PathFigure(he*y+Pe,(_e+oe)*a+Qe,!0);ee.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(he-oe)*y+Pe,_e*a+Qe,(he-ne)*y+Pe,(_e+oe)*a+Qe,(he-oe)*y+Pe,(_e+ne)*a+Qe)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e-oe)*a+Qe,(he-oe)*y+Pe,(_e-ne)*a+Qe,(he-ne)*y+Pe,(_e-oe)*a+Qe)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(he-oe+ne*.5)*y+Pe,_e*a+Qe,he*y+Pe,(_e-oe)*a+Qe,(he-oe+ne*.5)*y+Pe,(_e-ne)*a+Qe)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e+oe)*a+Qe,(he-oe+ne*.5)*y+Pe,(_e+ne)*a+Qe,he*y+Pe,(_e+oe)*a+Qe).close()),ne=me*.2,oe=.2,he=.5,_e=.5;var nt=new go.PathFigure((he-oe)*y+Pe,_e*a+Qe,!0);ee.add(nt),nt.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e-oe)*a+Qe,(he-oe)*y+Pe,(_e-ne)*a+Qe,(he-ne)*y+Pe,(_e-oe)*a+Qe)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(he+oe)*y+Pe,_e*a+Qe,(he+ne)*y+Pe,(_e-oe)*a+Qe,(he+oe)*y+Pe,(_e-ne)*a+Qe)),nt.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e+oe)*a+Qe,(he+oe)*y+Pe,(_e+ne)*a+Qe,(he+ne)*y+Pe,(_e+oe)*a+Qe)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(he-oe)*y+Pe,_e*a+Qe,(he-ne)*y+Pe,(_e+oe)*a+Qe,(he-oe)*y+Pe,(_e+ne)*a+Qe)),ne=me*.4,oe=.4,he=.8,_e=.5;var De=new go.PathFigure(he*y+Pe,(_e-oe)*a+Qe,!0);ee.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(he+oe)*y+Pe,_e*a+Qe,(he+ne)*y+Pe,(_e-oe)*a+Qe,(he+oe)*y+Pe,(_e-ne)*a+Qe)),De.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e+oe)*a+Qe,(he+oe)*y+Pe,(_e+ne)*a+Qe,(he+ne)*y+Pe,(_e+oe)*a+Qe)),De.add(new go.PathSegment(go.PathSegment.Bezier,(he+oe-ne*.5)*y+Pe,_e*a+Qe,he*y+Pe,(_e+oe)*a+Qe,(he+oe-ne*.5)*y+Pe,(_e+ne)*a+Qe)),De.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e-oe)*a+Qe,(he+oe-ne*.5)*y+Pe,(_e-ne)*a+Qe,he*y+Pe,(_e-oe)*a+Qe).close()),ne=me*.8,oe=.8,he=1,_e=.5;var Bt=new go.PathFigure(he*y+Pe,(_e-oe)*a+Qe,!0);return ee.add(Bt),Bt.add(new go.PathSegment(go.PathSegment.Bezier,(he+oe)*y+Pe,_e*a+Qe,(he+ne)*y+Pe,(_e-oe)*a+Qe,(he+oe)*y+Pe,(_e-ne)*a+Qe)),Bt.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e+oe)*a+Qe,(he+oe)*y+Pe,(_e+ne)*a+Qe,(he+ne)*y+Pe,(_e+oe)*a+Qe)),Bt.add(new go.PathSegment(go.PathSegment.Bezier,(he+oe-ne*.5)*y+Pe,_e*a+Qe,he*y+Pe,(_e+oe)*a+Qe,(he+oe-ne*.5)*y+Pe,(_e+ne)*a+Qe)),Bt.add(new go.PathSegment(go.PathSegment.Bezier,he*y+Pe,(_e-oe)*a+Qe,(he+oe-ne*.5)*y+Pe,(_e-ne)*a+Qe,he*y+Pe,(_e-oe)*a+Qe).close()),ee}),go.Shape.defineFigureGenerator("Email",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.54*a)),te.add(new go.PathSegment(go.PathSegment.Move,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.54*a)),ee}),go.Shape.defineFigureGenerator("Ethernet",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.35*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,0).close());var te=new go.PathFigure(.1*y,a,!0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var ne=new go.PathFigure(.6*y,a,!0,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*y,a).close());var oe=new go.PathFigure(0,.5*a,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),oe.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),ee}),go.Shape.defineFigureGenerator("Power",function(ie,y,a){var ee=new go.Geometry,E=me*.4,te=.4,ne=.5,oe=.5,he=Oe(),_e=Oe(),Pe=Oe(),Qe=Oe();at(ne,oe-te,ne+E,oe-te,ne+te,oe-E,ne+te,oe,.5,he,he,_e,Pe,Qe);var Ze=we(_e.x,_e.y),Ve=new go.PathFigure(_e.x*y,_e.y*a,!0);ee.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,Pe.x*y,Pe.y*a,Qe.x*y,Qe.y*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne+te)*y,(oe+E)*a,(ne+E)*y,(oe+te)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,(ne-E)*y,(oe+te)*a,(ne-te)*y,(oe+E)*a)),at(ne-te,oe,ne-te,oe-E,ne-E,oe-te,ne,oe-te,.5,Pe,Qe,_e,he,he),Ve.add(new go.PathSegment(go.PathSegment.Bezier,_e.x*y,_e.y*a,Pe.x*y,Pe.y*a,Qe.x*y,Qe.y*a)),E=me*.3,te=.3,at(ne-te,oe,ne-te,oe-E,ne-E,oe-te,ne,oe-te,.5,Pe,Qe,_e,he,he),Ve.add(new go.PathSegment(go.PathSegment.Line,_e.x*y,_e.y*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,oe*a,Qe.x*y,Qe.y*a,Pe.x*y,Pe.y*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+te)*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,oe*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),at(ne,oe-te,ne+E,oe-te,ne+te,oe-E,ne+te,oe,.5,he,he,_e,Pe,Qe),Ve.add(new go.PathSegment(go.PathSegment.Bezier,_e.x*y,_e.y*a,Qe.x*y,Qe.y*a,Pe.x*y,Pe.y*a).close());var Ve=new go.PathFigure(.45*y,0,!0);return ee.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),be(he),be(_e),be(Pe),be(Qe),be(Ze),ee.spot1=new go.Spot(.25,.45),ee.spot2=new go.Spot(.75,.8),ee}),go.Shape.defineFigureGenerator("Fallout",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a/2,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function te(ne,oe,he){ne.add(new go.PathSegment(go.PathSegment.Move,(.3+oe)*y,(.8+he)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.5+oe)*y,(.5+he)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.1+oe)*y,(.5+he)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.3+oe)*y,(.8+he)*a).close())}return te(E,0,0),te(E,.4,0),te(E,.2,-.3),ee}),go.Shape.defineFigureGenerator("IrritationHazard",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.2*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),ee.spot1=new go.Spot(.3,.3),ee.spot2=new go.Spot(.7,.7),ee}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.37*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.11*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.04*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.49*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.37*a)),E.add(new go.PathSegment(go.PathSegment.Line,.63*y,.86*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.91*a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,.78*a)),E.add(new go.PathSegment(go.PathSegment.Line,.44*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.56*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),ee}),go.Shape.defineFigureGenerator("FireHazard",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.1*y,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.29*y,0,-.25*y,.63*a,.45*y,.44*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.51*y,.42*a,.48*y,.17*a,.54*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.59*y,.18*a,.59*y,.29*a,.58*y,.28*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,.6*a,.8*y,.34*a,.88*y,.43*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.88*y,.31*a,.87*y,.48*a,.88*y,.43*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,1.17*y,.76*a,.82*y,.8*a).close()),ee.spot1=new go.Spot(.07,.445),ee.spot2=new go.Spot(.884,.958),ee}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ie,y,a){var ee=new go.Geometry,E=.5,te=0,ne=0,oe=E*me,he=.4*Math.SQRT2/2+.5,_e=.5-.5*Math.SQRT2/2,Pe=1,Qe=.5,Ze=.5,Ve=0,nt=new go.PathFigure(he*y,(1-_e)*a,!1);return ee.add(nt),nt.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,Qe*a,Pe*y,.7*a,Pe*y,Qe*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(Ze+te)*y,(Ve+te)*a,(.5+E+te)*y,(.5-oe+te)*a,(.5+oe+te)*y,(.5-E+te)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+te)*y,(.5+ne)*a,(.5-oe+te)*y,(.5-E+ne)*a,(.5-E+te)*y,(.5-oe+ne)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(.35+te)*y,.9*a,(.5-E+te)*y,(.5+oe+ne)*a,(.5-oe+te)*y,.9*a)),nt.add(new go.PathSegment(go.PathSegment.Move,(.25+te)*y,.8*a)),nt.add(new go.PathSegment(go.PathSegment.Line,(.35+te)*y,.9*a)),nt.add(new go.PathSegment(go.PathSegment.Line,(.2+te)*y,.95*a)),ee}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);ee.add(E);var te=new go.PathFigure(y,a,!1);ee.add(te);var ne=new go.PathFigure(0,.5*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.2*y,.35*a,.3*y,.35*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.7*y,.65*a,.8*y,.65*a)),ee}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close()),ee}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var E=new go.PathFigure(0,.2*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),ee}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.7*y,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,0,.6*y,.5*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,a,.4*y,.5*a,y,.5*a).close());var te=new go.PathFigure(.45*y,.73*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*y,.73*a)),te.add(new go.PathSegment(go.PathSegment.Move,.38*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.63*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Move,.31*y,.27*a)),te.add(new go.PathSegment(go.PathSegment.Line,.56*y,.27*a)),ee}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);ee.add(E);var te=new go.PathFigure(.335*y,(1-.555)*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),te.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var ne=.5-.285,oe=.5,he=ne,_e=Math.PI/4,Pe=4*(1-Math.cos(_e))/(3*Math.sin(_e)),Qe=Pe*.5,Ze=ne,Ve=ne,nt=Pe*Ze,De=Pe*Ve;te.add(new go.PathSegment(go.PathSegment.Bezier,(oe-Ze)*y,he*a,(oe-(nt+Ze)/2)*y,(he+(Ve+De)/2)*a,(oe-Ze)*y,(he+De)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(he-Ve)*a,(oe-Ze)*y,(he-De)*a,(oe-nt)*y,(he-Ve)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(oe+Ze)*y,he*a,(oe+nt)*y,(he-Ve)*a,(oe+Ze)*y,(he-De)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(oe+Ze)*y,(he+De)*a,(oe+(nt+Ze)/2)*y,(he+(Ve+De)/2)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),te.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var Bt=new go.PathFigure(.2*y,a,!1);ee.add(Bt),Bt.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var ke=new go.PathFigure(.8*y,a,!1);return ee.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),ee}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.1*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var te=new go.PathFigure(.2*y,.2*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),ee}),go.Shape.defineFigureGenerator("BpmnEventError",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.5*a).close()),ee}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);ee.add(E);var te=new go.PathFigure(y,a,!1);ee.add(te);var ne=new go.PathFigure(.1*y,a,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),ee}),go.Shape.defineFigureGenerator("Caution",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.05*y,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.8*a,0,a,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.1*a,.5*y,0,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.95*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,y,a,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,a));var te=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-te)*y,.875*a)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,te*y,te*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.325*a,.575*y,.725*a,.625*y,.375*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.75*a,.375*y,.375*a,.425*y,.725*a)),ee}),go.Shape.defineFigureGenerator("Recycle",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.45*y,.95*a,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),E.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),E.add(new go.PathSegment(go.PathSegment.Line,.22*y,.775*a));var te=new go.PathFigure(.475*y,.2*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),te.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),te.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),te.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var ne=new go.PathFigure(.675*y,.575*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.875*y,.525*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.85*y,.95*a,y,.8*a,y,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,.95*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,.725*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.675*y,.575*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.775*y,.775*a)),ee}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ie,y,a){var ee=new go.Geometry,E=.5,te=me*.5,ne=new go.PathFigure(y,E*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,E*y,a,y,(E+te)*a,(E+te)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-te)*y,a,0,(E+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-te)*a,(E-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+te)*y,0,y,(E-te)*a));var oe=new go.PathFigure(E*y,0,!1);return ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,E*y,.15*a)),oe.add(new go.PathSegment(go.PathSegment.Move,E*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,E*y,.85*a)),oe.add(new go.PathSegment(go.PathSegment.Move,0,E*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.15*y,E*a)),oe.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.85*y,E*a)),oe.add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),oe.add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),ee}),go.Shape.defineFigureGenerator("Package",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.15*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,.15*a,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.15*a).close()),ee.spot1=new go.Spot(0,.1),ee.spot2=new go.Spot(1,1),ee}),go.Shape.defineFigureGenerator("Class",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,.2*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var ne=new go.PathFigure(0,.5*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),ee}),go.Shape.defineFigureGenerator("Component",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close());var te=new go.PathFigure(0,.2*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var ne=new go.PathFigure(0,.6*a,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.45*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.45*y,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),ee}),go.Shape.defineFigureGenerator("Boat Shipment",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.15*y,.6*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a));var te=new go.PathFigure(.15*y,.6*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),ee}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),ee}),go.Shape.defineFigureGenerator("Workcell",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee}),go.Shape.defineFigureGenerator("Supermarket",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee}),go.Shape.defineFigureGenerator("TruckShipment",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(y,.8*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var ne=.1,oe=me*.1,he=.2,_e=.9,Pe=new go.PathFigure((he-ne)*y,_e*a,!0);ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-ne)*a,(he-ne)*y,(_e-oe)*a,(he-oe)*y,(_e-ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(he+ne)*y,_e*a,(he+oe)*y,(_e-ne)*a,(he+ne)*y,(_e-oe)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e+ne)*a,(he+ne)*y,(_e+oe)*a,(he+oe)*y,(_e+ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(he-ne)*y,_e*a,(he-oe)*y,(_e+ne)*a,(he-ne)*y,(_e+oe)*a).close()),ne=.1,oe=me*.1,he=.8,_e=.9;var Qe=new go.PathFigure((he-ne)*y,_e*a,!0);return ee.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e-ne)*a,(he-ne)*y,(_e-oe)*a,(he-oe)*y,(_e-ne)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(he+ne)*y,_e*a,(he+oe)*y,(_e-ne)*a,(he+ne)*y,(_e-oe)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,he*y,(_e+ne)*a,(he+ne)*y,(_e+oe)*a,(he+oe)*y,(_e+ne)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(he-ne)*y,_e*a,(he-oe)*y,(_e+ne)*a,(he-ne)*y,(_e+oe)*a).close()),ee}),go.Shape.defineFigureGenerator("KanbanPost",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.2*y,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),ee}),go.Shape.defineFigureGenerator("Forklift",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0));var te=new go.PathFigure(0,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var ne=new go.PathFigure(.5*y,.8*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a));var oe=new go.PathFigure(.5*y,.7*a,!1);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var he=.1,_e=me*.1,Pe=.1,Qe=.9,Ze=new go.PathFigure((Pe-he)*y,Qe*a,!0);ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Qe-he)*a,(Pe-he)*y,(Qe-_e)*a,(Pe-_e)*y,(Qe-he)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+he)*y,Qe*a,(Pe+_e)*y,(Qe-he)*a,(Pe+he)*y,(Qe-_e)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Qe+he)*a,(Pe+he)*y,(Qe+_e)*a,(Pe+_e)*y,(Qe+he)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-he)*y,Qe*a,(Pe-_e)*y,(Qe+he)*a,(Pe-he)*y,(Qe+_e)*a)),he=.1,_e=me*.1,Pe=.4,Qe=.9;var Ve=new go.PathFigure((Pe-he)*y,Qe*a,!0);return ee.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Qe-he)*a,(Pe-he)*y,(Qe-_e)*a,(Pe-_e)*y,(Qe-he)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+he)*y,Qe*a,(Pe+_e)*y,(Qe-he)*a,(Pe+he)*y,(Qe-_e)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Qe+he)*a,(Pe+he)*y,(Qe+_e)*a,(Pe+_e)*y,(Qe+he)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-he)*y,Qe*a,(Pe-_e)*y,(Qe+he)*a,(Pe-he)*y,(Qe+_e)*a)),ee}),go.Shape.defineFigureGenerator("RailShipment",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.1*y,.4*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var te=new go.PathFigure(.45*y,.7*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var ne=new go.PathFigure(.55*y,.4*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var Pe=.05,Qe=me*.05,Ze=.175,Ve=.95,oe=new go.PathFigure((Ze-Pe)*y,Ve*a,!0);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve-Pe)*a,(Ze-Pe)*y,(Ve-Qe)*a,(Ze-Qe)*y,(Ve-Pe)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Ze+Pe)*y,Ve*a,(Ze+Qe)*y,(Ve-Pe)*a,(Ze+Pe)*y,(Ve-Qe)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve+Pe)*a,(Ze+Pe)*y,(Ve+Qe)*a,(Ze+Qe)*y,(Ve+Pe)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Ze-Pe)*y,Ve*a,(Ze-Qe)*y,(Ve+Pe)*a,(Ze-Pe)*y,(Ve+Qe)*a));var Pe=.05,Qe=me*.05,Ze=.375,Ve=.95,he=new go.PathFigure((Ze-Pe)*y,Ve*a,!0);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve-Pe)*a,(Ze-Pe)*y,(Ve-Qe)*a,(Ze-Qe)*y,(Ve-Pe)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(Ze+Pe)*y,Ve*a,(Ze+Qe)*y,(Ve-Pe)*a,(Ze+Pe)*y,(Ve-Qe)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve+Pe)*a,(Ze+Pe)*y,(Ve+Qe)*a,(Ze+Qe)*y,(Ve+Pe)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(Ze-Pe)*y,Ve*a,(Ze-Qe)*y,(Ve+Pe)*a,(Ze-Pe)*y,(Ve+Qe)*a));var Pe=.05,Qe=me*.05,Ze=.625,Ve=.95,_e=new go.PathFigure((Ze-Pe)*y,Ve*a,!0);ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve-Pe)*a,(Ze-Pe)*y,(Ve-Qe)*a,(Ze-Qe)*y,(Ve-Pe)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(Ze+Pe)*y,Ve*a,(Ze+Qe)*y,(Ve-Pe)*a,(Ze+Pe)*y,(Ve-Qe)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve+Pe)*a,(Ze+Pe)*y,(Ve+Qe)*a,(Ze+Qe)*y,(Ve+Pe)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(Ze-Pe)*y,Ve*a,(Ze-Qe)*y,(Ve+Pe)*a,(Ze-Pe)*y,(Ve+Qe)*a));var Pe=.05,Qe=me*.05,Ze=.825,Ve=.95,nt=new go.PathFigure((Ze-Pe)*y,Ve*a,!0);ee.add(nt),nt.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve-Pe)*a,(Ze-Pe)*y,(Ve-Qe)*a,(Ze-Qe)*y,(Ve-Pe)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(Ze+Pe)*y,Ve*a,(Ze+Qe)*y,(Ve-Pe)*a,(Ze+Pe)*y,(Ve-Qe)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,Ze*y,(Ve+Pe)*a,(Ze+Pe)*y,(Ve+Qe)*a,(Ze+Qe)*y,(Ve+Pe)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(Ze-Pe)*y,Ve*a,(Ze-Qe)*y,(Ve+Pe)*a,(Ze-Pe)*y,(Ve+Qe)*a).close());var De=new go.PathFigure(0,a,!1);return ee.add(De),De.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),ee}),go.Shape.defineFigureGenerator("Warehouse",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var te=new go.PathFigure(0,.2*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var ne=new go.PathFigure(.15*y,a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var oe=.05,he=me*.05,_e=.35,Pe=.775,Qe=new go.PathFigure((_e-oe)*y,Pe*a,!0);return ee.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,_e*y,(Pe-oe)*a,(_e-oe)*y,(Pe-he)*a,(_e-he)*y,(Pe-oe)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(_e+oe)*y,Pe*a,(_e+he)*y,(Pe-oe)*a,(_e+oe)*y,(Pe-he)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,_e*y,(Pe+oe)*a,(_e+oe)*y,(Pe+he)*a,(_e+he)*y,(Pe+oe)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(_e-oe)*y,Pe*a,(_e-he)*y,(Pe+oe)*a,(_e-oe)*y,(Pe+he)*a).close()),ee}),go.Shape.defineFigureGenerator("ControlCenter",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a).close()),ee}),go.Shape.defineFigureGenerator("Bluetooth",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),ee}),go.Shape.defineFigureGenerator("Bookmark",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),ee}),go.Shape.defineFigureGenerator("Bookmark",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),ee}),go.Shape.defineFigureGenerator("Globe",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.75*y,0,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.75*a,.75*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*y,a,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,.25*a,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,.15*y,.25*a,.15*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.85*y,.75*a,.85*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.15*a,.35*y,.3*a,.65*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.85*a,.35*y,.7*a,.65*y,.7*a)),ee}),go.Shape.defineFigureGenerator("Wave",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.25*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.25*a,.1*y,0,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.25*a,.425*y,.5*a,.575*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.25*a,.8*y,0,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.75*a,.1*y,.5*a,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.75*a,.425*y,a,.575*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.75*a,.8*y,.5*a,.9*y,.5*a)),ee}),go.Shape.defineFigureGenerator("Operator",function(ie,y,a){var ee=new go.Geometry,E=.3,te=me*.3,ne=.5,oe=.7,he=new go.PathFigure((ne-E)*y,oe*a,!0);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-E)*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,oe*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+E)*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,oe*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a));var _e=new go.PathFigure(0,.7*a,!1);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),ee}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.65*y,.3*a,.65*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.35*y,.5*a,.35*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*y,.6*a,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.2*y,a,.35*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,a,.7*y,.6*a,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.8*y,a,.65*y,.95*a)),ee}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,0,a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.4*a,.8*y,a,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee}),go.Shape.defineFigureGenerator("Battery",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.1*a));var te=new go.PathFigure(0,.6*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),ee}),go.Shape.defineFigureGenerator("Delete",function(ie,y,a){var ee=new go.Geometry,E=.5,te=me*.5,ne=.5,oe=.5,he=new go.PathFigure((ne-E)*y,oe*a,!0);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-E)*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,oe*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+E)*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,oe*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a));var _e=new go.PathFigure(.15*y,.5*a,!1);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),ee}),go.Shape.defineFigureGenerator("Flag",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.1*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.1*a,.15*y,0,.35*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,.65*y,.2*a,.85*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.85*y,.6*a,.65*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*y,.4*a,.15*y,.4*a).close()),ee}),go.Shape.defineFigureGenerator("Help",function(ie,y,a){var ee=new go.Geometry,E=.5,te=me*.5,ne=.5,oe=.5,he=new go.PathFigure((ne-E)*y,oe*a,!1);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-E)*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,oe*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+E)*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,oe*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a).close()),E=.05,te=me*.05,ne=.5,oe=.8;var _e=new go.PathFigure((ne-E)*y,oe*a,!1);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe-E)*a,(ne-E)*y,(oe-te)*a,(ne-te)*y,(oe-E)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,oe*a,(ne+te)*y,(oe-E)*a,(ne+E)*y,(oe-te)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(oe+E)*a,(ne+E)*y,(oe+te)*a,(ne+te)*y,(oe+E)*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,oe*a,(ne-te)*y,(oe+E)*a,(ne-E)*y,(oe+te)*a).close()),_e.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),_e.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),_e.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),ee}),go.Shape.defineFigureGenerator("Location",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.975*y,.025*a,.5*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*y,.5*a,.5*y,0,.025*y,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*y,.3*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var te=new go.PathFigure(.2*y,.5*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.3*a)),ee}),go.Shape.defineFigureGenerator("Unlocked",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var te=new go.PathFigure(.2*y,.5*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.35*a)),ee}),go.Shape.defineFigureGenerator("Gear",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(.9375*y,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*y,.3316875*a,.79840625*y,.39915625*a,.7834375*y,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*y,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*y,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*y,.19378125*a,.64228125*y,.2188125*a,.603875*y,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*y,.239375*a,.39759375*y,.20190625*a,.36053125*y,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*y,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*y,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*y,.4375*a,.21765625*y,.36059375*a,.201875*y,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*y,.67596875*a,.20221875*y,.603875*a,.21884375*y,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*y,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*y,.80621875*a,.36353125*y,.78340625*a,.3991875*y,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*y,.760625*a,.602375*y,.79809375*a,.63946875*y,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*y,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*y,.56246875*a,.78234375*y,.63940625*a,.798125*y,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*y,.5*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.3*a,0,.375*a,.05*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.075*a,.3*y,.225*a,.4*y,.175*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.525*y,.075*a,.46*y,.05*a,.525*y,.05*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.4*a,.525*y,.275*a,.475*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.55*a,y,.4*a,y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.425*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.7*a,.675*y,.55*a,.675*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.575*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,.85*a,.65*y,.7*a,.65*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.535*y,a,.61*y,.85*a,.61*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*y,a,0,a).close()),ee}),go.Shape.defineFigureGenerator("Map",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),ee}),go.Shape.defineFigureGenerator("Eject",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.7)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var te=new go.PathFigure(0,a*.6,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close()),ee}),go.Shape.defineFigureGenerator("Pencil",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*1,a*1,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.85).close());var te=new go.PathFigure(.126*y,.85*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var ne=new go.PathFigure(.402*y,.85*a,!1);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*y,.85*a).close());var oe=new go.PathFigure(.678*y,.85*a,!1);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var he=new go.PathFigure(.5*y,.1*a,!1);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),he.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),ee}),go.Shape.defineFigureGenerator("Staircase",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a*1,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),ee}),go.Shape.defineFigureGenerator("5Bars",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a*1,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*(1-.184)).close());var te=new go.PathFigure(y*.204,a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),te.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var ne=new go.PathFigure(y*.408,a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),ne.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*1).close());var oe=new go.PathFigure(y*.612,a,!0);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),oe.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),oe.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var he=new go.PathFigure(y*.816,a,!0);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),he.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),he.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),ee}),go.Shape.defineFigureGenerator("PC",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,0).close());var te=new go.PathFigure(y*.055,.07*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),te.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var ne=new go.PathFigure(y*.055,.13*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.16).close());var oe=new go.PathFigure(y*.055,.18*a,!0);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var he=new go.PathFigure(y*1,0,!0);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),he.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),he.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),ee}),go.Shape.defineFigureGenerator("Plane",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.55*y,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.35*y,.525*a,0,.4*a,.225*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.2*a,.975*y,0,y,.08*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.55*y,a).close()),ee}),go.Shape.defineFigureGenerator("Key",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*1,a*.5,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,.575*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.6*a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.17*y,.425*a)),E.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*y,.5*a,.075*y,.075*a).close()),ee}),go.Shape.defineFigureGenerator("FilmTape",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*0,y*.3,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var te=new go.PathFigure(0,0,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),te.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),te.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var ne=new go.PathFigure(y*.11,a*.1,!1);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.11,a*.8).close());var oe=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*1),a*.8).close());var he=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return ee.add(he),he.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),he.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),he.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),ee}),go.Shape.defineFigureGenerator("FloppyDisk",function(ie,y,a){var ee=new go.Geometry,E=8,te=E*me,ne=new go.PathFigure(E,0,!1);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.86,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-te,y-te,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,te,a,0,a-te)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,te,te,0).close());var oe=new go.PathFigure(y*.83,0,!1);ee.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var he=new go.PathFigure(y*.83,a*1,!1);ee.add(he),he.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),he.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),he.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var _e=new go.PathFigure(y*.78,a*.05,!1);return ee.add(_e),_e.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),_e.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),_e.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),ee}),go.Shape.defineFigureGenerator("SpeechBubble",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=15),ee=Math.min(ee,y/3),ee=Math.min(ee,a/3);var E=ee*me,te=a*.8,ne=new go.Geometry,oe=new go.PathFigure(ee,0,!0);return ne.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y-ee,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,y,ee,y-E,0,y,E)),oe.add(new go.PathSegment(go.PathSegment.Line,y,te-ee)),oe.add(new go.PathSegment(go.PathSegment.Bezier,y-ee,te,y,te-E,y-E,te)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.7,te)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.55,te)),oe.add(new go.PathSegment(go.PathSegment.Line,ee,te)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,te-ee,E,te,0,te-E)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ee)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,E,E,0).close()),E>1?(ne.spot1=new go.Spot(0,0,E,E),ne.spot2=new go.Spot(1,.8,-E,-E)):(ne.spot1=go.Spot.TopLeft,ne.spot2=new go.Spot(1,.8)),ne}),go.Shape.defineFigureGenerator("Repeat",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*0,a*.45,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.45).close());var te=new go.PathFigure(y*1,a*.55,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*1)),te.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.55)),te.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.55)),te.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.55).close()),ee}),go.Shape.defineFigureGenerator("Windows",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*y,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*0,a*.1,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.9).close());var te=new go.PathFigure(y*.1,a*.2,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),te.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),te.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),te.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),te.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var ne=new go.PathFigure(y*.28,a*.37,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.37)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.41)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.28,a*.41).close()),ee}),go.Shape.defineFigureGenerator("Beaker",function(ie,y,a){var ee=new go.Geometry,E=15,te=E*me,ne=new go.PathFigure(y*.62,a*.475,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-te,y-te,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,te,a,0,a-te)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.475)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.03)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.62,a*.03).close()),te>1?(ee.spot1=new go.Spot(0,0,te,te),ee.spot2=new go.Spot(1,1,-te,-te)):(ee.spot1=go.Spot.TopLeft,ee.spot2=go.Spot.BottomRight),ee}),go.Shape.defineFigureGenerator("Download",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);ee.add(E);var te=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-te)).close());var ne=new go.PathFigure(y*.4,a*0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.66)),ne.add(new go.PathSegment(go.PathSegment.Line,y*(1-.26),a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*0).close()),ee}),go.Shape.defineFigureGenerator("Bin",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);ee.add(E);var te=.1/.3;return E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-te)).close()),ee}),go.Shape.defineFigureGenerator("Upload",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);ee.add(E);var te=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-te)).close());var ne=new go.PathFigure(y*.5,a*0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.74,a*.25).close()),ee}),go.Shape.defineFigureGenerator("EmptyDrink",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close()),ee}),go.Shape.defineFigureGenerator("Drink",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close());var te=new go.PathFigure(y*.235,a*.28,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.765,a*.28)),te.add(new go.PathSegment(go.PathSegment.Line,y*.655,a*.97)),te.add(new go.PathSegment(go.PathSegment.Line,y*.345,a*.97).close()),ee}),go.Shape.defineFigureGenerator("4Arrows",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*.5,a*0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.25).close()),ee}),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")},93127: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 on={},Ut="5.0",we={},Oe=null,be=!1,ze=!1,at=null,Ge=!1,je=null,me=null,Be=0;Be4?parseFloat(Et):5};on.setHTML5Codebase=function(Et,Jt){me=Et,ft(Et,Jt)},on.setJavaCodebase=on.setJavaCodebaseVersion=on.isCompiledInstalled=on.setPreCompiledScriptPath=on.setPreCompiledResourcePath=function(){},on.setHTML5CodebaseVersion=function(Et,Jt){var Ln=parseFloat(Et);if(Ln!==NaN&&Ln<5){console.log("The GeoGebra HTML5 codebase version "+Ln+" is deprecated. Using version latest instead.");return}je=Et,st(Et,Jt)},on.getHTML5CodebaseVersion=function(){return ie},on.getParameters=function(){return we},on.setFontsCSSURL=function(Et){ne=Et},on.setGiacJSURL=function(Et){},on.setJNLPFile=function(Et){de=Et},on.setJNLPBaseDir=function(Et){},on.inject=function(){function Et(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Jt="auto",Ln=we.id,Hn,un=!1,Vn=0;Vn=5)return!0;var Et=on.getAppletObject();return Et&&typeof Et.recalculateEnvironments=="function"?(Et.recalculateEnvironments(),!0):!1},on.startAnimation=function(){var Et=on.getAppletObject();return Et&&typeof Et.startAnimation=="function"?(Et.startAnimation(),!0):!1},on.stopAnimation=function(){var Et=on.getAppletObject();return Et&&typeof Et.stopAnimation=="function"?(Et.stopAnimation(),!0):!1},on.getAppletObject=function(){var Et=we.id!==void 0?we.id:"ggbApplet";return window[Et]},on.resize=function(){};var nt=function(Et,Jt,Ln){var Hn=document.createElement("param");Hn.setAttribute("name",Jt),Hn.setAttribute("value",Ln),Et.appendChild(Hn)},De=function(Et){return Et&&Et!=="false"},Bt=function(Et,Jt,Ln){he(ie)<=4.2&&(Ln=!0);var Hn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ie||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Hn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var un=document.createElement("div");un.classList.add("appletParameters","notranslate");var Vn=Jt.width,yt=Jt.height;if(Jt.disableAutoScale=Jt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Jt.disableAutoScale,Jt.width!==void 0)if(he(ie)<=4.4)De(Jt.showToolBar)&&(Jt.height-=7),De(Jt.showAlgebraInput)&&(Jt.height-=37),Jt.width<605&&De(Jt.showToolBar)&&(Jt.width=605,Vn=605);else{var Kn=100;(De(Jt.showToolBar)||De(Jt.showMenuBar))&&(Jt.hasOwnProperty("customToolBar")&&(Jt.customToolbar=Jt.customToolBar),Kn=De(Jt.showMenuBar)?245:155),Vn=5?(Jt.appletOnLoad=function(ot){var kt=Et.querySelector(".ggb_preview");kt&&kt.parentNode.removeChild(kt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Kt),window.GGBT_wsf_view&&$(window).trigger("resize"),Re(ot)},Te||Kt.appendChild(pe)):un.appendChild(pe),Kt.appendChild(un),Te||Et.appendChild(Kt),setTimeout(function(){on.resize()},1)}else{var ce=document.createElement("div");ce.className="applet_scaler",ce.style.position="relative",ce.style.display="block",ce.appendChild(un),Et.appendChild(ce),Jt.appletOnLoad=function(ot){on.resize(),Re(ot)}}function ye(ot,kt){kt&&typeof kt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(ot,kt.appletOnLoad):renderGGBElement(ot),rn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",kt)}function qe(ot,kt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:ot,params:kt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(_n){ye(_n.article,_n.params)}),html5AppletsToProcess=null)},he(ie)<5&&(ot.className+=" geogebraweb")):ye(ot,kt)}if(Hn){scriptLoadStarted=!0;for(var gt=0;gt0?(er.remove(),Kt.attr("id","fullscreencontent").show(),jQuery(Re).append(Kt),window.dispatchEvent(new Event("resize"))):Bt(er,Jt,!1),window.GGBT_wsf_view.launchFullScreen(Re)}else Ce=Hn,Bt(Et,Jt,!1);if(!window.GGBT_wsf_view)for(yt=0;ytEt/4*3&&(er=Et/4*3),Re=er/5.8,Kn.setAttribute("src",E),Kn.setAttribute("width",er),Kn.setAttribute("height",Re);var Kt=(Et-er)/2,Te=(Jt-Re)/2;Kn.style.left=Kt+"px",Kn.style.top=Te+"px",un.appendChild(Kn)}}return un.appendChild(yt),un},dt=function(Et){return Et=Et.toLowerCase(),Et==="html5"||Et==="screenshot"?Et:"html5"},pt=["web","webSimple","web3d","tablet","tablet3d","phone"],st=function(Et,Jt){if(ie=Et,Jt){ft(ie,!0);return}var Ln=!be;if(Ln){var Hn=he(ie);!isNaN(Hn)&&Hn<4.4&&(Ln=!1)}var un,Vn;window.location.protocol.substr(0,4)==="http"?un=window.location.protocol:un="http:";var yt=ie.indexOf("//");yt>0?Vn=ie:yt===0?Vn=un+ie:Vn="https://www.geogebra.org/apps/5.2.814.0/";for(var Kn in pt)if(ie.slice(pt[Kn].length*-1)===pt[Kn]||ie.slice((pt[Kn].length+1)*-1)===pt[Kn]+"/"){ft(Vn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ln&&!Oe.is3D&&!Oe.AV&&!Oe.SV&&!Oe.CV&&!Oe.EV2&&!Oe.CP&&!Oe.PC&&!Oe.DA&&!Oe.FI&&!Oe.PV&&!De(we.showToolBar)&&!De(we.showMenuBar)&&!De(we.showAlgebraInput)&&!De(we.enableRightClick)&&(!we.appName||we.appName=="classic")?Vn+="webSimple/":Vn+="web3d/",ft(Vn,!1)},ft=function(Et,Jt){if(Et.requirejs){Ie=Et;return}Et.slice(-1)!=="/"&&(Et+="/"),Ie=Et,Jt===null&&(Jt=Et.indexOf("http")===-1),Fe=Jt,y="web.nocache.js",a=!1;var Ln=Ie.split("/");Ln.length>1&&(!Jt&&Ln[Ln.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):pt.indexOf(Ln[Ln.length-2])>=0&&(y=Ln[Ln.length-2]+".nocache.js")),Ln=Et.split("/"),ie=Ln[Ln.length-3],ie.substr(0,4)==="test"?ie=ie.substr(4,1)+"."+ie.substr(5,1):(ie.substr(0,3)==="war"||ie.substr(0,4)==="beta")&&(ie="5.0");var Hn=parseFloat(ie);Hn!==NaN&&Hn<5&&Et.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Hn+" is deprecated. Using version latest instead."),st("5.0",Jt))},rn=function(Et,Jt){window.console&&window.console.log&&(!Jt||typeof Jt.showLogging=="undefined"||Jt.showLogging&&Jt.showLogging!=="false")&&console.log(Et)};we.material_id!==void 0?Qe(fn):fn();function fn(){var Et=Ut;je!==null?Et=je:parseFloat(Et)<5&&(Et="5.0"),st(Et,!1),me!==null&&ft(me,Fe),Ge=!0}return on},GGBAppletUtils=function(){"use strict";function on(){return window.GGBT_wsf_edit!==void 0}function Ut(Ge,je){je!=1?(Ge.style.transformOrigin="0% 0% 0px",Ge.style.webkitTransformOrigin="0% 0% 0px",Ge.style.transform="scale("+je+","+je+")",Ge.style.webkitTransform="scale("+je+","+je+")",Ge.style.maxWidth="initial",Ge.querySelector(".ggb_preview")!==null&&(Ge.querySelector(".ggb_preview").style.maxWidth="initial"),Ge.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ge.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ge.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ge.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ge.style.transform="none",Ge.style.webkitTransform="none")}function we(Ge,je,me,Be,Le,de){var Ie=null;if(de!=null&&de!="")for(var Fe=Ge.parentNode;Fe!=null;)if((" "+Fe.className+" ").indexOf(" "+de+" ")>-1){Ie=Fe;break}else Fe=Fe.parentNode;var Ce=0,ie=0,y=0,a=0,ee=0,E=0,te=0;if(Ie)Ce=Ie.offsetWidth,ie=Math.max(Be?Ie.offsetWidth:0,Ie.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ce=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),y=Ce):(Ce=window.innerWidth,ie=window.innerHeight,y=window.innerWidth),Ge){var ne=Ge.getBoundingClientRect();ne.left>0&&ne.left<=Ce&&(Le===void 0||!Le)&&(document.dir==="rtl"?(ee=Ce-ne.width-ne.left,E=y<=480?10:30):(E=ne.left,ee=y<=480?10:30),a=E+ee)}if(Ge&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var oe=Ge.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,te=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,te=40)}}return Ge&&((me===void 0||!me)&&je>0&&je+a1&&(de=!0)),je&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(de=!0),!(Ge.hasOwnProperty("disableAutoScale")&&Ge.disableAutoScale))Le=Oe(Ge,je,de,me,Ge.scaleContainerClass);else return Be;return de&&(!Ge.hasOwnProperty("scale")||Be===1)?Le:Math.min(Be,Le)}function ze(Ge){var je=Math.min(window.innerWidth,document.documentElement.clientWidth),me=Math.min(window.innerHeight,document.documentElement.clientHeight),Be=Ge.getBoundingClientRect(),Le=(je-Be.width)/2,de=(me-Be.height)/2;de<0&&(de=0),Ge.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Le<40?Ge.style.left="40px":Ge.style.left=Le+"px",Ge.style.top=de+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(de<40?Ge.style.top="40px":Ge.style.top=de+"px",Ge.style.left=Le+"px")}function at(Ge,je){var me=Ge.querySelector(".appletParameters");if(me){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(je.id!==me.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ge)}if(me.parentElement&&/fullscreen/.test(me.parentElement.className))return;var Be=be(je,Ge);on()&&me.setAttribute("data-param-scale",Be);for(var Le=null,de=0;de=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(on){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(on){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(on){var Ut=c[on];return Ut==null?null:Ut},r=d,webModule.__errFn=e}function B(){function on(Ge){var je=Ge.lastIndexOf(rb);je==-1&&(je=Ge.length);var me=Ge.indexOf(sb);me==-1&&(me=Ge.length);var Be=Ge.lastIndexOf(tb,Math.min(me,je));return Be>=O?Ge.substring(O,Be+P):W}function Ut(Ge){if(!Ge.match(/^\w+:\/\//)){var je=o.createElement(ub);je.src=Ge+vb,Ge=on(je.src)}return Ge}function we(){var Ge=__gwt_getMetaProperty(wb);return Ge!=null?Ge:W}function Oe(){for(var Ge=o.getElementsByTagName(_),je=O;jeO?Ge[Ge.length-P].href:W}function ze(){var Ge=o.location;return Ge.href==Ge.protocol+zb+Ge.host+Ge.pathname+Ge.search+Ge.hash}var at=we();return at==W&&(at=Oe()),at==W&&(at=be()),at==W&&ze()&&(at=on(o.location.href)),at=Ut(at),at}function C(on){return on.match(/^\//)||on.match(/^[a-zA-Z]+:\/\//)?on:webModule.__moduleBase+on}function D(){var on=[],Ut=O,we=[],Oe=[];function be(Ge){var je=Oe[Ge](),me=we[Ge];if(je in me)return je;var Be=[];for(var Le in me)Be[me[Le]]=Le;throw r&&r(Ge,Be,je),null}if(__gwt_isKnownPropertyValue=function(Ge,je){return je in we[Ge]},webModule.__getPropMap=function(){var Ge={};for(var je in we)we.hasOwnProperty(je)&&(Ge[je]=be(je));return Ge},webModule.__computePropValue=be,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var ze;try{ze=Cb;var at=ze.indexOf(Db);at!=-1&&(Ut=parseInt(ze.substring(at+P),$),ze=ze.substring(O,at))}catch(Ge){}return webModule.__softPermutationId=Ut,C(ze+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})()},8396:function(on,Ut,we){"use strict";we.d(Ut,{Ax:function(){return at},Ds:function(){return Ge},KI:function(){return me},SI:function(){return ze},f1:function(){return be}});var Oe=we(85386);function be(Be){let Le=!0;if(Be.length>0){for(let de=0;de_e in he?Ie(he,_e,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):he[_e]=Pe,a=(he,_e)=>{for(var Pe in _e||(_e={}))Ce.call(_e,Pe)&&y(he,Pe,_e[Pe]);if(Fe)for(var Pe of Fe(_e))ie.call(_e,Pe)&&y(he,Pe,_e[Pe]);return he};const ee=(he={})=>{var _e,Pe,Qe,Ze;let Ve=(_e=he==null?void 0:he.emotion)==null?void 0:_e.map(ke=>a({value:ke==null?void 0:ke.rate},ke)),nt=(Pe=he==null?void 0:he.focus)==null?void 0:Pe.map(ke=>a({value:ke==null?void 0:ke.rate},ke)),De=(Qe=he==null?void 0:he.action)==null?void 0:Qe.map(ke=>a({value:ke==null?void 0:ke.rate},ke)),Bt=(Ze=he==null?void 0:he.intention)==null?void 0:Ze.map(ke=>a({value:ke==null?void 0:ke.rate},ke));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:Ve||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:nt||[]},{title:"\u884C\u4E3A\u5360\u6BD4\u60C5\u51B5",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:De||[]},{title:"\u610F\u56FE\u5360\u6BD4\u60C5\u51B5",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:Bt||[]}]},E=({className:he,dataSource:_e=[],col:Pe=4,right:Qe,bottom:Ze=23,precision:Ve=0,wrapWidth:nt=1200})=>{const De=(ke="",Ot,it="--")=>ke?(ke==null?void 0:ke.length)>Ot?(ke==null?void 0:ke.slice(0,Ot-1))+"...":ke:it,Bt=Math.floor((nt-(Pe-1)*Qe)/Pe);return Oe.createElement("div",{className:at()(be.list,he)},!!(_e!=null&&_e.length)&&(_e==null?void 0:_e.map((ke,Ot)=>{const{cover_pic:it,created_at:rt,emotion:wt,action:dt,intention:pt,focus:st}=ke;return Oe.createElement("div",{key:Ot,className:be.wrap,style:{width:Bt,marginRight:(1+Ot)%Pe===0?0:Qe+Ve,marginBottom:Ze}},Oe.createElement("div",{className:be.img},Oe.createElement("img",{src:`${de.Z.API_SERVER}${it}`}),Oe.createElement("div",{className:be.tips},Oe.createElement("div",null,Oe.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),Oe.createElement("span",null,rt))),Oe.createElement("div",{className:be.footer},Oe.createElement("ul",null,Oe.createElement("li",null,Oe.createElement("i",{className:"iconfont icon-biaoqing"}),Oe.createElement("span",null,"\u8868\u60C5\uFF1A",Oe.createElement(je.Z,{title:wt},Oe.createElement("span",{className:"c-grey-333"},De(wt,4))))),Oe.createElement("li",null,Oe.createElement("i",{className:"iconfont icon-hangwei"}),Oe.createElement("span",null,"\u884C\u4E3A\uFF1A",Oe.createElement(je.Z,{title:dt},Oe.createElement("span",{className:"c-grey-333"},De(dt,4)))))),Oe.createElement("ul",null,Oe.createElement("li",null,Oe.createElement("i",{className:"iconfont icon-yitu"}),Oe.createElement("span",null,"\u610F\u56FE\uFF1A",Oe.createElement(je.Z,{title:pt},Oe.createElement("span",{className:"c-grey-333"},De(pt,4))))),Oe.createElement("li",null,Oe.createElement("i",{className:"iconfont icon-zhuangtai"}),Oe.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",Oe.createElement(je.Z,{title:st},Oe.createElement("span",{className:"c-grey-333"},De(st,3))))))))})))},te=({className:he,style:_e,title:Pe,hideBar:Qe=!1,children:Ze,customText:Ve="",noDataText:nt="",emptyData:De=[],loading:Bt,actionAnalysis:ke})=>{var Ot,it;const rt=((Ot=De==null?void 0:De[0])==null?void 0:Ot.every(dt=>{var pt;return!((pt=dt==null?void 0:dt.data)!=null&&pt.length)}))&&!((it=De==null?void 0:De[1])!=null&&it.length)||!ke,wt=ke?nt:Ve;return Oe.createElement(me.Z,{loading:Bt,active:!0},rt&&Oe.createElement("div",{className:at()(be.noData,he),style:_e},!!Pe&&Oe.createElement("div",{className:be.title},!Qe&&Oe.createElement("b",null),Oe.createElement("span",null,Pe)),Oe.createElement("div",{className:be.itemWrap},Oe.createElement(Le.Z,{customText:wt}))),!rt&&Ze)};var oe=({className:he,style:_e,data:Pe=[],title:Qe,hideBar:Ze=!1,loading:Ve=!1})=>Oe.createElement("div",{className:at()(be.analysis,he),style:_e},!!Qe&&Oe.createElement("div",{className:be.title},!Ze&&Oe.createElement("b",null),Oe.createElement("span",null,Qe)),Oe.createElement(Be.Z,{spinning:Ve},Oe.createElement("div",{className:be.itemWrap},Pe==null?void 0:Pe.map((nt,De)=>Oe.createElement("div",{className:be.item,key:De},Oe.createElement(Ge.Z,{option:{tooltip:{trigger:"item",formatter:"{a}
{b}: {c}%"},title:{left:"center",bottom:15,text:nt==null?void 0:nt.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(Bt){for(let ke in nt==null?void 0:nt.data)if(Bt==(nt==null?void 0:nt.data[ke].name))return Bt+" "+(nt==null?void 0:nt.data[ke].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:nt==null?void 0:nt.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:nt==null?void 0:nt.data}]},style:{height:145}}))))))},40783:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Ie}});var Oe=we(59301),be={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},ze=we(92310),at=we.n(ze),Ge=we(71418),je=we(2859),me=we(43597),Be=we(94601),Le=(Fe,Ce,ie)=>new Promise((y,a)=>{var ee=ne=>{try{te(ie.next(ne))}catch(oe){a(oe)}},E=ne=>{try{te(ie.throw(ne))}catch(oe){a(oe)}},te=ne=>ne.done?y(ne.value):Promise.resolve(ne.value).then(ee,E);te((ie=ie.apply(Fe,Ce)).next())}),Ie=({data:Fe,className:Ce,fullWidth:ie,style:y={},onClose:a,onOk:ee,showFullTools:E,noAssociationId:te})=>{const ne=(0,Oe.useRef)(null),oe=(0,Oe.useRef)(null),he=(0,Oe.useRef)(null),_e=(0,Oe.useRef)(null),[Pe,Qe]=(0,Oe.useState)(!1),[Ze,Ve]=(0,Oe.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,Oe.useEffect)(()=>{he.current||(he.current=document.createElement("style"),document.head.appendChild(he.current)),Fe!=null&&Fe.visible?(document.body.setAttribute("data-custom","y-hidden"),he.current.innerHTML=" html { overflow-y: hidden; }",Fe!=null&&Fe.src&&nt()):(document.body.removeAttribute("data-custom"),he.current&&(document.head.removeChild(he.current),he.current=null))},[Fe==null?void 0:Fe.visible]);const nt=()=>Le(void 0,null,function*(){Qe(!0),Ve("\u6B63\u5728\u52A0\u8F7D\u4E2D");const it=yield(0,Be.ZJ)(Fe==null?void 0:Fe.src);ne.current.src="",ne.current.src=it,ne.current.onload=function(){Ot()},Qe(!1),Ve("")}),De=()=>{document.body.removeAttribute("data-custom"),he.current.innerHTML=" ",a()},Bt=it=>Le(void 0,null,function*(){Qe(!0),Ve("\u6B63\u5728\u4FDD\u5B58\u4E2D");const rt=yield(0,me.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Fe.title,file:it.dataUrl}});rt!=null&&rt.id&&!te?(yield(0,me.ZP)(`/api/attachments/${Fe.id}/add_subitem.json`,{method:"post",body:{subitem_id:rt==null?void 0:rt.id,settings:JSON.stringify(it.state)}})).status===0&&ee():rt!=null&&rt.id&&ee(rt),document.body.removeAttribute("data-custom"),he.current.innerHTML=" ",Qe(!1),Ve("")}),ke=()=>{const it=document.querySelector('a[href="https://markerjs.com/"]');it&&it.parentNode&&(it.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(wt=>{const dt=document.querySelector(wt.name);dt&&dt.setAttribute("title",wt.title)})},Ot=()=>{oe.current=new je.hP(ne.current),oe.current.targetRoot=_e.current,oe.current.addEventListener("render",Bt),oe.current.addEventListener("beforeclose",De),E&&(oe.current.availableMarkerTypes=oe.current.ALL_MARKER_TYPES,oe.current.uiStyleSettings.redoButtonVisible=!0,oe.current.uiStyleSettings.notesButtonVisible=!0,oe.current.uiStyleSettings.zoomButtonVisible=!0,oe.current.uiStyleSettings.zoomOutButtonVisible=!0,oe.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=oe.current.uiStyleSettings,oe.current.show(),Fe!=null&&Fe.snapshotData&&oe.current.restoreState(Fe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),ke()},300)};return Oe.createElement(Oe.Fragment,null,(Fe==null?void 0:Fe.visible)&&Oe.createElement(Ge.Z,{spinning:Pe,tip:Ze,style:{position:"absolute"}},Oe.createElement("div",{ref:_e,className:at()(be.imageDimensions,Ce,ie?be.fullWidth:""),style:y},Oe.createElement("img",{className:be.img,ref:ne}))))}},57765:function(on,Ut,we){"use strict";var Oe=we(59301),be=we(95237),ze=we(43604),at=we(99313),Ge=we(3113),je=we(17410),me=we(32313),Be=we(48136),Le=we(59301);const de=(0,Oe.forwardRef)(({callback:Ie,showSaveButton:Fe,value:Ce=""},ie)=>{const y=(0,Oe.useRef)(),a=[{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 "}]}]}],ee=[{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}`}]}]}],E=oe=>{y.current.setValue(y.current.getValue()+" "+oe.value+" ")},te=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Le.createElement(be.Z,{className:me.Z.lists,gutter:[10,10]},a.map((oe,he)=>Le.createElement(ze.Z,{flex:"110px",className:me.Z.item},Le.createElement("div",null,Le.createElement(je.Z,{value:`$$${oe.value}$$`}),oe.name),Le.createElement("div",{className:me.Z.children},oe.children.map((_e,Pe)=>Le.createElement("div",{key:Pe},Le.createElement("h1",null,_e.name),Le.createElement(be.Z,{gutter:[10,10]},_e.data.map((Qe,Ze)=>Le.createElement(ze.Z,{key:Ze,onClick:()=>E(Qe),className:me.Z.diamond},Le.createElement(je.Z,{value:"`$$"+Qe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Le.createElement(be.Z,{className:me.Z.lists,gutter:[10,10]},ee.map((oe,he)=>Le.createElement(ze.Z,{flex:"110px",className:me.Z.item},Le.createElement("div",null,Le.createElement(je.Z,{value:"`$$"+oe.value+"$$`"}),oe.name),Le.createElement("div",{className:me.Z.children},oe.children.map((_e,Pe)=>Le.createElement("div",{key:Pe},_e.name&&Le.createElement("h1",null,_e.name),Le.createElement(be.Z,{gutter:[10,10]},_e.data.map((Qe,Ze)=>Le.createElement(ze.Z,{key:Ze,onClick:()=>E(Qe),className:me.Z.diamond},Le.createElement(je.Z,{value:"`$$"+Qe.value+"$$`"}))))))))))}],ne=()=>{var oe=document.createElement("div");oe.innerHTML=y.current.getValue();var he=oe.innerText;return Ie&&Ie(he),he};return(0,Oe.useImperativeHandle)(ie,()=>({getData:ne})),Le.createElement("div",{className:me.Z.mathWrap},Le.createElement(at.default,{defaultActiveKey:"1",items:te}),Le.createElement("math-field",{locale:"zh_cn",className:me.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},Ce||""),Fe&&Le.createElement("div",{className:me.Z.button},Le.createElement(Ge.ZP,{size:"large",onClick:ne,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Ut.Z=de},4646:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Ge}});var Oe=we(59301),be=we(92123),ze={goBack:"goBack___HgvTW"};const at=({globalSetting:je,dispatch:me,url:Be=null})=>{const Le=()=>{Be?be.history.push(`${Be}`):localStorage.getItem("sourceUrl")?(window.location.href=localStorage.getItem("sourceUrl"),localStorage.removeItem("sourceUrl")):be.history.back()};return Oe.createElement("div",{className:ze.goBack,onClick:Le},Oe.createElement("img",{src:we(12192),width:20,height:17,style:{marginRight:4}}),"\u8FD4\u56DE")};var Ge=(0,be.connect)(({globalSetting:je,user:me})=>({globalSetting:je,user:me}))(at)},4034:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return ke}});var Oe=we(59301),be=we(92123),ze=we(43418),at=we(78241),Ge=we(8591),je=we(71418),me=we(17574),Be=we(95237),Le=we(43604),de=we(6848),Ie=we(3113),Fe=we(92832),Ce={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},ie=we(18581),y=we(86914),a=we(62556),ee=we(27346),E=Object.defineProperty,te=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Pe=(Ot,it,rt)=>it in Ot?E(Ot,it,{enumerable:!0,configurable:!0,writable:!0,value:rt}):Ot[it]=rt,Qe=(Ot,it)=>{for(var rt in it||(it={}))he.call(it,rt)&&Pe(Ot,rt,it[rt]);if(oe)for(var rt of oe(it))_e.call(it,rt)&&Pe(Ot,rt,it[rt]);return Ot},Ze=(Ot,it)=>te(Ot,ne(it)),Ve=(Ot,it)=>{var rt={};for(var wt in Ot)he.call(Ot,wt)&&it.indexOf(wt)<0&&(rt[wt]=Ot[wt]);if(Ot!=null&&oe)for(var wt of oe(Ot))it.indexOf(wt)<0&&_e.call(Ot,wt)&&(rt[wt]=Ot[wt]);return rt},nt=(Ot,it,rt)=>new Promise((wt,dt)=>{var pt=rn=>{try{ft(rt.next(rn))}catch(fn){dt(fn)}},st=rn=>{try{ft(rt.throw(rn))}catch(fn){dt(fn)}},ft=rn=>rn.done?wt(rn.value):Promise.resolve(rn.value).then(pt,st);ft((rt=rt.apply(Ot,it)).next())});const De=(Ot=[])=>Ot==null?void 0:Ot.map(it=>Ze(Qe({},it),{title:(it==null?void 0:it.value)||"",key:it==null?void 0:it.id,isLeaf:!0})),Bt=Ot=>{var it=Ot,{user:rt,children:wt,isShowComponent:dt=!0,ModalProps:pt={},onDataSelect:st}=it,ft=Ve(it,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[rn,fn]=ze.default.useModal(),[Et]=at.default.useForm(),[Jt,Ln]=(0,Oe.useState)([]),[Hn,un]=(0,Oe.useState)(!1),[Vn,yt]=(0,Oe.useState)(!1),[,Kn,er,Re]=(0,ie.U)(y.qE,{page:1,limit:9999}),[,,Kt]=(0,ie.U)(y.V8,{}),[,,Te]=(0,ie.U)(y.B$,{}),[,,pe]=(0,ie.U)(y.DH,{}),[,,ce]=(0,ie.U)(y.bJ,{}),ye=()=>{un(!1),Et.resetFields(),yt(!1)},qe=Me=>nt(void 0,null,function*(){const{node:Xe,dragNode:Pt,event:ct}=Me,ot=Me.node.pos.split("-"),kt=Me.dropPosition-Number(ot[ot.length-1]);if(kt==0){Ge.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(kt==1&&(Pt==null?void 0:Pt.item_index)==(Xe==null?void 0:Xe.item_index)+1){Ge.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const _n=yield ce({id:Pt==null?void 0:Pt.key,position:kt==-1?1:(Pt==null?void 0:Pt.item_index)>(Xe==null?void 0:Xe.item_index)?(Xe==null?void 0:Xe.item_index)+1:Xe==null?void 0:Xe.item_index});(_n==null?void 0:_n.status)===0&&(Ge.ZP.success("\u79FB\u52A8\u6210\u529F"),er({},!0))}),gt=Me=>nt(void 0,null,function*(){let Xe={};Vn?Xe=yield Te(Qe({},Me)):Xe=yield pe(Qe({},Me)),(Xe==null?void 0:Xe.status)==0&&(Ge.ZP.success((Xe==null?void 0:Xe.message)||(Vn?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),er({},!0),ye())});return(0,Oe.useEffect)(()=>{pt!=null&&pt.open&&er({},!0)},[pt==null?void 0:pt.open]),(0,Oe.useEffect)(()=>{var Me;Ln(De((Me=Re==null?void 0:Re.data)==null?void 0:Me.list))},[Re]),dt?Oe.createElement(Oe.Fragment,null,fn,wt,Oe.createElement(ze.default,Ze(Qe({},Qe({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},pt)),{className:`${ee.Z.threeModalSty}`}),Oe.createElement(je.Z,{spinning:Kn},(Jt==null?void 0:Jt.length)>0?Oe.createElement(Oe.Fragment,null,Oe.createElement(me.default.DirectoryTree,{height:500,className:Ce.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:st,treeData:Jt,onDrop:qe,titleRender:Me=>Oe.createElement(Oe.Fragment,null,Oe.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},Me==null?void 0:Me.title),Oe.createElement("div",{className:`${Ce.EditDom}`},Oe.createElement(Be.Z,{wrap:!1,align:"middle",gutter:16},Oe.createElement(Le.Z,null,Oe.createElement(de.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},Oe.createElement("i",{className:`iconfont icon-tuodong1 font12 ${Ce.currentPrimary}`}))),Oe.createElement(Le.Z,null,Oe.createElement(de.Z,{title:"\u7F16\u8F91"},Oe.createElement("i",{className:`iconfont icon-bianji11 font12 ${Ce.currentPrimary}`,onClick:Xe=>{Xe.stopPropagation(),Et.setFieldsValue(Qe({},Me)),un(!0)}}))),Oe.createElement(Le.Z,null,Oe.createElement(de.Z,{title:"\u5220\u9664"},Oe.createElement("i",{className:`iconfont icon-shanchu14 font12 ${Ce.currentDelete}`,onClick:Xe=>{Xe.stopPropagation(),rn.confirm({className:`${ee.Z.threeModalSty}`,icon:null,title:"\u5220\u9664\u5E38\u7528\u8BC4\u8BED",centered:!0,content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u5E38\u7528\u8BC4\u8BED\u5417\uFF1F",onOk:()=>nt(void 0,null,function*(){const Pt=yield Kt({id:Me==null?void 0:Me.key});(Pt==null?void 0:Pt.status)==0&&(Ge.ZP.success((Pt==null?void 0:Pt.message)||"\u5220\u9664\u6210\u529F"),er({},!0))})})}}))))))}),Oe.createElement(Ie.ZP,{className:"ml20 mt20",icon:Oe.createElement("i",{className:"iconfont icon-xiaojiahao"}),onClick:()=>{yt(!0),un(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):Oe.createElement(a.Z,{styles:{margin:"30px auto"},customText:Oe.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",Oe.createElement("a",{onClick:()=>{yt(!0),un(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),Oe.createElement(ze.default,{title:Vn?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:Hn,className:`${ee.Z.threeModalSty}`,okText:Vn?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{ye()},onOk:()=>{Et.submit()}},Oe.createElement(at.default,{form:Et,onFinish:gt},Vn&&Oe.createElement("span",{className:"font14 mt20",style:{color:"#fff"}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED\uFF0C\u53EF\u4EE5\u5E2E\u52A9\u4F60\u63D0\u9AD8\u8BC4\u9605\u4F5C\u4E1A\u7684\u6548\u7387"),Oe.createElement(at.default.Item,{hidden:!0,name:"id"}),Oe.createElement(at.default.Item,{className:"mt10",name:"value"},Oe.createElement(Fe.default.TextArea,{placeholder:"\u8F93\u5165\u5E38\u7528\u8BC4\u8BED\u3002\u4F8B\u5982\uFF1A\u4F60\u7684\u7F16\u7A0B\u4F5C\u4E1A\u6574\u4F53\u8868\u73B0\u826F\u597D\uFF0C\u4F46\u4ECD\u6709\u4E00\u4E9B\u5C0F\u7684\u6539\u8FDB\u7A7A\u95F4\u3002",autoSize:{minRows:8,maxRows:9},maxLength:100,showCount:!0}))))):null};var ke=(0,be.connect)(({loading:Ot,user:it})=>({user:it,loading:Ot.effects}))(Bt)},57560:function(on,Ut,we){"use strict";we.d(Ut,{h:function(){return oe}});var Oe=we(59301),be=we(57809),ze=we(78241),at=we(3113),Ge=we(89780),je=we.n(Ge),me=we(78318),Be=we(44084),Le=Object.defineProperty,de=Object.defineProperties,Ie=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,y=(he,_e,Pe)=>_e in he?Le(he,_e,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):he[_e]=Pe,a=(he,_e)=>{for(var Pe in _e||(_e={}))Ce.call(_e,Pe)&&y(he,Pe,_e[Pe]);if(Fe)for(var Pe of Fe(_e))ie.call(_e,Pe)&&y(he,Pe,_e[Pe]);return he},ee=(he,_e)=>de(he,Ie(_e));const E=be.default.Option,te={labelCol:{span:4},wrapperCol:{span:20}},ne={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"]};Ut.Z=({callback:he,onCancel:_e})=>{const[Pe,Qe]=(0,Oe.useState)("python");function Ze(nt){Qe(ne[nt][1])}function Ve(nt){he(nt)}return Oe.createElement(ze.default,ee(a({},te),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ve,style:{width:500}}),Oe.createElement(ze.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},Oe.createElement(be.default,{getPopupContainer:nt=>nt.parentNode,onChange:Ze},Object.keys(ne).map(nt=>Oe.createElement(E,{key:nt,value:nt},ne[nt][0])))),Oe.createElement(ze.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},Oe.createElement(oe,{mode:Pe})),Oe.createElement("div",{className:"flex-container flex-end"},Oe.createElement(at.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Oe.createElement(at.ZP,{type:"ghost",onClick:_e},"\u53D6\u6D88")))};function oe({value:he,onChange:_e,mode:Pe,options:Qe={}}){const Ze=(0,Oe.useRef)(),[Ve,nt]=(0,Oe.useState)();return(0,Oe.useEffect)(()=>{if(Ve){let De=function(Bt){const ke=Bt.getValue();_e&&_e(ke)};return Ve.on("change",De),()=>{Ve.off("change",De)}}},[Ve,_e]),(0,Oe.useEffect)(()=>{Ve&&Ve.setOption("mode",Pe)},[Ve,Pe]),(0,Oe.useEffect)(()=>{Ve&&(he!==Ve.getValue()||he==="")&&setTimeout(()=>{Ve.setValue(he||"")},300)},[Ve,he]),(0,Oe.useEffect)(()=>{if(Ze.current&&!Ve){const De=je().fromTextArea(Ze.current,a({mode:Pe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Qe));nt(De)}},[Ze.current,Ve]),Oe.createElement("div",{className:"my-codemirror-container"},Oe.createElement("textarea",{ref:Ze}))}},55659:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Ji}});var Oe=we(59301),be=we(89780),ze=we.n(be),at=we(76374),Ge=we(78318),je=we(6313),me=we(25717),Be=we(99498),Le=we(25419),de=we(67549),Ie=we(17410),Fe=({value:En="",className:Dn,showTextOnly:vn,showLines:kr,style:Ea={}})=>{const Zr=(0,Oe.useMemo)(()=>"",[En]);return Oe.createElement(Oe.Fragment,null,Oe.createElement("div",{dangerouslySetInnerHTML:{__html:Zr}}))},Ce=we(59301),ie=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ne=(En,Dn,vn)=>Dn in En?ie(En,Dn,{enumerable:!0,configurable:!0,writable:!0,value:vn}):En[Dn]=vn,oe=(En,Dn)=>{for(var vn in Dn||(Dn={}))E.call(Dn,vn)&&ne(En,vn,Dn[vn]);if(ee)for(var vn of ee(Dn))te.call(Dn,vn)&&ne(En,vn,Dn[vn]);return En},he=(En,Dn)=>y(En,a(Dn));let _e=[{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 Pe({onActionCallback:En,title:Dn,icon:vn,actionName:kr,className:Ea="",children:Zr}){function si(){En(kr)}return Ce.createElement("a",{title:Dn,className:Ea,onClick:si},Ce.createElement("i",{className:`${vn}`}),Zr)}var Qe=({watch:En,showNullButton:Dn,showNullProgramButton:vn,onActionCallback:kr,fullScreen:Ea,insertTemp:Zr,hidetoolBar:si,extraUse:vo})=>{const Ko=[..._e,{title:`${En?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${En?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ce.createElement("ul",{className:"markdown-toolbar-container"},!si&&Ko.map((_o,yA)=>Ce.createElement("li",{key:yA},_o.actionName?Ce.createElement(Pe,he(oe({},_o),{onActionCallback:kr})):Ce.createElement("span",{className:"v-line"}))),Dn?Ce.createElement("li",null,Ce.createElement(Pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:kr},Ce.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,vn?Ce.createElement(Ce.Fragment,null,Ce.createElement("li",null,Ce.createElement(Pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:kr},Ce.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ce.createElement("li",null,Ce.createElement(Pe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:kr},Ce.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Zr&&Ce.createElement("li",null,Ce.createElement(Pe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Zr}`,onActionCallback:kr},Ce.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),vo&&Ce.createElement("li",null,vo),Ce.createElement("li",{className:"btn-full-screen"},Ce.createElement(Pe,{icon:`${Ea?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Ea?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:kr})))},Ze=we(74254),Ve=we(78241),nt=we(92832),De=we(3113),Bt=Object.defineProperty,ke=Object.defineProperties,Ot=Object.getOwnPropertyDescriptors,it=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable,dt=(En,Dn,vn)=>Dn in En?Bt(En,Dn,{enumerable:!0,configurable:!0,writable:!0,value:vn}):En[Dn]=vn,pt=(En,Dn)=>{for(var vn in Dn||(Dn={}))rt.call(Dn,vn)&&dt(En,vn,Dn[vn]);if(it)for(var vn of it(Dn))wt.call(Dn,vn)&&dt(En,vn,Dn[vn]);return En},st=(En,Dn)=>ke(En,Ot(Dn));const ft={labelCol:{span:4},wrapperCol:{span:20}};var rn=({callback:En,onCancel:Dn})=>{function vn(kr){En(kr)}return Oe.createElement(Ve.default,st(pt({},ft),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:vn,style:{width:500}}),Oe.createElement(Ve.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},Oe.createElement(nt.default,null)),Oe.createElement(Ve.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},Oe.createElement(nt.default,null)),Oe.createElement("div",{className:"flex-container flex-end"},Oe.createElement(De.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Oe.createElement(De.ZP,{type:"ghost",onClick:Dn},"\u53D6\u6D88")))},fn=we(57560),Et=we(42307),Jt=we(43418),Ln=we(95237),Hn=we(40783),un=we(59301),Vn=({callback:En,onCancel:Dn})=>{const vn=document.createElement("canvas"),kr=vn.getContext("2d");vn.width=1e3,vn.height=800,kr.fillStyle="#ffffff",kr.fillRect(0,0,vn.width,vn.height);const Ea=vn.toDataURL("image/png");return un.createElement(Jt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},un.createElement(Ln.Z,{style:{height:"100vh"}},un.createElement(Hn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Ea,visible:!0,title:String(Date.now())},onOk:Zr=>{En({src:Zr.url})},onClose:Dn})))},yt=we(12378);function Kn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Kn,go.CommandHandler),Kn.prototype.canAlignSelection=function(){var En=this.diagram;return!(En===null||En.isReadOnly||En.isModelReadOnly||En.selection.count<2)},Kn.prototype.alignLeft=function(){var En=this.diagram;En.startTransaction("aligning left");var Dn=1/0;En.selection.each(function(vn){vn instanceof go.Link||(Dn=Math.min(vn.position.x,Dn))}),En.selection.each(function(vn){vn instanceof go.Link||vn.move(new go.Point(Dn,vn.position.y))}),En.commitTransaction("aligning left")},Kn.prototype.alignRight=function(){var En=this.diagram;En.startTransaction("aligning right");var Dn=-1/0;En.selection.each(function(vn){if(!(vn instanceof go.Link)){var kr=vn.actualBounds.x+vn.actualBounds.width;Dn=Math.max(kr,Dn)}}),En.selection.each(function(vn){vn instanceof go.Link||vn.move(new go.Point(Dn-vn.actualBounds.width,vn.position.y))}),En.commitTransaction("aligning right")},Kn.prototype.alignTop=function(){var En=this.diagram;En.startTransaction("alignTop");var Dn=1/0;En.selection.each(function(vn){vn instanceof go.Link||(Dn=Math.min(vn.position.y,Dn))}),En.selection.each(function(vn){vn instanceof go.Link||vn.move(new go.Point(vn.position.x,Dn))}),En.commitTransaction("alignTop")},Kn.prototype.alignBottom=function(){var En=this.diagram;En.startTransaction("aligning bottom");var Dn=-1/0;En.selection.each(function(vn){if(!(vn instanceof go.Link)){var kr=vn.actualBounds.y+vn.actualBounds.height;Dn=Math.max(kr,Dn)}}),En.selection.each(function(vn){vn instanceof go.Link||vn.move(new go.Point(vn.actualBounds.x,Dn-vn.actualBounds.height))}),En.commitTransaction("aligning bottom")},Kn.prototype.alignCenterX=function(){var En=this.diagram,Dn=En.selection.first();if(Dn){En.startTransaction("aligning Center X");var vn=Dn.actualBounds.x+Dn.actualBounds.width/2;En.selection.each(function(kr){kr instanceof go.Link||kr.move(new go.Point(vn-kr.actualBounds.width/2,kr.actualBounds.y))}),En.commitTransaction("aligning Center X")}},Kn.prototype.alignCenterY=function(){var En=this.diagram,Dn=En.selection.first();if(Dn){En.startTransaction("aligning Center Y");var vn=Dn.actualBounds.y+Dn.actualBounds.height/2;En.selection.each(function(kr){kr instanceof go.Link||kr.move(new go.Point(kr.actualBounds.x,vn-kr.actualBounds.height/2))}),En.commitTransaction("aligning Center Y")}},Kn.prototype.alignColumn=function(En){var Dn=this.diagram;Dn.startTransaction("align Column"),En===void 0&&(En=0),En=parseFloat(En);var vn=new Array;Dn.selection.each(function(vo){vo instanceof go.Link||vn.push(vo)});for(var kr=0;kr0){for(var vo=Zr.elt(si-1);vo!==null&&vo.isTreeExpanded&&!vo.isTreeLeaf;){var Ko=this._sortTreeChildrenByY(vo);vo=Ko.last()}vo!==null&&En.select(vo)}else En.select(Ea)}}else if(vn.key==="Down")if(Dn.isTreeExpanded&&!Dn.isTreeLeaf){var kr=this._sortTreeChildrenByY(Dn).first();kr!==null&&En.select(kr)}else for(;Dn!==null;){var Ea=Dn.findTreeParentNode();if(Ea===null)break;var Zr=this._sortTreeChildrenByY(Ea),si=Zr.indexOf(Dn);if(siZr.y?1:Ea.xZr.x?1:0}),Dn},Kn.prototype.copyToClipboard=function(En){go.CommandHandler.prototype.copyToClipboard.call(this,En),this._lastPasteOffset.set(this.pasteOffset)},Kn.prototype.pasteFromClipboard=function(){var En=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(En,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),En},Object.defineProperty(Kn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(En){if(En!=="move"&&En!=="select"&&En!=="scroll"&&En!=="tree"&&En!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+En);this._arrowKeyBehavior=En}}),Object.defineProperty(Kn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(En){if(!(En instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+En);this._pasteOffset.set(En)}});var er=Kn,Re=we(6404),Kt=we(43604),Te=we(43597),pe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ce=we(59301),ye=(En,Dn,vn)=>new Promise((kr,Ea)=>{var Zr=Ko=>{try{vo(vn.next(Ko))}catch(_o){Ea(_o)}},si=Ko=>{try{vo(vn.throw(Ko))}catch(_o){Ea(_o)}},vo=Ko=>Ko.done?kr(Ko.value):Promise.resolve(Ko.value).then(Zr,si);vo((vn=vn.apply(En,Dn)).next())});function qe({onCancel:En,callback:Dn}){let vn=(0,Oe.useRef)(),kr=(0,Oe.useRef)(),Ea=(0,Oe.useRef)(),Zr=(0,Oe.useRef)(!1);const si=(0,Oe.useRef)(!1),[vo,Ko]=(0,Oe.useState)(0);function _o(){const gr=yt.bx.make,No={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"};vn.current=new yt.S0(kr.current,{padding:20,grid:gr(yt.s_,"Grid",gr(yt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),gr(yt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Rr=>{var Na=Rr.diagram.commandHandler.addTopLevelParts(Rr.diagram.selection,!0);Na||Rr.diagram.currentTool.doCancel()},commandHandler:gr(er),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Rr=>{var Na=Rr.subject;Na.location=Na.location.copy().snapToGridPoint(Rr.diagram.grid.gridOrigin,Rr.diagram.grid.gridCellSize),setTimeout(()=>{Rr.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Rr=>{var Na=Rr.subject;setTimeout(()=>{Rr.diagram.commandHandler.editTextBlock()})},LinkRelinked:Rr=>{var Na=Rr.parameter.part;Na.invalidateConnectedLinks();var Po=Rr.subject;Rr.diagram.toolManager.linkingTool.isForwards?Po.toNode.invalidateConnectedLinks():Po.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),vn.current.nodeTemplate=gr(yt.NB,"Auto",{locationSpot:yt.z6.Center,locationObjectName:"SHAPE",desiredSize:new yt.$u(120,60),minSize:new yt.$u(40,40),resizable:!0,resizeCellSize:new yt.$u(10,10),rotatable:!0},new yt.KX("location","loc",yt.E9.parse).makeTwoWay(yt.E9.stringify),new yt.KX("desiredSize","size",yt.$u.parse).makeTwoWay(yt.$u.stringify),gr(yt.bn,{name:"SHAPE",fill:No.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:yt.z6.AllSides,toSpot:yt.z6.AllSides},new yt.KX("figure"),new yt.KX("fill"),new yt.KX("stroke","borderColor"),new yt.KX("strokeWidth","thickness"),new yt.KX("strokeDashArray","dash")),gr(yt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),gr(yt.al,{margin:1,textAlign:"center",overflow:yt.al.OverflowEllipsis,editable:!0},new yt.KX("text").makeTwoWay(),new yt.KX("stroke","color"))),vn.current.nodeTemplate.toolTip=gr("ToolTip",gr(yt.s_,"Vertical",{maxSize:new yt.$u(200,NaN)},gr(yt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new yt.KX("text")),gr(yt.al,{font:"10pt sans-serif",textAlign:"center"},new yt.KX("text","details"))));function Di(Rr,Na){var Po=(Fa,Ga)=>{Fa.handled=!0,Fa.diagram.model.commit(vi=>{var va=Ga.part.adornedPart,ts=new yt.E9().setRectSpot(va.actualBounds,Rr);ts.subtract(va.location),ts.scale(2,2),ts.x+=Math.sign(ts.x)*130,ts.y+=Math.sign(ts.y)*130,ts.add(va.location),ts.snapToGridPoint(Fa.diagram.grid.gridOrigin,Fa.diagram.grid.gridCellSize);var ns=vi.copyNodeData(va.data);vi.setGroupKeyForNodeData(ns,vi.getGroupKeyForNodeData(va.data)),vi.addNodeData(ns);var yu={from:va.key,to:vi.getKeyForNodeData(ns)};vi.addLinkData(yu);var Os=Fa.diagram.findNodeForData(ns);Os.location=ts,Fa.diagram.select(Os),setTimeout(()=>{Fa.diagram.commandHandler.editTextBlock()},20)})};return gr(yt.bn,{figure:Na,alignment:Rr,alignmentFocus:Rr.opposite(),width:Rr.equals(yt.z6.Top)||Rr.equals(yt.z6.Bottom)?25:18,height:Rr.equals(yt.z6.Top)||Rr.equals(yt.z6.Bottom)?18:25,fill:"orange",stroke:No.white,strokeWidth:4,mouseEnter:(Fa,Ga)=>Ga.fill="dodgerblue",mouseLeave:(Fa,Ga)=>Ga.fill="orange",isActionable:!0,click:Po,contextClick:Po})}function fi(Rr){return gr(yt.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:(Na,Po)=>Po.fill="dodgerblue",mouseLeave:(Na,Po)=>Po.fill="orange",click:(Na,Po)=>{Na.diagram.commandHandler.showContextMenu(Po.part.adornedPart)}},Rr||{})}vn.current.nodeTemplate.selectionAdornmentTemplate=gr(yt.uz,"Spot",gr(yt.Vm,{padding:10}),Di(yt.z6.Top,"TriangleUp"),Di(yt.z6.Left,"TriangleLeft"),Di(yt.z6.Right,"TriangleRight"),Di(yt.z6.Bottom,"TriangleDown"),fi({alignment:new yt.z6(.75,0)}));function Si(Rr,Na){return(Po,Fa)=>{Po.handled=!0,Po.diagram.model.commit(Ga=>{Ga.set(Fa.part.adornedPart.data,Rr,Na)})}}function Do(Rr,Na){return Na||(Na="color"),gr(yt.bn,{width:16,height:16,stroke:"lightgray",fill:Rr,margin:1,background:"transparent",mouseEnter:(Po,Fa)=>Fa.stroke="dodgerblue",mouseLeave:(Po,Fa)=>Fa.stroke="lightgray",click:Si(Na,Rr),contextClick:Si(Na,Rr)})}function hA(){return[gr("ContextMenuButton",gr(yt.s_,"Horizontal",Do(No.white,"fill"),Do(No.beige,"fill"),Do(No.extralightblue,"fill"),Do(No.extralightred,"fill"))),gr("ContextMenuButton",gr(yt.s_,"Horizontal",Do(No.lightgray,"fill"),Do(No.lightgreen,"fill"),Do(No.lightblue,"fill"),Do(No.lightred,"fill")))]}function MA(){return[gr("ContextMenuButton",gr(yt.s_,"Horizontal",Do(No.black),Do(No.green),Do(No.blue),Do(No.red))),gr("ContextMenuButton",gr(yt.s_,"Horizontal",Do(No.white),Do(No.magenta),Do(No.purple),Do(No.orange)))]}function GA(Rr,Na){return Na||(Na="thickness"),gr(yt.bn,"LineH",{width:16,height:16,strokeWidth:Rr,margin:1,background:"transparent",mouseEnter:(Po,Fa)=>Fa.background="dodgerblue",mouseLeave:(Po,Fa)=>Fa.background="transparent",click:Si(Na,Rr),contextClick:Si(Na,Rr)})}function Ds(Rr,Na){return Na||(Na="dash"),gr(yt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Rr,margin:1,background:"transparent",mouseEnter:(Po,Fa)=>Fa.background="dodgerblue",mouseLeave:(Po,Fa)=>Fa.background="transparent",click:Si(Na,Rr),contextClick:Si(Na,Rr)})}function $A(){return[gr("ContextMenuButton",gr(yt.s_,"Horizontal",GA(1),GA(2),GA(3),GA(4))),gr("ContextMenuButton",gr(yt.s_,"Horizontal",Ds(null),Ds([2,4]),Ds([4,4])))]}function yi(Rr,Na){return Na||(Na="figure"),gr(yt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Rr,margin:1,background:"transparent",mouseEnter:(Po,Fa)=>Fa.fill="dodgerblue",mouseLeave:(Po,Fa)=>Fa.fill="lightgray",click:Si(Na,Rr),contextClick:Si(Na,Rr)})}vn.current.nodeTemplate.contextMenu=gr("ContextMenu",gr("ContextMenuButton",gr(yt.s_,"Horizontal",yi("Rectangle"),yi("RoundedRectangle"),yi("Ellipse"),yi("Diamond"))),gr("ContextMenuButton",gr(yt.s_,"Horizontal",yi("Parallelogram2"),yi("ManualOperation"),yi("Procedure"),yi("Cylinder1"))),gr("ContextMenuButton",gr(yt.s_,"Horizontal",yi("Terminator"),yi("CreateRequest"),yi("Document"),yi("TriangleDown"))),hA(),MA(),$A()),vn.current.groupTemplate=gr(yt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:yt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Rr,Na)=>{var Po=Na.addMembers(Na.diagram.selection,!0);Po||Na.diagram.currentTool.doCancel()},avoidable:!1},new yt.KX("location","loc",yt.E9.parse).makeTwoWay(yt.E9.stringify),gr(yt.s_,"Auto",{name:"BODY"},gr(yt.bn,{parameter1:10,fill:No.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:yt.z6.AllSides,toSpot:yt.z6.AllSides},new yt.KX("fill"),new yt.KX("stroke","color"),new yt.KX("strokeWidth","thickness"),new yt.KX("strokeDashArray","dash")),gr(yt.Vm,{background:"transparent",margin:20})),gr(yt.al,{alignment:yt.z6.Top,alignmentFocus:yt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new yt.KX("text"),new yt.KX("stroke","color"))),vn.current.groupTemplate.selectionAdornmentTemplate=gr(yt.uz,"Spot",gr(yt.s_,"Auto",gr(yt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),gr(yt.Vm,{margin:1.5})),fi({alignment:yt.z6.TopRight,alignmentFocus:yt.z6.BottomRight})),vn.current.groupTemplate.contextMenu=gr("ContextMenu",hA(),MA(),$A()),vn.current.linkTemplate=gr(yt.rU,{layerName:"Foreground",routing:yt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new yt.KX("fromSpot","fromSpot",yt.z6.parse),new yt.KX("toSpot","toSpot",yt.z6.parse),new yt.KX("fromShortLength","dir",Rr=>Rr>=1?10:0),new yt.KX("toShortLength","dir",Rr=>Rr>=1?10:0),new yt.KX("points").makeTwoWay(),gr(yt.bn,{strokeWidth:2},new yt.KX("stroke","color"),new yt.KX("strokeWidth","thickness"),new yt.KX("strokeDashArray","dash")),gr(yt.bn,{segmentIndex:0,segmentOffset:new yt.E9(15,0),segmentOrientation:yt.rU.OrientAlong,alignmentFocus:yt.z6.Right,figure:"circle",width:10,strokeWidth:0},new yt.KX("fill","color"),new yt.KX("visible","dir",Rr=>Rr===1)),gr(yt.bn,{segmentIndex:-1,segmentOffset:new yt.E9(-10,6),segmentOrientation:yt.rU.OrientPlus90,alignmentFocus:yt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new yt.KX("fill","color"),new yt.KX("visible","dir",Rr=>Rr>=1),new yt.KX("width","thickness",Rr=>7+3*Rr),new yt.KX("height","thickness",Rr=>7+3*Rr),new yt.KX("segmentOffset","thickness",Rr=>new yt.E9(-15,4+1.5*Rr))),gr(yt.bn,{segmentIndex:0,segmentOffset:new yt.E9(15,-6),segmentOrientation:yt.rU.OrientMinus90,alignmentFocus:yt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new yt.KX("fill","color"),new yt.KX("visible","dir",Rr=>Rr===2),new yt.KX("width","thickness",Rr=>7+3*Rr),new yt.KX("height","thickness",Rr=>7+3*Rr),new yt.KX("segmentOffset","thickness",Rr=>new yt.E9(-15,4+1.5*Rr))),gr(yt.al,{alignmentFocus:new yt.z6(0,1,-4,0),editable:!0},new yt.KX("text").makeTwoWay(),new yt.KX("stroke","color"))),vn.current.linkTemplate.selectionAdornmentTemplate=gr(yt.uz,gr(yt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:gs(2)},new yt.KX("pathPattern","thickness",gs)),fi({alignmentFocus:new yt.z6(0,0,-6,-4)}));function gs(Rr){return gr(yt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Rr+4).toString()+" H3"})}function Fl(Rr){var Na="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Rr===0?Na="M0 0 M16 16 M0 8 L16 8":Rr===2&&(Na="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),gr(yt.bn,{geometryString:Na,margin:2,background:"transparent",mouseEnter:(Po,Fa)=>Fa.background="dodgerblue",mouseLeave:(Po,Fa)=>Fa.background="transparent",click:Si("dir",Rr),contextClick:Si("dir",Rr)})}function ZA(Rr){var Na=(Po,Fa)=>{Po.handled=!0,Po.diagram.model.commit(Ga=>{var vi=Fa.part.adornedPart;Ga.set(vi.data,Rr?"toSpot":"fromSpot",yt.z6.stringify(yt.z6.AllSides)),(Rr?vi.toNode:vi.fromNode).invalidateConnectedLinks()})};return gr(yt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Po,Fa)=>Fa.background="dodgerblue",mouseLeave:(Po,Fa)=>Fa.background="transparent",click:Na,contextClick:Na})}function Pr(Rr,Na){var Po=0,Fa=yt.z6.RightSide;Rr.equals(yt.z6.Top)?(Po=270,Fa=yt.z6.TopSide):Rr.equals(yt.z6.Left)?(Po=180,Fa=yt.z6.LeftSide):Rr.equals(yt.z6.Bottom)&&(Po=90,Fa=yt.z6.BottomSide),Na||(Po-=180);var Ga=(vi,va)=>{vi.handled=!0,vi.diagram.model.commit(ts=>{var ns=va.part.adornedPart;ts.set(ns.data,Na?"toSpot":"fromSpot",yt.z6.stringify(Fa)),(Na?ns.toNode:ns.fromNode).invalidateConnectedLinks()})};return gr(yt.bn,{alignment:Rr,alignmentFocus:Rr.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Po,background:"transparent",mouseEnter:(vi,va)=>va.background="dodgerblue",mouseLeave:(vi,va)=>va.background="transparent",click:Ga,contextClick:Ga})}vn.current.linkTemplate.contextMenu=gr("ContextMenu",MA(),$A(),gr("ContextMenuButton",gr(yt.s_,"Horizontal",Fl(0),Fl(1),Fl(2))),gr("ContextMenuButton",gr(yt.s_,"Horizontal",gr(yt.s_,"Spot",ZA(!1),Pr(yt.z6.Top,!1),Pr(yt.z6.Left,!1),Pr(yt.z6.Right,!1),Pr(yt.z6.Bottom,!1)),gr(yt.s_,"Spot",{margin:new yt.Zt(0,0,0,2)},ZA(!0),Pr(yt.z6.Top,!0),Pr(yt.z6.Left,!0),Pr(yt.z6.Right,!0),Pr(yt.z6.Bottom,!0)))));const Dc=`{ "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 Su=["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 Qu(Rr){return console.log("shapeName:",Rr),Su.indexOf(Rr)>=0}var tl=new yt.YI(Ea.current,{maxSelectionCount:1,linkTemplate:gr(yt.rU,{locationSpot:yt.z6.Center,selectionAdornmentTemplate:gr(yt.uz,"Link",{locationSpot:yt.z6.Center},gr(yt.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),gr(yt.bn,{toArrow:"Standard",stroke:null}))},{routing:yt.rU.AvoidsNodes,curve:yt.rU.JumpOver,corner:5,toShortLength:4},new yt.KX("points"),gr(yt.bn,{isPanelMain:!0,strokeWidth:2}),gr(yt.bn,{toArrow:"Standard",stroke:null})),model:new yt.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...yt.bn.getFigureGenerators().toArray().map(Rr=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Rr.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return vn.current.addDiagramListener("TextEdited",function(Rr){var Na;const Po=Rr.subject.part;var Fa=(Na=document.activeElement)==null?void 0:Na.value;typeof Fa=="string"&&Fa.trim()===""&&vn.current.model.commit(function(Ga){Ga.set(Po.data,"text","\u672A\u547D\u540D"),vn.current.commandHandler.stopCommand()},"increment")}),tl.nodeTemplate=gr(yt.NB,"Auto",{locationSpot:yt.z6.Center},new yt.KX("location","location",yt.E9.parse).makeTwoWay(yt.E9.stringify),gr(yt.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 yt.KX("stroke").makeTwoWay(),new yt.KX("fill").makeTwoWay(),new yt.KX("figure")),gr(yt.al,{margin:new yt.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new yt.$u(16,16),maxSize:new yt.$u(10,NaN),textAlign:"center",editable:!0},new yt.KX("key").makeTwoWay())),setTimeout(()=>{vn.current.grid=gr(yt.s_,"Grid",gr(yt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),gr(yt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),vn.current.grid.visible=!0,vn.current.grid.gridCellStroke="darkgray",vn.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=vn.current,vn.current}const yA=()=>ye(this,null,function*(){var gr=vn.current.makeImage();const No=yield(0,Te.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:gr.src}});Dn({src:No.url})});return(0,Oe.useEffect)(()=>(setTimeout(()=>{_o()},500),Ko(vo+1),()=>{vn.current=null}),[]),ce.createElement("div",{ref:si,className:Zr.current?`${pe.maxH60} body-overflow-initial`:"body-overflow-initial"},ce.createElement(Jt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!vo,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:ce.createElement(Ln.Z,null,ce.createElement(Kt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ce.createElement(Kt.Z,{onClick:()=>{var gr,No,Di=vn.current.selection.first();if(Zr.current=!Zr.current,document.activeElement&&Di){let fi=(No=(gr=document.activeElement)==null?void 0:gr.value)==null?void 0:No.trim();typeof fi=="string"&&vn.current.model.commit(function(Si){Si.set(Di.data,"text",fi||"\u672A\u547D\u540D"),vn.current.commandHandler.stopCommand()},"increment")}Ko(vo+1)}},ce.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:En},ce.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:pe.flowChartWrp},ce.createElement("div",{style:{display:"flex",height:"100%"}},ce.createElement("div",{style:{width:"300px",height:"100%"}},ce.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),ce.createElement("div",{style:{height:"calc(100% - 50px)"},className:pe.myPaletteDiv,ref:Ea})),ce.createElement("div",{style:{flex:1,position:"relative"}},ce.createElement("div",{ref:kr,style:{height:"80vh"}}))),ce.createElement("div",{className:"tr"},ce.createElement(De.ZP,{size:"large",onClick:yA,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var gt=qe,Me=we(5112),Xe=we(5871);const Pt=Me.ZP.Group,ct={margin:"0 8px"};var ot=({callback:En,onCancel:Dn})=>{function vn(kr){En(kr)}return Oe.createElement(Ve.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:vn},Oe.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},Oe.createElement("span",{style:ct},"\u5355\u5143\u683C\u6570\uFF1A"),Oe.createElement("span",{style:ct},"\u884C\u6570"),Oe.createElement(Ve.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},Oe.createElement(Xe.Z,null)),Oe.createElement("span",{style:ct},"\u5217\u6570"),Oe.createElement(Ve.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},Oe.createElement(Xe.Z,null))),Oe.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},Oe.createElement("span",{style:ct},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),Oe.createElement(Ve.default.Item,{name:"align"},Oe.createElement(Pt,null,Oe.createElement(Me.ZP,{value:"default"},Oe.createElement("i",{className:"fa fa-align-justify"})),Oe.createElement(Me.ZP,{value:"left"},Oe.createElement("i",{className:"fa fa-align-left"})),Oe.createElement(Me.ZP,{value:"center"},Oe.createElement("i",{className:"fa fa-align-center"})),Oe.createElement(Me.ZP,{value:"right"},Oe.createElement("i",{className:"fa fa-align-right"}))))),Oe.createElement("div",{className:"flex-container flex-end"},Oe.createElement(De.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Oe.createElement(De.ZP,{type:"ghost",onClick:Dn},"\u53D6\u6D88")))},kt=we(78673),_n=we(93127),_t=we.n(_n),Nt=(0,Oe.forwardRef)(({use3d:En,width:Dn,height:vn,callback:kr,showSaveButton:Ea},Zr)=>{const si=(0,Oe.useRef)(),vo=(0,Oe.useRef)(),[Ko,_o]=(0,Oe.useState)(!1),yA=(0,Oe.useRef)({id:si,appName:"graphing",width:Dn||1e3,height:vn||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,Oe.useEffect)(()=>{vo.current=new(_t())(yA.current,!0),window.onload=function(){vo.current.inject("applet_container")}},[]);const gr=()=>{var No=window.ggbApplet.getPNGBase64(1,!0,72);return kr&&kr(No),No};return(0,Oe.useEffect)(()=>{yA.current.appName=Ko?"3D":"graphing",vo.current.inject("applet_container")},[Ko]),(0,Oe.useEffect)(()=>{_o(En)},[En]),(0,Oe.useImperativeHandle)(Zr,()=>({getImgData:gr})),Oe.createElement(Oe.Fragment,null,Oe.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:si}),Oe.createElement(Ln.Z,{align:"middle"},Oe.createElement(Kt.Z,{flex:1},Oe.createElement(kt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Ko,onChange:No=>_o(No)})),Oe.createElement(Kt.Z,null,Oe.createElement(De.ZP,{size:"large",onClick:gr,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),yn=we(57765),Xt=we(1012),Jn=we(8591);const hr="link",tr="upload-image",Dr="add-flowchart",Or="draw-image",la="add-flowchart",sa="code-block",Hr="add-table",br="------------",Tr={default:br,left:`:${br}`,center:`:${br}:`,right:`${br}:`};var ta=we(61346),_a=(En,Dn,vn)=>new Promise((kr,Ea)=>{var Zr=Ko=>{try{vo(vn.next(Ko))}catch(_o){Ea(_o)}},si=Ko=>{try{vo(vn.throw(Ko))}catch(_o){Ea(_o)}},vo=Ko=>Ko.done?kr(Ko.value):Promise.resolve(Ko.value).then(Zr,si);vo((vn=vn.apply(En,Dn)).next())});function fo(){}let ea=0;const pi=1e4,_i="\u2581",na="@\u2581\u2581@",ln="@\u2581@",zA=` **\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`,fA=["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 UA(En){return/^\d+$/.test(En)?`${En}px`:En}const wi=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Gs={[wi+"-B"]:"bold",[wi+"-I"]:"italic"},SA={[hr]:"\u6DFB\u52A0\u94FE\u63A5",[sa]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[tr]:"\u6DFB\u52A0\u56FE\u7247",[Or]:"\u6DFB\u52A0\u753B\u56FE",[Dr]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Hr]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Ji=({defaultValue:En="",onChange:Dn,width:vn="100%",height:kr=400,miniToolbar:Ea=!1,isFocus:Zr=!1,watch:si,insertTemp:vo,mode:Ko="markdown",id:_o="markdown-editor-id",showResizeBar:yA=!1,noStorage:gr=!1,showNullButton:No=!1,showNullProgramButton:Di=!1,hidetoolBar:fi=!1,fullScreen:Si=!1,onBlur:Do,onCMBeforeChange:hA,onFullScreen:MA,className:GA="",disablePaste:Ds=!1,disabled:$A=!1,disabledFill:yi=!1,placeholder:gs="",values:Fl="",extraUse:ZA})=>{const[Pr,Dc]=(0,Oe.useState)(null),[Su,Qu]=(0,Oe.useState)(En),[tl,Rr]=(0,Oe.useState)(si),[Na,Po]=(0,Oe.useState)(Si),[Fa,Ga]=(0,Oe.useState)(""),[vi,va]=(0,Oe.useState)(0),[ts,ns]=(0,Oe.useState)(kr),[yu,Os]=(0,Oe.useState)(!1),Oc=(0,Oe.useRef)((0,Xt.Z)()),Qc=(0,Oe.useRef)(!1),xl=(0,Oe.useRef)(),[_l,Tc]=(0,Oe.useState)(0),[Tu,ku]=(0,Oe.useState)(0),Au=(0,Oe.useRef)(),fl=(0,Oe.useRef)(),Ru=(0,Oe.useRef)(),An=(0,Oe.useRef)(),kc=()=>_a(void 0,null,function*(){var Dt;const en=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Oc.current}});(Dt=en==null?void 0:en.attachments)!=null&&Dt.length&&(console.log("cm:",Pr,Au),en.attachments.map(On=>{On.content_type.indexOf("image")>-1?Pr.replaceSelection(`![,](/api/attachments/${On.id}?type=${On.content_type})`):On.content_type.indexOf("video")>-1?Pr.replaceSelection(``):On.content_type.indexOf("pdf")>-1?Pr.replaceSelection(`${On.name}`):Pr.replaceSelection(`[${On.name}](${ENV.API_SERVER}/api/attachments/${On.id}?type=${On.content_type})`)}))});(0,Oe.useEffect)(()=>{const Dt=window.scrollY||window.pageYOffset;Qu(Fl),Pr==null||Pr.setValue(Fl),window.scrollTo(0,Dt)},[Fl]),(0,Oe.useEffect)(()=>{MA==null||MA(Na)},[Na]),(0,Oe.useEffect)(()=>{if(Au.current){let Dt=function(On,sr){var Xr;if(Ds){sr.preventDefault();return}const Ir=sr.clipboardData;if(Ir){const mr=Ir.types.toString(),xr=Ir.items;if(mr==="Files"||Ir.types.indexOf("Files")>-1){if(sr.preventDefault(),Ko=="stex")return;try{let da=xr[1];((Xr=xr[0])==null?void 0:Xr.kind)==="file"&&(da=xr[0]);const Ha=da.getAsFile(),To=Ha.name.split(".").pop();(0,Et.I)(Ha,ua=>{var zi,li,Bi;ua.id?((zi=Ha==null?void 0:Ha.type)==null?void 0:zi.indexOf("image"))>-1?en.replaceSelection(``):((li=Ha==null?void 0:Ha.type)==null?void 0:li.indexOf("video"))>-1?en.replaceSelection(``):((Bi=Ha==null?void 0:Ha.type)==null?void 0:Bi.indexOf("pdf"))>-1?en.replaceSelection(`${Ha.name}`):fA.includes(To)?en.replaceSelection(`${Ha.name}`):en.replaceSelection(`[${Ha.name}](/api/attachments/${ua.id}?type=${ua.content_type})`):(ua==null?void 0:ua.status)===401&&(Jn.ZP.warning((ua==null?void 0:ua.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(da){Jn.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const en=ze().fromTextArea(Au.current,{mode:Ko,lineNumbers:!Ea,lineWrapping:!0,value:En,autoCloseTags:!Di,autoCloseBrackets:!0});return en.on("keyup",function(On,sr){sr.keyCode===8&&(On.getValue()==""?en.setOption("placeholder",gs):en.setOption("placeholder",null))}),en.on("keydown",function(On,sr){if(sr.keyCode===8){var Xr=cd(On);Xr&&sr.preventDefault()}}),Zr&&en.focus(),en.on("paste",Dt),en.on("dragleave",function(On,sr){fl.current.classList.remove("mouse-hover-md")}),$A&&en.on("beforeChange",function(On,sr){(sr.origin==="paste"||sr.origin==="+input")&&sr.cancel()}),Dc(en),()=>{en.off("paste",Dt)}}},[]);const ju=(0,Oe.useCallback)(()=>{if(fl.current)try{}catch(Dt){console.log(Dt,"---- to set md editor body height")}},[ts,fl,Na]);(0,Oe.useEffect)(()=>{function Dt(){let en=new at.Z(On=>{for(let sr of On)(sr.target.offsetHeight>0||sr.target.offsetWidth>0)&&(ju(),Pr.setSize("100%","100%"),Pr.refresh())});return en.observe(Au.current.parentElement),en}if(Pr){const en=Dt();return()=>{var On,sr;(On=Au.current)!=null&&On.parentElement&&en.unobserve((sr=Au.current)==null?void 0:sr.parentElement)}}},[Pr,ju]),(0,Oe.useEffect)(()=>{if(Pr){let Dt=[];for(const[en,On]of Object.entries(Gs)){let sr={[en]:()=>{su(On)}};Dt.push(sr),Pr.addKeyMap(sr)}return xl.current=setInterval(()=>{Qc.current&&kc()},4e3),()=>{clearInterval(xl.current);for(let en of Dt)Pr.removeKeyMap(en)}}},[Pr]),(0,Oe.useEffect)(()=>{Si!==Na&&Po(Si)},[Si]),(0,ta.Z)(()=>{if(!gr&&vi>0){let Dt=new Date().getTime(),en=window.sessionStorage.getItem(_o);Dt>=vi+pi&&(!en||en!==Su)&&(window.sessionStorage.setItem(_o,Su),Os(!0))}},pi),(0,Oe.useEffect)(()=>{Rr(si)},[Pr,si]),(0,Oe.useEffect)(()=>{Pr&&Zr&&Pr.focus()},[Pr,Zr]),(0,Oe.useEffect)(()=>{if(tl&&Pr){let Dt=function(On){let sr=On.target;if(An.current){let Xr=sr.scrollTop/sr.scrollHeight;An.current.scrollTop=An.current.scrollHeight*Xr}};const en=Pr.getScrollerElement();return en.addEventListener("scroll",Dt),()=>{en.removeEventListener("scroll",Dt)}}},[Pr,tl]),(0,Oe.useEffect)(()=>{if(Pr&&hA){let Dt=function(en,On){hA(en,On)};return Pr.on("beforeChange",Dt),()=>{Pr.off("beforeChange",Dt)}}},[Pr,hA]),(0,Oe.useEffect)(()=>{if(Pr&&Do){let Dt=function(){Do(Pr.getValue())};return Pr.on("blur",Dt),()=>{Pr.off("blur",Dt)}}},[Pr,Do]);function cd(Dt,en){var On=Dt.getDoc(),sr=On.getCursor(),Xr=On.getLine(sr.line),Ir=Xr.charAt(sr.ch-1),mr=Xr.lastIndexOf("@\u2581@",sr.ch),xr=Xr.lastIndexOf("@\u2581\u2581@",sr.ch),da=mr>xr?mr:xr,Ha=mr>xr?3:4;if(na.indexOf(Ir)===-1)return null;if(console.log("change1:",en,Dt,Xr,sr,da,mr,xr,Ir),da>=0&&sr.ch-da<5){var To=da+Ha;return On.replaceRange("",{line:sr.line,ch:da},{line:sr.line,ch:To}),{line:sr.line,ch:To}}return null}(0,Oe.useEffect)(()=>{if(Pr){let Dt=function(en,On){const sr=en.getValue();Qu(sr),va(new Date().getTime()),en.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Dn&&(Di?Dn(sr,WA(sr)):Dn(sr))};return Pr.on("change",Dt),()=>{Pr.off("change",Dt)}}},[Pr,Dn]),(0,Oe.useEffect)(()=>{if(Pr)if(En==null)Pr.setValue(""),Qu("");else{const Dt=window.scrollY||window.pageYOffset;En!==Pr.getValue()&&(Pr.setValue(En),Qu(En),Pr.setCursor($A?1:Pr.lineCount(),0),window.scrollTo(0,Dt))}},[Pr,En]);const su=(0,Oe.useCallback)(Dt=>{const en=Pr.getCursor(),On=Pr.getSelection();let sr=On.split(` `);switch(Dt){case"bold":return Pr.replaceSelection("**"+On+"**"),On===""&&Pr.setCursor(en.line,en.ch+2),Pr.focus();case"italic":return Pr.replaceSelection("*"+On+"*"),On===""&&Pr.setCursor(en.line,en.ch+1),Pr.focus();case"code":return Pr.replaceSelection("`"+On+"`"),On===""&&Pr.setCursor(en.line,en.ch+1),Pr.focus();case"inline-latex":return Ga("inline-latex"),Pr.focus();case"latex":return Pr.replaceSelection("```latex\n"+On+"\n```"),Pr.setCursor(en.line+1,On.length+1),Pr.focus();case"line-break":return Pr.replaceSelection(`
`),Pr.focus();case"list-ul":return On===""?Pr.replaceSelection("- "+On):Pr.replaceSelection(sr.map(Xr=>Xr===""?"":`- ${Xr}`).join(` `)),Pr.focus();case"list-ol":return On===""?Pr.replaceSelection("1. "+On):Pr.replaceSelection(sr.map((Xr,Ir)=>Xr===""?"":`${Ir+1}. ${Xr}`).join(` `)),Pr.focus();case"add-null-ch":return On===""&&Pr.setCursor(en.line,en.ch),Pr.replaceSelection(_i),Pr.focus();case"add-signal":return On===""&&Pr.setCursor(en.line,en.ch),Pr.replaceSelection(ln),Pr.focus();case"add-multiple":return On===""&&Pr.setCursor(en.line,en.ch),Pr.replaceSelection(na),Pr.focus();case"inster-template-1":return On===""&&Pr.setCursor(en.line,en.ch),Pr.replaceSelection(zA),Pr.focus();case"eraser":return Pr.setValue(""),Pr.focus();case"trigger-watch":return Rr(!tl),Pr.focus();case"trigger-full-screen":return Po(!Na),Pr.focus();case hr:Ga(hr);return;case sa:Ga(sa);return;case tr:Ga(tr);return;case Or:Ga(Or);return;case"maths-latex":Ga("maths-latex");return;case Dr:Ga(Dr);return;case Hr:Ga(Hr);return;default:throw new Error}},[Pr,tl,Na]),fs=(0,Oe.useCallback)((Dt,en)=>{var On,sr,Xr,Ir,mr,xr;switch(Ga(""),Fa){case hr:const{title:zi,link:li}=Dt;return Pr.replaceSelection(`[${zi}](${li})`),Pr.focus();case sa:const{language:Bi,content:ma}=Dt;return Pr.replaceSelection(["```"+Bi,ma,"```"].join(` `)),Pr.focus();case"maths-latex":for(var da=atob(Dt),Ha=new Uint8Array(da.length),To=0;To{XA.id?Pr.replaceSelection(`![,](/api/attachments/${XA.id}?type=${XA.content_type})`):(XA==null?void 0:XA.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Pr.replaceSelection("`$$"+Dt+"$$`");break;case tr:case Or:case la:const{src:Da,alt:Ma}=Dt,La=en,Eo=(Xr=(sr=(On=La==null?void 0:La.name)==null?void 0:On.split("."))==null?void 0:sr.pop)==null?void 0:Xr.call(sr);return((Ir=La==null?void 0:La.type)==null?void 0:Ir.indexOf("image"))>-1||!(La!=null&&La.type)?La.align||La.width?Pr.replaceSelection(`

${Ma||

`):Pr.replaceSelection(`${Ma||`):((mr=La==null?void 0:La.type)==null?void 0:mr.indexOf("video"))>-1?Pr.replaceSelection(``):((xr=La==null?void 0:La.type)==null?void 0:xr.indexOf("pdf"))>-1?Pr.replaceSelection(`${La.name}`):fA.includes(Eo)?Pr.replaceSelection(`${La.name}`):Pr.replaceSelection(`[${La.name}](${Da})`),Pr.focus();case Hr:const{row:Bo,col:VA,align:hl}=Dt;let iA=` `;for(let XA=0;XA{switch(Fa){case hr:return Oe.createElement(rn,{callback:fs,onCancel:rs});case sa:return Oe.createElement(fn.Z,{callback:fs,onCancel:rs});case tr:return Oe.createElement(Et.Z,{callback:fs,onCancel:rs});case Dr:return Oe.createElement(gt,{callback:fs,onCancel:rs});case Hr:return Oe.createElement(ot,{callback:fs,onCancel:rs});case"maths-latex":return Oe.createElement(Nt,{showSaveButton:!0,callback:fs});case"inline-latex":return Oe.createElement(yn.Z,{showSaveButton:!0,callback:fs});default:return null}},[Fa]);function rs(){Ga("")}(0,Oe.useEffect)(()=>{if(Ru.current){let Dt=function(mr){Xr=!0,Ir=mr.pageY},en=function(){Xr=!1},On=function(mr){if(Xr){let xr=mr.pageY-Ir;xr<0&&(xr=0),xr>300&&(xr=300);let da=kr+xr+"px";ns(da)}},sr=Ru.current,Xr=!1,Ir=0;return sr.addEventListener("mousedown",Dt),document.addEventListener("mousemove",On),document.addEventListener("mouseup",en),()=>{sr.removeEventListener("mousedown",Dt),document.removeEventListener("mousemove",On),document.removeEventListener("mouseup",en)}}},[Pr,Ru]),(0,Oe.useEffect)(()=>{ns(kr)},[kr]);const NA=UA(vn),Ac=UA(ts),Gl={width:NA,height:Ac},wA=(0,Oe.useMemo)(()=>{if(vi){let Dt=new Date(vi),en=Dt.getHours(),On=Dt.getMinutes(),sr=Dt.getSeconds();return en=en<10?"0"+en:en,On=On<10?"0"+On:On,sr=sr<10?"0"+sr:sr,`${en}:${On}:${sr}`}return 0},[vi]),WA=Dt=>{const en=[];if(Di){let On=-1;Dt=Dt.replace(/(@▁▁@|@▁@)/g,function(sr,Xr,Ir){en.push({multiLine:sr!==ln})})}return en};function Rc(){window.sessionStorage.removeItem(_o),Os(!1),va(0)}function uu(){Os(!1),va(0),Pr.setValue(window.sessionStorage.getItem(_o))}(0,Oe.useEffect)(()=>{SA[Fa]&&Fa!==Or&&Fa!==Dr&&setTimeout(()=>{const Dt=document.getElementsByClassName("markdown-popup-form")[0],en=window.innerWidth/2-Dt.offsetWidth/2,On=window.innerHeight/2-Dt.offsetHeight/2;Tc(en),ku(On)},0)},[Fa]);const jc=Dt=>{Dt.preventDefault();const en=Dt.clientX-_l,On=Dt.clientY-Tu;document.body.onmousemove=sr=>{let Xr=sr.clientX-en,Ir=sr.clientY-On;const mr=document.getElementsByClassName("markdown-popup-form")[0],xr=window.innerWidth-mr.offsetWidth,da=window.innerHeight-mr.offsetHeight;Xr=Math.max(0,Math.min(Xr,xr)),Ir=Math.max(0,Math.min(Ir,da)),wn(sr.clientX,sr.clientY,en,On)&&(Tc(Xr),ku(Ir))},document.body.onmouseup=function(){document.body.onmousemove=null}},wn=(Dt,en,On,sr)=>{const Xr=document.body.clientHeight,Ir=document.body.clientWidth;return Dt<20&&On>Dt||Dt>Ir-20&&Onen||en>Xr-20&&srnt in Ve?Fe(Ve,nt,{enumerable:!0,configurable:!0,writable:!0,value:De}):Ve[nt]=De,te=(Ve,nt)=>{for(var De in nt||(nt={}))a.call(nt,De)&&E(Ve,De,nt[De]);if(y)for(var De of y(nt))ee.call(nt,De)&&E(Ve,De,nt[De]);return Ve},ne=(Ve,nt)=>Ce(Ve,ie(nt));const{useForm:oe}=Oe.default,he={width:280,marginRight:10},_e={labelCol:{span:5},wrapperCol:{span:19}};var Pe=({callback:Ve,onCancel:nt})=>{const[De]=oe();let Bt=(0,Le.useRef)();function ke(rt){Bt.current.width=De.getFieldValue("width"),Bt.current.align=De.getFieldValue("align"),Ve(rt,Bt.current)}function Ot(rt,wt){if(rt.status===-1){be.ZP.error(rt.message);return}De.setFieldsValue({src:`/api/attachments/${rt.id}`,type:wt.type})}function it(rt){let wt=rt.target.files[0];Bt.current=wt,Ze(wt,Ot)}return Ie.createElement(Oe.default,ne(te({form:De},_e),{className:"upload-image-panel",onFinish:ke,style:{width:470,overflow:"hidden"}}),Ie.createElement(Oe.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ie.createElement("div",{className:"flex-container"},Ie.createElement(Oe.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ie.createElement(ze.default,{style:he})),Ie.createElement(Qe,{onFileChange:it}))),Ie.createElement(Oe.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ie.createElement(ze.default,{style:{width:264}})),Ie.createElement(Oe.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ie.createElement(at.Z,null,Ie.createElement(Oe.default.Item,{name:"width",style:{margin:0}},Ie.createElement(Ge.Z,{style:{width:264}})),Ie.createElement("span",{className:"ml8"},"%"))),Ie.createElement(Oe.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Ie.createElement(je.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"}]})),Ie.createElement("aside",null,Ie.createElement(Oe.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Ie.createElement(me.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ie.createElement(me.ZP,{type:"default",onClick:nt},"\u53D6\u6D88"))))};function Qe({onFileChange:Ve}){return Ie.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ie.createElement("input",{type:"file",onChange:Ve}))}function Ze(Ve,nt){if(!Ve)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,de.bg)())throw be.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let De=new FormData;De.append("editormd-image-file",Ve),De.append("file_param_name","editormd-image-file"),De.append("byxhr","true");var Bt=new window.XMLHttpRequest;Bt.withCredentials=!0,Bt.addEventListener("load",function(ke){nt(JSON.parse(ke.target.responseText),Ve)},!1),Bt.addEventListener("error",function(ke){console.error(ke)},!1),Bt.open("POST",`${Be.KI}/api/attachments.json`),Bt.send(De)}},74254:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return ze}});var Oe=we(59301),be=we(4676);class ze extends Oe.Component{constructor(Ge){super(Ge);const je=window.document;this.node=je.createElement("div"),je.body.appendChild(this.node)}render(){const{children:Ge}=this.props;return(0,be.createPortal)(Ge,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},61346:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return be}});var Oe=we(59301);function be(ze,at){const Ge=(0,Oe.useRef)();(0,Oe.useEffect)(()=>{Ge.current=ze}),(0,Oe.useEffect)(()=>{function je(){Ge.current()}if(at!==null){let me=setInterval(je,at);return()=>clearInterval(me)}},[at])}},82644:function(on,Ut,we){"use strict";var Oe=we(43418),be=we(8591),ze=we(43597),at=we(92123),Ge=we(47141),je=we(59301),me=(Le,de,Ie)=>new Promise((Fe,Ce)=>{var ie=ee=>{try{a(Ie.next(ee))}catch(E){Ce(E)}},y=ee=>{try{a(Ie.throw(ee))}catch(E){Ce(E)}},a=ee=>ee.done?Fe(ee.value):Promise.resolve(ee.value).then(ie,y);a((Ie=Ie.apply(Le,de)).next())});const Be=({shixunHomeworks:Le,classroomList:de,dispatch:Ie})=>{const Fe=(0,at.useParams)();return je.createElement(Oe.default,{centered:!0,title:"\u63D0\u793A",open:Le.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>me(void 0,null,function*(){var Ce,ie,y,a;if((0,Ge.Rm)()&&!((Ce=de.AssistantObject.practice)!=null&&Ce.can_redo)){be.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const ee=yield(0,ze.ZP)(`/api/myshixuns/${Le.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Fe.coursesId,homework_common_id:Le.actionTabs.homework_common_id}});if(ee.shixun_identifier){be.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ie({type:"shixunHomeworks/setActionTabs",payload:{}});const E=(y=(ie=ee==null?void 0:ee.new_works)==null?void 0:ie.find(te=>`${te.homework_common_id}`===Fe.categoryId))==null?void 0:y.id;if((0,Ge.Rm)()&&!((a=de.AssistantObject.practice)!=null&&a.can_view))return;at.history.replace(`/classrooms/${Fe.coursesId}/shixun_homework/${Fe.categoryId}/${E}/comment`)}}),onCancel:()=>{Ie({type:"shixunHomeworks/setActionTabs",payload:{}})}},je.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),je.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Ut.Z=(0,at.connect)(({shixunHomeworks:Le,classroomList:de})=>({shixunHomeworks:Le,classroomList:de}))(Be)},21613:function(on,Ut,we){"use strict";we.r(Ut),we.d(Ut,{default:function(){return jc}});var Oe=we(21585),be=we(59301),ze=we(92123),at=we(56656),Ge=we.n(at),je=we(86129),me=we.n(je),Be=we(43597),Le=we(43418),de=we(8591),Ie=we(61621),Fe=we(66104),Ce=we(3113),ie=we(6848),y=we(92832),a=we(28103),ee=we(95237),E=we(43604),te=we(1710),ne=we(57809),oe=we(58421),he=we(95869),_e=we(87169),Pe=we(26227),Qe=we(85386),Ze=we(47141),Ve=we(94601),nt=we(42441),De={flex_box_center:"flex_box_center___RiSTC",flex_space_between:"flex_space_between___r2zEY",flex_box_vertical_center:"flex_box_vertical_center___TMaa1",flex_box_center_end:"flex_box_center_end___Y0BIL",flex_box_column:"flex_box_column___iz8FU",NewButtonStyle:"NewButtonStyle___houPy",TableStyle:"TableStyle___CslJA",title:"title___qgujt",score:"score___b7Ujv",export:"export___D8VKP",title1_right:"title1_right___cy888",userPic:"userPic___oaJ3H",userInfo:"userInfo___l2HkY",listItem:"listItem___cZoS7",rightInfo:"rightInfo___m8guB",shixunTitle:"shixunTitle___lKvEa",shixunWrp:"shixunWrp___HKtVw",footerBar:"footerBar___qBo2N",footerBarStatic:"footerBarStatic____tmYG",exitComment:"exitComment___meSbD",nextComment:"nextComment___elRVJ",modal:"modal___WCPN7",footer:"footer___itbW_"},Bt={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const ke=({shixunHomeworks:wn,data:Dt,globalSetting:en,loading:On,dispatch:sr})=>{var Xr;const{shixunWorkReport:Ir}=wn;let mr=((Xr=Dt==null?void 0:Dt.efficiency_list)==null?void 0:Xr.length)-parseInt(Dt==null?void 0:Dt.myself_eff[0]);const xr=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(Ha){return Ha.name===Ir.username?"\u59D3\u540D\uFF1A"+Ir.username+"
\u5B66\u53F7\uFF1A "+Ir.user_id+"
\u6548\u7387\uFF1A"+(Dt==null?void 0:Dt.myself_eff[1]):Ha.name+":"+Ha.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:"\u5B66\u751F\u4F4D\u7F6E",nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:Dt==null?void 0:Dt.efficiency_list,itemStyle:{normal:{color:"#2e65ad"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4",xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:Ir.username,xAxis:mr,yAxis:Dt==null?void 0:Dt.myself_eff[1],value:Dt==null?void 0:Dt.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),da=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(Ha){var To=Ha.value;if(Ha.name===Ir.username)return"\u59D3\u540D\uFF1A"+Ir.username+"
\u5B66\u53F7\uFF1A "+Ir.user_id+"
\u5F97\u5206\uFF1A"+(Dt==null?void 0:Dt.myself_object[1])}},xAxis:{type:"value",name:"log(\u5B9E\u8BAD\u7684\u603B\u65F6\u95F4)",nameGap:16,nameTextStyle:{color:"#000",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#000"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},axisLine:{lineStyle:{color:"#000"}},splitLine:{show:!1}},series:[{name:"\u80FD\u529B",type:"scatter",itemStyle:Bt,data:Dt==null?void 0:Dt.consume_list,symbolSize:function(Ha){return Math.round(Ha[2])},markPoint:{data:[{name:Ir.username,xAxis:Dt==null?void 0:Dt.myself_object[0],yAxis:Dt==null?void 0:Dt.myself_object[1],value:Dt==null?void 0:Dt.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return be.createElement(be.Fragment,null,be.createElement("aside",{className:"ml60 pr30"},be.createElement(ee.Z,null,be.createElement(E.Z,{flex:"800px"},be.createElement(nt.Z,{style:{width:750,height:580},option:xr()})),be.createElement(E.Z,{flex:"1"},be.createElement("aside",{className:De.rightInfo},be.createElement("ul",null,be.createElement("li",null,be.createElement("span",null,"\u59D3\u540D")," ",be.createElement("span",{className:"ml30"},Ir.username)),be.createElement("li",null,be.createElement("span",null,"\u5B66\u53F7")," ",be.createElement("span",{className:"ml30"},Ir.student_id||"--")),be.createElement("li",null,be.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",be.createElement("span",{className:"ml30 c-orange"},Dt==null?void 0:Dt.myself_eff[1])),be.createElement("li",null,be.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",be.createElement("span",{className:"ml30 c-orange"},Dt==null?void 0:Dt.myself_eff[0]))),be.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",be.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",be.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",be.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),be.createElement("aside",{className:"ml60 pr30"},be.createElement(ee.Z,null,be.createElement(E.Z,{flex:"800px"},be.createElement(nt.Z,{style:{width:750,height:580},option:da()})),be.createElement(E.Z,{flex:"1"},be.createElement("aside",{className:De.rightInfo},be.createElement("ul",null,be.createElement("li",null,be.createElement("span",null,"\u59D3\u540D")," ",be.createElement("span",{className:"ml30"},Ir.username)),be.createElement("li",null,be.createElement("span",null,"\u5B66\u53F7")," ",be.createElement("span",{className:"ml30"},Ir.student_id||"--")),be.createElement("li",null,be.createElement("span",null,"\u80FD\u529B")," ",be.createElement("span",{className:"ml30 c-orange"},Dt==null?void 0:Dt.myself_object[1]))),be.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",be.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",be.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",be.createElement("br",null)))))))};var Ot=(0,ze.connect)(({shixunHomeworks:wn,loading:Dt,globalSetting:en})=>({shixunHomeworks:wn,globalSetting:en,loading:Dt.effects}))(ke),it=we(71775),rt=we(5871),wt=({defaultValue:wn,onBlur:Dt,max:en,className:On="game-score"})=>{const[sr,Xr]=(0,be.useState)(wn);(0,be.useEffect)(()=>{Xr(wn)},[wn]);function Ir(xr){Xr(xr)}function mr(){sr!==wn&&Dt(sr>en?en:sr)}return be.createElement(rt.Z,{max:en,min:0,className:On,value:sr,onChange:Ir,onBlur:mr})},dt=we(55659),pt={md:"md___GIQyK"},st=we(59301),ft=Object.defineProperty,rn=Object.defineProperties,fn=Object.getOwnPropertyDescriptors,Et=Object.getOwnPropertySymbols,Jt=Object.prototype.hasOwnProperty,Ln=Object.prototype.propertyIsEnumerable,Hn=(wn,Dt,en)=>Dt in wn?ft(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:en}):wn[Dt]=en,un=(wn,Dt)=>{for(var en in Dt||(Dt={}))Jt.call(Dt,en)&&Hn(wn,en,Dt[en]);if(Et)for(var en of Et(Dt))Ln.call(Dt,en)&&Hn(wn,en,Dt[en]);return wn},Vn=(wn,Dt)=>rn(wn,fn(Dt));const yt=ne.default.Option,Kn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var er=(wn=>(wn[wn.SET_PATH=0]="SET_PATH",wn[wn.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",wn))(er||{});function Re(wn,Dt){switch(Dt.type){case 0:return Vn(un({},wn),{selectedPath:Dt.payload});case 1:return Vn(un({},wn),{passedContent:Dt.payload});default:throw new Error}}var Kt=({path:wn,game_id:Dt,onPathChange:en,autoHeight:On,diff_code_count:sr,data:Xr,game_codes_cn:Ir})=>{var mr,xr,da,Ha;const To=wn.split("\uFF1B").filter(Ma=>!!Ma),[ua,zi]=(0,be.useReducer)(Re,{selectedPath:To[0],passedContent:{language:"python",content:""}}),{selectedPath:li,passedContent:Bi}=ua;function ma(Ma){zi({type:0,payload:Ma})}const Da={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return st.createElement(st.Fragment,null,st.createElement("h2",null," ",st.createElement("span",null,Ir,st.createElement(ie.Z,{title:st.createElement("div",null,st.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),st.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),st.createElement("div",null," 2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"),st.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},st.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),sr&&st.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",sr),st.createElement("span",null,st.createElement(ne.default,{style:{width:200},value:li,onChange:ma}," ",To.map(Ma=>st.createElement(yt,{key:Ma,value:Ma},Ma))," "))," "),(li==null?void 0:li.split(".")[1])==="md"&&st.createElement(dt.Z,{height:300,autoHeight:On,defaultValue:((xr=(mr=Xr==null?void 0:Xr.filter(Ma=>Ma.path===li))==null?void 0:mr[0])==null?void 0:xr.content)||"",className:pt.md}),(li==null?void 0:li.split(".")[1])!=="md"&&st.createElement(it.ZP,{height:300,language:Bi.language,value:((Ha=(da=Xr==null?void 0:Xr.filter(Ma=>Ma.path===li))==null?void 0:da[0])==null?void 0:Ha.content)||"",autoHeight:On,theme:"default",isCopy:!0,options:Kn}))},Te=we(19284),pe=we(96249),ce=we.n(pe),ye=Object.defineProperty,qe=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Xe=(wn,Dt,en)=>Dt in wn?ye(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:en}):wn[Dt]=en,Pt=(wn,Dt)=>{for(var en in Dt||(Dt={}))gt.call(Dt,en)&&Xe(wn,en,Dt[en]);if(qe)for(var en of qe(Dt))Me.call(Dt,en)&&Xe(wn,en,Dt[en]);return wn},ct=(wn,Dt,en)=>new Promise((On,sr)=>{var Xr=xr=>{try{mr(en.next(xr))}catch(da){sr(da)}},Ir=xr=>{try{mr(en.throw(xr))}catch(da){sr(da)}},mr=xr=>xr.done?On(xr.value):Promise.resolve(xr.value).then(Xr,Ir);mr((en=en.apply(wn,Dt)).next())});const ot=({shixunHomeworks:wn,autoHeight:Dt,classroomList:en,dispatch:On})=>{var sr,Xr,Ir,mr,xr,da,Ha;const{shixunWorkReport:To}=wn,{stage_list:ua,work_id:zi}=To,[li,Bi]=(0,be.useState)(!1),[ma,Da]=(0,be.useState)(!0),[Ma,La]=(0,be.useState)({left:0,top:0,bottom:0,right:0}),Eo=(0,be.useRef)(null),[Bo,VA]=(0,be.useState)(!1),hl=(Wr,xa)=>{var Lo;const{clientWidth:Pi,clientHeight:eo}=window.document.documentElement,qi=(Lo=Eo.current)==null?void 0:Lo.getBoundingClientRect();qi&&La({left:-qi.left+xa.x,right:Pi-(qi.right-xa.x),top:-qi.top+xa.y,bottom:eo-(qi.bottom-xa.y)})},iA=(0,ze.useParams)(),XA=(0,Ze.GJ)(),nl={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,be.useEffect)(()=>{console.log(iA)},[]);const rl=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(Wr,xa,Lo)=>be.createElement("div",null,Wr,xa.is_work_end_evaluate&&be.createElement(Ve.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:Wr=>Ge()(Wr).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(Wr,xa)=>be.createElement("span",{className:"c-blue current",onClick:()=>ct(void 0,null,function*(){var Lo,Pi;const eo=yield(0,Te.Lk)(xa.game_identifier,{path:(Pi=(Lo=xa.path)==null?void 0:Lo.replace(/\;/g,";"))==null?void 0:Pi.split(";")[0],query_index:xa.query_index,homework_common_id:iA.categoryId});(eo==null?void 0:eo.status)===0&&(VA(eo),Bi(!0))})},xa.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],al=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(Wr,xa)=>{var Lo;return be.createElement("span",null,be.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Qe.Z.IMG_SERVER+"/images/"+((Lo=xa==null?void 0:xa.user)==null?void 0:Lo.image_url)}),Wr)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:Wr=>be.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",Wr,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:Wr=>be.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",Wr,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:Wr=>be.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",Wr?Ge()(Wr).format("YYYY-MM-DD HH:mm"):"--")}];function Pn(Wr,xa){return ct(this,null,function*(){const{challenge_id:Lo}=ua[Wr],Pi=yield On({type:"shixunHomeworks/changeScore",payload:{categoryId:iA.homeworkId,type:"report",score:xa,challenge_id:Lo}});yield On({type:"shixunHomeworks/getShixunWorkReport",payload:Pt({},iA)}),Pi.status===0&&de.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function In(Wr,xa){return(0,Be.U2)(`student_works/${zi}/rep_passed_content.json`,{path:xa,game_id:Wr})}const ol=To.shixun_detail;return be.createElement(be.Fragment,null,ol==null?void 0:ol.map(function(Wr,xa){var Lo,Pi;return be.createElement("div",{key:xa},be.createElement("aside",{className:"pl30 pr30",key:xa},be.createElement("div",{className:`${De.shixunTitle} mt10`},be.createElement("div",null,be.createElement("span",{className:"fa fa-code "}),be.createElement("strong",{className:"c-black"},"\u7B2C",xa+1,"\u5173 ",be.createElement(ze.Link,{className:"c-black",target:"_blank",to:`/tasks/${iA.coursesId}/${iA.categoryId}/${Wr.game_identifier}`},Wr.subject))),XA?be.createElement("span",null,"\u8C03\u5206\uFF1A",be.createElement(wt,{className:"game-score",max:ua[xa].game_score_full,defaultValue:ua[xa].game_score,onBlur:eo=>{var qi;if((0,Ze.Rm)()&&!((qi=en.AssistantObject.practice)!=null&&qi.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Pn(xa,eo)}})):null),be.createElement("div",{className:"font16 mt10"},Wr.st===0&&(Wr.path?typeof(Wr==null?void 0:Wr.game_codes_cn)=="string"?be.createElement("aside",{className:De.shixunWrp},be.createElement(Kt,{game_codes_cn:Wr==null?void 0:Wr.game_codes_cn,autoHeight:Dt,path:Wr.path,game_id:Wr.id,data:Wr.game_codes,diff_code_count:Wr.diff_code_count,onPathChange:In})):be.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),Wr.st===1&&(Wr.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),be.createElement("aside",{className:"mt10 font16"},(Lo=Wr.outputs)!=null&&Lo.length?be.createElement(te.default,{columns:rl,pagination:{hideOnSinglePage:!0},dataSource:Wr.outputs.map(eo=>Pt(Pt({},Wr),eo))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),be.createElement("aside",{className:"mt10 font16"},((Pi=Wr==null?void 0:Wr.adjust_review_score_list)==null?void 0:Pi.length)>0&&(0,Ze.GJ)()&&be.createElement("div",null,be.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),be.createElement(te.default,{columns:al,pagination:{hideOnSinglePage:!0},dataSource:Wr.adjust_review_score_list,showHeader:!1})))))}),be.createElement(Le.default,{open:li,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{VA({}),Bi(!1)},onCancel:()=>{VA({}),Bi(!1)},title:be.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{ma&&Da(!1)},onMouseOut:()=>{Da(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:Wr=>be.createElement(ce(),{disabled:ma,bounds:Ma,nodeRef:Eo,onStart:(xa,Lo)=>hl(xa,Lo)},be.createElement("div",{ref:Eo},Wr))},be.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},be.createElement("div",{style:{display:"flex",alignItems:"center"}},((sr=Bo==null?void 0:Bo.data)==null?void 0:sr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?be.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):be.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),be.createElement("div",{style:{color:((Xr=Bo==null?void 0:Bo.data)==null?void 0:Xr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Ir=Bo==null?void 0:Bo.data)==null?void 0:Ir.output_detail)),be.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Ge()((mr=Bo==null?void 0:Bo.data)==null?void 0:mr.created_at).format("YYYY-MM-DD HH:mm:ss"))),be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(xr=Bo==null?void 0:Bo.data)==null?void 0:xr.ts_time,"s")),be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(da=Bo==null?void 0:Bo.data)==null?void 0:da.ts_mem,"mb")),be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((Ha=Bo==null?void 0:Bo.data)==null?void 0:Ha.test_set_passed_rate)*100,"%")))),be.createElement(it.ZP,{height:500,autoHeight:Dt,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((Bo==null?void 0:Bo.content)||""))),options:nl})))};var kt=(0,ze.connect)(({shixunHomeworks:wn,loading:Dt,globalSetting:en,classroomList:On})=>({shixunHomeworks:wn,globalSetting:en,loading:Dt.effects,classroomList:On}))(ot),_n=we(78241),_t={greyText:"greyText___Ypiia",info:"info___XU7Xg",label:"label___r5OkY",blackContent:"blackContent___SxDt0",orangeContent:"orangeContent___Nuo4G",inputLabel:"inputLabel___OM4Yo",tableTitle:"tableTitle___uG2JW",scoreTable:"scoreTable___M561L"},nn=we(4034),Nt=we(59301),yn=Object.defineProperty,Xt=Object.getOwnPropertySymbols,Jn=Object.prototype.hasOwnProperty,hr=Object.prototype.propertyIsEnumerable,tr=(wn,Dt,en)=>Dt in wn?yn(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:en}):wn[Dt]=en,Dr=(wn,Dt)=>{for(var en in Dt||(Dt={}))Jn.call(Dt,en)&&tr(wn,en,Dt[en]);if(Xt)for(var en of Xt(Dt))hr.call(Dt,en)&&tr(wn,en,Dt[en]);return wn},Or=(wn,Dt,en)=>new Promise((On,sr)=>{var Xr=xr=>{try{mr(en.next(xr))}catch(da){sr(da)}},Ir=xr=>{try{mr(en.throw(xr))}catch(da){sr(da)}},mr=xr=>xr.done?On(xr.value):Promise.resolve(xr.value).then(Xr,Ir);mr((en=en.apply(wn,Dt)).next())});const la=({shixunHomeworks:wn,dispatch:Dt,classroomList:en})=>{const{shixunWorkReport:On}=wn,sr=(0,ze.useParams)(),[Xr,Ir]=(0,be.useState)(!1),[mr]=_n.default.useForm(),[xr,da]=Le.default.useModal(),[Ha,To]=(0,be.useState)(!1),[ua,zi]=(0,be.useState)(!1);(0,be.useEffect)(()=>{var ma,Da,Ma,La;wn.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&mr.setFieldsValue({comment:(Da=(ma=wn.actionTabs.selectArrs)==null?void 0:ma.data)==null?void 0:Da.work_comment,hidden_comment:(La=(Ma=wn.actionTabs.selectArrs)==null?void 0:Ma.data)==null?void 0:La.work_comment_hidden})},[wn.actionTabs.key]);const li=()=>Or(void 0,null,function*(){const ma=mr.getFieldsValue();(yield(0,Be.ZP)(`/api/student_works/${sr.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:ma.hidden_comment,comment:ma.comment}})).status===0&&(de.ZP.success("\u8BC4\u9605\u6210\u529F"),mr.resetFields(),Dt({type:"shixunHomeworks/setActionTabs",payload:{}}),Dt({type:"shixunHomeworks/getShixunWorkReport",payload:Dr({},sr)}))}),Bi=[{title:"\u5173\u5361",dataIndex:"name",render:(ma,Da,Ma)=>Ma+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(ma,Da,Ma)=>Nt.createElement("div",null,ma,Da.complete_status===4&&Nt.createElement(Ve.vA,{status:Da.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:ma=>ma?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(ma,Da)=>Nt.createElement("div",null,Nt.createElement("span",{style:{color:parseFloat(Da.game_score_full)!==parseFloat(ma)?"#E30000":"#53C41B"}},ma),"/",Da.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(ma,Da)=>(0,Ze.GJ)()?Nt.createElement(wt,{max:Da.game_score_full,defaultValue:parseFloat(ma),onBlur:Ma=>Or(void 0,null,function*(){var La,Eo;if((0,Ze.Rm)()&&!((La=en.AssistantObject.practice)!=null&&La.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Bo=yield Dt({type:"shixunHomeworks/changeScore",payload:{categoryId:sr.homeworkId,type:"report",score:Ma,challenge_id:Da.challenge_id}});(Eo=wn==null?void 0:wn.actionTabs)==null||Eo.fn(),yield Dt({type:"shixunHomeworks/getShixunWorkReport",payload:Dr({},sr)}),Bo.status===0&&de.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):ma}];return Nt.createElement(Nt.Fragment,null,da,Nt.createElement(Le.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:wn.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Or(void 0,null,function*(){var ma;if((0,Ze.Rm)()&&!((ma=en.AssistantObject.practice)!=null&&ma.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Da=mr.getFieldsValue();JSON.stringify(Da)==="{}"||Da.hidden_comment===""&&Da.comment===""?Ir(!0):li()}),onCancel:()=>{Dt({type:"shixunHomeworks/setActionTabs",payload:{}})}},Nt.createElement(ee.Z,{justify:"space-between",className:_t.info},Nt.createElement(E.Z,null,Nt.createElement("span",{className:`${_t.label} ${_t.greyText}`},"\u59D3\u540D"),Nt.createElement("span",{className:_t.blackContent},On==null?void 0:On.username)),Nt.createElement(E.Z,null,Nt.createElement("span",{className:`${_t.label} ${_t.greyText}`},"\u5B66\u53F7"),Nt.createElement("span",{className:_t.blackContent},(On==null?void 0:On.student_id)||"--")),Nt.createElement(E.Z,null,Nt.createElement("span",{className:`${_t.label} ${_t.greyText}`},"\u73ED\u7EA7"),Nt.createElement("span",{className:_t.blackContent},(On==null?void 0:On.group_name)||"--")),Nt.createElement(E.Z,null,Nt.createElement("span",{className:`${_t.label} ${_t.greyText}`},"\u5173\u5361\u5F97\u5206"),Nt.createElement("span",{className:_t.orangeContent},(On==null?void 0:On.challenge_score)||"--")),Nt.createElement(E.Z,null,Nt.createElement("span",{className:`${_t.label} ${_t.greyText}`},"\u6548\u7387\u5206"),Nt.createElement("span",{className:_t.orangeContent},(On==null?void 0:On.eff_score)||"--")),Nt.createElement(E.Z,null,Nt.createElement("span",{className:`${_t.label} ${_t.greyText}`},"\u8865\u4EA4\u6263\u5206"),Nt.createElement("span",{className:_t.orangeContent},(On==null?void 0:On.late_penalty)||"--")),Nt.createElement(E.Z,null,Nt.createElement("span",{className:`${_t.label} ${_t.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),Nt.createElement("span",{className:_t.orangeContent},(On==null?void 0:On.work_score)||"--"))),Nt.createElement(_n.default,{form:mr,onChange:()=>{Xr&&Ir(!1)}},Nt.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Nt.createElement(E.Z,null,Nt.createElement("div",{className:`${_t.inputLabel} ${_t.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Nt.createElement(E.Z,null,Nt.createElement(nn.Z,{isShowComponent:(0,Ze.G5)(),ModalProps:{open:Ha,onCancel:()=>{To(!1)}},onDataSelect:(ma,Da)=>Or(void 0,[ma,Da],function*(Ma,{node:La}){const Eo=()=>{mr.setFieldsValue({comment:La==null?void 0:La.value}),To(!1)};if(mr.getFieldValue("comment")){xr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Eo});return}Eo()})},Nt.createElement(Ce.ZP,{style:{padding:0,height:"auto"},icon:Nt.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ma=>{To(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Nt.createElement(_n.default.Item,{name:"comment"},Nt.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),Nt.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Nt.createElement(E.Z,null,Nt.createElement("div",{className:`${_t.inputLabel} ${_t.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Nt.createElement(E.Z,null,Nt.createElement(nn.Z,{isShowComponent:(0,Ze.G5)(),ModalProps:{open:ua,onCancel:()=>{zi(!1)}},onDataSelect:(ma,Da)=>Or(void 0,[ma,Da],function*(Ma,{node:La}){const Eo=()=>{mr.setFieldsValue({hidden_comment:La==null?void 0:La.value}),zi(!1)};if(mr.getFieldValue("hidden_comment")){xr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Eo});return}Eo()})},Nt.createElement(Ce.ZP,{style:{padding:0,height:"auto"},icon:Nt.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ma=>{zi(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Nt.createElement(_n.default.Item,{name:"hidden_comment"},Nt.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),Xr&&Nt.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),Nt.createElement("div",{className:_t.tableTitle},"\u5173\u5361\u6210\u7EE9"),Nt.createElement(te.default,{className:_t.scoreTable,dataSource:On.stage_list,rowKey:"challenge_id",pagination:!1,columns:Bi,scroll:{x:"max-content"}})))};var sa=(0,ze.connect)(({shixunHomeworks:wn,classroomList:Dt})=>({shixunHomeworks:wn,classroomList:Dt}))(la),Hr=we(79702),br=we(17410),Tr=we(4604),ta=we(44164),_a=we.n(ta),fo={wrap:"wrap___rFTBy",line:"line___kZzhh"},ea=we(61328),_i=({detailData:wn})=>{var Dt;return be.createElement("div",{className:fo.wrap},be.createElement(ea.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,ea.Uf)(wn),(wn==null?void 0:wn.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},be.createElement(ea.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,ea.Uf)(wn)}),!!((Dt=wn==null?void 0:wn.photos)!=null&&Dt.length)&&be.createElement(be.Fragment,null,be.createElement("div",{className:fo.line}),be.createElement(ea._s,{dataSource:wn==null?void 0:wn.photos,right:21,col:4,wrapWidth:1140}))))},na=we(18167),ln=we(59301),zA=Object.defineProperty,fA=Object.defineProperties,UA=Object.getOwnPropertyDescriptors,ds=Object.getOwnPropertySymbols,wi=Object.prototype.hasOwnProperty,Gs=Object.prototype.propertyIsEnumerable,SA=(wn,Dt,en)=>Dt in wn?zA(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:en}):wn[Dt]=en,Ji=(wn,Dt)=>{for(var en in Dt||(Dt={}))wi.call(Dt,en)&&SA(wn,en,Dt[en]);if(ds)for(var en of ds(Dt))Gs.call(Dt,en)&&SA(wn,en,Dt[en]);return wn},En=(wn,Dt)=>fA(wn,UA(Dt)),Dn=(wn,Dt)=>{var en={};for(var On in wn)wi.call(wn,On)&&Dt.indexOf(On)<0&&(en[On]=wn[On]);if(wn!=null&&ds)for(var On of ds(wn))Dt.indexOf(On)<0&&Gs.call(wn,On)&&(en[On]=wn[On]);return en},vn=(wn,Dt,en)=>new Promise((On,sr)=>{var Xr=xr=>{try{mr(en.next(xr))}catch(da){sr(da)}},Ir=xr=>{try{mr(en.throw(xr))}catch(da){sr(da)}},mr=xr=>xr.done?On(xr.value):Promise.resolve(xr.value).then(Xr,Ir);mr((en=en.apply(wn,Dt)).next())});const kr=wn=>{var Dt=wn,{shixunHomeworks:en,classroomList:On,globalSetting:sr,loading:Xr,user:Ir,dispatch:mr}=Dt,xr=Dn(Dt,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),da,Ha,To;const[ua,zi]=(0,be.useState)(Ji({},(0,ze.useParams)())),li=(0,ze.useParams)(),[Bi,ma]=(0,be.useState)({page:1,page_size:10}),Da=(0,ze.useLocation)(),[]=(0,be.useState)([]),[Ma,La]=(0,be.useState)(),Eo=(0,be.useRef)(),[Bo,VA]=(0,be.useState)(!1),[hl,iA]=(0,be.useState)(!0),[XA,nl]=(0,be.useState)(!1),[rl,al]=(0,be.useState)(!1),{shixunWorkReport:Pn}=en,[In,ol]=(0,be.useState)(),[Wr,xa]=(0,be.useState)([]),[Lo,Pi]=(0,be.useState)(),[eo,qi]=(0,be.useState)("all"),Mu=(0,Ze.GJ)(),[cu,Ll]=(0,be.useState)(new(me())),[il,Rd]=(0,be.useState)(0),[Il,AA]=(0,be.useState)(!1),[sc,DA]=(0,be.useState)(!1),[Hu,ml]=(0,be.useState)(!1),[Ul,ti]=(0,be.useState)(""),[wu,lc]=(0,be.useState)(!1),[dd,mA]=(0,be.useState)(!0),[Qs,Nl]=(0,be.useState)(0),$l=(0,be.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),bi=(0,be.useRef)(),Cs=()=>vn(void 0,null,function*(){(Ir.userInfo.is_teacher||Ir.userInfo.admin)&&(lc(!0),mA(!1))});(0,be.useEffect)(()=>{var Er;(0,Ze.Rm)()&&On.AssistantObject.practice&&!((Er=On.AssistantObject.practice)!=null&&Er.can_view)&&ze.history.replace("/403")},[(da=On.AssistantObject.practice)==null?void 0:da.can_view]),(0,be.useEffect)(()=>{Cs(),console.log("\u6253\u5370\u7684------",Pn),bi.current=Pn==null?void 0:Pn.next_student_work_id,ti(Pn.repeat_minus_score)},[Pn,Ir]),(0,be.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",Pn.work_score),Nl(Pn.work_score)},[Pn.work_score,Ul]),(0,be.useEffect)(()=>(mr({type:"globalSetting/footerToggle",payload:!1}),()=>{mr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,be.useEffect)(()=>{var Er;if(Pn){let Ia=[];(Er=Pn==null?void 0:Pn.target_test_sets)==null||Er.map((lr,$a)=>{var wo;(wo=lr==null?void 0:lr.targets)==null||wo.map((uA,Ts)=>{var JA;uA.name=lr==null?void 0:lr.name,uA.total_target_score=lr==null?void 0:lr.total_target_score,uA.actual_target_score=lr==null?void 0:lr.actual_target_score,uA.rowSpan=Ts===0?(JA=lr==null?void 0:lr.targets)==null?void 0:JA.length:0,uA.order=$a+1,Ia.push(uA)})}),ol(Ia),(0,Ze.Rm)()&&mr({type:"classroomList/getAssistantPermissions",payload:{course_id:ua.coursesId}})}},[Pn]),(0,be.useEffect)(()=>{en.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(Pn==null?void 0:Pn.students_count)>0&&!hl&&setTimeout(()=>{Ku("all")},800)},[Pn==null?void 0:Pn.homework_common_id,hl]),(0,be.useEffect)(()=>{zi(Ji({},li))},[Da.pathname]);const OA=()=>{document.body.scrollIntoView()},sA=Er=>{Bi.page=Er,ma(Ji({},Bi)),lA(Bi,eo)},lA=(Er,Ia)=>vn(void 0,null,function*(){nl(!0);const lr=yield(0,Be.ZP)(`/api/student_works/${ua==null?void 0:ua.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:En(Ji({},Er),{challenge_id:Ia=="all"?null:Ia})});(lr==null?void 0:lr.status)===0&&(xa(lr==null?void 0:lr.list),Pi(lr==null?void 0:lr.count)),nl(!1)});function Dl(){return vn(this,null,function*(){$l.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const Mc=()=>{document.querySelectorAll("canvas").forEach(Er=>{(!Er.clientWidth||!Er.clientHeight)&&Er.remove()})},YA=Er=>vn(void 0,null,function*(){const Ia=yield(0,Tr.t1)({homeworkId:Er||ua.homeworkId});La(Ia==null?void 0:Ia.data)}),Ku=Er=>vn(void 0,null,function*(){var Ia,lr,$a,wo;let uA=0,Ts;Ts=Le.default.info({width:460,title:ln.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",ln.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:ln.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",ln.createElement("span",{className:"c-blue"},uA+1),"/",Er!=="all"?1:Pn==null?void 0:Pn.students_count,ln.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:De.modal,onOk:()=>{}});const JA={margin:[0,0],filename:`${Pn!=null&&Pn.student_id&&(Pn==null?void 0:Pn.student_id)!="--"?Pn==null?void 0:Pn.student_id:""}${Pn.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},Wl=cu.folder(Pn==null?void 0:Pn.shixun_name);function Al(Ps){return vn(this,null,function*(){yield YA(Ps||bi.current);const ui=yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:Ji({homeworkId:Ps||bi.current},$l.current||{})});bi.current=ui==null?void 0:ui.next_student_work_id,OA(),uA++,setTimeout(()=>vn(this,null,function*(){var pl,Wo,as,Ya;Mc();const Oi=Wl.folder(`${ui==null?void 0:ui.group_name}`).folder(`${ui!=null&&ui.student_id&&(ui==null?void 0:ui.student_id)!="--"?ui.student_id+"+":""}${ui==null?void 0:ui.username}`),Vl=document.querySelector("#export-all").children;let os=_a()();for(let CA=0;CAvn(this,null,function*(){CA0&&((as=(Wo=ui==null?void 0:ui.shixun_detail)==null?void 0:Wo.filter(CA=>{var HA;return((HA=CA==null?void 0:CA.game_codes)==null?void 0:HA.length)>0}))==null?void 0:as.length)>0){const CA=Oi.folder("\u4EE3\u7801\u6587\u4EF6");(Ya=ui==null?void 0:ui.shixun_detail)==null||Ya.map((HA,hs)=>{var ms,cc;if(((ms=HA==null?void 0:HA.game_codes)==null?void 0:ms.length)>0){const Ql=CA.folder(`\u7B2C${hs+1}\u5173-${HA.subject}-${HA.id}`);(cc=HA==null?void 0:HA.game_codes)==null||cc.map(Xl=>{Ql.file(`${Xl.filename}.txt`,Xl==null?void 0:Xl.content)})}})}Ts.update({content:ln.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",ln.createElement("span",{className:"c-blue"},uA),"/",ui==null?void 0:ui.students_count,ln.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),uA==(ui==null?void 0:ui.students_count)?(Ts.destroy(),bA()):Al()}),2200)})}if(Er!=="all"||(Pn==null?void 0:Pn.students_count)<2){Mc(),OA();const Ps=Eo.current.children;let ui=_a()();const Wo=Wl.folder(`${Pn==null?void 0:Pn.group_name}`).folder(`${Pn!=null&&Pn.student_id&&(Pn==null?void 0:Pn.student_id)!="--"?(Pn==null?void 0:Pn.student_id)+"+":""}${Pn==null?void 0:Pn.username}`);for(let as=0;asvn(void 0,null,function*(){as0&&(($a=(lr=Pn==null?void 0:Pn.shixun_detail)==null?void 0:lr.filter(as=>{var Ya;return((Ya=as==null?void 0:as.game_codes)==null?void 0:Ya.length)>0}))==null?void 0:$a.length)>0){const as=Wo.folder("\u4EE3\u7801\u6587\u4EF6");(wo=Pn==null?void 0:Pn.shixun_detail)==null||wo.map((Ya,Gi)=>{var Oi,Vl;if(((Oi=Ya==null?void 0:Ya.game_codes)==null?void 0:Oi.length)>0){const os=as.folder(`\u7B2C${Gi+1}\u5173-${Ya.subject}-${Ya.id}`);(Vl=Ya==null?void 0:Ya.game_codes)==null||Vl.map(CA=>{os.file(`${CA.filename}.txt`,CA==null?void 0:CA.content)})}})}Ts.destroy(),bA();return}else Al(Pn==null?void 0:Pn.first_student_work_id)}),bA=()=>{cu.generateAsync({type:"blob"}).then(function(Er){console.log(Pn,"shixunWorkReport");const Ia=document.createElement("a");Ia.href=window.URL.createObjectURL(Er),Ia.download=(Pn==null?void 0:Pn.shixun_name)+".zip",document.body.appendChild(Ia);const lr=document.createEvent("MouseEvents");lr.initEvent("click",!1,!1),Ia.dispatchEvent(lr),document.body.removeChild(Ia),Ll(new(me()))}),al(!1)};(0,be.useEffect)(()=>{Ol()},[ua.homeworkId]);const Ol=()=>vn(void 0,null,function*(){yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:Ji(Ji({},ua),$l.current||{})}),YA(),(0,Ze.GJ)()&&Dl(),iA(!1)}),eA=[{title:"\u5173\u5361",dataIndex:"name",render:(Er,Ia,lr)=>lr+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Er,Ia,lr)=>ln.createElement("div",null,Er,Ia.complete_status===4&&ln.createElement(Ve.vA,{status:Ia.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(Er,Ia,lr)=>Er||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:Er=>Er?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(Er,Ia)=>ln.createElement("div",null,ln.createElement("span",{style:{color:parseFloat(Ia.myself_experience)!==parseFloat(Er)?"red":"green"}},Ia.myself_experience),"/",Er)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(Er,Ia)=>ln.createElement("div",null,ln.createElement("span",{style:{color:parseFloat(Ia.game_score_full)!==parseFloat(Er)?"red":"green"}},Er),"/",Ia.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(Er,Ia)=>Mu?ln.createElement(wt,{max:Ia.game_score_full,defaultValue:parseFloat(Er),onBlur:lr=>vn(void 0,null,function*(){var $a;if((0,Ze.Rm)()&&!(($a=On.AssistantObject.practice)!=null&&$a.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const wo=yield mr({type:"shixunHomeworks/changeScore",payload:{categoryId:ua.homeworkId,type:"report",score:lr,challenge_id:Ia.challenge_id}});lA({page:1,page_size:10},"all"),yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:Ji(Ji({},ua),$l.current||{})}),wo.status===0&&de.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Er}];let uc=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(Er,Ia,lr)=>({children:Er,props:{rowSpan:Ia.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(Er,Ia,lr)=>({children:Er,props:{rowSpan:Ia.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(Er,Ia,lr)=>ln.createElement("div",null,ln.createElement("span",{style:{color:parseFloat(Ia.actual_test_score)!==parseFloat(Er)?"red":"green"}},Ia.actual_test_score),"/",Er)},{title:"\u6307\u6807\u603B\u5206",render:(Er,Ia,lr)=>({children:ln.createElement("div",null,ln.createElement("span",{style:{color:parseFloat(Ia.actual_target_score)!==parseFloat(Er)?"red":"green"}},Ia.actual_target_score),"/",Er),props:{rowSpan:Ia.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const du=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:Er=>ln.createElement("span",null,Er?Ge()(Er).format("YYYY-MM-DD HH:mm"):"--")}],gu=Er=>{mr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{Er==="next"?ze.history.push(`/classrooms/${ua.coursesId}/shixun_homework/${ua.categoryId}/${Pn==null?void 0:Pn.next_student_work_id}/comment`):ze.history.push(`/classrooms/${ua.coursesId}/shixun_homework/${ua.categoryId}/${Pn==null?void 0:Pn.pre_student_work_id}/comment`)},200)},Hc=Er=>{ti(""),Er.target.value&&(console.log("\u8FDB\u6765",Pn),Er.target.value=Er.target.value>Pn.repeat_setting_score?Pn.repeat_setting_score:Er.target.value,ti(Er.target.value))},Zl=()=>vn(void 0,null,function*(){const Er=yield(0,Be.ZP)(`/api/student_works/${Pn==null?void 0:Pn.work_id}/update_repeat_score`,{method:"put",body:{score:Ul}});yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:Ji(Ji({},ua),$l.current||{})}),Er.status===0&&de.ZP.info("\u64CD\u4F5C\u6210\u529F")});return ln.createElement("section",{style:{minHeight:"100vh",background:`url(${we(26528)}) center / cover no-repeat`}},ln.createElement("div",{className:"edu-container pb-60px"},ln.createElement(Ie.Z,{loading:Xr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},Pn.course_id&&ln.createElement("section",{className:"animated fadeIn pt-10px"},Pn.category&&ln.createElement(Fe.Z,{separator:">",items:[{title:ln.createElement(ze.Link,{to:`/classrooms/${Pn.course_id}/shixun_homework`}," ",Pn.course_name)},{title:ln.createElement(ze.Link,{to:`/classrooms/${Pn.course_id}/shixun_homework/${Pn.category.main?"":Pn.category.category_id}`}," ",Pn.category.category_name)},{title:ln.createElement(ze.Link,{to:`/classrooms/${Pn.course_id}/shixun_homework/${Pn.homework_common_id}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")},{title:Pn.username}]}),ln.createElement("div",{className:"mt20 flex item-center gap-10px"},ln.createElement("strong",{className:"font20"}," ",Pn==null?void 0:Pn.homework_name," "),ln.createElement(Ve.VV,{temporary:!0,status:Pn.homework_status}),ln.createElement("div",{className:"ml-auto flex item-center gap-10px"},Pn.view_tpi&&ln.createElement(Ce.ZP,{icon:ln.createElement("span",{className:"iconfont icon-yijiandianping"}),onClick:()=>{var Er,Ia;(0,Ve.xg)(`/tasks/${Pn==null?void 0:Pn.course_id}/${Pn==null?void 0:Pn.homework_common_id}/${(Ia=(Er=Pn==null?void 0:Pn.shixun_detail)==null?void 0:Er[0])==null?void 0:Ia.game_identifier}`)}}," \u67E5\u770B\u5B66\u5458\u5B9E\u8BAD "),(0,Ze.GJ)()&&Pn.homework_end===!1&&!!Pn.myshixun_id&&ln.createElement(Ce.ZP,{icon:ln.createElement("span",{className:"iconfont icon-dahuizhongzuo3x"}),onClick:()=>vn(void 0,null,function*(){yield mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:Pn.myshixun_identifier},homework_common_id:li.categoryId}})})},"\u6253\u56DE\u91CD\u505A"),ln.createElement(Ce.ZP,{icon:ln.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Er;if((0,Ze.Rm)()&&!((Er=On.AssistantObject.practice)!=null&&Er.can_download)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ku("")},loading:Bo},"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,Ze.GJ)()&&(Pn==null?void 0:Pn.students_count)>1&&ln.createElement(Ce.ZP,{icon:ln.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Er;if((0,Ze.Rm)()&&!((Er=On.AssistantObject.practice)!=null&&Er.can_download)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Le.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:ln.createElement(ie.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:ln.createElement(ie.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{Ku("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,na.jj)({categoryId:ua.categoryId,coursesId:ua.coursesId},"shixun_report")}}})}},"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A")))),ln.createElement("aside",{className:"mt-6px rounded-8px px-20px py-12px",style:{background:"rgba(255,255,255,0.9)",border:"1px solid #FFFFFF"}},ln.createElement("div",{id:"export-all",ref:Eo},ln.createElement("div",{id:"export-all-1"},ln.createElement("div",{className:"flex item-center"},ln.createElement("div",{className:"text-16px"},"\u603B\u4F53\u8BC4\u4EF7"),(0,Ze.GJ)()&&ln.createElement(Ce.ZP,{className:`ml-auto rounded-4px ${De.NewButtonStyle}`,type:"primary",icon:ln.createElement(he.Z,{rev:void 0}),onClick:()=>{mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Pn.user_id,data:Ji({},Pn)},fn:()=>lA({page:1,page_size:10},"all")}})}}," ",Pn.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"," ")),ln.createElement("div",{className:"mt-12px rounded-8px p-36px flex item-center relative",style:{background:"#FFFAF7",border:"1px solid #FFFFFF"}},ln.createElement("div",{className:"flex flex-col justify-center item-center"},ln.createElement("div",{className:"flex flex-col item-center"},ln.createElement("img",{className:"h-56px w-56px rounded-full",src:`${Qe.Z.IMG_SERVER}/images/${Pn.image_url}`,alt:Pn.username}),ln.createElement("div",{style:{marginTop:"-10px",marginLeft:"-10px"}},ln.createElement(Ve.vA,{status:Pn.compelete_status}))),ln.createElement("div",{className:"text-20px c-grey-333 font-medium mt-10px"},Pn.username),ln.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5B66\u53F7",ln.createElement("span",{className:"ml10 c-grey-333"},Pn.student_id||"--")),ln.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5206\u73ED",ln.createElement("span",{className:"ml10 c-grey-333"},Pn.group_name||"--"))),ln.createElement("div",{className:"flex-1 minW-0 flex flex-col justify-center gap-48px",style:{paddingLeft:"80px"}},ln.createElement("div",{className:"flex item-center justify-between",style:{width:"80%"}},[{title:"\u622A\u6B62\u5F53\u524D\u5B8C\u6210\u5173\u5361",children:ln.createElement(ln.Fragment,null,ln.createElement("span",{className:"c-red"},Pn.complete_count||"--"),"/",ln.createElement("span",{className:"c-red"},Pn.challenges_count))},{title:"\u6700\u65B0\u5B8C\u6210\u5173\u5361",children:ln.createElement(ln.Fragment,null,ln.createElement("span",{className:"c-red"},Pn.current_complete_count||"--"),"/",ln.createElement("span",{className:"c-red"},Pn.challenges_count))},{title:"\u5B8C\u6210\u6548\u7387",children:Pn&&Pn.efficiency===null?"--":Pn&&Pn.efficiency},{title:"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387",children:Pn&&Pn.max_efficiency===null?"--":Pn&&Pn.max_efficiency},{title:"\u5173\u5361\u5F97\u5206",children:ln.createElement(ln.Fragment,null,ln.createElement("span",{className:"c-orange"},Pn.challenge_score),"/",ln.createElement("span",{className:"c-light-black"},Pn.challenge_score_full)),hidden:!(Pn!=null&&Pn.eff_score_full)},{title:"\u6548\u7387\u5206",children:ln.createElement(ln.Fragment,null,ln.createElement("span",{className:"c-orange"},Pn.eff_score),"/",ln.createElement("span",{className:"c-light-black"},Pn.eff_score_full)),hidden:!(Pn!=null&&Pn.eff_score_full)}].map((Er,Ia)=>!(Er!=null&&Er.hidden)&&ln.createElement("div",{key:Ia,className:"flex flex-col item-center gap-10px"},ln.createElement("div",{className:"text-16px"},Er==null?void 0:Er.children),ln.createElement("div",{style:{color:"#8E8E8E"}},Er==null?void 0:Er.title)))),ln.createElement("div",{className:"flex item-center justify-between"},[{title:"\u901A\u5173\u65F6\u95F4",children:Pn&&Pn.passed_time===null||Pn&&Pn.passed_time==="--"?"--":Ge()(Pn&&Pn.passed_time).format("YYYY-MM-DD HH:mm")},{title:ln.createElement(ln.Fragment,null,"\u8BA1\u65F6\u89C4\u5219 ",ln.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Er=>{AA(!0)}})),children:Pn==null?void 0:Pn.human_training_time_rules},{title:ln.createElement(ln.Fragment,null,"\u5B9E\u8BAD\u603B\u8017\u65F6",ln.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Er=>{DA(!0)}})),children:Pn==null?void 0:Pn.time_consuming},{title:"\u8BC4\u6D4B\u6B21\u6570",children:Pn.evaluate_count},{title:"\u901A\u5173\u65F6\u95F4",children:Pn&&Pn.passed_time===null||Pn&&Pn.passed_time==="--"?"--":Ge()(Pn&&Pn.passed_time).format("YYYY-MM-DD HH:mm")},{title:ln.createElement(ln.Fragment,null," \u67E5\u91CD\u6263\u5206",Pn!=null&&Pn.review_rate?ln.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{Pn!=null&&Pn.review_id&&wu&&(localStorage.setItem("studentDetial",window.location.pathname),ze.history.push(`/classrooms/:coursesId/shixun_homework/${ua.categoryId}/review_detail/${Pn==null?void 0:Pn.review_id}`))}}," ",Pn.review_rate.toFixed(1),"% "):ln.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -")),children:ln.createElement(ln.Fragment,null,(Pn==null?void 0:Pn.repeat_minus_score)!==0?"- -":ln.createElement(ln.Fragment,null,wu?ln.createElement(ln.Fragment,null,ln.createElement(y.default,{style:{width:"45px",height:"22px"},value:Ul,onChange:Er=>{Hc(Er)},onBlur:Zl,disabled:dd})," / ",Pn==null?void 0:Pn.repeat_setting_score):ln.createElement(ln.Fragment,null," ",Pn==null?void 0:Pn.repeat_minus_score," / ",Pn==null?void 0:Pn.repeat_setting_score," "))),hidden:!(Pn!=null&&Pn.have_repeat)},{title:"\u8865\u4EA4\u6263\u5206",children:Pn.late_penalty||"- -"},{title:"\u6700\u7EC8\u6210\u7EE9(\u6EE1\u5206100\u5206)",children:ln.createElement(ln.Fragment,null,ln.createElement("span",{className:"c-orange"},Qs),"/",ln.createElement("span",{className:"c-light-black"},Pn.all_work_score))}].map((Er,Ia)=>!(Er!=null&&Er.hidden)&&ln.createElement("div",{key:Ia,className:"flex flex-col item-center gap-10px"},ln.createElement("div",{className:"text-16px"},Er==null?void 0:Er.children),ln.createElement("div",{style:{color:"#8E8E8E"}},Er==null?void 0:Er.title))))),ln.createElement("div",{className:"absolute flex item-center justify-center h-36px",style:{top:0,right:0,width:219,background:`url(${we(55541)}) center / cover no-repeat`}},Pn.overall_appraisal)),ln.createElement(a.Z,{className:"mt-20px",style:{marginLeft:"-20px",width:"calc(100% + 40px)",backgroundColor:"#E0EEFF"}}),(Pn.work_comment_hidden||Pn.work_comment)&&ln.createElement("div",null,ln.createElement(ee.Z,{align:"middle"},ln.createElement(E.Z,{flex:1},ln.createElement("h1",{className:De.title},"\u70B9\u8BC4\u5185\u5BB9")),ln.createElement(E.Z,{className:"pr30"},(0,Ze.GJ)()&&ln.createElement(Ce.ZP,{onClick:()=>vn(void 0,null,function*(){Le.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:ln.createElement(_e.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return vn(this,null,function*(){(yield(0,Tr.gZ)({comment_id:Pn.comment_id,homeworkId:ua.homeworkId})).status===0&&(de.ZP.success("\u5220\u9664\u6210\u529F"),mr({type:"shixunHomeworks/getShixunWorkReport",payload:Ji(Ji({},ua),$l.current||{})}))})}})})},ln.createElement(Pe.Z,null),"\u5220\u9664"))),ln.createElement(a.Z,{style:{margin:0}}),Pn.work_comment&&ln.createElement("aside",{className:"pl30 pr30 mt20"},ln.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ln.createElement("br",null),ln.createElement(br.Z,{value:Pn.work_comment})),Pn.work_comment_hidden&&ln.createElement("aside",{className:"pl30 pr30 mt20"},ln.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ln.createElement("br",null),ln.createElement(br.Z,{value:Pn.work_comment_hidden}))),(Pn==null?void 0:Pn.action_analysis)&&ln.createElement(_i,{detailData:Pn}),ln.createElement("div",{className:De.score},ln.createElement("h1",{className:De.title},"\u9636\u6BB5\u6210\u7EE9"),(Pn==null?void 0:Pn.adjust_review_score_count)>0&&(0,Ze.GJ)()&&ln.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{ml(!0),lA({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",Pn==null?void 0:Pn.adjust_review_score_count,"\u6B21\uFF09")),ln.createElement(te.default,{className:De.TableStyle,dataSource:Pn.stage_list,rowKey:Er=>Er==null?void 0:Er.challenge_id,pagination:!1,columns:eA}),((Ha=Pn==null?void 0:Pn.target_test_sets)==null?void 0:Ha.length)>0&&ln.createElement("div",null,ln.createElement("h1",{className:De.title},"\u6307\u6807\u6210\u7EE9"),ln.createElement(te.default,{className:De.TableStyle,dataSource:In,rowKey:Er=>Er==null?void 0:Er.challenge_id,pagination:!1,bordered:!0,columns:uc})),(Pn==null?void 0:Pn.work_description)&&ln.createElement(ln.Fragment,null,ln.createElement("h1",{className:De.title},"\u4E2A\u4EBA\u603B\u7ED3"),ln.createElement(br.Z,{value:Pn==null?void 0:Pn.work_description})),ln.createElement("h1",{className:De.title},"\u56FE\u5F62\u7EDF\u8BA1"),ln.createElement(Ot,{data:Ma}),ln.createElement("h1",{className:De.title},"\u5B9E\u8BAD\u8BE6\u60C5")),ln.createElement(kt,{autoHeight:rl}))))),(0,Ze.GJ)()&&ln.createElement("aside",{className:`sticky ${De.footerBar}`},ln.createElement("aside",{className:"edu-container flex item-center"},ln.createElement(ze.Link,{className:De.exitComment,to:`/classrooms/${ua.coursesId}/shixun_homework/${ua.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868"),ln.createElement("div",{className:"ml-auto flex item-center gap-20px"},ln.createElement(Ce.ZP,{disabled:!(Pn!=null&&Pn.pre_student_work_id),onClick:()=>gu()},"\u4E0A\u4E00\u4E2A"),ln.createElement(Ce.ZP,{disabled:!(Pn!=null&&Pn.next_student_work_id),onClick:()=>gu("next")},"\u4E0B\u4E00\u4E2A"),(0,Ze.GJ)()&&ln.createElement(Ce.ZP,{className:De.NewButtonStyle,type:"primary",onClick:()=>vn(void 0,null,function*(){mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Pn.user_id,data:Ji({},Pn)},fn:()=>lA({page:1,page_size:10},"all")}})})}," \u70B9\u8BC4\u4F5C\u4E1A ")))),ln.createElement(sa,null),ln.createElement(Hr.Z,null),ln.createElement(Le.default,{open:Il,width:860,centered:!0,onCancel:()=>{AA(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},ln.createElement("div",{style:{color:"#333333",fontWeight:400}},ln.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),ln.createElement("br",null),ln.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),ln.createElement("br",null),ln.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),ln.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),ln.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),ln.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},ln.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),ln.createElement("br",null),ln.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),ln.createElement("br",null),ln.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),ln.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),ln.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),ln.createElement("br",null),ln.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),ln.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},ln.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),ln.createElement("br",null),ln.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),ln.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},ln.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),ln.createElement("br",null),ln.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),ln.createElement(Le.default,{open:sc,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{DA(!1)},width:600},ln.createElement("div",{style:{fontWeight:400,color:"#333333"}},ln.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",ln.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),ln.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",ln.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),ln.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",ln.createElement("span",{style:{color:"#145DFF"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))),ln.createElement(Le.default,{open:Hu,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{qi("all"),ml(!1)},destroyOnClose:!0,width:900},ln.createElement("div",{style:{fontWeight:400,color:"#333333"}},ln.createElement("div",null,ln.createElement("span",null,"\u5173\u5361\uFF1A"),ln.createElement(ne.default,{style:{width:300},value:eo,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:Er=>vn(void 0,null,function*(){qi(Er),lA({page:1,page_size:10},Er)})},ln.createElement(ne.default.Option,{value:"all"}," \u5168\u90E8 "),(To=Pn==null?void 0:Pn.stage_list)==null?void 0:To.map((Er,Ia)=>ln.createElement(ne.default.Option,{key:Ia,value:Er==null?void 0:Er.challenge_id},"\u7B2C",(0,Ve.EM)(Ia+1),"\u5173")))),ln.createElement("div",{className:"mt20"},ln.createElement(te.default,{dataSource:Wr,rowKey:Er=>Er==null?void 0:Er.id,pagination:!1,columns:du,loading:XA})),ln.createElement("div",{className:De.footer},ln.createElement("div",null,ln.createElement("span",{style:{color:"#656F87"}},"\u5171",ln.createElement("span",{className:"c-light-primary"},Lo),"\u6761\u6570\u636E")),ln.createElement(oe.Z,{defaultCurrent:1,defaultPageSize:10,current:(Bi==null?void 0:Bi.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:Lo,onChange:sA})))))};var Ea=(0,ze.connect)(({shixunHomeworks:wn,classroomList:Dt,loading:en,globalSetting:On,user:sr})=>({shixunHomeworks:wn,classroomList:Dt,globalSetting:On,loading:en.effects,user:sr}))(kr),Zr={flex_box_center:"flex_box_center___KJUhi",flex_space_between:"flex_space_between____N4uH",flex_box_vertical_center:"flex_box_vertical_center___yOdsz",flex_box_center_end:"flex_box_center_end___seJB9",flex_box_column:"flex_box_column___ihHC5",title:"title___JSmnB",score:"score___ERcuI",export:"export___pgR1H",title1_right:"title1_right___MdWJo",userPic:"userPic___UeG3e",userInfo:"userInfo___TNu6l",listItem:"listItem___wdbM_",rightInfo:"rightInfo___Swqk5",shixunTitle:"shixunTitle___L2Tc4",shixunWrp:"shixunWrp___ZoaTc",footerBar:"footerBar___QW5rq",footerBarStatic:"footerBarStatic___CRq8b",exitComment:"exitComment___u4Rqt",nextComment:"nextComment___lvaID",modal:"modal___g3B3L",footer:"footer___eJCnt"},si={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#01A89A"}};const vo=({shixunHomeworks:wn,data:Dt,globalSetting:en,loading:On,dispatch:sr})=>{var Xr;const{shixunWorkReport:Ir}=wn;let mr=((Xr=Dt==null?void 0:Dt.efficiency_list)==null?void 0:Xr.length)-parseInt(Dt==null?void 0:Dt.myself_eff[0]);const xr=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)",textStyle:{color:"#fff",fontSize:18},subtextStyle:{color:"#fff",fontSize:12},padding:[20,0,20,20]},backgroundColor:"rgba(19, 68, 71, 0.4)",color:["#dd4444","#fec42c","#80F1BE"],grid:{top:"15%",left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(Ha){return Ha.name===Ir.username?"\u59D3\u540D\uFF1A"+Ir.username+"
\u5B66\u53F7\uFF1A "+Ir.user_id+"
\u6548\u7387\uFF1A"+(Dt==null?void 0:Dt.myself_eff[1]):Ha.name+":"+Ha.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:"\u5B66\u751F\u4F4D\u7F6E",nameTextStyle:{color:"#fff",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#fff",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:Dt==null?void 0:Dt.efficiency_list,itemStyle:{normal:{color:"#01A89A"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4",xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:Ir.username,xAxis:mr,yAxis:Dt==null?void 0:Dt.myself_eff[1],value:Dt==null?void 0:Dt.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),da=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09",textStyle:{color:"#fff",fontSize:18},subtextStyle:{color:"#fff",fontSize:12},padding:[20,0,0,20]},backgroundColor:"rgba(19, 68, 71, 0.4)",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(Ha){var To=Ha.value;if(Ha.name===Ir.username)return"\u59D3\u540D\uFF1A"+Ir.username+"
\u5B66\u53F7\uFF1A "+Ir.user_id+"
\u5F97\u5206\uFF1A"+(Dt==null?void 0:Dt.myself_object[1])}},xAxis:{type:"value",name:"log(\u5B9E\u8BAD\u7684\u603B\u65F6\u95F4)",nameGap:16,nameTextStyle:{color:"#fff",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#fff"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#fff",fontSize:12},axisLine:{lineStyle:{color:"#fff"}},splitLine:{show:!1}},series:[{name:"\u80FD\u529B",type:"scatter",itemStyle:si,data:Dt==null?void 0:Dt.consume_list,symbolSize:function(Ha){return Math.round(Ha[2])},markPoint:{data:[{name:Ir.username,xAxis:Dt==null?void 0:Dt.myself_object[0],yAxis:Dt==null?void 0:Dt.myself_object[1],value:Dt==null?void 0:Dt.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return be.createElement(be.Fragment,null,be.createElement("aside",{className:"ml60 pr30"},be.createElement(ee.Z,null,be.createElement(E.Z,{flex:"800px"},be.createElement(nt.Z,{style:{width:750,height:580},option:xr()})),be.createElement(E.Z,{flex:"1"},be.createElement("aside",{className:Zr.rightInfo},be.createElement("ul",null,be.createElement("li",null,be.createElement("span",null,"\u59D3\u540D")," ",be.createElement("span",{className:"ml30"},Ir.username)),be.createElement("li",null,be.createElement("span",null,"\u5B66\u53F7")," ",be.createElement("span",{className:"ml30"},Ir.student_id||"--")),be.createElement("li",null,be.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",be.createElement("span",{className:"ml30 c-orange"},Dt==null?void 0:Dt.myself_eff[1])),be.createElement("li",null,be.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",be.createElement("span",{className:"ml30 c-orange"},Dt==null?void 0:Dt.myself_eff[0]))),be.createElement("p",{style:{color:"#fff"}},"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",be.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",be.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",be.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),be.createElement("aside",{className:"ml60 pr30"},be.createElement(ee.Z,null,be.createElement(E.Z,{flex:"800px"},be.createElement(nt.Z,{style:{width:750,height:580},option:da()})),be.createElement(E.Z,{flex:"1"},be.createElement("aside",{className:Zr.rightInfo},be.createElement("ul",null,be.createElement("li",null,be.createElement("span",null,"\u59D3\u540D")," ",be.createElement("span",{className:"ml30"},Ir.username)),be.createElement("li",null,be.createElement("span",null,"\u5B66\u53F7")," ",be.createElement("span",{className:"ml30"},Ir.student_id||"--")),be.createElement("li",null,be.createElement("span",null,"\u80FD\u529B")," ",be.createElement("span",{className:"ml30 c-orange"},Dt==null?void 0:Dt.myself_object[1]))),be.createElement("p",{style:{color:"#fff"}},"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",be.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",be.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",be.createElement("br",null)))))))};var Ko=(0,ze.connect)(({shixunHomeworks:wn,loading:Dt,globalSetting:en})=>({shixunHomeworks:wn,globalSetting:en,loading:Dt.effects}))(vo),_o=({defaultValue:wn,onBlur:Dt,max:en,className:On="game-score"})=>{const[sr,Xr]=(0,be.useState)(wn);(0,be.useEffect)(()=>{Xr(wn)},[wn]);function Ir(xr){Xr(xr)}function mr(){sr!==wn&&Dt(sr>en?en:sr)}return be.createElement(rt.Z,{max:en,min:0,className:On,value:sr,onChange:Ir,onBlur:mr})},yA={md:"md___TEmcT"},gr=we(59301),No=Object.defineProperty,Di=Object.defineProperties,fi=Object.getOwnPropertyDescriptors,Si=Object.getOwnPropertySymbols,Do=Object.prototype.hasOwnProperty,hA=Object.prototype.propertyIsEnumerable,MA=(wn,Dt,en)=>Dt in wn?No(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:en}):wn[Dt]=en,GA=(wn,Dt)=>{for(var en in Dt||(Dt={}))Do.call(Dt,en)&&MA(wn,en,Dt[en]);if(Si)for(var en of Si(Dt))hA.call(Dt,en)&&MA(wn,en,Dt[en]);return wn},Ds=(wn,Dt)=>Di(wn,fi(Dt));const $A=ne.default.Option,yi={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var gs=(wn=>(wn[wn.SET_PATH=0]="SET_PATH",wn[wn.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",wn))(gs||{});function Fl(wn,Dt){switch(Dt.type){case 0:return Ds(GA({},wn),{selectedPath:Dt.payload});case 1:return Ds(GA({},wn),{passedContent:Dt.payload});default:throw new Error}}var ZA=({path:wn,game_id:Dt,onPathChange:en,autoHeight:On,diff_code_count:sr,data:Xr,game_codes_cn:Ir})=>{var mr,xr,da,Ha;const To=wn.split("\uFF1B").filter(Ma=>!!Ma),[ua,zi]=(0,be.useReducer)(Fl,{selectedPath:To[0],passedContent:{language:"python",content:""}}),{selectedPath:li,passedContent:Bi}=ua;function ma(Ma){zi({type:0,payload:Ma})}const Da={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return gr.createElement(gr.Fragment,null,gr.createElement("h2",null," ",gr.createElement("span",null,Ir,gr.createElement(ie.Z,{title:gr.createElement("div",null,gr.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),gr.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),gr.createElement("div",null," 2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"),gr.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},gr.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),sr&&gr.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",sr),gr.createElement("span",null,gr.createElement(ne.default,{style:{width:200},value:li,onChange:ma}," ",To.map(Ma=>gr.createElement($A,{key:Ma,value:Ma},Ma))," "))," "),(li==null?void 0:li.split(".")[1])==="md"&&gr.createElement(dt.Z,{height:300,autoHeight:On,defaultValue:((xr=(mr=Xr==null?void 0:Xr.filter(Ma=>Ma.path===li))==null?void 0:mr[0])==null?void 0:xr.content)||"",className:yA.md}),(li==null?void 0:li.split(".")[1])!=="md"&&gr.createElement(it.ZP,{height:300,language:Bi.language,value:((Ha=(da=Xr==null?void 0:Xr.filter(Ma=>Ma.path===li))==null?void 0:da[0])==null?void 0:Ha.content)||"",autoHeight:On,theme:"default",isCopy:!0,options:yi}))},Pr=Object.defineProperty,Dc=Object.getOwnPropertySymbols,Su=Object.prototype.hasOwnProperty,Qu=Object.prototype.propertyIsEnumerable,tl=(wn,Dt,en)=>Dt in wn?Pr(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:en}):wn[Dt]=en,Rr=(wn,Dt)=>{for(var en in Dt||(Dt={}))Su.call(Dt,en)&&tl(wn,en,Dt[en]);if(Dc)for(var en of Dc(Dt))Qu.call(Dt,en)&&tl(wn,en,Dt[en]);return wn},Na=(wn,Dt,en)=>new Promise((On,sr)=>{var Xr=xr=>{try{mr(en.next(xr))}catch(da){sr(da)}},Ir=xr=>{try{mr(en.throw(xr))}catch(da){sr(da)}},mr=xr=>xr.done?On(xr.value):Promise.resolve(xr.value).then(Xr,Ir);mr((en=en.apply(wn,Dt)).next())});const Po=({shixunHomeworks:wn,autoHeight:Dt,classroomList:en,dispatch:On})=>{var sr,Xr,Ir,mr,xr,da,Ha;const{shixunWorkReport:To}=wn,{stage_list:ua,work_id:zi}=To,[li,Bi]=(0,be.useState)(!1),[ma,Da]=(0,be.useState)(!0),[Ma,La]=(0,be.useState)({left:0,top:0,bottom:0,right:0}),Eo=(0,be.useRef)(null),[Bo,VA]=(0,be.useState)(!1),hl=(Wr,xa)=>{var Lo;const{clientWidth:Pi,clientHeight:eo}=window.document.documentElement,qi=(Lo=Eo.current)==null?void 0:Lo.getBoundingClientRect();qi&&La({left:-qi.left+xa.x,right:Pi-(qi.right-xa.x),top:-qi.top+xa.y,bottom:eo-(qi.bottom-xa.y)})},iA=(0,ze.useParams)(),XA=(0,Ze.GJ)(),nl={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,be.useEffect)(()=>{console.log(iA)},[]);const rl=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(Wr,xa,Lo)=>be.createElement("div",null,Wr,xa.is_work_end_evaluate&&be.createElement(Ve.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:Wr=>Ge()(Wr).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(Wr,xa)=>be.createElement("span",{className:"c-blue current",onClick:()=>Na(void 0,null,function*(){var Lo,Pi;const eo=yield(0,Te.Lk)(xa.game_identifier,{path:(Pi=(Lo=xa.path)==null?void 0:Lo.replace(/\;/g,";"))==null?void 0:Pi.split(";")[0],query_index:xa.query_index,homework_common_id:iA.categoryId});(eo==null?void 0:eo.status)===0&&(VA(eo),Bi(!0))})},xa.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],al=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(Wr,xa)=>{var Lo;return be.createElement("span",null,be.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Qe.Z.IMG_SERVER+"/images/"+((Lo=xa==null?void 0:xa.user)==null?void 0:Lo.image_url)}),Wr)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:Wr=>be.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",Wr,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:Wr=>be.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",Wr,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:Wr=>be.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",Wr?Ge()(Wr).format("YYYY-MM-DD HH:mm"):"--")}];function Pn(Wr,xa){return Na(this,null,function*(){const{challenge_id:Lo}=ua[Wr],Pi=yield On({type:"shixunHomeworks/changeScore",payload:{categoryId:iA.homeworkId,type:"report",score:xa,challenge_id:Lo}});yield On({type:"shixunHomeworks/getShixunWorkReport",payload:Rr({},iA)}),Pi.status===0&&de.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function In(Wr,xa){return(0,Be.U2)(`student_works/${zi}/rep_passed_content.json`,{path:xa,game_id:Wr})}const ol=To.shixun_detail;return be.createElement(be.Fragment,null,ol==null?void 0:ol.map(function(Wr,xa){var Lo,Pi;return be.createElement("div",{key:xa},be.createElement("aside",{className:"pl30 pr30",key:xa},be.createElement("div",{className:`${Zr.shixunTitle} mt10`},be.createElement("div",null,be.createElement("span",{className:"fa fa-code "}),be.createElement("strong",{className:"c-black"},"\u7B2C",xa+1,"\u5173 ",be.createElement(ze.Link,{className:"c-black",target:"_blank",to:`/tasks/${iA.coursesId}/${iA.categoryId}/${Wr.game_identifier}`},Wr.subject))),XA?be.createElement("span",null,"\u8C03\u5206\uFF1A",be.createElement(_o,{className:"game-score",max:ua[xa].game_score_full,defaultValue:ua[xa].game_score,onBlur:eo=>{var qi;if((0,Ze.Rm)()&&!((qi=en.AssistantObject.practice)!=null&&qi.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Pn(xa,eo)}})):null),be.createElement("div",{className:"font16 mt10"},Wr.st===0&&(Wr.path?typeof(Wr==null?void 0:Wr.game_codes_cn)=="string"?be.createElement("aside",{className:Zr.shixunWrp},be.createElement(ZA,{game_codes_cn:Wr==null?void 0:Wr.game_codes_cn,autoHeight:Dt,path:Wr.path,game_id:Wr.id,data:Wr.game_codes,diff_code_count:Wr.diff_code_count,onPathChange:In})):be.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),Wr.st===1&&(Wr.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),be.createElement("aside",{className:"mt10 font16"},(Lo=Wr.outputs)!=null&&Lo.length?be.createElement(te.default,{columns:rl,pagination:{hideOnSinglePage:!0},dataSource:Wr.outputs.map(eo=>Rr(Rr({},Wr),eo))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),be.createElement("aside",{className:"mt10 font16"},((Pi=Wr==null?void 0:Wr.adjust_review_score_list)==null?void 0:Pi.length)>0&&(0,Ze.GJ)()&&be.createElement("div",null,be.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),be.createElement(te.default,{columns:al,pagination:{hideOnSinglePage:!0},dataSource:Wr.adjust_review_score_list,showHeader:!1})))))}),be.createElement(Le.default,{open:li,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{VA({}),Bi(!1)},onCancel:()=>{VA({}),Bi(!1)},title:be.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{ma&&Da(!1)},onMouseOut:()=>{Da(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:Wr=>be.createElement(ce(),{disabled:ma,bounds:Ma,nodeRef:Eo,onStart:(xa,Lo)=>hl(xa,Lo)},be.createElement("div",{ref:Eo},Wr))},be.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},be.createElement("div",{style:{display:"flex",alignItems:"center"}},((sr=Bo==null?void 0:Bo.data)==null?void 0:sr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?be.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):be.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),be.createElement("div",{style:{color:((Xr=Bo==null?void 0:Bo.data)==null?void 0:Xr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Ir=Bo==null?void 0:Bo.data)==null?void 0:Ir.output_detail)),be.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Ge()((mr=Bo==null?void 0:Bo.data)==null?void 0:mr.created_at).format("YYYY-MM-DD HH:mm:ss"))),be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(xr=Bo==null?void 0:Bo.data)==null?void 0:xr.ts_time,"s")),be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(da=Bo==null?void 0:Bo.data)==null?void 0:da.ts_mem,"mb")),be.createElement("div",null,be.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),be.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((Ha=Bo==null?void 0:Bo.data)==null?void 0:Ha.test_set_passed_rate)*100,"%")))),be.createElement(it.ZP,{height:500,autoHeight:Dt,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((Bo==null?void 0:Bo.content)||""))),options:nl})))};var Fa=(0,ze.connect)(({shixunHomeworks:wn,loading:Dt,globalSetting:en,classroomList:On})=>({shixunHomeworks:wn,globalSetting:en,loading:Dt.effects,classroomList:On}))(Po),Ga={greyText:"greyText___nOpNq",info:"info___nBB3c",label:"label___P6my8",blackContent:"blackContent___O4HnS",orangeContent:"orangeContent___JBF44",inputLabel:"inputLabel___B2GAs",tableTitle:"tableTitle___IqAxM",scoreTable:"scoreTable___RJvpU"},vi=we(27346),va=we(59301),ts=Object.defineProperty,ns=Object.getOwnPropertySymbols,yu=Object.prototype.hasOwnProperty,Os=Object.prototype.propertyIsEnumerable,Oc=(wn,Dt,en)=>Dt in wn?ts(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:en}):wn[Dt]=en,Qc=(wn,Dt)=>{for(var en in Dt||(Dt={}))yu.call(Dt,en)&&Oc(wn,en,Dt[en]);if(ns)for(var en of ns(Dt))Os.call(Dt,en)&&Oc(wn,en,Dt[en]);return wn},xl=(wn,Dt,en)=>new Promise((On,sr)=>{var Xr=xr=>{try{mr(en.next(xr))}catch(da){sr(da)}},Ir=xr=>{try{mr(en.throw(xr))}catch(da){sr(da)}},mr=xr=>xr.done?On(xr.value):Promise.resolve(xr.value).then(Xr,Ir);mr((en=en.apply(wn,Dt)).next())});const _l=({shixunHomeworks:wn,dispatch:Dt,classroomList:en})=>{const{shixunWorkReport:On}=wn,sr=(0,ze.useParams)(),[Xr,Ir]=(0,be.useState)(!1),[mr]=_n.default.useForm(),[xr,da]=Le.default.useModal(),[Ha,To]=(0,be.useState)(!1),[ua,zi]=(0,be.useState)(!1);(0,be.useEffect)(()=>{var ma,Da,Ma,La;wn.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&mr.setFieldsValue({comment:(Da=(ma=wn.actionTabs.selectArrs)==null?void 0:ma.data)==null?void 0:Da.work_comment,hidden_comment:(La=(Ma=wn.actionTabs.selectArrs)==null?void 0:Ma.data)==null?void 0:La.work_comment_hidden})},[wn.actionTabs.key]);const li=()=>xl(void 0,null,function*(){const ma=mr.getFieldsValue();(yield(0,Be.ZP)(`/api/student_works/${sr.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:ma.hidden_comment,comment:ma.comment}})).status===0&&(de.ZP.success("\u8BC4\u9605\u6210\u529F"),mr.resetFields(),Dt({type:"shixunHomeworks/setActionTabs",payload:{}}),Dt({type:"shixunHomeworks/getShixunWorkReport",payload:Qc({},sr)}))}),Bi=[{title:"\u5173\u5361",dataIndex:"name",render:(ma,Da,Ma)=>Ma+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(ma,Da,Ma)=>va.createElement("div",null,ma,Da.complete_status===4&&va.createElement(Ve.vA,{status:Da.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:ma=>ma?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(ma,Da)=>va.createElement("div",null,va.createElement("span",{style:{color:parseFloat(Da.game_score_full)!==parseFloat(ma)?"#E30000":"#53C41B"}},ma),"/",Da.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(ma,Da)=>(0,Ze.GJ)()?va.createElement(_o,{max:Da.game_score_full,defaultValue:parseFloat(ma),onBlur:Ma=>xl(void 0,null,function*(){var La,Eo;if((0,Ze.Rm)()&&!((La=en.AssistantObject.practice)!=null&&La.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Bo=yield Dt({type:"shixunHomeworks/changeScore",payload:{categoryId:sr.homeworkId,type:"report",score:Ma,challenge_id:Da.challenge_id}});(Eo=wn==null?void 0:wn.actionTabs)==null||Eo.fn(),yield Dt({type:"shixunHomeworks/getShixunWorkReport",payload:Qc({},sr)}),Bo.status===0&&de.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):ma}];return va.createElement(va.Fragment,null,da,va.createElement(Le.default,{className:`${vi.Z.threeModalSty}`,centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:wn.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>xl(void 0,null,function*(){var ma;if((0,Ze.Rm)()&&!((ma=en.AssistantObject.practice)!=null&&ma.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Da=mr.getFieldsValue();JSON.stringify(Da)==="{}"||Da.hidden_comment===""&&Da.comment===""?Ir(!0):li()}),onCancel:()=>{Dt({type:"shixunHomeworks/setActionTabs",payload:{}})}},va.createElement(ee.Z,{justify:"space-between",className:Ga.info},va.createElement(E.Z,null,va.createElement("span",{className:`${Ga.label} ${Ga.greyText}`},"\u59D3\u540D"),va.createElement("span",{className:Ga.blackContent},On==null?void 0:On.username)),va.createElement(E.Z,null,va.createElement("span",{className:`${Ga.label} ${Ga.greyText}`},"\u5B66\u53F7"),va.createElement("span",{className:Ga.blackContent},(On==null?void 0:On.student_id)||"--")),va.createElement(E.Z,null,va.createElement("span",{className:`${Ga.label} ${Ga.greyText}`},"\u73ED\u7EA7"),va.createElement("span",{className:Ga.blackContent},(On==null?void 0:On.group_name)||"--")),va.createElement(E.Z,null,va.createElement("span",{className:`${Ga.label} ${Ga.greyText}`},"\u5173\u5361\u5F97\u5206"),va.createElement("span",{className:Ga.orangeContent},(On==null?void 0:On.challenge_score)||"--")),va.createElement(E.Z,null,va.createElement("span",{className:`${Ga.label} ${Ga.greyText}`},"\u6548\u7387\u5206"),va.createElement("span",{className:Ga.orangeContent},(On==null?void 0:On.eff_score)||"--")),va.createElement(E.Z,null,va.createElement("span",{className:`${Ga.label} ${Ga.greyText}`},"\u8865\u4EA4\u6263\u5206"),va.createElement("span",{className:Ga.orangeContent},(On==null?void 0:On.late_penalty)||"--")),va.createElement(E.Z,null,va.createElement("span",{className:`${Ga.label} ${Ga.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),va.createElement("span",{className:Ga.orangeContent},(On==null?void 0:On.work_score)||"--"))),va.createElement(_n.default,{form:mr,onChange:()=>{Xr&&Ir(!1)}},va.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},va.createElement(E.Z,null,va.createElement("div",{className:`${Ga.inputLabel} ${Ga.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),va.createElement(E.Z,null,va.createElement(nn.Z,{isShowComponent:(0,Ze.G5)(),ModalProps:{open:Ha,onCancel:()=>{To(!1)}},onDataSelect:(ma,Da)=>xl(void 0,[ma,Da],function*(Ma,{node:La}){const Eo=()=>{mr.setFieldsValue({comment:La==null?void 0:La.value}),To(!1)};if(mr.getFieldValue("comment")){xr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Eo});return}Eo()})},va.createElement(Ce.ZP,{style:{padding:0,height:"auto",color:"#00DDC7"},icon:va.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ma=>{To(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),va.createElement(_n.default.Item,{name:"comment"},va.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),va.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},va.createElement(E.Z,null,va.createElement("div",{className:`${Ga.inputLabel} ${Ga.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),va.createElement(E.Z,null,va.createElement(nn.Z,{isShowComponent:(0,Ze.G5)(),ModalProps:{open:ua,onCancel:()=>{zi(!1)}},onDataSelect:(ma,Da)=>xl(void 0,[ma,Da],function*(Ma,{node:La}){const Eo=()=>{mr.setFieldsValue({hidden_comment:La==null?void 0:La.value}),zi(!1)};if(mr.getFieldValue("hidden_comment")){xr.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Eo});return}Eo()})},va.createElement(Ce.ZP,{style:{padding:0,height:"auto",color:"#00DDC7"},icon:va.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:ma=>{zi(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),va.createElement(_n.default.Item,{name:"hidden_comment"},va.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),Xr&&va.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),va.createElement("div",{className:Ga.tableTitle},"\u5173\u5361\u6210\u7EE9"),va.createElement(te.default,{className:Ga.scoreTable,dataSource:On.stage_list,rowKey:"challenge_id",pagination:!1,columns:Bi,scroll:{x:"max-content"}})))};var Tc=(0,ze.connect)(({shixunHomeworks:wn,classroomList:Dt})=>({shixunHomeworks:wn,classroomList:Dt}))(_l),Tu=we(82644),ku={wrap:"wrap___LZOi9",line:"line___oju0L"},fl=({detailData:wn})=>{var Dt;return be.createElement("div",{className:ku.wrap},be.createElement(ea.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,ea.Uf)(wn),(wn==null?void 0:wn.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},be.createElement(ea.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,ea.Uf)(wn)}),!!((Dt=wn==null?void 0:wn.photos)!=null&&Dt.length)&&be.createElement(be.Fragment,null,be.createElement("div",{className:ku.line}),be.createElement(ea._s,{dataSource:wn==null?void 0:wn.photos,right:21,col:4,wrapWidth:1140}))))},Ru=we(4646),An=we(59301),kc=Object.defineProperty,ju=Object.defineProperties,cd=Object.getOwnPropertyDescriptors,su=Object.getOwnPropertySymbols,fs=Object.prototype.hasOwnProperty,lu=Object.prototype.propertyIsEnumerable,rs=(wn,Dt,en)=>Dt in wn?kc(wn,Dt,{enumerable:!0,configurable:!0,writable:!0,value:en}):wn[Dt]=en,NA=(wn,Dt)=>{for(var en in Dt||(Dt={}))fs.call(Dt,en)&&rs(wn,en,Dt[en]);if(su)for(var en of su(Dt))lu.call(Dt,en)&&rs(wn,en,Dt[en]);return wn},Ac=(wn,Dt)=>ju(wn,cd(Dt)),Gl=(wn,Dt)=>{var en={};for(var On in wn)fs.call(wn,On)&&Dt.indexOf(On)<0&&(en[On]=wn[On]);if(wn!=null&&su)for(var On of su(wn))Dt.indexOf(On)<0&&lu.call(wn,On)&&(en[On]=wn[On]);return en},wA=(wn,Dt,en)=>new Promise((On,sr)=>{var Xr=xr=>{try{mr(en.next(xr))}catch(da){sr(da)}},Ir=xr=>{try{mr(en.throw(xr))}catch(da){sr(da)}},mr=xr=>xr.done?On(xr.value):Promise.resolve(xr.value).then(Xr,Ir);mr((en=en.apply(wn,Dt)).next())});const WA=wn=>{var Dt=wn,{shixunHomeworks:en,classroomList:On,globalSetting:sr,loading:Xr,user:Ir,dispatch:mr}=Dt,xr=Gl(Dt,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),da,Ha,To;const[ua,zi]=(0,be.useState)(NA({},(0,ze.useParams)())),li=(0,ze.useParams)(),[Bi,ma]=(0,be.useState)({page:1,page_size:10}),Da=(0,ze.useLocation)(),[]=(0,be.useState)([]),[Ma,La]=(0,be.useState)(),Eo=(0,be.useRef)(),Bo=(0,be.useRef)(),[VA,hl]=(0,be.useState)(!1),[iA,XA]=(0,be.useState)(!0),[nl,rl]=(0,be.useState)(!1),[al,Pn]=(0,be.useState)(!1),{shixunWorkReport:In}=en,[ol,Wr]=(0,be.useState)(),[xa,Lo]=(0,be.useState)([]),[Pi,eo]=(0,be.useState)(),[qi,Mu]=(0,be.useState)("all"),cu=(0,Ze.GJ)(),[Ll,il]=(0,be.useState)(new(me())),[Rd,Il]=(0,be.useState)(0),[AA,sc]=(0,be.useState)(!1),[DA,Hu]=(0,be.useState)(!1),[ml,Ul]=(0,be.useState)(!1),[ti,wu]=(0,be.useState)(""),[lc,dd]=(0,be.useState)(!1),[mA,Qs]=(0,be.useState)(!0),[Nl,$l]=(0,be.useState)(0),bi=(0,be.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),Cs=(0,be.useRef)(),OA=()=>wA(void 0,null,function*(){(Ir.userInfo.is_teacher||Ir.userInfo.admin)&&(dd(!0),Qs(!1))});(0,be.useEffect)(()=>{var lr;(0,Ze.Rm)()&&On.AssistantObject.practice&&!((lr=On.AssistantObject.practice)!=null&&lr.can_view)&&ze.history.replace("/403")},[(da=On.AssistantObject.practice)==null?void 0:da.can_view]),(0,be.useEffect)(()=>{OA(),console.log("\u6253\u5370\u7684------",In),Cs.current=In==null?void 0:In.next_student_work_id,wu(In.repeat_minus_score)},[In,Ir]),(0,be.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",In.work_score),$l(In.work_score)},[In.work_score,ti]),(0,be.useEffect)(()=>(mr({type:"globalSetting/footerToggle",payload:!1}),()=>{mr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,be.useEffect)(()=>{var lr;if(In){let $a=[];(lr=In==null?void 0:In.target_test_sets)==null||lr.map((wo,uA)=>{var Ts;(Ts=wo==null?void 0:wo.targets)==null||Ts.map((JA,Wl)=>{var Al;JA.name=wo==null?void 0:wo.name,JA.total_target_score=wo==null?void 0:wo.total_target_score,JA.actual_target_score=wo==null?void 0:wo.actual_target_score,JA.rowSpan=Wl===0?(Al=wo==null?void 0:wo.targets)==null?void 0:Al.length:0,JA.order=uA+1,$a.push(JA)})}),Wr($a),(0,Ze.Rm)()&&mr({type:"classroomList/getAssistantPermissions",payload:{course_id:ua.coursesId}})}},[In]),(0,be.useEffect)(()=>{en.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(In==null?void 0:In.students_count)>0&&!iA&&setTimeout(()=>{Ol("all")},800)},[In==null?void 0:In.homework_common_id,iA]),(0,be.useEffect)(()=>{zi(NA({},li))},[Da.pathname]);const sA=()=>{document.body.scrollIntoView()},lA=lr=>{Bi.page=lr,ma(NA({},Bi)),Dl(Bi,qi)},Dl=(lr,$a)=>wA(void 0,null,function*(){rl(!0);const wo=yield(0,Be.ZP)(`/api/student_works/${ua==null?void 0:ua.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:Ac(NA({},lr),{challenge_id:$a=="all"?null:$a})});(wo==null?void 0:wo.status)===0&&(Lo(wo==null?void 0:wo.list),eo(wo==null?void 0:wo.count)),rl(!1)});function Mc(){return wA(this,null,function*(){bi.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const YA=()=>{document.querySelectorAll("canvas").forEach(lr=>{(!lr.clientWidth||!lr.clientHeight)&&lr.remove()})},Ku=()=>{Eo.current.offsetHeight>62e3?Pn(!1):Pn(!0)},bA=lr=>wA(void 0,null,function*(){const $a=yield(0,Tr.t1)({homeworkId:lr||ua.homeworkId});La($a==null?void 0:$a.data)}),Ol=lr=>wA(void 0,null,function*(){var $a,wo,uA,Ts;let JA=0,Wl;Wl=Le.default.info({width:460,className:vi.Z.threeModalSty,title:An.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",An.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:An.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",An.createElement("span",{className:"c-blue"},JA+1),"/",lr!=="all"?1:In==null?void 0:In.students_count,An.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,onOk:()=>{}});const Al={margin:[0,0],filename:`${In!=null&&In.student_id&&(In==null?void 0:In.student_id)!="--"?In==null?void 0:In.student_id:""}${In.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},Ps=Ll.folder(In==null?void 0:In.shixun_name);function ui(pl){return wA(this,null,function*(){yield bA(pl||Cs.current);const Wo=yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:NA({homeworkId:pl||Cs.current},bi.current||{})});Cs.current=Wo==null?void 0:Wo.next_student_work_id,sA(),JA++,setTimeout(()=>wA(this,null,function*(){var as,Ya,Gi,Oi;YA();const os=Ps.folder(`${Wo==null?void 0:Wo.group_name}`).folder(`${Wo!=null&&Wo.student_id&&(Wo==null?void 0:Wo.student_id)!="--"?Wo.student_id+"+":""}${Wo==null?void 0:Wo.username}`),CA=document.querySelector("#export-all").children;let HA=_a()();for(let hs=0;hswA(this,null,function*(){hs0&&((Gi=(Ya=Wo==null?void 0:Wo.shixun_detail)==null?void 0:Ya.filter(hs=>{var ms;return((ms=hs==null?void 0:hs.game_codes)==null?void 0:ms.length)>0}))==null?void 0:Gi.length)>0){const hs=os.folder("\u4EE3\u7801\u6587\u4EF6");(Oi=Wo==null?void 0:Wo.shixun_detail)==null||Oi.map((ms,cc)=>{var Ql,Xl;if(((Ql=ms==null?void 0:ms.game_codes)==null?void 0:Ql.length)>0){const QA=hs.folder(`\u7B2C${cc+1}\u5173-${ms.subject}-${ms.id}`);(Xl=ms==null?void 0:ms.game_codes)==null||Xl.map(bu=>{QA.file(`${bu.filename}.txt`,bu==null?void 0:bu.content)})}})}Wl.update({content:An.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",An.createElement("span",{className:"c-blue"},JA),"/",Wo==null?void 0:Wo.students_count,An.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),JA==(Wo==null?void 0:Wo.students_count)?(Wl.destroy(),eA()):ui()}),2200)})}if(lr!=="all"||(In==null?void 0:In.students_count)<2){YA(),sA();const pl=Bo.current.children;let Wo=_a()();const Ya=Ps.folder(`${In==null?void 0:In.group_name}`).folder(`${In!=null&&In.student_id&&(In==null?void 0:In.student_id)!="--"?(In==null?void 0:In.student_id)+"+":""}${In==null?void 0:In.username}`);for(let Gi=0;GiwA(void 0,null,function*(){Gi0&&((uA=(wo=In==null?void 0:In.shixun_detail)==null?void 0:wo.filter(Gi=>{var Oi;return((Oi=Gi==null?void 0:Gi.game_codes)==null?void 0:Oi.length)>0}))==null?void 0:uA.length)>0){const Gi=Ya.folder("\u4EE3\u7801\u6587\u4EF6");(Ts=In==null?void 0:In.shixun_detail)==null||Ts.map((Oi,Vl)=>{var os,CA;if(((os=Oi==null?void 0:Oi.game_codes)==null?void 0:os.length)>0){const HA=Gi.folder(`\u7B2C${Vl+1}\u5173-${Oi.subject}-${Oi.id}`);(CA=Oi==null?void 0:Oi.game_codes)==null||CA.map(hs=>{HA.file(`${hs.filename}.txt`,hs==null?void 0:hs.content)})}})}Wl.destroy(),eA();return}else ui(In==null?void 0:In.first_student_work_id)}),eA=()=>{Ll.generateAsync({type:"blob"}).then(function(lr){console.log(In,"shixunWorkReport");const $a=document.createElement("a");$a.href=window.URL.createObjectURL(lr),$a.download=(In==null?void 0:In.shixun_name)+".zip",document.body.appendChild($a);const wo=document.createEvent("MouseEvents");wo.initEvent("click",!1,!1),$a.dispatchEvent(wo),document.body.removeChild($a),il(new(me()))}),Pn(!1)};(0,be.useEffect)(()=>{uc()},[ua.homeworkId]);const uc=()=>wA(void 0,null,function*(){yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:NA(NA({},ua),bi.current||{})}),bA(),(0,Ze.GJ)()&&Mc(),XA(!1)}),du=[{title:"\u5173\u5361",dataIndex:"name",render:(lr,$a,wo)=>wo+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(lr,$a,wo)=>An.createElement("div",null,lr,$a.complete_status===4&&An.createElement(Ve.vA,{status:$a.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(lr,$a,wo)=>lr||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:lr=>lr?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(lr,$a)=>An.createElement("div",null,An.createElement("span",{style:{color:parseFloat($a.myself_experience)!==parseFloat(lr)?"red":"green"}},$a.myself_experience),"/",lr)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(lr,$a)=>An.createElement("div",null,An.createElement("span",{style:{color:parseFloat($a.game_score_full)!==parseFloat(lr)?"red":"green"}},lr),"/",$a.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(lr,$a)=>cu?An.createElement(_o,{max:$a.game_score_full,defaultValue:parseFloat(lr),onBlur:wo=>wA(void 0,null,function*(){var uA;if((0,Ze.Rm)()&&!((uA=On.AssistantObject.practice)!=null&&uA.can_appraise)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Ts=yield mr({type:"shixunHomeworks/changeScore",payload:{categoryId:ua.homeworkId,type:"report",score:wo,challenge_id:$a.challenge_id}});Dl({page:1,page_size:10},"all"),yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:NA(NA({},ua),bi.current||{})}),Ts.status===0&&de.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):lr}];let gu=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(lr,$a,wo)=>({children:lr,props:{rowSpan:$a.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(lr,$a,wo)=>({children:lr,props:{rowSpan:$a.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(lr,$a,wo)=>An.createElement("div",null,An.createElement("span",{style:{color:parseFloat($a.actual_test_score)!==parseFloat(lr)?"red":"green"}},$a.actual_test_score),"/",lr)},{title:"\u6307\u6807\u603B\u5206",render:(lr,$a,wo)=>({children:An.createElement("div",null,An.createElement("span",{style:{color:parseFloat($a.actual_target_score)!==parseFloat(lr)?"red":"green"}},$a.actual_target_score),"/",lr),props:{rowSpan:$a.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const Hc=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:lr=>An.createElement("span",null,lr?Ge()(lr).format("YYYY-MM-DD HH:mm"):"--")}],Zl=lr=>{mr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{lr==="next"?ze.history.push(`/classrooms/${ua.coursesId}/shixun_homework/${ua.categoryId}/${In==null?void 0:In.next_student_work_id}/comment`):ze.history.push(`/classrooms/${ua.coursesId}/shixun_homework/${ua.categoryId}/${In==null?void 0:In.pre_student_work_id}/comment`)},200)},Er=lr=>{wu(""),lr.target.value&&(console.log("\u8FDB\u6765",In),lr.target.value=lr.target.value>In.repeat_setting_score?In.repeat_setting_score:lr.target.value,wu(lr.target.value))},Ia=()=>wA(void 0,null,function*(){const lr=yield(0,Be.ZP)(`/api/student_works/${In==null?void 0:In.work_id}/update_repeat_score`,{method:"put",body:{score:ti}});yield mr({type:"shixunHomeworks/getShixunWorkReport",payload:NA(NA({},ua),bi.current||{})}),lr.status===0&&de.ZP.info("\u64CD\u4F5C\u6210\u529F")});return An.createElement("section",{style:{minHeight:"100vh",padding:"20px 10px",background:"rgb(2, 28, 33)"},className:`${vi.Z.threecommonSty}`},An.createElement("div",{style:{paddingBottom:100}},An.createElement(Ie.Z,{loading:Xr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},An.createElement("div",null,In.course_id&&An.createElement("section",{className:"animated fadeIn c-white"},An.createElement("aside",{className:[Zr.title1].join(" ")},An.createElement(ee.Z,{align:"middle"},An.createElement(E.Z,{flex:1},An.createElement("div",{className:"flex item-center"},An.createElement(Ru.Z,{url:`/classrooms/${In.course_id}/shixun_homework/${In.homework_common_id}/detail`}),An.createElement("strong",{className:"font20 ml20"},In==null?void 0:In.homework_name)),An.createElement(Ve.VV,{temporary:!0,status:In.homework_status})),An.createElement(E.Z,{className:Zr.title1_right},In.view_tpi&&An.createElement(Ce.ZP,{onClick:()=>{var lr,$a;(0,Ve.xg)(`/tasks/${In==null?void 0:In.course_id}/${In==null?void 0:In.homework_common_id}/${($a=(lr=In==null?void 0:In.shixun_detail)==null?void 0:lr[0])==null?void 0:$a.game_identifier}`)}},An.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),(0,Ze.GJ)()&&In.homework_end===!1&&!!In.myshixun_id&&An.createElement(Ce.ZP,{className:"ml10",onClick:()=>wA(void 0,null,function*(){yield mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:In.myshixun_identifier},homework_common_id:li.categoryId}})})},An.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"\u6253\u56DE\u91CD\u505A"),An.createElement(Ce.ZP,{className:"ml10",onClick:()=>{var lr;if((0,Ze.Rm)()&&!((lr=On.AssistantObject.practice)!=null&&lr.can_download)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ol("")},loading:VA},An.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,Ze.GJ)()&&(In==null?void 0:In.students_count)>1&&An.createElement(Ce.ZP,{className:"ml10",onClick:()=>{var lr;if((0,Ze.Rm)()&&!((lr=On.AssistantObject.practice)!=null&&lr.can_download)){de.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Le.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,className:vi.Z.threeModalSty,centered:!0,okText:An.createElement(ie.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:An.createElement(ie.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{Ol("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,na.jj)({categoryId:ua.categoryId,coursesId:ua.coursesId},"shixun_report")}}})}},An.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A"))))),An.createElement("aside",{className:"mt30 relative"})),An.createElement("aside",{className:"c-white",ref:Eo,style:{background:"#082930"}},An.createElement("div",{id:"export-all",ref:Bo},An.createElement("div",{id:"export-all-1"},An.createElement("div",{className:Zr.title},An.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),An.createElement("div",null,(0,Ze.GJ)()&&An.createElement(Ce.ZP,{className:"mr20",type:"primary",onClick:()=>{mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:In.user_id,data:NA({},In)},fn:()=>Dl({page:1,page_size:10},"all")}})}},An.createElement(he.Z,null),In.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),An.createElement(a.Z,{style:{marginTop:0}}),An.createElement(ee.Z,{className:"pl30 pr30"},An.createElement(E.Z,null,An.createElement("span",{className:"font16 "},In.username),An.createElement(Ve.vA,{status:In.compelete_status}),An.createElement("ul",{className:Zr.userInfo},An.createElement("li",null,"\u5B66\u53F7\uFF1A",In.student_id||"--"),An.createElement("li",null,"\u5206\u73ED\uFF1A",In.group_name||"--"),An.createElement("br",null),An.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361\uFF1A",An.createElement("span",{className:"c-red"},In.complete_count),"/",An.createElement("span",{className:"c-red"},In.challenges_count)),An.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5173\u5361\uFF1A",An.createElement("span",{className:"c-red"},In.current_complete_count||"-"),"/",An.createElement("span",{className:"c-red"},In.challenges_count)),An.createElement("li",null,"\u5B8C\u6210\u6548\u7387\uFF1A",In&&In.efficiency===null?"--":In&&In.efficiency),An.createElement("li",null,"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387\uFF1A",In&&In.max_efficiency===null?"--":In&&In.max_efficiency))),An.createElement("ul",{className:[Zr.listItem,"mt10"].join(" ")},An.createElement("li",null,An.createElement("strong",null,"\u901A\u5173\u65F6\u95F4"),An.createElement("div",{className:"mt20"},In&&In.passed_time===null||In&&In.passed_time==="--"?"--":Ge()(In&&In.passed_time).format("YYYY-MM-DD HH:mm"))),An.createElement("li",null,An.createElement("strong",null,"\u8BA1\u65F6\u89C4\u5219",An.createElement("i",{onClick:lr=>{lr.stopPropagation(),lr.preventDefault(),sc(!0)},style:{marginLeft:4,color:"#00DDC7",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),An.createElement("div",{className:"mt20"},In==null?void 0:In.human_training_time_rules)),An.createElement("li",null,An.createElement("strong",null,"\u5B9E\u8BAD\u603B\u8017\u65F6",An.createElement("i",{onClick:lr=>{lr.stopPropagation(),lr.preventDefault(),Hu(!0)},style:{marginLeft:4,color:"#00DDC7",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),An.createElement("div",{className:"mt20"},In.time_consuming)),An.createElement("li",null,An.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),An.createElement("div",{className:"mt20"},In.evaluate_count)),(In==null?void 0:In.eff_score_full)&&An.createElement(An.Fragment,null,An.createElement("li",null,An.createElement("strong",null,"\u5173\u5361\u5F97\u5206"),An.createElement("div",{className:"mt20"},An.createElement("span",{className:"c-orange"},In.challenge_score),"/",An.createElement("span",{className:"c-light-black"},In.challenge_score_full))),An.createElement("li",null,An.createElement("strong",null,"\u6548\u7387\u5206"),An.createElement("div",{className:"mt20"},An.createElement("span",{className:"c-orange"},In.eff_score),"/",An.createElement("span",{className:"c-light-black"},In.eff_score_full)))),(In==null?void 0:In.have_repeat)&&(In==null?void 0:In.repeat_minus_score)!==0&&An.createElement("li",{style:{position:"relative"}},An.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},An.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),An.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},In!=null&&In.review_rate?An.createElement("span",{style:{background:"#00DDC7",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(In!=null&&In.review_id&&lc)localStorage.setItem("studentDetial",window.location.pathname),ze.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${ua.categoryId}/review_detail/${In==null?void 0:In.review_id}`});else return}},In.review_rate.toFixed(1),"%"):An.createElement("span",{style:{background:"#00DDC7",borderRadius:"6px 6px 6px 0"}},"- -"))),lc?An.createElement("div",{className:"mt20"},An.createElement(y.default,{style:{width:"45px",height:"22px"},value:ti,onChange:lr=>{Er(lr)},onBlur:Ia,disabled:mA})," / ",In==null?void 0:In.repeat_setting_score):An.createElement("div",{className:"mt20"},In==null?void 0:In.repeat_minus_score," / ",In==null?void 0:In.repeat_setting_score)),console.log("sssssssssssssssssssssss",In==null?void 0:In.have_repeat,In==null?void 0:In.repeat_minus_score),(In==null?void 0:In.have_repeat)&&(In==null?void 0:In.repeat_minus_score)===0&&An.createElement("li",null,An.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),An.createElement("div",{className:"mt20"}," - -")),!(In!=null&&In.have_repeat)&&An.createElement("li",null,An.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),An.createElement("div",{className:"mt20"}," - -")),An.createElement("li",null,An.createElement("strong",null,"\u8865\u4EA4\u6263\u5206"),An.createElement("div",{className:"mt20"},An.createElement("span",null,In.late_penalty||"- -"))),An.createElement("li",null,An.createElement("strong",null,"\u6700\u7EC8\u6210\u7EE9"),An.createElement("div",{className:"mt20"},An.createElement("span",{className:"c-orange"},Nl),"/",An.createElement("span",{className:"c-light-black"},In.all_work_score))),An.createElement("li",null,An.createElement("strong",null,"\u603B\u8BC4"),An.createElement("div",{className:"mt20"},An.createElement("span",{className:"c-orange"},In.overall_appraisal))))),An.createElement(a.Z,{style:{margin:0}}),(In.work_comment_hidden||In.work_comment)&&An.createElement("div",null,An.createElement(ee.Z,{align:"middle"},An.createElement(E.Z,{flex:1},An.createElement("h1",{className:Zr.title},"\u70B9\u8BC4\u5185\u5BB9")),An.createElement(E.Z,{className:"pr30"},(0,Ze.GJ)()&&An.createElement(Ce.ZP,{onClick:()=>wA(void 0,null,function*(){Le.default.confirm({centered:!0,className:vi.Z.threeModalSty,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:An.createElement(_e.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return wA(this,null,function*(){(yield(0,Tr.gZ)({comment_id:In.comment_id,homeworkId:ua.homeworkId})).status===0&&(de.ZP.success("\u5220\u9664\u6210\u529F"),mr({type:"shixunHomeworks/getShixunWorkReport",payload:NA(NA({},ua),bi.current||{})}))})}})})},An.createElement(Pe.Z,null),"\u5220\u9664"))),An.createElement(a.Z,{style:{margin:0}}),In.work_comment&&An.createElement("aside",{className:"pl30 pr30 mt20"},An.createElement("span",{className:"font12",style:{color:"#B6BFC2"}},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),An.createElement("br",null),An.createElement(br.Z,{style:{color:"#fff"},value:In.work_comment})),In.work_comment_hidden&&An.createElement("aside",{className:"pl30 pr30 mt20"},An.createElement("span",{className:"font12",style:{color:"#B6BFC2"}},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),An.createElement("br",null),An.createElement(br.Z,{style:{color:"#fff"},value:In.work_comment_hidden}))),(In==null?void 0:In.action_analysis)&&An.createElement(fl,{detailData:In}),An.createElement("div",{className:Zr.score},An.createElement("h1",{className:Zr.title},"\u9636\u6BB5\u6210\u7EE9"),(In==null?void 0:In.adjust_review_score_count)>0&&(0,Ze.GJ)()&&An.createElement("div",{style:{color:"#00DDC7",cursor:"pointer"},onClick:()=>{Ul(!0),Dl({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",In==null?void 0:In.adjust_review_score_count,"\u6B21\uFF09")),An.createElement("aside",{className:"pl30 pr30"},An.createElement(te.default,{dataSource:In.stage_list,rowKey:lr=>lr==null?void 0:lr.challenge_id,pagination:!1,columns:du})),((Ha=In==null?void 0:In.target_test_sets)==null?void 0:Ha.length)>0&&An.createElement("div",null,An.createElement("h1",{className:Zr.title},"\u6307\u6807\u6210\u7EE9"),An.createElement("aside",{className:"pl30 pr30"},An.createElement(te.default,{dataSource:ol,rowKey:lr=>lr==null?void 0:lr.challenge_id,pagination:!1,bordered:!0,columns:gu}))),(In==null?void 0:In.work_description)&&An.createElement(An.Fragment,null,An.createElement("h1",{className:Zr.title},"\u4E2A\u4EBA\u603B\u7ED3"),An.createElement("aside",{className:"pl30 pr30"},An.createElement(br.Z,{value:In==null?void 0:In.work_description}))),An.createElement("h1",{className:Zr.title},"\u56FE\u5F62\u7EDF\u8BA1"),An.createElement(Ko,{data:Ma}),An.createElement("h1",{className:Zr.title},"\u5B9E\u8BAD\u8BE6\u60C5")),An.createElement(Fa,{autoHeight:al}))),(0,Ze.GJ)()&&An.createElement("aside",{className:`${Zr.footerBar} ${VA?Zr.footerBarStatic:""}`},An.createElement(ee.Z,{align:"middle",style:{width:"100%"}},An.createElement(Ce.ZP,{type:"default",onClick:()=>{ze.history.push(`/classrooms/${ua.coursesId}/shixun_homework/${ua.categoryId}/detail`)}},"\u8FD4\u56DE\u5217\u8868"),An.createElement(E.Z,{flex:"1",className:"tr"},An.createElement(Ce.ZP,{type:"default",disabled:!(In!=null&&In.pre_student_work_id),onClick:()=>Zl()},"\u4E0A\u4E00\u4E2A"),An.createElement(Ce.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(In!=null&&In.next_student_work_id),onClick:()=>Zl("next")},"\u4E0B\u4E00\u4E2A"),(0,Ze.GJ)()&&An.createElement(Ce.ZP,{type:"primary",onClick:()=>wA(void 0,null,function*(){mr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:In.user_id,data:NA({},In)},fn:()=>Dl({page:1,page_size:10},"all")}})})},"\u70B9\u8BC4\u4F5C\u4E1A")))))),An.createElement(Tc,null),An.createElement(Tu.Z,null),An.createElement(Le.default,{open:AA,width:860,centered:!0,onCancel:()=>{sc(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},An.createElement("div",{style:{color:"#fff",fontWeight:400}},An.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),An.createElement("br",null),An.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),An.createElement("br",null),An.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),An.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),An.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),An.createElement("div",{style:{color:"#fff",marginTop:20,fontWeight:400}},An.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),An.createElement("br",null),An.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),An.createElement("br",null),An.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),An.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),An.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),An.createElement("br",null),An.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),An.createElement("div",{style:{color:"#fff",marginTop:20,fontWeight:400}},An.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),An.createElement("br",null),An.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),An.createElement("div",{style:{color:"#fff",marginTop:20,fontWeight:400}},An.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),An.createElement("br",null),An.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),An.createElement(Le.default,{open:DA,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{Hu(!1)},width:600},An.createElement("div",{style:{fontWeight:400,color:"#fff"}},An.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",An.createElement("span",{style:{color:"#00DDC7"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),An.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",An.createElement("span",{style:{color:"#00DDC7"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),An.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",An.createElement("span",{style:{color:"#00DDC7"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))),An.createElement(Le.default,{className:vi.Z.threeModalSty,open:ml,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{Mu("all"),Ul(!1)},destroyOnClose:!0,width:900},An.createElement("div",{style:{fontWeight:400,color:"#fff"}},An.createElement("div",null,An.createElement("span",null,"\u5173\u5361\uFF1A"),An.createElement(ne.default,{style:{width:300},value:qi,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:lr=>wA(void 0,null,function*(){Mu(lr),Dl({page:1,page_size:10},lr)})},An.createElement(ne.default.Option,{value:"all"}," \u5168\u90E8 "),(To=In==null?void 0:In.stage_list)==null?void 0:To.map((lr,$a)=>An.createElement(ne.default.Option,{key:$a,value:lr==null?void 0:lr.challenge_id},"\u7B2C",(0,Ve.EM)($a+1),"\u5173")))),An.createElement("div",{className:"mt20"},An.createElement(te.default,{dataSource:xa,rowKey:lr=>lr==null?void 0:lr.id,pagination:!1,columns:Hc,loading:nl})),An.createElement("div",{className:Zr.footer},An.createElement("div",null,An.createElement("span",{style:{color:"#656F87"}},"\u5171",An.createElement("span",{style:{color:"#fff",margin:"0 5px"}},Pi),"\u6761\u6570\u636E")),An.createElement(oe.Z,{defaultCurrent:1,defaultPageSize:10,current:(Bi==null?void 0:Bi.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:Pi,onChange:lA})))))};var Rc=(0,ze.connect)(({shixunHomeworks:wn,classroomList:Dt,loading:en,globalSetting:On,user:sr})=>({shixunHomeworks:wn,classroomList:Dt,globalSetting:On,loading:en.effects,user:sr}))(WA);const uu=({globalSetting:wn})=>{var Dt;switch(Number((Dt=wn==null?void 0:wn.setting)==null?void 0:Dt.theme)){case Oe.Fy.THEMEONE:return be.createElement(Ea,null);case Oe.Fy.DEFAULT:default:return be.createElement(Rc,null)}};var jc=(0,ze.connect)(({globalSetting:wn})=>({globalSetting:wn}))(uu)},79702:function(on,Ut,we){"use strict";var Oe=we(43418),be=we(8591),ze=we(43597),at=we(92123),Ge=we(47141),je=we(59301),me=(Le,de,Ie)=>new Promise((Fe,Ce)=>{var ie=ee=>{try{a(Ie.next(ee))}catch(E){Ce(E)}},y=ee=>{try{a(Ie.throw(ee))}catch(E){Ce(E)}},a=ee=>ee.done?Fe(ee.value):Promise.resolve(ee.value).then(ie,y);a((Ie=Ie.apply(Le,de)).next())});const Be=({shixunHomeworks:Le,classroomList:de,dispatch:Ie})=>{const Fe=(0,at.useParams)();return je.createElement(Oe.default,{centered:!0,title:"\u63D0\u793A",open:Le.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>me(void 0,null,function*(){var Ce,ie,y,a;if((0,Ge.Rm)()&&!((Ce=de.AssistantObject.practice)!=null&&Ce.can_redo)){be.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const ee=yield(0,ze.ZP)(`/api/myshixuns/${Le.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Fe.coursesId,homework_common_id:Le.actionTabs.homework_common_id}});if(ee.shixun_identifier){be.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ie({type:"shixunHomeworks/setActionTabs",payload:{}});const E=(y=(ie=ee==null?void 0:ee.new_works)==null?void 0:ie.find(te=>`${te.homework_common_id}`===Fe.categoryId))==null?void 0:y.id;if((0,Ge.Rm)()&&!((a=de.AssistantObject.practice)!=null&&a.can_view))return;at.history.replace(`/classrooms/${Fe.coursesId}/shixun_homework/${Fe.categoryId}/${E}/comment`)}}),onCancel:()=>{Ie({type:"shixunHomeworks/setActionTabs",payload:{}})}},je.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),je.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Ut.Z=(0,at.connect)(({shixunHomeworks:Le,classroomList:de})=>({shixunHomeworks:Le,classroomList:de}))(Be)},18167:function(on,Ut,we){"use strict";we.d(Ut,{AD:function(){return Ot},D9:function(){return st},Hp:function(){return _e},IM:function(){return rn},Iy:function(){return Pe},KM:function(){return er},MJ:function(){return Qe},Ne:function(){return ft},ON:function(){return Hn},Uj:function(){return yt},VY:function(){return Jt},YO:function(){return Vn},YX:function(){return un},Zn:function(){return y},_g:function(){return ne},_k:function(){return dt},c6:function(){return Bt},cr:function(){return a},eV:function(){return ke},fi:function(){return ee},gh:function(){return nt},hS:function(){return fn},iA:function(){return E},j6:function(){return oe},je:function(){return wt},jj:function(){return he},kS:function(){return Ln},o6:function(){return De},pO:function(){return Kn},rQ:function(){return it},sA:function(){return Ve},xm:function(){return pt},xo:function(){return Et},y8:function(){return rt},yd:function(){return te}});var Oe=we(19284),be=we(92123),ze=we(94601),at=we(8591),Ge=we(85386),je=Object.defineProperty,me=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,de=(Re,Kt,Te)=>Kt in Re?je(Re,Kt,{enumerable:!0,configurable:!0,writable:!0,value:Te}):Re[Kt]=Te,Ie=(Re,Kt)=>{for(var Te in Kt||(Kt={}))Be.call(Kt,Te)&&de(Re,Te,Kt[Te]);if(me)for(var Te of me(Kt))Le.call(Kt,Te)&&de(Re,Te,Kt[Te]);return Re},Fe=(Re,Kt,Te)=>new Promise((pe,ce)=>{var ye=Me=>{try{gt(Te.next(Me))}catch(Xe){ce(Xe)}},qe=Me=>{try{gt(Te.throw(Me))}catch(Xe){ce(Xe)}},gt=Me=>Me.done?pe(Me.value):Promise.resolve(Me.value).then(ye,qe);gt((Te=Te.apply(Re,Kt)).next())});const Ce=()=>{(0,be.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},ie=()=>{(0,be.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},y=Re=>Fe(void 0,null,function*(){Ce(),(yield(0,Oe.YR)(Ie({},Re))).status===0&&(yield(0,ze.QH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Re.coursesId}/export_couser_info.json`,query:Re}))),ie()}),a=Re=>Fe(void 0,null,function*(){const Kt=yield(0,Oe.yS)(Ie({},Re));if(Kt.status===0)at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_member_act_score`);else{if(Kt.status===-2)return Kt;Kt.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_member_act_score`))}}),ee=Re=>Fe(void 0,null,function*(){const Kt=yield(0,Oe.W0)(Ie({},Re));if(Kt.status===0)at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_score`);else{if(Kt.status===-4)return Kt;Kt.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_score`))}}),E=Re=>Fe(void 0,null,function*(){const Kt=yield(0,Oe.Nl)(Ie({},Re));if(Kt.status===0)at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`);else{if(Kt.status===-4)return Kt;Kt.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`))}}),te=Re=>Fe(void 0,null,function*(){const Kt=yield(0,Oe.IU)(Ie({},Re));if(Kt.status===0)at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/export_star_user`);else{if(Kt.status===-4)return Kt;Kt.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/export_star_user`))}}),ne=Re=>Fe(void 0,null,function*(){const Kt=yield(0,Oe.td)(Ie({},Re));if(Kt.status===0)at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`);else{if(Kt.status===-2)return Kt;if(Kt.status===-3)(0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_exercise_and_other`);else if(Kt.status===-4)return Kt}}),oe=Re=>Fe(void 0,null,function*(){const Kt=yield(0,Oe.QX)(Ie({},Re));if(Kt.status===0)at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_homework`);else{if(Kt.status===-4)return Kt;Kt.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/course_total_homework`))}}),he=(Re,Kt)=>Fe(void 0,null,function*(){const Te=yield(0,Oe.o_)(Ie({},Re));Te.status===0?(at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`)):Te.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`))}),_e=(Re,Kt)=>Fe(void 0,null,function*(){const Te=yield(0,Oe.ZL)(Ie({},Re));Te.status===0?(at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`)):Te.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`))}),Pe=(Re,Kt)=>Fe(void 0,null,function*(){const Te=yield(0,Oe.aP)(Ie({},Re));Te.status===0?(at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`)):Te.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`))}),Qe=(Re,Kt)=>Fe(void 0,null,function*(){const Te=yield(0,Oe.vV)(Ie({},Re));Te.status===0?(at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`)):Te.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/${Kt}`))}),Ze=Re=>Fe(void 0,null,function*(){Ce(),(yield exportCourseWorkListAppendix(Ie({},Re))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${Re.categoryId}/works_list.zip`,query:Re}))),ie()}),Ve=Re=>Fe(void 0,null,function*(){Ce(),yield(0,ze.QH)("",Ge.Z.API_SERVER+`/api/polls/${Re.categoryId}/commit_result.xlsx`),ie()}),nt=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Re.coursesId}/attendances/export_xlsx_data.xlsx`,query:Re}))}),De=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Re.coursesId}/video_study_statics.xlsx`,query:Re}))}),Bt=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Re.coursesId}/export_video_study.xlsx`,query:Re}))}),ke=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Re.coursesId}/export_course_students_info.xlsx`,query:Re}))}),Ot=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/school_manages/students.xlsx",query:Re}))}),it=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/item_banks/export.xlsx",query:Re}))}),rt=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:Re}))}),wt=Re=>Fe(void 0,null,function*(){const Kt=yield(0,Oe.Uy)(Ie({},Re));Kt.status===0?(at.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),be.history.push(`/classrooms/${Re.coursesId}/exportlist/exercise_score,export_exercise_users`)):Kt.status===-3&&((0,be.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),be.history.push(`/classrooms/${Re.coursesId}/exportlist/exercise_score,export_exercise_users`))}),dt=Re=>Fe(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/export_records/${Re.id}.xlsx`,query:Re}))}),pt=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:Re}))}),st=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Re==null?void 0:Re.coursesId}/${Re.menuKey}_statistic.xlsx?${Re.checkedList.map(Kt=>`course_group_id[]=${Kt}`).join("&")}`,query:Re}))}),ft=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/ec_years/${Re==null?void 0:Re.ec_year_id}/ec_training_objectives.xlsx`,query:Re}))}),rn=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)(Re==null?void 0:Re.name,(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:Re}))}),fn=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/ec_years/${Re==null?void 0:Re.ec_year_id}/ec_courses.xlsx`,query:Re}))}),Et=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/ec_years/${Re==null?void 0:Re.ec_year_id}/ec_graduation_requirements.xlsx`,query:Re}))}),Jt=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:Re}))}),Ln=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:Re}))}),Hn=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/examination_banks/${Re.id}.json`,query:Re}))}),un=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/exercises/${Re.categoryId}.json`,query:Re}))}),Vn=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/polls/${Re==null?void 0:Re.id}/commit_result.json`,query:Re}))}),yt=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+"/api/paths/get_task_pass.json",query:Re}))}),Kn=(Re,Kt)=>Fe(void 0,null,function*(){yield(0,ze.FH)(Kt||"",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/exercises/${Re==null?void 0:Re.exercise_id}/consult_exercise.json`,query:Re}))}),er=Re=>Fe(void 0,null,function*(){yield(0,ze.FH)("",(0,ze.NY)({url:Ge.Z.API_SERVER+`/api/competitions/${Re==null?void 0:Re.identifier}/competition_commit_records/member_works.xlsx`,query:Re}))})},18581:function(on,Ut,we){"use strict";we.d(Ut,{U:function(){return Le}});var Oe=we(59301),be=Object.defineProperty,ze=Object.getOwnPropertySymbols,at=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,je=(de,Ie,Fe)=>Ie in de?be(de,Ie,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):de[Ie]=Fe,me=(de,Ie)=>{for(var Fe in Ie||(Ie={}))at.call(Ie,Fe)&&je(de,Fe,Ie[Fe]);if(ze)for(var Fe of ze(Ie))Ge.call(Ie,Fe)&&je(de,Fe,Ie[Fe]);return de},Be=(de,Ie,Fe)=>new Promise((Ce,ie)=>{var y=E=>{try{ee(Fe.next(E))}catch(te){ie(te)}},a=E=>{try{ee(Fe.throw(E))}catch(te){ie(te)}},ee=E=>E.done?Ce(E.value):Promise.resolve(E.value).then(y,a);ee((Fe=Fe.apply(de,Ie)).next())});function Le(de,Ie){const[Fe,Ce]=(0,Oe.useState)(Ie),[ie,y]=(0,Oe.useState)(!1),[a,ee]=(0,Oe.useState)();return[Fe,ie,(te,ne=!1)=>Be(this,null,function*(){const oe=ne?Ie:me(me({},Fe),te);y(!0),Ce(oe);const he=yield de(oe);return y(!1),ee(he),he}),a]}},50371:function(on,Ut){"use strict";function we(){const Oe=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let be=1;be{const Ge=ze[at];Ge!==void 0&&(Oe[at]=Ge)})}return Oe}Ut.Z=we},13845:function(on,Ut,we){"use strict";we.d(Ut,{F:function(){return Oe},Z:function(){return be}});function Oe(ze){return ze!=null&&ze===ze.window}function be(ze,at){var Ge,je;if(typeof window=="undefined")return 0;const me=at?"scrollTop":"scrollLeft";let Be=0;return Oe(ze)?Be=ze[at?"pageYOffset":"pageXOffset"]:ze instanceof Document?Be=ze.documentElement[me]:(ze instanceof HTMLElement||ze)&&(Be=ze[me]),ze&&!Oe(ze)&&typeof Be!="number"&&(Be=(je=((Ge=ze.ownerDocument)!==null&&Ge!==void 0?Ge:ze).documentElement)===null||je===void 0?void 0:je[me]),Be}},56762:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return be}});var Oe=we(59301);function be(){const[,ze]=Oe.useReducer(at=>at+1,0);return ze}},68031:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return at}});var Oe=we(16089);function be(Ge,je,me,Be){const Le=me-je;return Ge/=Be/2,Ge<1?Le/2*Ge*Ge*Ge+je:Le/2*((Ge-=2)*Ge*Ge+2)+je}var ze=we(13845);function at(Ge){let je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:me=()=>window,callback:Be,duration:Le=450}=je,de=me(),Ie=(0,ze.Z)(de,!0),Fe=Date.now(),Ce=()=>{const y=Date.now()-Fe,a=be(y>Le?Le:y,Ie,Ge,Le);(0,ze.F)(de)?de.scrollTo(window.pageXOffset,a):de instanceof Document||de.constructor.name==="HTMLDocument"?de.documentElement.scrollTop=a:de.scrollTop=a,y{let{children:rt}=it;const{getPrefixCls:wt}=Ge.useContext(me.E_),dt=wt("breadcrumb");return Ge.createElement("li",{className:`${dt}-separator`,"aria-hidden":"true"},rt===""?rt:rt||"/")};de.__ANT_BREADCRUMB_SEPARATOR=!0;var Ie=de,Fe=function(it,rt){var wt={};for(var dt in it)Object.prototype.hasOwnProperty.call(it,dt)&&rt.indexOf(dt)<0&&(wt[dt]=it[dt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,dt=Object.getOwnPropertySymbols(it);ptrt[pt]||dt)}function ie(it,rt,wt,dt){if(wt==null)return null;const{className:pt,onClick:st}=rt,ft=Fe(rt,["className","onClick"]),rn=Object.assign(Object.assign({},(0,at.Z)(ft,{data:!0,aria:!0})),{onClick:st});return dt!==void 0?Ge.createElement("a",Object.assign({},rn,{className:be()(`${it}-link`,pt),href:dt}),wt):Ge.createElement("span",Object.assign({},rn,{className:be()(`${it}-link`,pt)}),wt)}function y(it,rt){return(dt,pt,st,ft,rn)=>{if(rt)return rt(dt,pt,st,ft);const fn=Ce(dt,pt);return ie(it,dt,fn,rn)}}var a=function(it,rt){var wt={};for(var dt in it)Object.prototype.hasOwnProperty.call(it,dt)&&rt.indexOf(dt)<0&&(wt[dt]=it[dt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,dt=Object.getOwnPropertySymbols(it);pt{const{prefixCls:rt,separator:wt="/",children:dt,menu:pt,overlay:st,dropdownProps:ft,href:rn}=it,Et=(Jt=>{if(pt||st){const Ln=Object.assign({},ft);if(pt){const Hn=pt||{},{items:un}=Hn,Vn=a(Hn,["items"]);Ln.menu=Object.assign(Object.assign({},Vn),{items:un==null?void 0:un.map((yt,Kn)=>{var{key:er,title:Re,label:Kt,path:Te}=yt,pe=a(yt,["key","title","label","path"]);let ce=Kt!=null?Kt:Re;return Te&&(ce=Ge.createElement("a",{href:`${rn}${Te}`},ce)),Object.assign(Object.assign({},pe),{key:er!=null?er:Kn,label:ce})})})}else st&&(Ln.overlay=st);return Ge.createElement(Le.Z,Object.assign({placement:"bottom"},Ln),Ge.createElement("span",{className:`${rt}-overlay-link`},Jt,Ge.createElement(Be.Z,null)))}return Jt})(dt);return Et!=null?Ge.createElement(Ge.Fragment,null,Ge.createElement("li",null,Et),wt&&Ge.createElement(Ie,null,wt)):null},E=it=>{const{prefixCls:rt,children:wt,href:dt}=it,pt=a(it,["prefixCls","children","href"]),{getPrefixCls:st}=Ge.useContext(me.E_),ft=st("breadcrumb",rt);return Ge.createElement(ee,Object.assign({},pt,{prefixCls:ft}),ie(ft,pt,wt,dt))};E.__ANT_BREADCRUMB_ITEM=!0;var te=E,ne=we(17313),oe=we(83116),he=we(37613);const _e=it=>{const{componentCls:rt,iconCls:wt}=it;return{[rt]:Object.assign(Object.assign({},(0,ne.Wf)(it)),{color:it.itemColor,fontSize:it.fontSize,[wt]:{fontSize:it.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:it.linkColor,transition:`color ${it.motionDurationMid}`,padding:`0 ${it.paddingXXS}px`,borderRadius:it.borderRadiusSM,height:it.lineHeight*it.fontSize,display:"inline-block",marginInline:-it.marginXXS,"&:hover":{color:it.linkHoverColor,backgroundColor:it.colorBgTextHover}},(0,ne.Qy)(it)),"li:last-child":{color:it.lastItemColor},[`${rt}-separator`]:{marginInline:it.separatorMargin,color:it.separatorColor},[`${rt}-link`]:{[` > ${wt} + span, > ${wt} + a `]:{marginInlineStart:it.marginXXS}},[`${rt}-overlay-link`]:{borderRadius:it.borderRadiusSM,height:it.lineHeight*it.fontSize,display:"inline-block",padding:`0 ${it.paddingXXS}px`,marginInline:-it.marginXXS,[`> ${wt}`]:{marginInlineStart:it.marginXXS,fontSize:it.fontSizeIcon},"&:hover":{color:it.linkHoverColor,backgroundColor:it.colorBgTextHover,a:{color:it.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${it.componentCls}-rtl`]:{direction:"rtl"}})}};var Pe=(0,oe.Z)("Breadcrumb",it=>{const rt=(0,he.TS)(it,{});return[_e(rt)]},it=>({itemColor:it.colorTextDescription,lastItemColor:it.colorText,iconFontSize:it.fontSize,linkColor:it.colorTextDescription,linkHoverColor:it.colorText,separatorColor:it.colorTextDescription,separatorMargin:it.marginXS})),Qe=function(it,rt){var wt={};for(var dt in it)Object.prototype.hasOwnProperty.call(it,dt)&&rt.indexOf(dt)<0&&(wt[dt]=it[dt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,dt=Object.getOwnPropertySymbols(it);pt{var{breadcrumbName:ft}=st,rn=Qe(st,["breadcrumbName"]);return Object.assign(Object.assign({},rn),{title:ft})})}),pt}function Ve(it,rt){return(0,Ge.useMemo)(()=>it||(rt?rt.map(Ze):null),[it,rt])}var nt=function(it,rt){var wt={};for(var dt in it)Object.prototype.hasOwnProperty.call(it,dt)&&rt.indexOf(dt)<0&&(wt[dt]=it[dt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,dt=Object.getOwnPropertySymbols(it);pt{if(rt===void 0)return rt;let wt=(rt||"").replace(/^\//,"");return Object.keys(it).forEach(dt=>{wt=wt.replace(`:${dt}`,it[dt])}),wt},Bt=it=>{const{prefixCls:rt,separator:wt="/",style:dt,className:pt,rootClassName:st,routes:ft,items:rn,children:fn,itemRender:Et,params:Jt={}}=it,Ln=nt(it,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Hn,direction:un,breadcrumb:Vn}=Ge.useContext(me.E_);let yt;const Kn=Hn("breadcrumb",rt),[er,Re]=Pe(Kn),Kt=Ve(rn,ft),Te=y(Kn,Et);if(Kt&&Kt.length>0){const ye=[],qe=rn||ft;yt=Kt.map((gt,Me)=>{const{path:Xe,key:Pt,type:ct,menu:ot,overlay:kt,onClick:_n,className:_t,separator:nn,dropdownProps:Nt}=gt,yn=De(Jt,Xe);yn!==void 0&&ye.push(yn);const Xt=Pt!=null?Pt:Me;if(ct==="separator")return Ge.createElement(Ie,{key:Xt},nn);const Jn={},hr=Me===Kt.length-1;ot?Jn.menu=ot:kt&&(Jn.overlay=kt);let{href:tr}=gt;return ye.length&&yn!==void 0&&(tr=`#/${ye.join("/")}`),Ge.createElement(ee,Object.assign({key:Xt},Jn,(0,at.Z)(gt,{data:!0,aria:!0}),{className:_t,dropdownProps:Nt,href:tr,separator:hr?"":wt,onClick:_n,prefixCls:Kn}),Te(gt,Jt,qe,ye,tr))})}else if(fn){const ye=(0,ze.Z)(fn).length;yt=(0,ze.Z)(fn).map((qe,gt)=>{if(!qe)return qe;const Me=gt===ye-1;return(0,je.Tm)(qe,{separator:Me?"":wt,key:gt})})}const pe=be()(Kn,Vn==null?void 0:Vn.className,{[`${Kn}-rtl`]:un==="rtl"},pt,st,Re),ce=Object.assign(Object.assign({},Vn==null?void 0:Vn.style),dt);return er(Ge.createElement("nav",Object.assign({className:pe,style:ce},Ln),Ge.createElement("ol",null,yt)))};Bt.Item=te,Bt.Separator=Ie;var ke=Bt,Ot=ke},24905:function(on,Ut,we){"use strict";we.d(Ut,{default:function(){return Pe}});var Oe=we(92310),be=we.n(Oe),ze=we(5630),at=we(59301),Ge=we(36355),je=we(1684),me=we(32441),Le=at.createContext(null),de=we(98447),Ie=we(14088),Fe=we(4572),Ce=function(Qe,Ze){var Ve={};for(var nt in Qe)Object.prototype.hasOwnProperty.call(Qe,nt)&&Ze.indexOf(nt)<0&&(Ve[nt]=Qe[nt]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,nt=Object.getOwnPropertySymbols(Qe);De{var Ve;const{prefixCls:nt,className:De,rootClassName:Bt,children:ke,indeterminate:Ot=!1,style:it,onMouseEnter:rt,onMouseLeave:wt,skipGroup:dt=!1,disabled:pt}=Qe,st=Ce(Qe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:ft,direction:rn,checkbox:fn}=at.useContext(Ge.E_),Et=at.useContext(Le),{isFormItemInput:Jt}=at.useContext(me.aM),Ln=at.useContext(je.Z),Hn=(Ve=(Et==null?void 0:Et.disabled)||pt)!==null&&Ve!==void 0?Ve:Ln,un=at.useRef(st.value);at.useEffect(()=>{Et==null||Et.registerValue(st.value)},[]),at.useEffect(()=>{if(!dt)return st.value!==un.current&&(Et==null||Et.cancelValue(un.current),Et==null||Et.registerValue(st.value),un.current=st.value),()=>Et==null?void 0:Et.cancelValue(st.value)},[st.value]);const Vn=ft("checkbox",nt),[yt,Kn]=(0,de.ZP)(Vn),er=Object.assign({},st);Et&&!dt&&(er.onChange=function(){st.onChange&&st.onChange.apply(st,arguments),Et.toggleOption&&Et.toggleOption({label:ke,value:st.value})},er.name=Et.name,er.checked=Et.value.includes(st.value));const Re=be()(`${Vn}-wrapper`,{[`${Vn}-rtl`]:rn==="rtl",[`${Vn}-wrapper-checked`]:er.checked,[`${Vn}-wrapper-disabled`]:Hn,[`${Vn}-wrapper-in-form-item`]:Jt},fn==null?void 0:fn.className,De,Bt,Kn),Kt=be()({[`${Vn}-indeterminate`]:Ot},Fe.A,Kn),Te=Ot?"mixed":void 0;return yt(at.createElement(Ie.Z,{component:"Checkbox",disabled:Hn},at.createElement("label",{className:Re,style:Object.assign(Object.assign({},fn==null?void 0:fn.style),it),onMouseEnter:rt,onMouseLeave:wt},at.createElement(ze.Z,Object.assign({"aria-checked":Te},er,{prefixCls:Vn,className:Kt,disabled:Hn,ref:Ze})),ke!==void 0&&at.createElement("span",null,ke))))};var a=at.forwardRef(ie),ee=we(94480),E=we(2738),te=function(Qe,Ze){var Ve={};for(var nt in Qe)Object.prototype.hasOwnProperty.call(Qe,nt)&&Ze.indexOf(nt)<0&&(Ve[nt]=Qe[nt]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,nt=Object.getOwnPropertySymbols(Qe);De{const{defaultValue:Ve,children:nt,options:De=[],prefixCls:Bt,className:ke,rootClassName:Ot,style:it,onChange:rt}=Qe,wt=te(Qe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:dt,direction:pt}=at.useContext(Ge.E_),[st,ft]=at.useState(wt.value||Ve||[]),[rn,fn]=at.useState([]);at.useEffect(()=>{"value"in wt&&ft(wt.value||[])},[wt.value]);const Et=at.useMemo(()=>De.map(pe=>typeof pe=="string"||typeof pe=="number"?{label:pe,value:pe}:pe),[De]),Jt=pe=>{fn(ce=>ce.filter(ye=>ye!==pe))},Ln=pe=>{fn(ce=>[].concat((0,ee.Z)(ce),[pe]))},Hn=pe=>{const ce=st.indexOf(pe.value),ye=(0,ee.Z)(st);ce===-1?ye.push(pe.value):ye.splice(ce,1),"value"in wt||ft(ye),rt==null||rt(ye.filter(qe=>rn.includes(qe)).sort((qe,gt)=>{const Me=Et.findIndex(Pt=>Pt.value===qe),Xe=Et.findIndex(Pt=>Pt.value===gt);return Me-Xe}))},un=dt("checkbox",Bt),Vn=`${un}-group`,[yt,Kn]=(0,de.ZP)(un),er=(0,E.Z)(wt,["value","disabled"]),Re=De.length?Et.map(pe=>at.createElement(a,{prefixCls:un,key:pe.value.toString(),disabled:"disabled"in pe?pe.disabled:wt.disabled,value:pe.value,checked:st.includes(pe.value),onChange:pe.onChange,className:`${Vn}-item`,style:pe.style,title:pe.title},pe.label)):nt,Kt={toggleOption:Hn,value:st,disabled:wt.disabled,name:wt.name,registerValue:Ln,cancelValue:Jt},Te=be()(Vn,{[`${Vn}-rtl`]:pt==="rtl"},ke,Ot,Kn);return yt(at.createElement("div",Object.assign({className:Te,style:it},er,{ref:Ze}),at.createElement(Le.Provider,{value:Kt},Re)))},oe=at.forwardRef(ne);var he=at.memo(oe);const _e=a;_e.Group=he,_e.__ANT_CHECKBOX=!0;var Pe=_e},98447:function(on,Ut,we){"use strict";we.d(Ut,{C2:function(){return Ge}});var Oe=we(17313),be=we(37613),ze=we(83116);const at=je=>{const{checkboxCls:me}=je,Be=`${me}-wrapper`;return[{[`${me}-group`]:Object.assign(Object.assign({},(0,Oe.Wf)(je)),{display:"inline-flex",flexWrap:"wrap",columnGap:je.marginXS,[`> ${je.antCls}-row`]:{flex:1}}),[Be]:Object.assign(Object.assign({},(0,Oe.Wf)(je)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Be}`]:{marginInlineStart:0},[`&${Be}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[me]:Object.assign(Object.assign({},(0,Oe.Wf)(je)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:je.borderRadiusSM,alignSelf:"center",[`${me}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${me}-inner`]:Object.assign({},(0,Oe.oN)(je))},[`${me}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:je.checkboxSize,height:je.checkboxSize,direction:"ltr",backgroundColor:je.colorBgContainer,border:`${je.lineWidth}px ${je.lineType} ${je.colorBorder}`,borderRadius:je.borderRadiusSM,borderCollapse:"separate",transition:`all ${je.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:je.checkboxSize/14*5,height:je.checkboxSize/14*8,border:`${je.lineWidthBold}px solid ${je.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${je.motionDurationFast} ${je.motionEaseInBack}, opacity ${je.motionDurationFast}`}},"& + span":{paddingInlineStart:je.paddingXS,paddingInlineEnd:je.paddingXS}})},{[` ${Be}:not(${Be}-disabled), ${me}:not(${me}-disabled) `]:{[`&:hover ${me}-inner`]:{borderColor:je.colorPrimary}},[`${Be}:not(${Be}-disabled)`]:{[`&:hover ${me}-checked:not(${me}-disabled) ${me}-inner`]:{backgroundColor:je.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${me}-checked:not(${me}-disabled):after`]:{borderColor:je.colorPrimaryHover}}},{[`${me}-checked`]:{[`${me}-inner`]:{backgroundColor:je.colorPrimary,borderColor:je.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${je.motionDurationMid} ${je.motionEaseOutBack} ${je.motionDurationFast}`}}},[` ${Be}-checked:not(${Be}-disabled), ${me}-checked:not(${me}-disabled) `]:{[`&:hover ${me}-inner`]:{backgroundColor:je.colorPrimaryHover,borderColor:"transparent"}}},{[me]:{"&-indeterminate":{[`${me}-inner`]:{backgroundColor:je.colorBgContainer,borderColor:je.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:je.fontSizeLG/2,height:je.fontSizeLG/2,backgroundColor:je.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Be}-disabled`]:{cursor:"not-allowed"},[`${me}-disabled`]:{[`&, ${me}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${me}-inner`]:{background:je.colorBgContainerDisabled,borderColor:je.colorBorder,"&:after":{borderColor:je.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:je.colorTextDisabled},[`&${me}-indeterminate ${me}-inner::after`]:{background:je.colorTextDisabled}}}]};function Ge(je,me){const Be=(0,be.TS)(me,{checkboxCls:`.${je}`,checkboxSize:me.controlInteractiveSize});return[at(Be)]}Ut.ZP=(0,ze.Z)("Checkbox",(je,me)=>{let{prefixCls:Be}=me;return[Ge(Be,je)]})},28103:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Fe}});var Oe=we(92310),be=we.n(Oe),ze=we(59301),at=we(36355),Ge=we(17313),je=we(83116),me=we(37613);const Be=Ce=>{const{componentCls:ie,sizePaddingEdgeHorizontal:y,colorSplit:a,lineWidth:ee,textPaddingInline:E,orientationMargin:te,verticalMarginInline:ne}=Ce;return{[ie]:Object.assign(Object.assign({},(0,Ge.Wf)(Ce)),{borderBlockStart:`${ee}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ne,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${ee}px solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Ce.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${ie}-with-text`]:{display:"flex",alignItems:"center",margin:`${Ce.dividerHorizontalWithTextGutterMargin}px 0`,color:Ce.colorTextHeading,fontWeight:500,fontSize:Ce.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${ee}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${ie}-with-text-left`]:{"&::before":{width:`${te*100}%`},"&::after":{width:`${100-te*100}%`}},[`&-horizontal${ie}-with-text-right`]:{"&::before":{width:`${100-te*100}%`},"&::after":{width:`${te*100}%`}},[`${ie}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:E},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${ee}px 0 0`},[`&-horizontal${ie}-with-text${ie}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ie}-dashed`]:{borderInlineStartWidth:ee,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ie}-with-text`]:{color:Ce.colorText,fontWeight:"normal",fontSize:Ce.fontSize},[`&-horizontal${ie}-with-text-left${ie}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ie}-inner-text`]:{paddingInlineStart:y}},[`&-horizontal${ie}-with-text-right${ie}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ie}-inner-text`]:{paddingInlineEnd:y}}})}};var Le=(0,je.Z)("Divider",Ce=>{const ie=(0,me.TS)(Ce,{dividerHorizontalWithTextGutterMargin:Ce.margin,dividerHorizontalGutterMargin:Ce.marginLG,sizePaddingEdgeHorizontal:0});return[Be(ie)]},Ce=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Ce.marginXS})),de=function(Ce,ie){var y={};for(var a in Ce)Object.prototype.hasOwnProperty.call(Ce,a)&&ie.indexOf(a)<0&&(y[a]=Ce[a]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,a=Object.getOwnPropertySymbols(Ce);ee{const{getPrefixCls:ie,direction:y,divider:a}=ze.useContext(at.E_),{prefixCls:ee,type:E="horizontal",orientation:te="center",orientationMargin:ne,className:oe,rootClassName:he,children:_e,dashed:Pe,plain:Qe,style:Ze}=Ce,Ve=de(Ce,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),nt=ie("divider",ee),[De,Bt]=Le(nt),ke=te.length>0?`-${te}`:te,Ot=!!_e,it=te==="left"&&ne!=null,rt=te==="right"&&ne!=null,wt=be()(nt,a==null?void 0:a.className,Bt,`${nt}-${E}`,{[`${nt}-with-text`]:Ot,[`${nt}-with-text${ke}`]:Ot,[`${nt}-dashed`]:!!Pe,[`${nt}-plain`]:!!Qe,[`${nt}-rtl`]:y==="rtl",[`${nt}-no-default-orientation-margin-left`]:it,[`${nt}-no-default-orientation-margin-right`]:rt},oe,he),dt=ze.useMemo(()=>typeof ne=="number"?ne:/^\d+$/.test(ne)?Number(ne):ne,[ne]),pt=Object.assign(Object.assign({},it&&{marginLeft:dt}),rt&&{marginRight:dt});return De(ze.createElement("div",Object.assign({className:wt,style:Object.assign(Object.assign({},a==null?void 0:a.style),Ze)},Ve,{role:"separator"}),_e&&E!=="vertical"&&ze.createElement("span",{className:`${nt}-inner-text`,style:pt},_e)))}},91857:function(on,Ut,we){"use strict";var Oe=we(59301),be=we(38819),ze=we(92310),at=we.n(ze),Ge=we(31561),je=we(70425),me=we(18929),Be=we(2738),Le=we(79676),de=we(53487),Ie=we(92343),Fe=we(36355),Ce=we(20834),ie=we(40875),y=we(88088),a=we(47211);const ee=null,E=he=>{const{menu:_e,arrow:Pe,prefixCls:Qe,children:Ze,trigger:Ve,disabled:nt,dropdownRender:De,getPopupContainer:Bt,overlayClassName:ke,rootClassName:Ot,open:it,onOpenChange:rt,visible:wt,onVisibleChange:dt,mouseEnterDelay:pt=.15,mouseLeaveDelay:st=.1,autoAdjustOverflow:ft=!0,placement:rn="",overlay:fn,transitionName:Et}=he,{getPopupContainer:Jt,getPrefixCls:Ln,direction:Hn}=Oe.useContext(Fe.E_),un=Oe.useMemo(()=>{const ot=Ln();return Et!==void 0?Et:rn.includes("top")?`${ot}-slide-down`:`${ot}-slide-up`},[Ln,rn,Et]),Vn=Oe.useMemo(()=>rn?rn.includes("Center")?rn.slice(0,rn.indexOf("Center")):rn:Hn==="rtl"?"bottomRight":"bottomLeft",[rn,Hn]),yt=Ln("dropdown",Qe),[Kn,er]=(0,a.Z)(yt),[,Re]=(0,y.Z)(),Kt=Oe.Children.only(Ze),Te=(0,Ie.Tm)(Kt,{className:at()(`${yt}-trigger`,{[`${yt}-rtl`]:Hn==="rtl"},Kt.props.className),disabled:nt}),pe=nt?[]:Ve;let ce;pe&&pe.includes("contextMenu")&&(ce=!0);const[ye,qe]=(0,me.Z)(!1,{value:it!=null?it:wt}),gt=(0,je.useEvent)(ot=>{rt==null||rt(ot),dt==null||dt(ot),qe(ot)}),Me=at()(ke,Ot,er,{[`${yt}-rtl`]:Hn==="rtl"}),Xe=(0,Le.Z)({arrowPointAtCenter:typeof Pe=="object"&&Pe.pointAtCenter,autoAdjustOverflow:ft,offset:Re.marginXXS,arrowWidth:Pe?Re.sizePopupArrow:0,borderRadius:Re.borderRadius}),Pt=Oe.useCallback(()=>{qe(!1)},[]),ct=()=>{let ot;return _e!=null&&_e.items?ot=Oe.createElement(Ce.default,Object.assign({},_e)):typeof fn=="function"?ot=fn():ot=fn,De&&(ot=De(ot)),ot=Oe.Children.only(typeof ot=="string"?Oe.createElement("span",null,ot):ot),Oe.createElement(ie.J,{prefixCls:`${yt}-menu`,expandIcon:Oe.createElement("span",{className:`${yt}-menu-submenu-arrow`},Oe.createElement(be.Z,{className:`${yt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Pt,validator:kt=>{let{mode:_n}=kt}},ot)};return Kn(Oe.createElement(Ge.Z,Object.assign({alignPoint:ce},(0,Be.Z)(he,["rootClassName"]),{mouseEnterDelay:pt,mouseLeaveDelay:st,visible:ye,builtinPlacements:Xe,arrow:!!Pe,overlayClassName:Me,prefixCls:yt,getPopupContainer:Bt||Jt,transitionName:un,trigger:pe,overlay:ct,placement:Vn,onVisibleChange:gt}),Te))};function te(he){return Object.assign(Object.assign({},he),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ne=(0,de.Z)(E,"dropdown",he=>he,te),oe=he=>Oe.createElement(ne,Object.assign({},he),Oe.createElement("span",null));E._InternalPanelDoNotUseOrYouWillBeFired=oe,Ut.Z=E},38854:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return y}});var Oe=we(91857),be=we(92310),ze=we.n(be),at=we(59301),Ge=we(18785),je=we(3113),me=we(36355),Be=we(81327),Le=we(33234),de=we(47211),Ie=function(a,ee){var E={};for(var te in a)Object.prototype.hasOwnProperty.call(a,te)&&ee.indexOf(te)<0&&(E[te]=a[te]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,te=Object.getOwnPropertySymbols(a);ne{const{getPopupContainer:ee,getPrefixCls:E,direction:te}=at.useContext(me.E_),{prefixCls:ne,type:oe="default",danger:he,disabled:_e,loading:Pe,onClick:Qe,htmlType:Ze,children:Ve,className:nt,menu:De,arrow:Bt,autoFocus:ke,overlay:Ot,trigger:it,align:rt,open:wt,onOpenChange:dt,placement:pt,getPopupContainer:st,href:ft,icon:rn=at.createElement(Ge.Z,null),title:fn,buttonsRender:Et=ct=>ct,mouseEnterDelay:Jt,mouseLeaveDelay:Ln,overlayClassName:Hn,overlayStyle:un,destroyPopupOnHide:Vn,dropdownRender:yt}=a,Kn=Ie(a,["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"]),er=E("dropdown",ne),Re=`${er}-button`,[Kt,Te]=(0,de.Z)(er),pe={menu:De,arrow:Bt,autoFocus:ke,align:rt,disabled:_e,trigger:_e?[]:it,onOpenChange:dt,getPopupContainer:st||ee,mouseEnterDelay:Jt,mouseLeaveDelay:Ln,overlayClassName:Hn,overlayStyle:un,destroyPopupOnHide:Vn,dropdownRender:yt},{compactSize:ce,compactItemClassnames:ye}=(0,Le.ri)(er,te),qe=ze()(Re,ye,nt,Te);"overlay"in a&&(pe.overlay=Ot),"open"in a&&(pe.open=wt),"placement"in a?pe.placement=pt:pe.placement=te==="rtl"?"bottomLeft":"bottomRight";const gt=at.createElement(je.ZP,{type:oe,danger:he,disabled:_e,loading:Pe,onClick:Qe,htmlType:Ze,href:ft,title:fn},Ve),Me=at.createElement(je.ZP,{type:oe,danger:he,icon:rn}),[Xe,Pt]=Et([gt,Me]);return Kt(at.createElement(Be.Z.Compact,Object.assign({className:qe,size:ce,block:!0},Kn),Xe,at.createElement(Oe.Z,Object.assign({},pe),Pt)))};Fe.__ANT_BUTTON=!0;var Ce=Fe;const ie=Oe.Z;ie.Button=Ce;var y=ie},47211:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return Ie}});var Oe=we(17313),be=we(13826),ze=we(92899),at=we(29878),Ge=we(19447),je=we(83116),me=we(37613),Le=Fe=>{const{componentCls:Ce,menuCls:ie,colorError:y,colorTextLightSolid:a}=Fe,ee=`${ie}-item`;return{[`${Ce}, ${Ce}-menu-submenu`]:{[`${ie} ${ee}`]:{[`&${ee}-danger:not(${ee}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const de=Fe=>{const{componentCls:Ce,menuCls:ie,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:ee,antCls:E,iconCls:te,motionDurationMid:ne,dropdownPaddingVertical:oe,fontSize:he,dropdownEdgeChildPadding:_e,colorTextDisabled:Pe,fontSizeIcon:Qe,controlPaddingHorizontal:Ze,colorBgElevated:Ve}=Fe;return[{[Ce]:Object.assign(Object.assign({},(0,Oe.Wf)(Fe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:y,display:"block","&::before":{position:"absolute",insetBlock:-a+ee/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${E}-btn`]:{[`& > ${te}-down, & > ${E}-btn-icon > ${te}-down`]:{fontSize:Qe}},[`${Ce}-wrap`]:{position:"relative",[`${E}-btn > ${te}-down`]:{fontSize:Qe},[`${te}-down::before`]:{transition:`transform ${ne}`}},[`${Ce}-wrap-open`]:{[`${te}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${E}-slide-down-enter${E}-slide-down-enter-active${Ce}-placement-bottomLeft, &${E}-slide-down-appear${E}-slide-down-appear-active${Ce}-placement-bottomLeft, &${E}-slide-down-enter${E}-slide-down-enter-active${Ce}-placement-bottom, &${E}-slide-down-appear${E}-slide-down-appear-active${Ce}-placement-bottom, &${E}-slide-down-enter${E}-slide-down-enter-active${Ce}-placement-bottomRight, &${E}-slide-down-appear${E}-slide-down-appear-active${Ce}-placement-bottomRight`]:{animationName:be.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${Ce}-placement-topLeft, &${E}-slide-up-appear${E}-slide-up-appear-active${Ce}-placement-topLeft, &${E}-slide-up-enter${E}-slide-up-enter-active${Ce}-placement-top, &${E}-slide-up-appear${E}-slide-up-appear-active${Ce}-placement-top, &${E}-slide-up-enter${E}-slide-up-enter-active${Ce}-placement-topRight, &${E}-slide-up-appear${E}-slide-up-appear-active${Ce}-placement-topRight`]:{animationName:be.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${Ce}-placement-bottomLeft, &${E}-slide-down-leave${E}-slide-down-leave-active${Ce}-placement-bottom, &${E}-slide-down-leave${E}-slide-down-leave-active${Ce}-placement-bottomRight`]:{animationName:be.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${Ce}-placement-topLeft, &${E}-slide-up-leave${E}-slide-up-leave-active${Ce}-placement-top, &${E}-slide-up-leave${E}-slide-up-leave-active${Ce}-placement-topRight`]:{animationName:be.ly}})},(0,Ge.ZP)(Fe,{colorBg:Ve,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ce} ${ie}`]:{position:"relative",margin:0},[`${ie}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ce}, ${Ce}-menu-submenu`]:{[ie]:Object.assign(Object.assign({padding:_e,listStyleType:"none",backgroundColor:Ve,backgroundClip:"padding-box",borderRadius:Fe.borderRadiusLG,outline:"none",boxShadow:Fe.boxShadowSecondary},(0,Oe.Qy)(Fe)),{[`${ie}-item-group-title`]:{padding:`${oe}px ${Ze}px`,color:Fe.colorTextDescription,transition:`all ${ne}`},[`${ie}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ie}-item-icon`]:{minWidth:he,marginInlineEnd:Fe.marginXS,fontSize:Fe.fontSizeSM},[`${ie}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ne}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ie}-item, ${ie}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${oe}px ${Ze}px`,color:Fe.colorText,fontWeight:"normal",fontSize:he,lineHeight:Fe.lineHeight,cursor:"pointer",transition:`all ${ne}`,borderRadius:Fe.borderRadiusSM,"&:hover, &-active":{backgroundColor:Fe.controlItemBgHover}},(0,Oe.Qy)(Fe)),{"&-selected":{color:Fe.colorPrimary,backgroundColor:Fe.controlItemBgActive,"&:hover, &-active":{backgroundColor:Fe.controlItemBgActiveHover}},"&-disabled":{color:Pe,cursor:"not-allowed","&:hover":{color:Pe,backgroundColor:Ve,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Fe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Fe.colorSplit},[`${Ce}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Fe.paddingXS,[`${Ce}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Fe.colorTextDescription,fontSize:Qe,fontStyle:"normal"}}}),[`${ie}-item-group-list`]:{margin:`0 ${Fe.marginXS}px`,padding:0,listStyle:"none"},[`${ie}-submenu-title`]:{paddingInlineEnd:Ze+Fe.fontSizeSM},[`${ie}-submenu-vertical`]:{position:"relative"},[`${ie}-submenu${ie}-submenu-disabled ${Ce}-menu-submenu-title`]:{[`&, ${Ce}-menu-submenu-arrow-icon`]:{color:Pe,backgroundColor:Ve,cursor:"not-allowed"}},[`${ie}-submenu-selected ${Ce}-menu-submenu-title`]:{color:Fe.colorPrimary}})}},[(0,be.oN)(Fe,"slide-up"),(0,be.oN)(Fe,"slide-down"),(0,ze.Fm)(Fe,"move-up"),(0,ze.Fm)(Fe,"move-down"),(0,at._y)(Fe,"zoom-big")]]};var Ie=(0,je.Z)("Dropdown",(Fe,Ce)=>{let{rootPrefixCls:ie}=Ce;const{marginXXS:y,sizePopupArrow:a,controlHeight:ee,fontSize:E,lineHeight:te,paddingXXS:ne,componentCls:oe,borderRadiusLG:he}=Fe,_e=(ee-E*te)/2,{dropdownArrowOffset:Pe}=(0,Ge.fS)({contentRadius:he}),Qe=(0,me.TS)(Fe,{menuCls:`${oe}-menu`,rootPrefixCls:ie,dropdownArrowDistance:a/2+y,dropdownArrowOffset:Pe,dropdownPaddingVertical:_e,dropdownEdgeChildPadding:ne});return[de(Qe),Le(Qe)]},Fe=>({zIndexPopup:Fe.zIndexPopupBase+50}))},8628:function(on,Ut,we){"use strict";var Oe=we(59301),be=we(34280),ze=we(56762),at=we(69507);function Ge(){let je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const me=(0,Oe.useRef)({}),Be=(0,ze.Z)(),Le=(0,at.ZP)();return(0,be.Z)(()=>{const de=Le.subscribe(Ie=>{me.current=Ie,je&&Be()});return()=>Le.unsubscribe(de)},[]),me.current}Ut.Z=Ge},45818:function(on,Ut,we){"use strict";we.d(Ut,{D:function(){return ne},Z:function(){return _e}});var Oe=we(54476),be=we(59301),ze={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"},at=ze,Ge=we(7657),je=function(Qe,Ze){return be.createElement(Ge.Z,(0,Oe.Z)({},Qe,{ref:Ze,icon:at}))},me=be.forwardRef(je),Be=me,Le=we(33853),de=we(38819),Ie=we(92310),Fe=we.n(Ie),Ce=we(2738),y=Pe=>!isNaN(parseFloat(Pe))&&isFinite(Pe),a=we(36355),ee=we(84966),E=function(Pe,Qe){var Ze={};for(var Ve in Pe)Object.prototype.hasOwnProperty.call(Pe,Ve)&&Qe.indexOf(Ve)<0&&(Ze[Ve]=Pe[Ve]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,Ve=Object.getOwnPropertySymbols(Pe);nt{let Pe=0;return function(){let Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Pe+=1,`${Qe}${Pe}`}})();var _e=be.forwardRef((Pe,Qe)=>{const{prefixCls:Ze,className:Ve,trigger:nt,children:De,defaultCollapsed:Bt=!1,theme:ke="dark",style:Ot={},collapsible:it=!1,reverseArrow:rt=!1,width:wt=200,collapsedWidth:dt=80,zeroWidthTriggerStyle:pt,breakpoint:st,onCollapse:ft,onBreakpoint:rn}=Pe,fn=E(Pe,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Et}=(0,be.useContext)(ee.Gs),[Jt,Ln]=(0,be.useState)("collapsed"in Pe?Pe.collapsed:Bt),[Hn,un]=(0,be.useState)(!1);(0,be.useEffect)(()=>{"collapsed"in Pe&&Ln(Pe.collapsed)},[Pe.collapsed]);const Vn=(Te,pe)=>{"collapsed"in Pe||Ln(Te),ft==null||ft(Te,pe)},yt=(0,be.useRef)();yt.current=Te=>{un(Te.matches),rn==null||rn(Te.matches),Jt!==Te.matches&&Vn(Te.matches,"responsive")},(0,be.useEffect)(()=>{function Te(ce){return yt.current(ce)}let pe;if(typeof window!="undefined"){const{matchMedia:ce}=window;if(ce&&st&&st in te){pe=ce(`(max-width: ${te[st]})`);try{pe.addEventListener("change",Te)}catch(ye){pe.addListener(Te)}Te(pe)}}return()=>{try{pe==null||pe.removeEventListener("change",Te)}catch(ce){pe==null||pe.removeListener(Te)}}},[st]),(0,be.useEffect)(()=>{const Te=oe("ant-sider-");return Et.addSider(Te),()=>Et.removeSider(Te)},[]);const Kn=()=>{Vn(!Jt,"clickTrigger")},{getPrefixCls:er}=(0,be.useContext)(a.E_),Re=()=>{const Te=er("layout-sider",Ze),pe=(0,Ce.Z)(fn,["collapsed"]),ce=Jt?dt:wt,ye=y(ce)?`${ce}px`:String(ce),qe=parseFloat(String(dt||0))===0?be.createElement("span",{onClick:Kn,className:Fe()(`${Te}-zero-width-trigger`,`${Te}-zero-width-trigger-${rt?"right":"left"}`),style:pt},nt||be.createElement(Be,null)):null,Xe={expanded:rt?be.createElement(de.Z,null):be.createElement(Le.Z,null),collapsed:rt?be.createElement(Le.Z,null):be.createElement(de.Z,null)}[Jt?"collapsed":"expanded"],Pt=nt!==null?qe||be.createElement("div",{className:`${Te}-trigger`,onClick:Kn,style:{width:ye}},nt||Xe):null,ct=Object.assign(Object.assign({},Ot),{flex:`0 0 ${ye}`,maxWidth:ye,minWidth:ye,width:ye}),ot=Fe()(Te,`${Te}-${ke}`,{[`${Te}-collapsed`]:!!Jt,[`${Te}-has-trigger`]:it&&nt!==null&&!qe,[`${Te}-below`]:!!Hn,[`${Te}-zero-width`]:parseFloat(ye)===0},Ve);return be.createElement("aside",Object.assign({className:ot},pe,{style:ct,ref:Qe}),be.createElement("div",{className:`${Te}-children`},De),it||Hn&&qe?Pt:null)},Kt=be.useMemo(()=>({siderCollapsed:Jt}),[Jt]);return be.createElement(ne.Provider,{value:Kt},Re())})},84966:function(on,Ut,we){"use strict";we.d(Ut,{VY:function(){return ne},$_:function(){return te},h4:function(){return E},Gs:function(){return Ce},ZP:function(){return oe}});var Oe=we(94480),be=we(92310),ze=we.n(be),at=we(2738),Ge=we(59301),je=we(36355),me=we(83116),Le=he=>{const{componentCls:_e,bodyBg:Pe,lightSiderBg:Qe,lightTriggerBg:Ze,lightTriggerColor:Ve}=he;return{[`${_e}-sider-light`]:{background:Qe,[`${_e}-sider-trigger`]:{color:Ve,background:Ze},[`${_e}-sider-zero-width-trigger`]:{color:Ve,background:Ze,border:`1px solid ${Pe}`,borderInlineStart:0}}}};const de=he=>{const{antCls:_e,componentCls:Pe,colorText:Qe,triggerColor:Ze,footerBg:Ve,triggerBg:nt,headerHeight:De,headerPadding:Bt,headerColor:ke,footerPadding:Ot,triggerHeight:it,zeroTriggerHeight:rt,zeroTriggerWidth:wt,motionDurationMid:dt,motionDurationSlow:pt,fontSize:st,borderRadius:ft,bodyBg:rn,headerBg:fn,siderBg:Et}=he;return{[Pe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:rn,"&, *":{boxSizing:"border-box"},[`&${Pe}-has-sider`]:{flexDirection:"row",[`> ${Pe}, > ${Pe}-content`]:{width:0}},[`${Pe}-header, &${Pe}-footer`]:{flex:"0 0 auto"},[`${Pe}-sider`]:{position:"relative",minWidth:0,background:Et,transition:`all ${dt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${_e}-menu${_e}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:it},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:it,color:Ze,lineHeight:`${it}px`,textAlign:"center",background:nt,cursor:"pointer",transition:`all ${dt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:De,insetInlineEnd:-wt,zIndex:1,width:wt,height:rt,color:Ze,fontSize:he.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Et,borderStartStartRadius:0,borderStartEndRadius:ft,borderEndEndRadius:ft,borderEndStartRadius:0,cursor:"pointer",transition:`background ${pt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${pt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-wt,borderStartStartRadius:ft,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ft}}}}},Le(he)),{"&-rtl":{direction:"rtl"}}),[`${Pe}-header`]:{height:De,padding:Bt,color:ke,lineHeight:`${De}px`,background:fn,[`${_e}-menu`]:{lineHeight:"inherit"}},[`${Pe}-footer`]:{padding:Ot,color:Qe,fontSize:st,background:Ve},[`${Pe}-content`]:{flex:"auto",minHeight:0}}};var Ie=(0,me.Z)("Layout",he=>[de(he)],he=>{const{colorBgLayout:_e,controlHeight:Pe,controlHeightLG:Qe,colorText:Ze,controlHeightSM:Ve,marginXXS:nt,colorTextLightSolid:De,colorBgContainer:Bt}=he,ke=Qe*1.25;return{colorBgHeader:"#001529",colorBgBody:_e,colorBgTrigger:"#002140",bodyBg:_e,headerBg:"#001529",headerHeight:Pe*2,headerPadding:`0 ${ke}px`,headerColor:Ze,footerPadding:`${Ve}px ${ke}px`,footerBg:_e,siderBg:"#001529",triggerHeight:Qe+nt*2,triggerBg:"#002140",triggerColor:De,zeroTriggerWidth:Qe,zeroTriggerHeight:Qe,lightSiderBg:Bt,lightTriggerBg:Bt,lightTriggerColor:Ze}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Fe=function(he,_e){var Pe={};for(var Qe in he)Object.prototype.hasOwnProperty.call(he,Qe)&&_e.indexOf(Qe)<0&&(Pe[Qe]=he[Qe]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Qe=Object.getOwnPropertySymbols(he);Zenull,removeSider:()=>null}});function ie(he){let{suffixCls:_e,tagName:Pe,displayName:Qe}=he;return Ze=>Ge.forwardRef((nt,De)=>Ge.createElement(Ze,Object.assign({ref:De,suffixCls:_e,tagName:Pe},nt)))}const y=Ge.forwardRef((he,_e)=>{const{prefixCls:Pe,suffixCls:Qe,className:Ze,tagName:Ve}=he,nt=Fe(he,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:De}=Ge.useContext(je.E_),Bt=De("layout",Pe),[ke,Ot]=Ie(Bt),it=Qe?`${Bt}-${Qe}`:Bt;return ke(Ge.createElement(Ve,Object.assign({className:ze()(Pe||it,Ze,Ot),ref:_e},nt)))}),a=Ge.forwardRef((he,_e)=>{const{direction:Pe}=Ge.useContext(je.E_),[Qe,Ze]=Ge.useState([]),{prefixCls:Ve,className:nt,rootClassName:De,children:Bt,hasSider:ke,tagName:Ot,style:it}=he,rt=Fe(he,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),wt=(0,at.Z)(rt,["suffixCls"]),{getPrefixCls:dt,layout:pt}=Ge.useContext(je.E_),st=dt("layout",Ve),[ft,rn]=Ie(st),fn=ze()(st,{[`${st}-has-sider`]:typeof ke=="boolean"?ke:Qe.length>0,[`${st}-rtl`]:Pe==="rtl"},pt==null?void 0:pt.className,nt,De,rn),Et=Ge.useMemo(()=>({siderHook:{addSider:Jt=>{Ze(Ln=>[].concat((0,Oe.Z)(Ln),[Jt]))},removeSider:Jt=>{Ze(Ln=>Ln.filter(Hn=>Hn!==Jt))}}}),[]);return ft(Ge.createElement(Ce.Provider,{value:Et},Ge.createElement(Ot,Object.assign({ref:_e,className:fn,style:Object.assign(Object.assign({},pt==null?void 0:pt.style),it)},wt),Bt)))}),ee=ie({tagName:"div",displayName:"Layout"})(a),E=ie({suffixCls:"header",tagName:"header",displayName:"Header"})(y),te=ie({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),ne=ie({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var oe=ee},40875:function(on,Ut,we){"use strict";we.d(Ut,{J:function(){return je}});var Oe=we(59301),be=we(33234),ze=we(70425),at=function(me,Be){var Le={};for(var de in me)Object.prototype.hasOwnProperty.call(me,de)&&Be.indexOf(de)<0&&(Le[de]=me[de]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,de=Object.getOwnPropertySymbols(me);Ie{const{children:Le}=me,de=at(me,["children"]),Ie=Oe.useContext(Ge),Fe=Oe.useMemo(()=>Object.assign(Object.assign({},Ie),de),[Ie,de.prefixCls,de.mode,de.selectable]);return Oe.createElement(Ge.Provider,{value:Fe},Oe.createElement(be.BR,null,(0,ze.supportNodeRef)(Le)?Oe.cloneElement(Le,{ref:Be}):Le))});Ut.Z=Ge},20834:function(on,Ut,we){"use strict";we.d(Ut,{default:function(){return Kt}});var Oe=we(15285),be=we(59301),ze=we(45818),at=we(92310),Ge=we.n(at),je=we(36355),me=function(Te,pe){var ce={};for(var ye in Te)Object.prototype.hasOwnProperty.call(Te,ye)&&pe.indexOf(ye)<0&&(ce[ye]=Te[ye]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,ye=Object.getOwnPropertySymbols(Te);qe{const{prefixCls:pe,className:ce,dashed:ye}=Te,qe=me(Te,["prefixCls","className","dashed"]),{getPrefixCls:gt}=be.useContext(je.E_),Me=gt("menu",pe),Xe=Ge()({[`${Me}-item-divider-dashed`]:!!ye},ce);return be.createElement(Oe.iz,Object.assign({className:Xe},qe))},de=we(11592),Ie=we(2738),Fe=we(6848),Ce=we(92343),y=(0,be.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),ee=Te=>{var pe;const{className:ce,children:ye,icon:qe,title:gt,danger:Me}=Te,{prefixCls:Xe,firstLevel:Pt,direction:ct,disableMenuItemTitleTooltip:ot,inlineCollapsed:kt}=be.useContext(y),_n=Jn=>{const hr=be.createElement("span",{className:`${Xe}-title-content`},ye);return(!qe||(0,Ce.l$)(ye)&&ye.type==="span")&&ye&&Jn&&Pt&&typeof ye=="string"?be.createElement("div",{className:`${Xe}-inline-collapsed-noicon`},ye.charAt(0)):hr},{siderCollapsed:_t}=be.useContext(ze.D);let nn=gt;typeof gt=="undefined"?nn=Pt?ye:"":gt===!1&&(nn="");const Nt={title:nn};!_t&&!kt&&(Nt.title=null,Nt.open=!1);const yn=(0,de.Z)(ye).length;let Xt=be.createElement(Oe.ck,Object.assign({},(0,Ie.Z)(Te,["title","icon","danger"]),{className:Ge()({[`${Xe}-item-danger`]:Me,[`${Xe}-item-only-child`]:(qe?yn+1:yn)===1},ce),title:typeof gt=="string"?gt:void 0}),(0,Ce.Tm)(qe,{className:Ge()((0,Ce.l$)(qe)?(pe=qe.props)===null||pe===void 0?void 0:pe.className:"",`${Xe}-item-icon`)}),_n(kt));return ot||(Xt=be.createElement(Fe.Z,Object.assign({},Nt,{placement:ct==="rtl"?"left":"right",overlayClassName:`${Xe}-inline-collapsed-tooltip`}),Xt)),Xt},te=Te=>{var pe;const{popupClassName:ce,icon:ye,title:qe,theme:gt}=Te,Me=be.useContext(y),{prefixCls:Xe,inlineCollapsed:Pt,theme:ct}=Me,ot=(0,Oe.Xl)();let kt;if(!ye)kt=Pt&&!ot.length&&qe&&typeof qe=="string"?be.createElement("div",{className:`${Xe}-inline-collapsed-noicon`},qe.charAt(0)):be.createElement("span",{className:`${Xe}-title-content`},qe);else{const _t=(0,Ce.l$)(qe)&&qe.type==="span";kt=be.createElement(be.Fragment,null,(0,Ce.Tm)(ye,{className:Ge()((0,Ce.l$)(ye)?(pe=ye.props)===null||pe===void 0?void 0:pe.className:"",`${Xe}-item-icon`)}),_t?qe:be.createElement("span",{className:`${Xe}-title-content`},qe))}const _n=be.useMemo(()=>Object.assign(Object.assign({},Me),{firstLevel:!1}),[Me]);return be.createElement(y.Provider,{value:_n},be.createElement(Oe.Wd,Object.assign({},(0,Ie.Z)(Te,["icon"]),{title:kt,popupClassName:Ge()(Xe,ce,`${Xe}-${gt||ct}`)})))},ne=we(18785),oe=we(70425),he=we(62892),_e=we(40875),Pe=function(Te,pe){var ce={};for(var ye in Te)Object.prototype.hasOwnProperty.call(Te,ye)&&pe.indexOf(ye)<0&&(ce[ye]=Te[ye]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,ye=Object.getOwnPropertySymbols(Te);qe{if(pe&&typeof pe=="object"){const ye=pe,{label:qe,children:gt,key:Me,type:Xe}=ye,Pt=Pe(ye,["label","children","key","type"]),ct=Me!=null?Me:`tmp-${ce}`;return gt||Xe==="group"?Xe==="group"?be.createElement(Oe.BW,Object.assign({key:ct},Pt,{title:qe}),Qe(gt)):be.createElement(te,Object.assign({key:ct},Pt,{title:qe}),Qe(gt)):Xe==="divider"?be.createElement(Le,Object.assign({key:ct},Pt)):be.createElement(ee,Object.assign({key:ct},Pt),qe)}return null}).filter(pe=>pe)}function Ze(Te){return be.useMemo(()=>Te&&Qe(Te),[Te])}var Ve=we(64993),nt=we(17313),De=we(8378),Bt=we(13826),ke=we(29878),Ot=we(83116),it=we(37613),wt=Te=>{const{componentCls:pe,motionDurationSlow:ce,horizontalLineHeight:ye,colorSplit:qe,lineWidth:gt,lineType:Me,itemPaddingInline:Xe}=Te;return{[`${pe}-horizontal`]:{lineHeight:ye,border:0,borderBottom:`${gt}px ${Me} ${qe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${pe}-item, ${pe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Xe},[`> ${pe}-item:hover, > ${pe}-item-active, > ${pe}-submenu ${pe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${pe}-item, ${pe}-submenu-title`]:{transition:[`border-color ${ce}`,`background ${ce}`].join(",")},[`${pe}-submenu-arrow`]:{display:"none"}}}},pt=Te=>{let{componentCls:pe,menuArrowOffset:ce}=Te;return{[`${pe}-rtl`]:{direction:"rtl"},[`${pe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${pe}-rtl${pe}-vertical, ${pe}-submenu-rtl ${pe}-vertical`]:{[`${pe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${ce})`},"&::after":{transform:`rotate(45deg) translateY(${ce})`}}}}};const st=Te=>Object.assign({},(0,nt.oN)(Te));var rn=(Te,pe)=>{const{componentCls:ce,itemColor:ye,itemSelectedColor:qe,groupTitleColor:gt,itemBg:Me,subMenuItemBg:Xe,itemSelectedBg:Pt,activeBarHeight:ct,activeBarWidth:ot,activeBarBorderWidth:kt,motionDurationSlow:_n,motionEaseInOut:_t,motionEaseOut:nn,itemPaddingInline:Nt,motionDurationMid:yn,itemHoverColor:Xt,lineType:Jn,colorSplit:hr,itemDisabledColor:tr,dangerItemColor:Dr,dangerItemHoverColor:Or,dangerItemSelectedColor:la,dangerItemActiveBg:sa,dangerItemSelectedBg:Hr,itemHoverBg:br,itemActiveBg:Tr,menuSubMenuBg:ta,horizontalItemSelectedColor:_a,horizontalItemSelectedBg:fo,horizontalItemBorderRadius:ea,horizontalItemHoverBg:pi,popupBg:_i}=Te;return{[`${ce}-${pe}, ${ce}-${pe} > ${ce}`]:{color:ye,background:Me,[`&${ce}-root:focus-visible`]:Object.assign({},st(Te)),[`${ce}-item-group-title`]:{color:gt},[`${ce}-submenu-selected`]:{[`> ${ce}-submenu-title`]:{color:qe}},[`${ce}-item-disabled, ${ce}-submenu-disabled`]:{color:`${tr} !important`},[`${ce}-item:not(${ce}-item-selected):not(${ce}-submenu-selected)`]:{[`&:hover, > ${ce}-submenu-title:hover`]:{color:Xt}},[`&:not(${ce}-horizontal)`]:{[`${ce}-item:not(${ce}-item-selected)`]:{"&:hover":{backgroundColor:br},"&:active":{backgroundColor:Tr}},[`${ce}-submenu-title`]:{"&:hover":{backgroundColor:br},"&:active":{backgroundColor:Tr}}},[`${ce}-item-danger`]:{color:Dr,[`&${ce}-item:hover`]:{[`&:not(${ce}-item-selected):not(${ce}-submenu-selected)`]:{color:Or}},[`&${ce}-item:active`]:{background:sa}},[`${ce}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ce}-item-selected`]:{color:qe,[`&${ce}-item-danger`]:{color:la},"a, a:hover":{color:"inherit"}},[`& ${ce}-item-selected`]:{backgroundColor:Pt,[`&${ce}-item-danger`]:{backgroundColor:Hr}},[`${ce}-item, ${ce}-submenu-title`]:{[`&:not(${ce}-item-disabled):focus-visible`]:Object.assign({},st(Te))},[`&${ce}-submenu > ${ce}`]:{backgroundColor:ta},[`&${ce}-popup > ${ce}`]:{backgroundColor:_i},[`&${ce}-horizontal`]:Object.assign(Object.assign({},pe==="dark"?{borderBottom:0}:{}),{[`> ${ce}-item, > ${ce}-submenu`]:{top:kt,marginTop:-kt,marginBottom:0,borderRadius:ea,"&::after":{position:"absolute",insetInline:Nt,bottom:0,borderBottom:`${ct}px solid transparent`,transition:`border-color ${_n} ${_t}`,content:'""'},"&:hover, &-active, &-open":{background:pi,"&::after":{borderBottomWidth:ct,borderBottomColor:_a}},"&-selected":{color:_a,backgroundColor:fo,"&:hover":{backgroundColor:fo},"&::after":{borderBottomWidth:ct,borderBottomColor:_a}}}}),[`&${ce}-root`]:{[`&${ce}-inline, &${ce}-vertical`]:{borderInlineEnd:`${kt}px ${Jn} ${hr}`}},[`&${ce}-inline`]:{[`${ce}-sub${ce}-inline`]:{background:Xe},[`${ce}-item, ${ce}-submenu-title`]:kt&&ot?{width:`calc(100% + ${kt}px)`}:{},[`${ce}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${ot}px solid ${qe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${yn} ${nn}`,`opacity ${yn} ${nn}`].join(","),content:'""'},[`&${ce}-item-danger`]:{"&::after":{borderInlineEndColor:la}}},[`${ce}-selected, ${ce}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${yn} ${_t}`,`opacity ${yn} ${_t}`].join(",")}}}}}};const fn=Te=>{const{componentCls:pe,itemHeight:ce,itemMarginInline:ye,padding:qe,menuArrowSize:gt,marginXS:Me,itemMarginBlock:Xe}=Te,Pt=qe+gt+Me;return{[`${pe}-item`]:{position:"relative",overflow:"hidden"},[`${pe}-item, ${pe}-submenu-title`]:{height:ce,lineHeight:`${ce}px`,paddingInline:qe,overflow:"hidden",textOverflow:"ellipsis",marginInline:ye,marginBlock:Xe,width:`calc(100% - ${ye*2}px)`},[`> ${pe}-item, > ${pe}-submenu > ${pe}-submenu-title`]:{height:ce,lineHeight:`${ce}px`},[`${pe}-item-group-list ${pe}-submenu-title, ${pe}-submenu-title`]:{paddingInlineEnd:Pt}}};var Jt=Te=>{const{componentCls:pe,iconCls:ce,itemHeight:ye,colorTextLightSolid:qe,dropdownWidth:gt,controlHeightLG:Me,motionDurationMid:Xe,motionEaseOut:Pt,paddingXL:ct,itemMarginInline:ot,fontSizeLG:kt,motionDurationSlow:_n,paddingXS:_t,boxShadowSecondary:nn,collapsedWidth:Nt,collapsedIconSize:yn}=Te,Xt={height:ye,lineHeight:`${ye}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[pe]:{"&-inline, &-vertical":Object.assign({[`&${pe}-root`]:{boxShadow:"none"}},fn(Te))},[`${pe}-submenu-popup`]:{[`${pe}-vertical`]:Object.assign(Object.assign({},fn(Te)),{boxShadow:nn})}},{[`${pe}-submenu-popup ${pe}-vertical${pe}-sub`]:{minWidth:gt,maxHeight:`calc(100vh - ${Me*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${pe}-inline`]:{width:"100%",[`&${pe}-root`]:{[`${pe}-item, ${pe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${_n}`,`background ${_n}`,`padding ${Xe} ${Pt}`].join(","),[`> ${pe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${pe}-sub${pe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${pe}-submenu > ${pe}-submenu-title`]:Xt,[`& ${pe}-item-group-title`]:{paddingInlineStart:ct}},[`${pe}-item`]:Xt}},{[`${pe}-inline-collapsed`]:{width:Nt,[`&${pe}-root`]:{[`${pe}-item, ${pe}-submenu ${pe}-submenu-title`]:{[`> ${pe}-inline-collapsed-noicon`]:{fontSize:kt,textAlign:"center"}}},[`> ${pe}-item, > ${pe}-item-group > ${pe}-item-group-list > ${pe}-item, > ${pe}-item-group > ${pe}-item-group-list > ${pe}-submenu > ${pe}-submenu-title, > ${pe}-submenu > ${pe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${kt/2}px - ${ot}px)`,textOverflow:"clip",[` ${pe}-submenu-arrow, ${pe}-submenu-expand-icon `]:{opacity:0},[`${pe}-item-icon, ${ce}`]:{margin:0,fontSize:yn,lineHeight:`${ye}px`,"+ span":{display:"inline-block",opacity:0}}},[`${pe}-item-icon, ${ce}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${pe}-item-icon, ${ce}`]:{display:"none"},"a, a:hover":{color:qe}},[`${pe}-item-group-title`]:Object.assign(Object.assign({},nt.vS),{paddingInline:_t})}}]};const Ln=Te=>{const{componentCls:pe,motionDurationSlow:ce,motionDurationMid:ye,motionEaseInOut:qe,motionEaseOut:gt,iconCls:Me,iconSize:Xe,iconMarginInlineEnd:Pt}=Te;return{[`${pe}-item, ${pe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ce}`,`background ${ce}`,`padding ${ce} ${qe}`].join(","),[`${pe}-item-icon, ${Me}`]:{minWidth:Xe,fontSize:Xe,transition:[`font-size ${ye} ${gt}`,`margin ${ce} ${qe}`,`color ${ce}`].join(","),"+ span":{marginInlineStart:Pt,opacity:1,transition:[`opacity ${ce} ${qe}`,`margin ${ce}`,`color ${ce}`].join(",")}},[`${pe}-item-icon`]:Object.assign({},(0,nt.Ro)()),[`&${pe}-item-only-child`]:{[`> ${Me}, > ${pe}-item-icon`]:{marginInlineEnd:0}}},[`${pe}-item-disabled, ${pe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${pe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Hn=Te=>{const{componentCls:pe,motionDurationSlow:ce,motionEaseInOut:ye,borderRadius:qe,menuArrowSize:gt,menuArrowOffset:Me}=Te;return{[`${pe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Te.margin,width:gt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ce} ${ye}, opacity ${ce}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:gt*.6,height:gt*.15,backgroundColor:"currentcolor",borderRadius:qe,transition:[`background ${ce} ${ye}`,`transform ${ce} ${ye}`,`top ${ce} ${ye}`,`color ${ce} ${ye}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Me})`},"&::after":{transform:`rotate(-45deg) translateY(${Me})`}}}}},un=Te=>{const{antCls:pe,componentCls:ce,fontSize:ye,motionDurationSlow:qe,motionDurationMid:gt,motionEaseInOut:Me,paddingXS:Xe,padding:Pt,colorSplit:ct,lineWidth:ot,zIndexPopup:kt,borderRadiusLG:_n,subMenuItemBorderRadius:_t,menuArrowSize:nn,menuArrowOffset:Nt,lineType:yn,menuPanelMaskInset:Xt,groupTitleLineHeight:Jn,groupTitleFontSize:hr}=Te;return[{"":{[`${ce}`]:Object.assign(Object.assign({},(0,nt.dF)()),{"&-hidden":{display:"none"}})},[`${ce}-submenu-hidden`]:{display:"none"}},{[ce]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,nt.Wf)(Te)),(0,nt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ye,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${qe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${ce}-item`]:{flex:"none"}},[`${ce}-item, ${ce}-submenu, ${ce}-submenu-title`]:{borderRadius:Te.itemBorderRadius},[`${ce}-item-group-title`]:{padding:`${Xe}px ${Pt}px`,fontSize:hr,lineHeight:Jn,transition:`all ${qe}`},[`&-horizontal ${ce}-submenu`]:{transition:[`border-color ${qe} ${Me}`,`background ${qe} ${Me}`].join(",")},[`${ce}-submenu, ${ce}-submenu-inline`]:{transition:[`border-color ${qe} ${Me}`,`background ${qe} ${Me}`,`padding ${gt} ${Me}`].join(",")},[`${ce}-submenu ${ce}-sub`]:{cursor:"initial",transition:[`background ${qe} ${Me}`,`padding ${qe} ${Me}`].join(",")},[`${ce}-title-content`]:{transition:`color ${qe}`},[`${ce}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ce}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:ct,borderStyle:yn,borderWidth:0,borderTopWidth:ot,marginBlock:ot,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Ln(Te)),{[`${ce}-item-group`]:{[`${ce}-item-group-list`]:{margin:0,padding:0,[`${ce}-item, ${ce}-submenu-title`]:{paddingInline:`${ye*2}px ${Pt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:kt,borderRadius:_n,boxShadow:"none",transformOrigin:"0 0",[`&${ce}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Xt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Xt},"\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:Te.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Te.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Te.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Te.paddingXS},[`> ${ce}`]:Object.assign(Object.assign(Object.assign({borderRadius:_n},Ln(Te)),Hn(Te)),{[`${ce}-item, ${ce}-submenu > ${ce}-submenu-title`]:{borderRadius:_t},[`${ce}-submenu-title::after`]:{transition:`transform ${qe} ${Me}`}})}}),Hn(Te)),{[`&-inline-collapsed ${ce}-submenu-arrow, &-inline ${ce}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Nt})`},"&::after":{transform:`rotate(45deg) translateX(-${Nt})`}},[`${ce}-submenu-open${ce}-submenu-inline > ${ce}-submenu-title > ${ce}-submenu-arrow`]:{transform:`translateY(-${nn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Nt})`},"&::before":{transform:`rotate(45deg) translateX(${Nt})`}}})},{[`${pe}-layout-header`]:{[ce]:{lineHeight:"inherit"}}}]};var Vn=(Te,pe)=>(0,Ot.Z)("Menu",ye=>{if(pe===!1)return[];const{colorBgElevated:qe,colorPrimary:gt,colorTextLightSolid:Me,controlHeightLG:Xe,fontSize:Pt,darkItemColor:ct,darkDangerItemColor:ot,darkItemBg:kt,darkSubMenuItemBg:_n,darkItemSelectedColor:_t,darkItemSelectedBg:nn,darkDangerItemSelectedBg:Nt,darkItemHoverBg:yn,darkGroupTitleColor:Xt,darkItemHoverColor:Jn,darkItemDisabledColor:hr,darkDangerItemHoverColor:tr,darkDangerItemSelectedColor:Dr,darkDangerItemActiveBg:Or}=ye,la=Pt/7*5,sa=(0,it.TS)(ye,{menuArrowSize:la,menuHorizontalHeight:Xe*1.15,menuArrowOffset:`${la*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:qe}),Hr=(0,it.TS)(sa,{itemColor:ct,itemHoverColor:Jn,groupTitleColor:Xt,itemSelectedColor:_t,itemBg:kt,popupBg:kt,subMenuItemBg:_n,itemActiveBg:"transparent",itemSelectedBg:nn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:yn,itemDisabledColor:hr,dangerItemColor:ot,dangerItemHoverColor:tr,dangerItemSelectedColor:Dr,dangerItemActiveBg:Or,dangerItemSelectedBg:Nt,menuSubMenuBg:_n,horizontalItemSelectedColor:Me,horizontalItemSelectedBg:gt});return[un(sa),wt(sa),Jt(sa),rn(sa,"light"),rn(Hr,"dark"),pt(sa),(0,De.Z)(sa),(0,Bt.oN)(sa,"slide-up"),(0,Bt.oN)(sa,"slide-down"),(0,ke._y)(sa,"zoom-big")]},ye=>{const{colorPrimary:qe,colorError:gt,colorTextDisabled:Me,colorErrorBg:Xe,colorText:Pt,colorTextDescription:ct,colorBgContainer:ot,colorFillAlter:kt,colorFillContent:_n,lineWidth:_t,lineWidthBold:nn,controlItemBgActive:Nt,colorBgTextHover:yn,controlHeightLG:Xt,lineHeight:Jn,colorBgElevated:hr,marginXXS:tr,padding:Dr,fontSize:Or,controlHeightSM:la,fontSizeLG:sa,colorTextLightSolid:Hr,colorErrorHover:br}=ye,Tr=new Ve.C(Hr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ye.zIndexPopupBase+50,radiusItem:ye.borderRadiusLG,itemBorderRadius:ye.borderRadiusLG,radiusSubMenuItem:ye.borderRadiusSM,subMenuItemBorderRadius:ye.borderRadiusSM,colorItemText:Pt,itemColor:Pt,colorItemTextHover:Pt,itemHoverColor:Pt,colorItemTextHoverHorizontal:qe,horizontalItemHoverColor:qe,colorGroupTitle:ct,groupTitleColor:ct,colorItemTextSelected:qe,itemSelectedColor:qe,colorItemTextSelectedHorizontal:qe,horizontalItemSelectedColor:qe,colorItemBg:ot,itemBg:ot,colorItemBgHover:yn,itemHoverBg:yn,colorItemBgActive:_n,itemActiveBg:Nt,colorSubItemBg:kt,subMenuItemBg:kt,colorItemBgSelected:Nt,itemSelectedBg:Nt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:nn,activeBarHeight:nn,colorActiveBarBorderSize:_t,activeBarBorderWidth:_t,colorItemTextDisabled:Me,itemDisabledColor:Me,colorDangerItemText:gt,dangerItemColor:gt,colorDangerItemTextHover:gt,dangerItemHoverColor:gt,colorDangerItemTextSelected:gt,dangerItemSelectedColor:gt,colorDangerItemBgActive:Xe,dangerItemActiveBg:Xe,colorDangerItemBgSelected:Xe,dangerItemSelectedBg:Xe,itemMarginInline:ye.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Xt,groupTitleLineHeight:Jn,collapsedWidth:Xt*2,popupBg:hr,itemMarginBlock:tr,itemPaddingInline:Dr,horizontalLineHeight:`${Xt*1.15}px`,iconSize:Or,iconMarginInlineEnd:la-Or,collapsedIconSize:sa,groupTitleFontSize:Or,darkItemDisabledColor:new Ve.C(Hr).setAlpha(.25).toRgbString(),darkItemColor:Tr,darkDangerItemColor:gt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Hr,darkItemSelectedBg:qe,darkDangerItemSelectedBg:gt,darkItemHoverBg:"transparent",darkGroupTitleColor:Tr,darkItemHoverColor:Hr,darkDangerItemHoverColor:br,darkDangerItemSelectedColor:Hr,darkDangerItemActiveBg:gt}},{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"]]})(Te),yt=function(Te,pe){var ce={};for(var ye in Te)Object.prototype.hasOwnProperty.call(Te,ye)&&pe.indexOf(ye)<0&&(ce[ye]=Te[ye]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,ye=Object.getOwnPropertySymbols(Te);qe{var ce,ye;const qe=be.useContext(_e.Z),gt=qe||{},{getPrefixCls:Me,getPopupContainer:Xe,direction:Pt,menu:ct}=be.useContext(je.E_),ot=Me(),{prefixCls:kt,className:_n,style:_t,theme:nn="light",expandIcon:Nt,_internalDisableMenuItemTitleTooltip:yn,inlineCollapsed:Xt,siderCollapsed:Jn,items:hr,children:tr,rootClassName:Dr,mode:Or,selectable:la,onClick:sa,overflowedIndicatorPopupClassName:Hr}=Te,br=yt(Te,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Tr=(0,Ie.Z)(br,["collapsedWidth"]),ta=Ze(hr)||tr;(ce=gt.validator)===null||ce===void 0||ce.call(gt,{mode:Or});const _a=(0,oe.useEvent)(function(){var wi;sa==null||sa.apply(void 0,arguments),(wi=gt.onClick)===null||wi===void 0||wi.call(gt)}),fo=gt.mode||Or,ea=la!=null?la:gt.selectable,pi=be.useMemo(()=>Jn!==void 0?Jn:Xt,[Xt,Jn]),_i={horizontal:{motionName:`${ot}-slide-up`},inline:(0,he.Z)(ot),other:{motionName:`${ot}-zoom-big`}},na=Me("menu",kt||gt.prefixCls),[ln,zA]=Vn(na,!qe),fA=Ge()(`${na}-${nn}`,ct==null?void 0:ct.className,_n);let UA;if(typeof Nt=="function")UA=Nt;else if(Nt===null||Nt===!1)UA=null;else if(gt.expandIcon===null||gt.expandIcon===!1)UA=null;else{const wi=Nt!=null?Nt:gt.expandIcon;UA=(0,Ce.Tm)(wi,{className:Ge()(`${na}-submenu-expand-icon`,(0,Ce.l$)(wi)?(ye=wi.props)===null||ye===void 0?void 0:ye.className:"")})}const ds=be.useMemo(()=>({prefixCls:na,inlineCollapsed:pi||!1,direction:Pt,firstLevel:!0,theme:nn,mode:fo,disableMenuItemTitleTooltip:yn}),[na,pi,Pt,yn,nn]);return ln(be.createElement(_e.Z.Provider,{value:null},be.createElement(y.Provider,{value:ds},be.createElement(Oe.ZP,Object.assign({getPopupContainer:Xe,overflowedIndicator:be.createElement(ne.Z,null),overflowedIndicatorPopupClassName:Ge()(na,`${na}-${nn}`,Hr),mode:fo,selectable:ea,onClick:_a},Tr,{inlineCollapsed:pi,style:Object.assign(Object.assign({},ct==null?void 0:ct.style),_t),className:fA,prefixCls:na,direction:Pt,defaultMotions:_i,expandIcon:UA,ref:pe,rootClassName:Ge()(Dr,zA)}),ta))))});const Re=(0,be.forwardRef)((Te,pe)=>{const ce=(0,be.useRef)(null),ye=be.useContext(ze.D);return(0,be.useImperativeHandle)(pe,()=>({menu:ce.current,focus:qe=>{var gt;(gt=ce.current)===null||gt===void 0||gt.focus(qe)}})),be.createElement(er,Object.assign({ref:ce},Te,ye))});Re.Item=ee,Re.SubMenu=te,Re.Divider=Le,Re.ItemGroup=Oe.BW;var Kt=Re},58421:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return gt}});var Oe=we(54476),be=we(59301),ze={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"},at=ze,Ge=we(7657),je=function(Xe,Pt){return be.createElement(Ge.Z,(0,Oe.Z)({},Xe,{ref:Pt,icon:at}))},me=be.forwardRef(je),Be=me,Le=we(49198),de=we(33853),Ie=we(38819),Fe=we(92310),Ce=we.n(Fe),ie=we(20068),y=we(33885),a=we(67732),ee=we(83652),E=we(42403),te=we(158),ne=we(26112),oe={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},he=oe,_e=we(91735),Pe=function(Me){(0,E.Z)(Pt,Me);var Xe=(0,te.Z)(Pt);function Pt(){var ct;(0,a.Z)(this,Pt);for(var ot=arguments.length,kt=new Array(ot),_n=0;_n=0||_t.relatedTarget.className.indexOf("".concat(Xt,"-item"))>=0))&&yn(ct.getValidValue()))},ct.go=function(_t){var nn=ct.state.goInputText;nn!==""&&(_t.keyCode===he.ENTER||_t.type==="click")&&(ct.setState({goInputText:""}),ct.props.quickGo(ct.getValidValue()))},ct}return(0,ee.Z)(Pt,[{key:"getPageSizeOptions",value:function(){var ot=this.props,kt=ot.pageSize,_n=ot.pageSizeOptions;return _n.some(function(_t){return _t.toString()===kt.toString()})?_n:_n.concat([kt.toString()]).sort(function(_t,nn){var Nt=Number.isNaN(Number(_t))?0:Number(_t),yn=Number.isNaN(Number(nn))?0:Number(nn);return Nt-yn})}},{key:"render",value:function(){var ot=this,kt=this.props,_n=kt.pageSize,_t=kt.locale,nn=kt.rootPrefixCls,Nt=kt.changeSize,yn=kt.quickGo,Xt=kt.goButton,Jn=kt.selectComponentClass,hr=kt.buildOptionText,tr=kt.selectPrefixCls,Dr=kt.disabled,Or=this.state.goInputText,la="".concat(nn,"-options"),sa=Jn,Hr=null,br=null,Tr=null;if(!Nt&&!yn)return null;var ta=this.getPageSizeOptions();if(Nt&&sa){var _a=ta.map(function(fo,ea){return be.createElement(sa.Option,{key:ea,value:fo.toString()},(hr||ot.buildOptionText)(fo))});Hr=be.createElement(sa,{disabled:Dr,prefixCls:tr,showSearch:!1,className:"".concat(la,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(_n||ta[0]).toString(),onChange:this.changeSize,getPopupContainer:function(ea){return ea.parentNode},"aria-label":_t.page_size,defaultOpen:!1},_a)}return yn&&(Xt&&(Tr=typeof Xt=="boolean"?be.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Dr,className:"".concat(la,"-quick-jumper-button")},_t.jump_to_confirm):be.createElement("span",{onClick:this.go,onKeyUp:this.go},Xt)),br=be.createElement("div",{className:"".concat(la,"-quick-jumper")},_t.jump_to,be.createElement("input",{disabled:Dr,type:"text",value:Or,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":_t.page}),_t.page,Tr)),be.createElement("li",{className:"".concat(la)},Hr,br)}}]),Pt}(be.Component);Pe.defaultProps={pageSizeOptions:["10","20","50","100"]};var Qe=Pe,Ze=function(Xe){var Pt,ct=Xe.rootPrefixCls,ot=Xe.page,kt=Xe.active,_n=Xe.className,_t=Xe.showTitle,nn=Xe.onClick,Nt=Xe.onKeyPress,yn=Xe.itemRender,Xt="".concat(ct,"-item"),Jn=Ce()(Xt,"".concat(Xt,"-").concat(ot),(Pt={},(0,ie.Z)(Pt,"".concat(Xt,"-active"),kt),(0,ie.Z)(Pt,"".concat(Xt,"-disabled"),!ot),(0,ie.Z)(Pt,Xe.className,_n),Pt)),hr=function(){nn(ot)},tr=function(la){Nt(la,nn,ot)},Dr=yn(ot,"page",be.createElement("a",{rel:"nofollow"},ot));return Dr?be.createElement("li",{title:_t?ot.toString():null,className:Jn,onClick:hr,onKeyPress:tr,tabIndex:0},Dr):null},Ve=Ze;function nt(){}function De(Me){var Xe=Number(Me);return typeof Xe=="number"&&!Number.isNaN(Xe)&&isFinite(Xe)&&Math.floor(Xe)===Xe}var Bt=function(Xe,Pt,ct){return ct};function ke(Me,Xe,Pt){var ct=typeof Me=="undefined"?Xe.pageSize:Me;return Math.floor((Pt.total-1)/ct)+1}var Ot=function(Me){(0,E.Z)(Pt,Me);var Xe=(0,te.Z)(Pt);function Pt(ct){var ot;(0,a.Z)(this,Pt),ot=Xe.call(this,ct),ot.paginationNode=be.createRef(),ot.getJumpPrevPage=function(){return Math.max(1,ot.state.current-(ot.props.showLessItems?3:5))},ot.getJumpNextPage=function(){return Math.min(ke(void 0,ot.state,ot.props),ot.state.current+(ot.props.showLessItems?3:5))},ot.getItemIcon=function(Nt,yn){var Xt=ot.props.prefixCls,Jn=Nt||be.createElement("button",{type:"button","aria-label":yn,className:"".concat(Xt,"-item-link")});return typeof Nt=="function"&&(Jn=be.createElement(Nt,(0,y.Z)({},ot.props))),Jn},ot.isValid=function(Nt){var yn=ot.props.total;return De(Nt)&&Nt!==ot.state.current&&De(yn)&&yn>0},ot.shouldDisplayQuickJumper=function(){var Nt=ot.props,yn=Nt.showQuickJumper,Xt=Nt.total,Jn=ot.state.pageSize;return Xt<=Jn?!1:yn},ot.handleKeyDown=function(Nt){(Nt.keyCode===he.ARROW_UP||Nt.keyCode===he.ARROW_DOWN)&&Nt.preventDefault()},ot.handleKeyUp=function(Nt){var yn=ot.getValidValue(Nt),Xt=ot.state.currentInputValue;yn!==Xt&&ot.setState({currentInputValue:yn}),Nt.keyCode===he.ENTER?ot.handleChange(yn):Nt.keyCode===he.ARROW_UP?ot.handleChange(yn-1):Nt.keyCode===he.ARROW_DOWN&&ot.handleChange(yn+1)},ot.handleBlur=function(Nt){var yn=ot.getValidValue(Nt);ot.handleChange(yn)},ot.changePageSize=function(Nt){var yn=ot.state.current,Xt=ke(Nt,ot.state,ot.props);yn=yn>Xt?Xt:yn,Xt===0&&(yn=ot.state.current),typeof Nt=="number"&&("pageSize"in ot.props||ot.setState({pageSize:Nt}),"current"in ot.props||ot.setState({current:yn,currentInputValue:yn})),ot.props.onShowSizeChange(yn,Nt),"onChange"in ot.props&&ot.props.onChange&&ot.props.onChange(yn,Nt)},ot.handleChange=function(Nt){var yn=ot.props,Xt=yn.disabled,Jn=yn.onChange,hr=ot.state,tr=hr.pageSize,Dr=hr.current,Or=hr.currentInputValue;if(ot.isValid(Nt)&&!Xt){var la=ke(void 0,ot.state,ot.props),sa=Nt;return Nt>la?sa=la:Nt<1&&(sa=1),"current"in ot.props||ot.setState({current:sa}),sa!==Or&&ot.setState({currentInputValue:sa}),Jn(sa,tr),sa}return Dr},ot.prev=function(){ot.hasPrev()&&ot.handleChange(ot.state.current-1)},ot.next=function(){ot.hasNext()&&ot.handleChange(ot.state.current+1)},ot.jumpPrev=function(){ot.handleChange(ot.getJumpPrevPage())},ot.jumpNext=function(){ot.handleChange(ot.getJumpNextPage())},ot.hasPrev=function(){return ot.state.current>1},ot.hasNext=function(){return ot.state.current2?Xt-2:0),hr=2;hr=_n?nn=_n:nn=Number(kt),nn}},{key:"getShowSizeChanger",value:function(){var ot=this.props,kt=ot.showSizeChanger,_n=ot.total,_t=ot.totalBoundaryShowSizeChanger;return typeof kt!="undefined"?kt:_n>_t}},{key:"render",value:function(){var ot=this.props,kt=ot.prefixCls,_n=ot.className,_t=ot.style,nn=ot.disabled,Nt=ot.hideOnSinglePage,yn=ot.total,Xt=ot.locale,Jn=ot.showQuickJumper,hr=ot.showLessItems,tr=ot.showTitle,Dr=ot.showTotal,Or=ot.simple,la=ot.itemRender,sa=ot.showPrevNextJumpers,Hr=ot.jumpPrevIcon,br=ot.jumpNextIcon,Tr=ot.selectComponentClass,ta=ot.selectPrefixCls,_a=ot.pageSizeOptions,fo=this.state,ea=fo.current,pi=fo.pageSize,_i=fo.currentInputValue;if(Nt===!0&&yn<=pi)return null;var na=ke(void 0,this.state,this.props),ln=[],zA=null,fA=null,UA=null,ds=null,wi=null,Gs=Jn&&Jn.goButton,SA=hr?1:2,Ji=ea-1>0?ea-1:0,En=ea+1yn?yn:ea*pi]));if(Or){Gs&&(typeof Gs=="boolean"?wi=be.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Xt.jump_to_confirm):wi=be.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Gs),wi=be.createElement("li",{title:tr?"".concat(Xt.jump_to).concat(ea,"/").concat(na):null,className:"".concat(kt,"-simple-pager")},wi));var kr=this.renderPrev(Ji);return be.createElement("ul",(0,Oe.Z)({className:Ce()(kt,"".concat(kt,"-simple"),(0,ie.Z)({},"".concat(kt,"-disabled"),nn),_n),style:_t,ref:this.paginationNode},Dn),vn,kr?be.createElement("li",{title:tr?Xt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ce()("".concat(kt,"-prev"),(0,ie.Z)({},"".concat(kt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},kr):null,be.createElement("li",{title:tr?"".concat(ea,"/").concat(na):null,className:"".concat(kt,"-simple-pager")},be.createElement("input",{type:"text",value:_i,disabled:nn,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),be.createElement("span",{className:"".concat(kt,"-slash")},"/"),na),be.createElement("li",{title:tr?Xt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ce()("".concat(kt,"-next"),(0,ie.Z)({},"".concat(kt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(En)),wi)}if(na<=3+SA*2){var Ea={locale:Xt,rootPrefixCls:kt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:tr,itemRender:la};na||ln.push(be.createElement(Ve,(0,Oe.Z)({},Ea,{key:"noPager",page:1,className:"".concat(kt,"-item-disabled")})));for(var Zr=1;Zr<=na;Zr+=1){var si=ea===Zr;ln.push(be.createElement(Ve,(0,Oe.Z)({},Ea,{key:Zr,page:Zr,active:si})))}}else{var vo=hr?Xt.prev_3:Xt.prev_5,Ko=hr?Xt.next_3:Xt.next_5,_o=la(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Hr,"prev page")),yA=la(this.getJumpNextPage(),"jump-next",this.getItemIcon(br,"next page"));sa&&(zA=_o?be.createElement("li",{title:tr?vo:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ce()("".concat(kt,"-jump-prev"),(0,ie.Z)({},"".concat(kt,"-jump-prev-custom-icon"),!!Hr))},_o):null,fA=yA?be.createElement("li",{title:tr?Ko:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ce()("".concat(kt,"-jump-next"),(0,ie.Z)({},"".concat(kt,"-jump-next-custom-icon"),!!br))},yA):null),ds=be.createElement(Ve,{locale:Xt,last:!0,rootPrefixCls:kt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:na,page:na,active:!1,showTitle:tr,itemRender:la}),UA=be.createElement(Ve,{locale:Xt,rootPrefixCls:kt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:tr,itemRender:la});var gr=Math.max(1,ea-SA),No=Math.min(ea+SA,na);ea-1<=SA&&(No=1+SA*2),na-ea<=SA&&(gr=na-SA*2);for(var Di=gr;Di<=No;Di+=1){var fi=ea===Di;ln.push(be.createElement(Ve,{locale:Xt,rootPrefixCls:kt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Di,page:Di,active:fi,showTitle:tr,itemRender:la}))}ea-1>=SA*2&&ea!==3&&(ln[0]=(0,be.cloneElement)(ln[0],{className:"".concat(kt,"-item-after-jump-prev")}),ln.unshift(zA)),na-ea>=SA*2&&ea!==na-2&&(ln[ln.length-1]=(0,be.cloneElement)(ln[ln.length-1],{className:"".concat(kt,"-item-before-jump-next")}),ln.push(fA)),gr!==1&&ln.unshift(UA),No!==na&&ln.push(ds)}var Si=!this.hasPrev()||!na,Do=!this.hasNext()||!na,hA=this.renderPrev(Ji),MA=this.renderNext(En);return be.createElement("ul",(0,Oe.Z)({className:Ce()(kt,_n,(0,ie.Z)({},"".concat(kt,"-disabled"),nn)),style:_t,ref:this.paginationNode},Dn),vn,hA?be.createElement("li",{title:tr?Xt.prev_page:null,onClick:this.prev,tabIndex:Si?null:0,onKeyPress:this.runIfEnterPrev,className:Ce()("".concat(kt,"-prev"),(0,ie.Z)({},"".concat(kt,"-disabled"),Si)),"aria-disabled":Si},hA):null,ln,MA?be.createElement("li",{title:tr?Xt.next_page:null,onClick:this.next,tabIndex:Do?null:0,onKeyPress:this.runIfEnterNext,className:Ce()("".concat(kt,"-next"),(0,ie.Z)({},"".concat(kt,"-disabled"),Do)),"aria-disabled":Do},MA):null,be.createElement(Qe,{disabled:nn,locale:Xt,rootPrefixCls:kt,selectComponentClass:Tr,selectPrefixCls:ta,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:ea,pageSize:pi,pageSizeOptions:_a,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Gs}))}}],[{key:"getDerivedStateFromProps",value:function(ot,kt){var _n={};if("current"in ot&&(_n.current=ot.current,ot.current!==kt.current&&(_n.currentInputValue=_n.current)),"pageSize"in ot&&ot.pageSize!==kt.pageSize){var _t=kt.current,nn=ke(ot.pageSize,kt,ot);_t=_t>nn?nn:_t,"current"in ot||(_n.current=_t,_n.currentInputValue=_t),_n.pageSize=ot.pageSize}return _n}}]),Pt}(be.Component);Ot.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:nt,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:nt,locale:_e.Z,style:{},itemRender:Bt,totalBoundaryShowSizeChanger:50};var it=Ot,rt=we(22075),wt=we(36355),dt=we(19716),pt=we(8628),st=we(9763),ft=we(57809);const rn=Me=>be.createElement(ft.default,Object.assign({},Me,{showSearch:!0,size:"small"})),fn=Me=>be.createElement(ft.default,Object.assign({},Me,{showSearch:!0,size:"middle"}));rn.Option=ft.default.Option,fn.Option=ft.default.Option;var Et=we(9937),Jt=we(17313),Ln=we(83116),Hn=we(37613);const un=Me=>{const{componentCls:Xe}=Me;return{[`${Xe}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Xe}-item-link`]:{color:Me.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Xe}-item-link`]:{color:Me.colorTextDisabled,cursor:"not-allowed"}}},[`&${Xe}-disabled`]:{cursor:"not-allowed",[`${Xe}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Me.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Me.colorBorder,backgroundColor:Me.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Me.itemActiveBgDisabled},a:{color:Me.itemActiveColorDisabled}}},[`${Xe}-item-link`]:{color:Me.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Xe}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Xe}-simple-pager`]:{color:Me.colorTextDisabled},[`${Xe}-jump-prev, ${Xe}-jump-next`]:{[`${Xe}-item-link-icon`]:{opacity:0},[`${Xe}-item-ellipsis`]:{opacity:1}}},[`&${Xe}-simple`]:{[`${Xe}-prev, ${Xe}-next`]:{[`&${Xe}-disabled ${Xe}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Vn=Me=>{const{componentCls:Xe}=Me;return{[`&${Xe}-mini ${Xe}-total-text, &${Xe}-mini ${Xe}-simple-pager`]:{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`},[`&${Xe}-mini ${Xe}-item`]:{minWidth:Me.itemSizeSM,height:Me.itemSizeSM,margin:0,lineHeight:`${Me.itemSizeSM-2}px`},[`&${Xe}-mini:not(${Xe}-disabled) ${Xe}-item:not(${Xe}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Me.colorBgTextHover},"&:active":{backgroundColor:Me.colorBgTextActive}},[`&${Xe}-mini ${Xe}-prev, &${Xe}-mini ${Xe}-next`]:{minWidth:Me.itemSizeSM,height:Me.itemSizeSM,margin:0,lineHeight:`${Me.itemSizeSM}px`},[`&${Xe}-mini:not(${Xe}-disabled)`]:{[`${Xe}-prev, ${Xe}-next`]:{[`&:hover ${Xe}-item-link`]:{backgroundColor:Me.colorBgTextHover},[`&:active ${Xe}-item-link`]:{backgroundColor:Me.colorBgTextActive},[`&${Xe}-disabled:hover ${Xe}-item-link`]:{backgroundColor:"transparent"}}},[` &${Xe}-mini ${Xe}-prev ${Xe}-item-link, &${Xe}-mini ${Xe}-next ${Xe}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`}},[`&${Xe}-mini ${Xe}-jump-prev, &${Xe}-mini ${Xe}-jump-next`]:{height:Me.itemSizeSM,marginInlineEnd:0,lineHeight:`${Me.itemSizeSM}px`},[`&${Xe}-mini ${Xe}-options`]:{marginInlineStart:Me.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Me.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Et.x0)(Me)),{width:Me.paginationMiniQuickJumperInputWidth,height:Me.controlHeightSM})}}}},yt=Me=>{const{componentCls:Xe}=Me;return{[` &${Xe}-simple ${Xe}-prev, &${Xe}-simple ${Xe}-next `]:{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`,verticalAlign:"top",[`${Xe}-item-link`]:{height:Me.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Me.colorBgTextHover},"&:active":{backgroundColor:Me.colorBgTextActive},"&::after":{height:Me.itemSizeSM,lineHeight:`${Me.itemSizeSM}px`}}},[`&${Xe}-simple ${Xe}-simple-pager`]:{display:"inline-block",height:Me.itemSizeSM,marginInlineEnd:Me.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Me.marginXS,padding:`0 ${Me.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Me.itemInputBg,border:`${Me.lineWidth}px ${Me.lineType} ${Me.colorBorder}`,borderRadius:Me.borderRadius,outline:"none",transition:`border-color ${Me.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Me.colorPrimary},"&:focus":{borderColor:Me.colorPrimaryHover,boxShadow:`${Me.inputOutlineOffset}px 0 ${Me.controlOutlineWidth}px ${Me.controlOutline}`},"&[disabled]":{color:Me.colorTextDisabled,backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,cursor:"not-allowed"}}}}},Kn=Me=>{const{componentCls:Xe}=Me;return{[`${Xe}-jump-prev, ${Xe}-jump-next`]:{outline:0,[`${Xe}-item-container`]:{position:"relative",[`${Xe}-item-link-icon`]:{color:Me.colorPrimary,fontSize:Me.fontSizeSM,opacity:0,transition:`all ${Me.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Xe}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Me.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Me.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Me.paginationEllipsisTextIndent,opacity:1,transition:`all ${Me.motionDurationMid}`}},"&:hover":{[`${Xe}-item-link-icon`]:{opacity:1},[`${Xe}-item-ellipsis`]:{opacity:0}}},[` ${Xe}-prev, ${Xe}-jump-prev, ${Xe}-jump-next `]:{marginInlineEnd:Me.marginXS},[` ${Xe}-prev, ${Xe}-next, ${Xe}-jump-prev, ${Xe}-jump-next `]:{display:"inline-block",minWidth:Me.itemSize,height:Me.itemSize,color:Me.colorText,fontFamily:Me.fontFamily,lineHeight:`${Me.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Me.borderRadius,cursor:"pointer",transition:`all ${Me.motionDurationMid}`},[`${Xe}-prev, ${Xe}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Me.colorText,cursor:"pointer",userSelect:"none"},[`${Xe}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Me.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Me.lineWidth}px ${Me.lineType} transparent`,borderRadius:Me.borderRadius,outline:"none",transition:`all ${Me.motionDurationMid}`},[`&:hover ${Xe}-item-link`]:{backgroundColor:Me.colorBgTextHover},[`&:active ${Xe}-item-link`]:{backgroundColor:Me.colorBgTextActive},[`&${Xe}-disabled:hover`]:{[`${Xe}-item-link`]:{backgroundColor:"transparent"}}},[`${Xe}-slash`]:{marginInlineEnd:Me.paginationSlashMarginInlineEnd,marginInlineStart:Me.paginationSlashMarginInlineStart},[`${Xe}-options`]:{display:"inline-block",marginInlineStart:Me.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Me.controlHeight,marginInlineStart:Me.marginXS,lineHeight:`${Me.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Et.ik)(Me)),{width:Me.controlHeightLG*1.25,height:Me.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Me.marginXS,marginInlineEnd:Me.marginXS})}}}},er=Me=>{const{componentCls:Xe}=Me;return{[`${Xe}-item`]:{display:"inline-block",minWidth:Me.itemSize,height:Me.itemSize,marginInlineEnd:Me.marginXS,fontFamily:Me.fontFamily,lineHeight:`${Me.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Me.lineWidth}px ${Me.lineType} transparent`,borderRadius:Me.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Me.paginationItemPaddingInline}px`,color:Me.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Xe}-item-active)`]:{"&:hover":{transition:`all ${Me.motionDurationMid}`,backgroundColor:Me.colorBgTextHover},"&:active":{backgroundColor:Me.colorBgTextActive}},"&-active":{fontWeight:Me.fontWeightStrong,backgroundColor:Me.itemActiveBg,borderColor:Me.colorPrimary,a:{color:Me.colorPrimary},"&:hover":{borderColor:Me.colorPrimaryHover},"&:hover a":{color:Me.colorPrimaryHover}}}}},Re=Me=>{const{componentCls:Xe}=Me;return{[Xe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Jt.Wf)(Me)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Xe}-total-text`]:{display:"inline-block",height:Me.itemSize,marginInlineEnd:Me.marginXS,lineHeight:`${Me.itemSize-2}px`,verticalAlign:"middle"}}),er(Me)),Kn(Me)),yt(Me)),Vn(Me)),un(Me)),{[`@media only screen and (max-width: ${Me.screenLG}px)`]:{[`${Xe}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Me.screenSM}px)`]:{[`${Xe}-options`]:{display:"none"}}}),[`&${Me.componentCls}-rtl`]:{direction:"rtl"}}},Kt=Me=>{const{componentCls:Xe}=Me;return{[`${Xe}${Xe}-disabled:not(${Xe}-mini)`]:{"&, &:hover":{[`${Xe}-item-link`]:{borderColor:Me.colorBorder}},"&:focus-visible":{[`${Xe}-item-link`]:{borderColor:Me.colorBorder}},[`${Xe}-item, ${Xe}-item-link`]:{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,[`&:hover:not(${Xe}-item-active)`]:{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,a:{color:Me.colorTextDisabled}},[`&${Xe}-item-active`]:{backgroundColor:Me.itemActiveBgDisabled}},[`${Xe}-prev, ${Xe}-next`]:{"&:hover button":{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder,color:Me.colorTextDisabled},[`${Xe}-item-link`]:{backgroundColor:Me.colorBgContainerDisabled,borderColor:Me.colorBorder}}},[`${Xe}:not(${Xe}-mini)`]:{[`${Xe}-prev, ${Xe}-next`]:{"&:hover button":{borderColor:Me.colorPrimaryHover,backgroundColor:Me.itemBg},[`${Xe}-item-link`]:{backgroundColor:Me.itemLinkBg,borderColor:Me.colorBorder},[`&:hover ${Xe}-item-link`]:{borderColor:Me.colorPrimary,backgroundColor:Me.itemBg,color:Me.colorPrimary},[`&${Xe}-disabled`]:{[`${Xe}-item-link`]:{borderColor:Me.colorBorder,color:Me.colorTextDisabled}}},[`${Xe}-item`]:{backgroundColor:Me.itemBg,border:`${Me.lineWidth}px ${Me.lineType} ${Me.colorBorder}`,[`&:hover:not(${Xe}-item-active)`]:{borderColor:Me.colorPrimary,backgroundColor:Me.itemBg,a:{color:Me.colorPrimary}},"&-active":{borderColor:Me.colorPrimary}}}}},Te=Me=>{const{componentCls:Xe}=Me;return{[`${Xe}:not(${Xe}-disabled)`]:{[`${Xe}-item`]:Object.assign({},(0,Jt.Qy)(Me)),[`${Xe}-jump-prev, ${Xe}-jump-next`]:{"&:focus-visible":Object.assign({[`${Xe}-item-link-icon`]:{opacity:1},[`${Xe}-item-ellipsis`]:{opacity:0}},(0,Jt.oN)(Me))},[`${Xe}-prev, ${Xe}-next`]:{[`&:focus-visible ${Xe}-item-link`]:Object.assign({},(0,Jt.oN)(Me))}}}};var pe=(0,Ln.Z)("Pagination",Me=>{const Xe=(0,Hn.TS)(Me,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Me.marginXXS/2,paginationMiniQuickJumperInputWidth:Me.controlHeightLG*1.1,paginationItemPaddingInline:Me.marginXXS*1.5,paginationEllipsisLetterSpacing:Me.marginXXS/2,paginationSlashMarginInlineStart:Me.marginXXS,paginationSlashMarginInlineEnd:Me.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Et.e5)(Me),(0,Et.TM)(Me));return[Re(Xe),Te(Xe),Me.wireframe&&Kt(Xe)]},Me=>({itemBg:Me.colorBgContainer,itemSize:Me.controlHeight,itemSizeSM:Me.controlHeightSM,itemActiveBg:Me.colorBgContainer,itemLinkBg:Me.colorBgContainer,itemActiveColorDisabled:Me.colorTextDisabled,itemActiveBgDisabled:Me.controlItemBgActiveDisabled,itemInputBg:Me.colorBgContainer,miniOptionsSizeChangerTop:0})),ce=function(Me,Xe){var Pt={};for(var ct in Me)Object.prototype.hasOwnProperty.call(Me,ct)&&Xe.indexOf(ct)<0&&(Pt[ct]=Me[ct]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,ct=Object.getOwnPropertySymbols(Me);ot{const{prefixCls:Xe,selectPrefixCls:Pt,className:ct,rootClassName:ot,style:kt,size:_n,locale:_t,selectComponentClass:nn,responsive:Nt,showSizeChanger:yn}=Me,Xt=ce(Me,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Jn}=(0,pt.Z)(Nt),{getPrefixCls:hr,direction:tr,pagination:Dr={}}=be.useContext(wt.E_),Or=hr("pagination",Xe),[la,sa]=pe(Or),Hr=yn!=null?yn:Dr.showSizeChanger,br=be.useMemo(()=>{const na=be.createElement("span",{className:`${Or}-item-ellipsis`},"\u2022\u2022\u2022"),ln=be.createElement("button",{className:`${Or}-item-link`,type:"button",tabIndex:-1},tr==="rtl"?be.createElement(Ie.Z,null):be.createElement(de.Z,null)),zA=be.createElement("button",{className:`${Or}-item-link`,type:"button",tabIndex:-1},tr==="rtl"?be.createElement(de.Z,null):be.createElement(Ie.Z,null)),fA=be.createElement("a",{className:`${Or}-item-link`},be.createElement("div",{className:`${Or}-item-container`},tr==="rtl"?be.createElement(Le.Z,{className:`${Or}-item-link-icon`}):be.createElement(Be,{className:`${Or}-item-link-icon`}),na)),UA=be.createElement("a",{className:`${Or}-item-link`},be.createElement("div",{className:`${Or}-item-container`},tr==="rtl"?be.createElement(Be,{className:`${Or}-item-link-icon`}):be.createElement(Le.Z,{className:`${Or}-item-link-icon`}),na));return{prevIcon:ln,nextIcon:zA,jumpPrevIcon:fA,jumpNextIcon:UA}},[tr,Or]),[Tr]=(0,st.Z)("Pagination",rt.Z),ta=Object.assign(Object.assign({},Tr),_t),_a=(0,dt.Z)(_n),fo=_a==="small"||!!(Jn&&!_a&&Nt),ea=hr("select",Pt),pi=Ce()({[`${Or}-mini`]:fo,[`${Or}-rtl`]:tr==="rtl"},Dr==null?void 0:Dr.className,ct,ot,sa),_i=Object.assign(Object.assign({},Dr==null?void 0:Dr.style),kt);return la(be.createElement(it,Object.assign({},br,Xt,{style:_i,prefixCls:Or,selectPrefixCls:ea,className:pi,selectComponentClass:nn||(fo?rn:fn),locale:ta,showSizeChanger:Hr})))},gt=qe},61621:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return pe}});var Oe=we(92310),be=we.n(Oe),ze=we(59301),at=we(36355),Ge=we(2738),me=ce=>{const{prefixCls:ye,className:qe,style:gt,size:Me,shape:Xe}=ce,Pt=be()({[`${ye}-lg`]:Me==="large",[`${ye}-sm`]:Me==="small"}),ct=be()({[`${ye}-circle`]:Xe==="circle",[`${ye}-square`]:Xe==="square",[`${ye}-round`]:Xe==="round"}),ot=ze.useMemo(()=>typeof Me=="number"?{width:Me,height:Me,lineHeight:`${Me}px`}:{},[Me]);return ze.createElement("span",{className:be()(ye,Pt,ct,qe),style:Object.assign(Object.assign({},ot),gt)})},Be=we(36237),Le=we(83116),de=we(37613);const Ie=new Be.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Fe=ce=>({height:ce,lineHeight:`${ce}px`}),Ce=ce=>Object.assign({width:ce},Fe(ce)),ie=ce=>({background:ce.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Ie,animationDuration:ce.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=ce=>Object.assign({width:ce*5,minWidth:ce*5},Fe(ce)),a=ce=>{const{skeletonAvatarCls:ye,gradientFromColor:qe,controlHeight:gt,controlHeightLG:Me,controlHeightSM:Xe}=ce;return{[`${ye}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:qe},Ce(gt)),[`${ye}${ye}-circle`]:{borderRadius:"50%"},[`${ye}${ye}-lg`]:Object.assign({},Ce(Me)),[`${ye}${ye}-sm`]:Object.assign({},Ce(Xe))}},ee=ce=>{const{controlHeight:ye,borderRadiusSM:qe,skeletonInputCls:gt,controlHeightLG:Me,controlHeightSM:Xe,gradientFromColor:Pt}=ce;return{[`${gt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:qe},y(ye)),[`${gt}-lg`]:Object.assign({},y(Me)),[`${gt}-sm`]:Object.assign({},y(Xe))}},E=ce=>Object.assign({width:ce},Fe(ce)),te=ce=>{const{skeletonImageCls:ye,imageSizeBase:qe,gradientFromColor:gt,borderRadiusSM:Me}=ce;return{[`${ye}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:gt,borderRadius:Me},E(qe*2)),{[`${ye}-path`]:{fill:"#bfbfbf"},[`${ye}-svg`]:Object.assign(Object.assign({},E(qe)),{maxWidth:qe*4,maxHeight:qe*4}),[`${ye}-svg${ye}-svg-circle`]:{borderRadius:"50%"}}),[`${ye}${ye}-circle`]:{borderRadius:"50%"}}},ne=(ce,ye,qe)=>{const{skeletonButtonCls:gt}=ce;return{[`${qe}${gt}-circle`]:{width:ye,minWidth:ye,borderRadius:"50%"},[`${qe}${gt}-round`]:{borderRadius:ye}}},oe=ce=>Object.assign({width:ce*2,minWidth:ce*2},Fe(ce)),he=ce=>{const{borderRadiusSM:ye,skeletonButtonCls:qe,controlHeight:gt,controlHeightLG:Me,controlHeightSM:Xe,gradientFromColor:Pt}=ce;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:ye,width:gt*2,minWidth:gt*2},oe(gt))},ne(ce,gt,qe)),{[`${qe}-lg`]:Object.assign({},oe(Me))}),ne(ce,Me,`${qe}-lg`)),{[`${qe}-sm`]:Object.assign({},oe(Xe))}),ne(ce,Xe,`${qe}-sm`))},_e=ce=>{const{componentCls:ye,skeletonAvatarCls:qe,skeletonTitleCls:gt,skeletonParagraphCls:Me,skeletonButtonCls:Xe,skeletonInputCls:Pt,skeletonImageCls:ct,controlHeight:ot,controlHeightLG:kt,controlHeightSM:_n,gradientFromColor:_t,padding:nn,marginSM:Nt,borderRadius:yn,titleHeight:Xt,blockRadius:Jn,paragraphLiHeight:hr,controlHeightXS:tr,paragraphMarginTop:Dr}=ce;return{[`${ye}`]:{display:"table",width:"100%",[`${ye}-header`]:{display:"table-cell",paddingInlineEnd:nn,verticalAlign:"top",[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:_t},Ce(ot)),[`${qe}-circle`]:{borderRadius:"50%"},[`${qe}-lg`]:Object.assign({},Ce(kt)),[`${qe}-sm`]:Object.assign({},Ce(_n))},[`${ye}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${gt}`]:{width:"100%",height:Xt,background:_t,borderRadius:Jn,[`+ ${Me}`]:{marginBlockStart:_n}},[`${Me}`]:{padding:0,"> li":{width:"100%",height:hr,listStyle:"none",background:_t,borderRadius:Jn,"+ li":{marginBlockStart:tr}}},[`${Me}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${ye}-content`]:{[`${gt}, ${Me} > li`]:{borderRadius:yn}}},[`${ye}-with-avatar ${ye}-content`]:{[`${gt}`]:{marginBlockStart:Nt,[`+ ${Me}`]:{marginBlockStart:Dr}}},[`${ye}${ye}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},he(ce)),a(ce)),ee(ce)),te(ce)),[`${ye}${ye}-block`]:{width:"100%",[`${Xe}`]:{width:"100%"},[`${Pt}`]:{width:"100%"}},[`${ye}${ye}-active`]:{[` ${gt}, ${Me} > li, ${qe}, ${Xe}, ${Pt}, ${ct} `]:Object.assign({},ie(ce))}}};var Pe=(0,Le.Z)("Skeleton",ce=>{const{componentCls:ye}=ce,qe=(0,de.TS)(ce,{skeletonAvatarCls:`${ye}-avatar`,skeletonTitleCls:`${ye}-title`,skeletonParagraphCls:`${ye}-paragraph`,skeletonButtonCls:`${ye}-button`,skeletonInputCls:`${ye}-input`,skeletonImageCls:`${ye}-image`,imageSizeBase:ce.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${ce.gradientFromColor} 25%, ${ce.gradientToColor} 37%, ${ce.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[_e(qe)]},ce=>{const{colorFillContent:ye,colorFill:qe}=ce,gt=ye,Me=qe;return{color:gt,colorGradientEnd:Me,gradientFromColor:gt,gradientToColor:Me,titleHeight:ce.controlHeight/2,blockRadius:ce.borderRadiusSM,paragraphMarginTop:ce.marginLG+ce.marginXXS,paragraphLiHeight:ce.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ze=ce=>{const{prefixCls:ye,className:qe,rootClassName:gt,active:Me,shape:Xe="circle",size:Pt="default"}=ce,{getPrefixCls:ct}=ze.useContext(at.E_),ot=ct("skeleton",ye),[kt,_n]=Pe(ot),_t=(0,Ge.Z)(ce,["prefixCls","className"]),nn=be()(ot,`${ot}-element`,{[`${ot}-active`]:Me},qe,gt,_n);return kt(ze.createElement("div",{className:nn},ze.createElement(me,Object.assign({prefixCls:`${ot}-avatar`,shape:Xe,size:Pt},_t))))},nt=ce=>{const{prefixCls:ye,className:qe,rootClassName:gt,active:Me,block:Xe=!1,size:Pt="default"}=ce,{getPrefixCls:ct}=ze.useContext(at.E_),ot=ct("skeleton",ye),[kt,_n]=Pe(ot),_t=(0,Ge.Z)(ce,["prefixCls"]),nn=be()(ot,`${ot}-element`,{[`${ot}-active`]:Me,[`${ot}-block`]:Xe},qe,gt,_n);return kt(ze.createElement("div",{className:nn},ze.createElement(me,Object.assign({prefixCls:`${ot}-button`,size:Pt},_t))))};const De="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 ke=ce=>{const{prefixCls:ye,className:qe,rootClassName:gt,style:Me,active:Xe}=ce,{getPrefixCls:Pt}=ze.useContext(at.E_),ct=Pt("skeleton",ye),[ot,kt]=Pe(ct),_n=be()(ct,`${ct}-element`,{[`${ct}-active`]:Xe},qe,gt,kt);return ot(ze.createElement("div",{className:_n},ze.createElement("div",{className:be()(`${ct}-image`,qe),style:Me},ze.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${ct}-image-svg`},ze.createElement("path",{d:De,className:`${ct}-image-path`})))))},it=ce=>{const{prefixCls:ye,className:qe,rootClassName:gt,active:Me,block:Xe,size:Pt="default"}=ce,{getPrefixCls:ct}=ze.useContext(at.E_),ot=ct("skeleton",ye),[kt,_n]=Pe(ot),_t=(0,Ge.Z)(ce,["prefixCls"]),nn=be()(ot,`${ot}-element`,{[`${ot}-active`]:Me,[`${ot}-block`]:Xe},qe,gt,_n);return kt(ze.createElement("div",{className:nn},ze.createElement(me,Object.assign({prefixCls:`${ot}-input`,size:Pt},_t))))},rt=we(54476),wt={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"},dt=wt,pt=we(7657),st=function(ye,qe){return ze.createElement(pt.Z,(0,rt.Z)({},ye,{ref:qe,icon:dt}))},ft=ze.forwardRef(st),rn=ft,Et=ce=>{const{prefixCls:ye,className:qe,rootClassName:gt,style:Me,active:Xe,children:Pt}=ce,{getPrefixCls:ct}=ze.useContext(at.E_),ot=ct("skeleton",ye),[kt,_n]=Pe(ot),_t=be()(ot,`${ot}-element`,{[`${ot}-active`]:Xe},_n,qe,gt),nn=Pt!=null?Pt:ze.createElement(rn,null);return kt(ze.createElement("div",{className:_t},ze.createElement("div",{className:be()(`${ot}-image`,qe),style:Me},nn)))},Jt=we(94480),Hn=ce=>{const ye=ct=>{const{width:ot,rows:kt=2}=ce;if(Array.isArray(ot))return ot[ct];if(kt-1===ct)return ot},{prefixCls:qe,className:gt,style:Me,rows:Xe}=ce,Pt=(0,Jt.Z)(Array(Xe)).map((ct,ot)=>ze.createElement("li",{key:ot,style:{width:ye(ot)}}));return ze.createElement("ul",{className:be()(qe,gt),style:Me},Pt)},Vn=ce=>{let{prefixCls:ye,className:qe,width:gt,style:Me}=ce;return ze.createElement("h3",{className:be()(ye,qe),style:Object.assign({width:gt},Me)})};function yt(ce){return ce&&typeof ce=="object"?ce:{}}function Kn(ce,ye){return ce&&!ye?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function er(ce,ye){return!ce&&ye?{width:"38%"}:ce&&ye?{width:"50%"}:{}}function Re(ce,ye){const qe={};return(!ce||!ye)&&(qe.width="61%"),!ce&&ye?qe.rows=3:qe.rows=2,qe}const Kt=ce=>{const{prefixCls:ye,loading:qe,className:gt,rootClassName:Me,style:Xe,children:Pt,avatar:ct=!1,title:ot=!0,paragraph:kt=!0,active:_n,round:_t}=ce,{getPrefixCls:nn,direction:Nt,skeleton:yn}=ze.useContext(at.E_),Xt=nn("skeleton",ye),[Jn,hr]=Pe(Xt);if(qe||!("loading"in ce)){const tr=!!ct,Dr=!!ot,Or=!!kt;let la;if(tr){const br=Object.assign(Object.assign({prefixCls:`${Xt}-avatar`},Kn(Dr,Or)),yt(ct));la=ze.createElement("div",{className:`${Xt}-header`},ze.createElement(me,Object.assign({},br)))}let sa;if(Dr||Or){let br;if(Dr){const ta=Object.assign(Object.assign({prefixCls:`${Xt}-title`},er(tr,Or)),yt(ot));br=ze.createElement(Vn,Object.assign({},ta))}let Tr;if(Or){const ta=Object.assign(Object.assign({prefixCls:`${Xt}-paragraph`},Re(tr,Dr)),yt(kt));Tr=ze.createElement(Hn,Object.assign({},ta))}sa=ze.createElement("div",{className:`${Xt}-content`},br,Tr)}const Hr=be()(Xt,{[`${Xt}-with-avatar`]:tr,[`${Xt}-active`]:_n,[`${Xt}-rtl`]:Nt==="rtl",[`${Xt}-round`]:_t},yn==null?void 0:yn.className,gt,Me,hr);return Jn(ze.createElement("div",{className:Hr,style:Object.assign(Object.assign({},yn==null?void 0:yn.style),Xe)},la,sa))}return typeof Pt!="undefined"?Pt:null};Kt.Button=nt,Kt.Avatar=Ze,Kt.Input=it,Kt.Image=ke,Kt.Node=Et;var Te=Kt,pe=Te},15969:function(on,Ut,we){"use strict";we.d(Ut,{N:function(){return Oe}});const Oe=be=>({color:be.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${be.motionDurationSlow}`,"&:focus, &:hover":{color:be.colorLinkHover},"&:active":{color:be.colorLinkActive}})},1710:function(on,Ut,we){"use strict";we.d(Ut,{default:function(){return ah}});var Oe={},be="rc-table-internal-hook",ze=we(42978),at=we(6089),Ge=we(34280),je=we(13697),me=we(59301),Be=we(4676);function Le(Ye){var et=me.createContext(void 0),St=function(Gt){var $t=Gt.value,mn=Gt.children,Bn=me.useRef($t);Bn.current=$t;var dn=me.useState(function(){return{getValue:function(){return Bn.current},listeners:new Set}}),Qn=(0,ze.Z)(dn,1),Gn=Qn[0];return(0,Ge.Z)(function(){(0,Be.unstable_batchedUpdates)(function(){Gn.listeners.forEach(function(kn){kn($t)})})},[$t]),me.createElement(et.Provider,{value:Gn},mn)};return{Context:et,Provider:St,defaultValue:Ye}}function de(Ye,et){var St=(0,at.Z)(typeof et=="function"?et:function(kn){if(et===void 0)return kn;if(!Array.isArray(et))return kn[et];var fr={};return et.forEach(function(or){fr[or]=kn[or]}),fr}),It=me.useContext(Ye==null?void 0:Ye.Context),Gt=It||{},$t=Gt.listeners,mn=Gt.getValue,Bn=me.useRef();Bn.current=St(It?mn():Ye==null?void 0:Ye.defaultValue);var dn=me.useState({}),Qn=(0,ze.Z)(dn,2),Gn=Qn[1];return(0,Ge.Z)(function(){if(!It)return;function kn(fr){var or=St(fr);(0,je.Z)(Bn.current,or,!0)||Gn({})}return $t.add(kn),function(){$t.delete(kn)}},[It]),Bn.current}var Ie=we(54476),Fe=we(8654);function Ce(){var Ye=me.createContext(null);function et(){return me.useContext(Ye)}function St(Gt,$t){var mn=(0,Fe.Yr)(Gt),Bn=function(Qn,Gn){var kn=mn?{ref:Gn}:{},fr=me.useRef(0),or=me.useRef(Qn),ur=et();return ur!==null?me.createElement(Gt,(0,Ie.Z)({},Qn,kn)):((!$t||$t(or.current,Qn))&&(fr.current+=1),or.current=Qn,me.createElement(Ye.Provider,{value:fr.current},me.createElement(Gt,(0,Ie.Z)({},Qn,kn))))};return mn?me.forwardRef(Bn):Bn}function It(Gt,$t){var mn=(0,Fe.Yr)(Gt),Bn=function(Qn,Gn){var kn=mn?{ref:Gn}:{};return et(),me.createElement(Gt,(0,Ie.Z)({},Qn,kn))};return mn?me.memo(me.forwardRef(Bn),$t):me.memo(Bn,$t)}return{makeImmutable:St,responseImmutable:It,useImmutableMark:et}}var ie=Ce(),y=ie.makeImmutable,a=ie.responseImmutable,ee=ie.useImmutableMark,E=Ce(),te=E.makeImmutable,ne=E.responseImmutable,oe=E.useImmutableMark,he=Le(),_e=he;function Pe(Ye,et){var St=me.useRef(0);St.current+=1;var It=me.useRef(Ye),Gt=[];Object.keys(Ye||{}).map(function(mn){var Bn;(Ye==null?void 0:Ye[mn])!==((Bn=It.current)===null||Bn===void 0?void 0:Bn[mn])&&Gt.push(mn)}),It.current=Ye;var $t=me.useRef([]);return Gt.length&&($t.current=Gt),me.useDebugValue(St.current),me.useDebugValue($t.current.join(", ")),et&&console.log("".concat(et,":"),St.current,$t.current),St.current}var Qe=null,Ze=me.memo(function(){var Ye=Pe();return me.createElement("h1",null,"Render Times: ",Ye)});Ze.displayName="RenderBlock";var Ve=we(76190),nt=we(33885),De=we(20068),Bt=we(92310),ke=we.n(Bt),Ot=we(80547),it=we(97938),rt=we(48736),wt=me.createContext({renderWithProps:!1}),dt=wt,pt="RC_TABLE_KEY";function st(Ye){return Ye==null?[]:Array.isArray(Ye)?Ye:[Ye]}function ft(Ye){var et=[],St={};return Ye.forEach(function(It){for(var Gt=It||{},$t=Gt.key,mn=Gt.dataIndex,Bn=$t||st(mn).join("-")||pt;St[Bn];)Bn="".concat(Bn,"_next");St[Bn]=!0,et.push(Bn)}),et}function rn(Ye){return Ye!=null}function fn(Ye){return Ye&&(0,Ve.Z)(Ye)==="object"&&!Array.isArray(Ye)&&!me.isValidElement(Ye)}function Et(Ye,et,St,It,Gt,$t){var mn=me.useContext(dt),Bn=oe(),dn=(0,Ot.Z)(function(){if(rn(It))return[It];var Qn=et==null||et===""?[]:Array.isArray(et)?et:[et],Gn=(0,it.Z)(Ye,Qn),kn=Gn,fr=void 0;if(Gt){var or=Gt(Gn,Ye,St);fn(or)?(kn=or.children,fr=or.props,mn.renderWithProps=!0):kn=or}return[kn,fr]},[Bn,Ye,It,et,Gt,St],function(Qn,Gn){if($t){var kn=(0,ze.Z)(Qn,2),fr=kn[1],or=(0,ze.Z)(Gn,2),ur=or[1];return $t(ur,fr)}return mn.renderWithProps?!0:!(0,je.Z)(Qn,Gn,!0)});return dn}function Jt(Ye,et,St,It){var Gt=Ye+et-1;return Ye<=It&&Gt>=St}function Ln(Ye,et){return de(_e,function(St){var It=Jt(Ye,et||1,St.hoverStartRow,St.hoverEndRow);return[It,St.onHover]})}var Hn=function(et){var St=et.ellipsis,It=et.rowType,Gt=et.children,$t,mn=St===!0?{showTitle:!0}:St;return mn&&(mn.showTitle||It==="header")&&(typeof Gt=="string"||typeof Gt=="number"?$t=Gt.toString():me.isValidElement(Gt)&&typeof Gt.props.children=="string"&&($t=Gt.props.children)),$t};function un(Ye){var et,St,It,Gt,$t,mn,Bn,dn,Qn=Ye.component,Gn=Ye.children,kn=Ye.ellipsis,fr=Ye.scope,or=Ye.prefixCls,ur=Ye.className,jr=Ye.align,Fr=Ye.record,Qr=Ye.render,_r=Ye.dataIndex,Vr=Ye.renderIndex,wa=Ye.shouldCellUpdate,Ua=Ye.index,ca=Ye.rowType,Ka=Ye.colSpan,ao=Ye.rowSpan,Jr=Ye.fixLeft,ga=Ye.fixRight,ra=Ye.firstFixLeft,$r=Ye.lastFixLeft,Aa=Ye.firstFixRight,Ta=Ye.lastFixRight,So=Ye.appendNode,to=Ye.additionalProps,Oa=to===void 0?{}:to,uo=Ye.isSticky,Io="".concat(or,"-cell"),Ei=de(_e,["supportSticky","allColumnsFixedLeft"]),$o=Ei.supportSticky,Ri=Ei.allColumnsFixedLeft,tA=Et(Fr,_r,Vr,Gn,Qr,wa),oo=(0,ze.Z)(tA,2),PA=oo[0],ni=oo[1],Fi={},Li=typeof Jr=="number"&&$o,$s=typeof ga=="number"&&$o;Li&&(Fi.position="sticky",Fi.left=Jr),$s&&(Fi.position="sticky",Fi.right=ga);var oa=(et=(St=(It=ni==null?void 0:ni.colSpan)!==null&&It!==void 0?It:Oa.colSpan)!==null&&St!==void 0?St:Ka)!==null&&et!==void 0?et:1,ja=(Gt=($t=(mn=ni==null?void 0:ni.rowSpan)!==null&&mn!==void 0?mn:Oa.rowSpan)!==null&&$t!==void 0?$t:ao)!==null&&Gt!==void 0?Gt:1,ka=Ln(Ua,ja),Ba=(0,ze.Z)(ka,2),ri=Ba[0],Sa=Ba[1],Ja=function(Kr){var ks;Fr&&Sa(Ua,Ua+ja-1),Oa==null||(ks=Oa.onMouseEnter)===null||ks===void 0||ks.call(Oa,Kr)},Oo=function(Kr){var ks;Fr&&Sa(-1,-1),Oa==null||(ks=Oa.onMouseLeave)===null||ks===void 0||ks.call(Oa,Kr)};if(oa===0||ja===0)return null;var ko=(Bn=Oa.title)!==null&&Bn!==void 0?Bn:Hn({rowType:ca,ellipsis:kn,children:PA}),Es=ke()(Io,ur,(dn={},(0,De.Z)(dn,"".concat(Io,"-fix-left"),Li&&$o),(0,De.Z)(dn,"".concat(Io,"-fix-left-first"),ra&&$o),(0,De.Z)(dn,"".concat(Io,"-fix-left-last"),$r&&$o),(0,De.Z)(dn,"".concat(Io,"-fix-left-all"),$r&&Ri&&$o),(0,De.Z)(dn,"".concat(Io,"-fix-right"),$s&&$o),(0,De.Z)(dn,"".concat(Io,"-fix-right-first"),Aa&&$o),(0,De.Z)(dn,"".concat(Io,"-fix-right-last"),Ta&&$o),(0,De.Z)(dn,"".concat(Io,"-ellipsis"),kn),(0,De.Z)(dn,"".concat(Io,"-with-append"),So),(0,De.Z)(dn,"".concat(Io,"-fix-sticky"),(Li||$s)&&uo&&$o),(0,De.Z)(dn,"".concat(Io,"-row-hover"),!ni&&ri),dn),Oa.className,ni==null?void 0:ni.className),pA={};jr&&(pA.textAlign=jr);var kl=(0,nt.Z)((0,nt.Z)((0,nt.Z)((0,nt.Z)({},Fi),Oa.style),pA),ni==null?void 0:ni.style),vA=PA;return(0,Ve.Z)(vA)==="object"&&!Array.isArray(vA)&&!me.isValidElement(vA)&&(vA=null),kn&&($r||Aa)&&(vA=me.createElement("span",{className:"".concat(Io,"-content")},vA)),me.createElement(Qn,(0,Ie.Z)({},ni,Oa,{className:Es,style:kl,title:ko,scope:fr,onMouseEnter:Ja,onMouseLeave:Oo,colSpan:oa!==1?oa:null,rowSpan:ja!==1?ja:null}),So,vA)}var Vn=me.memo(un);function yt(Ye,et,St,It,Gt,$t){var mn=St[Ye]||{},Bn=St[et]||{},dn,Qn;mn.fixed==="left"?dn=It.left[Gt==="rtl"?et:Ye]:Bn.fixed==="right"&&(Qn=It.right[Gt==="rtl"?Ye:et]);var Gn=!1,kn=!1,fr=!1,or=!1,ur=St[et+1],jr=St[Ye-1],Fr=!($t!=null&&$t.children);if(Gt==="rtl"){if(dn!==void 0){var Qr=jr&&jr.fixed==="left";or=!Qr&&Fr}else if(Qn!==void 0){var _r=ur&&ur.fixed==="right";fr=!_r&&Fr}}else if(dn!==void 0){var Vr=ur&&ur.fixed==="left";Gn=!Vr&&Fr}else if(Qn!==void 0){var wa=jr&&jr.fixed==="right";kn=!wa&&Fr}return{fixLeft:dn,fixRight:Qn,lastFixLeft:Gn,firstFixRight:kn,lastFixRight:fr,firstFixLeft:or,isSticky:It.isSticky}}var Kn=me.createContext({}),er=Kn;function Re(Ye){var et=Ye.className,St=Ye.index,It=Ye.children,Gt=Ye.colSpan,$t=Gt===void 0?1:Gt,mn=Ye.rowSpan,Bn=Ye.align,dn=de(_e,["prefixCls","direction"]),Qn=dn.prefixCls,Gn=dn.direction,kn=me.useContext(er),fr=kn.scrollColumnIndex,or=kn.stickyOffsets,ur=kn.flattenColumns,jr=kn.columns,Fr=St+$t-1,Qr=Fr+1===fr?$t+1:$t,_r=yt(St,St+Qr-1,ur,or,Gn,jr==null?void 0:jr[St]);return me.createElement(Vn,(0,Ie.Z)({className:et,index:St,component:"td",prefixCls:Qn,record:null,dataIndex:null,align:Bn,colSpan:Qr,rowSpan:mn,render:function(){return It}},_r))}var Kt=we(75931),Te=["children"];function pe(Ye){var et=Ye.children,St=(0,Kt.Z)(Ye,Te);return me.createElement("tr",St,et)}function ce(Ye){var et=Ye.children;return et}ce.Row=pe,ce.Cell=Re;var ye=ce;function qe(Ye){var et=Ye.children,St=Ye.stickyOffsets,It=Ye.flattenColumns,Gt=Ye.columns,$t=de(_e,"prefixCls"),mn=It.length-1,Bn=It[mn],dn=me.useMemo(function(){return{stickyOffsets:St,flattenColumns:It,scrollColumnIndex:Bn!=null&&Bn.scrollbar?mn:null,columns:Gt}},[Bn,It,mn,St,Gt]);return me.createElement(er.Provider,{value:dn},me.createElement("tfoot",{className:"".concat($t,"-summary")},et))}var gt=ne(qe),Me=ye,Xe=we(70425),Pt=we(29301),ct=we(29194),ot=we(24514),kt=we(75152),_n=we(26112);function _t(Ye,et,St,It,Gt,$t,mn){Ye.push({record:et,indent:St,index:mn});var Bn=$t(et),dn=Gt==null?void 0:Gt.has(Bn);if(et&&Array.isArray(et[It])&&dn)for(var Qn=0;Qn1?ra-1:0),Aa=1;Aa=0;Bn-=1){var dn=et[Bn],Qn=St&&St[Bn],Gn=Qn&&Qn[br];if(dn||Gn||mn){var kn=Gn||{},fr=kn.columnType,or=(0,Kt.Z)(kn,ta);Gt.unshift(me.createElement("col",(0,Ie.Z)({key:Bn,style:{width:dn}},or))),mn=!0}}return me.createElement("colgroup",null,Gt)}var fo=_a,ea=we(94480),pi=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function _i(Ye,et){return(0,me.useMemo)(function(){for(var St=[],It=0;It1?"colgroup":"col":null,ellipsis:Fr.ellipsis,align:Fr.align,component:Fr.title?$t:mn,prefixCls:Gn,key:or[jr]},Qr,{additionalProps:_r,rowType:"header"}))}))}zA.displayName="HeaderRow";var fA=zA;function UA(Ye){var et=[];function St(mn,Bn){var dn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;et[dn]=et[dn]||[];var Qn=Bn,Gn=mn.filter(Boolean).map(function(kn){var fr={key:kn.key,className:kn.className||"",children:kn.title,column:kn,colStart:Qn},or=1,ur=kn.children;return ur&&ur.length>0&&(or=St(ur,Qn,dn+1).reduce(function(jr,Fr){return jr+Fr},0),fr.hasSubColumns=!0),"colSpan"in kn&&(or=kn.colSpan),"rowSpan"in kn&&(fr.rowSpan=kn.rowSpan),fr.colSpan=or,fr.colEnd=fr.colStart+or-1,et[dn].push(fr),Qn+=or,or});return Gn}St(Ye,0);for(var It=et.length,Gt=function(Bn){et[Bn].forEach(function(dn){!("rowSpan"in dn)&&!dn.hasSubColumns&&(dn.rowSpan=It-Bn)})},$t=0;$t1&&arguments[1]!==void 0?arguments[1]:"";return typeof et=="number"?et:et.endsWith("%")?Ye*parseFloat(et)/100:null}function Ji(Ye,et){return me.useMemo(function(){if(et&&et>0){var St=0,It=0;Ye.forEach(function(Qn){var Gn=SA(et,Qn.width);Gn?St+=Gn:It+=1});var Gt=et-St,$t=It,mn=Gt/It,Bn=0,dn=Ye.map(function(Qn){var Gn=(0,nt.Z)({},Qn),kn=SA(et,Gn.width);if(kn)Gn.width=kn;else{var fr=Math.floor(mn);Gn.width=$t===1?Gt:fr,Gt-=fr,$t-=1}return Bn+=Gn.width,Gn});return[dn,Bn]}return[Ye,et]},[Ye,et])}var En=["children"],Dn=["fixed"];function vn(Ye){return(0,Gs.Z)(Ye).filter(function(et){return me.isValidElement(et)}).map(function(et){var St=et.key,It=et.props,Gt=It.children,$t=(0,Kt.Z)(It,En),mn=(0,nt.Z)({key:St},$t);return Gt&&(mn.children=vn(Gt)),mn})}function kr(Ye){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Ye.filter(function(St){return St&&(0,Ve.Z)(St)==="object"}).reduce(function(St,It,Gt){var $t=It.fixed,mn=$t===!0?"left":$t,Bn="".concat(et,"-").concat(Gt),dn=It.children;return dn&&dn.length>0?[].concat((0,ea.Z)(St),(0,ea.Z)(kr(dn,Bn).map(function(Qn){return(0,nt.Z)({fixed:mn},Qn)}))):[].concat((0,ea.Z)(St),[(0,nt.Z)((0,nt.Z)({key:Bn},It),{},{fixed:mn})])},[])}function Ea(Ye){for(var et=!0,St=0;St=0;$t-=1){var mn=Ye[$t];if(Gt&&mn.fixed!=="right")Gt=!1;else if(!Gt&&mn.fixed==="right"){warning(!1,"Index ".concat($t+1," of `columns` missing `fixed='right'` prop."));break}}}function Zr(Ye){return Ye.map(function(et){var St=et.fixed,It=(0,Kt.Z)(et,Dn),Gt=St;return St==="left"?Gt="right":St==="right"&&(Gt="left"),(0,nt.Z)({fixed:Gt},It)})}function si(Ye,et){var St=Ye.prefixCls,It=Ye.columns,Gt=Ye.children,$t=Ye.expandable,mn=Ye.expandedKeys,Bn=Ye.columnTitle,dn=Ye.getRowKey,Qn=Ye.onTriggerExpand,Gn=Ye.expandIcon,kn=Ye.rowExpandable,fr=Ye.expandIconColumnIndex,or=Ye.direction,ur=Ye.expandRowByClick,jr=Ye.columnWidth,Fr=Ye.fixed,Qr=Ye.scrollWidth,_r=me.useMemo(function(){return It||vn(Gt)},[It,Gt]),Vr=me.useMemo(function(){if($t){var ga,ra=_r.slice();if(!ra.includes(Oe)){var $r=fr||0;$r>=0&&ra.splice($r,0,Oe)}var Aa=ra.indexOf(Oe);ra=ra.filter(function(Oa,uo){return Oa!==Oe||uo===Aa});var Ta=_r[Aa],So;(Fr==="left"||Fr)&&!fr?So="left":(Fr==="right"||Fr)&&fr===_r.length?So="right":So=Ta?Ta.fixed:null;var to=(ga={},(0,De.Z)(ga,br,{className:"".concat(St,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,De.Z)(ga,"title",Bn),(0,De.Z)(ga,"fixed",So),(0,De.Z)(ga,"className","".concat(St,"-row-expand-icon-cell")),(0,De.Z)(ga,"width",jr),(0,De.Z)(ga,"render",function(uo,Io,Ei){var $o=dn(Io,Ei),Ri=mn.has($o),tA=kn?kn(Io):!0,oo=Gn({prefixCls:St,expanded:Ri,expandable:tA,record:Io,onExpand:Qn});return ur?me.createElement("span",{onClick:function(ni){return ni.stopPropagation()}},oo):oo}),ga);return ra.map(function(Oa){return Oa===Oe?to:Oa})}return _r.filter(function(Oa){return Oa!==Oe})},[$t,_r,dn,mn,Gn,or]),wa=me.useMemo(function(){var ga=Vr;return et&&(ga=et(ga)),ga.length||(ga=[{render:function(){return null}}]),ga},[et,Vr,or]),Ua=me.useMemo(function(){return or==="rtl"?Zr(kr(wa)):kr(wa)},[wa,or,Qr]),ca=Ji(Ua,Qr),Ka=(0,ze.Z)(ca,2),ao=Ka[0],Jr=Ka[1];return[wa,ao,Jr]}var vo=si;function Ko(Ye){var et,St=Ye.prefixCls,It=Ye.record,Gt=Ye.onExpand,$t=Ye.expanded,mn=Ye.expandable,Bn="".concat(St,"-row-expand-icon");if(!mn)return me.createElement("span",{className:ke()(Bn,"".concat(St,"-row-spaced"))});var dn=function(Gn){Gt(It,Gn),Gn.stopPropagation()};return me.createElement("span",{className:ke()(Bn,(et={},(0,De.Z)(et,"".concat(St,"-row-expanded"),$t),(0,De.Z)(et,"".concat(St,"-row-collapsed"),!$t),et)),onClick:dn})}function _o(Ye,et,St){var It=[];function Gt($t){($t||[]).forEach(function(mn,Bn){It.push(et(mn,Bn)),Gt(mn[St])})}return Gt(Ye),It}function yA(Ye,et,St){var It=Tr(Ye),Gt=It.expandIcon,$t=It.expandedRowKeys,mn=It.defaultExpandedRowKeys,Bn=It.defaultExpandAllRows,dn=It.expandedRowRender,Qn=It.onExpand,Gn=It.onExpandedRowsChange,kn=It.childrenColumnName,fr=Gt||Ko,or=kn||"children",ur=me.useMemo(function(){return dn?"row":Ye.expandable&&Ye.internalHooks===be&&Ye.expandable.__PARENT_RENDER_ICON__||et.some(function(Ua){return Ua&&(0,Ve.Z)(Ua)==="object"&&Ua[or]})?"nest":!1},[!!dn,et]),jr=me.useState(function(){return mn||(Bn?_o(et,St,or):[])}),Fr=(0,ze.Z)(jr,2),Qr=Fr[0],_r=Fr[1],Vr=me.useMemo(function(){return new Set($t||Qr||[])},[$t,Qr]),wa=me.useCallback(function(Ua){var ca=St(Ua,et.indexOf(Ua)),Ka,ao=Vr.has(ca);ao?(Vr.delete(ca),Ka=(0,ea.Z)(Vr)):Ka=[].concat((0,ea.Z)(Vr),[ca]),_r(Ka),Qn&&Qn(!ao,Ua),Gn&&Gn(Ka)},[St,Vr,et,Qn,Gn]);return[It,ur,Vr,fr,or,wa]}function gr(Ye,et,St,It){var Gt=Ye.map(function($t,mn){return yt(mn,mn,Ye,et,St,It==null?void 0:It[mn])});return(0,Ot.Z)(function(){return Gt},[Gt],function($t,mn){return!(0,je.Z)($t,mn)})}function No(Ye){var et=(0,me.useRef)(Ye),St=(0,me.useState)({}),It=(0,ze.Z)(St,2),Gt=It[1],$t=(0,me.useRef)(null),mn=(0,me.useRef)([]);function Bn(dn){mn.current.push(dn);var Qn=Promise.resolve();$t.current=Qn,Qn.then(function(){if($t.current===Qn){var Gn=mn.current,kn=et.current;mn.current=[],Gn.forEach(function(fr){et.current=fr(et.current)}),$t.current=null,kn!==et.current&&Gt({})}})}return(0,me.useEffect)(function(){return function(){$t.current=null}},[]),[et.current,Bn]}function Di(Ye){var et=(0,me.useRef)(Ye||null),St=(0,me.useRef)();function It(){window.clearTimeout(St.current)}function Gt(mn){et.current=mn,It(),St.current=window.setTimeout(function(){et.current=null,St.current=void 0},100)}function $t(){return et.current}return(0,me.useEffect)(function(){return It},[]),[Gt,$t]}function fi(){var Ye=me.useState(-1),et=(0,ze.Z)(Ye,2),St=et[0],It=et[1],Gt=me.useState(-1),$t=(0,ze.Z)(Gt,2),mn=$t[0],Bn=$t[1],dn=me.useCallback(function(Qn,Gn){It(Qn),Bn(Gn)},[]);return[St,mn,dn]}var Si=we(47273),Do=(0,Si.Z)()?window:null;function hA(Ye,et){var St=(0,Ve.Z)(Ye)==="object"?Ye:{},It=St.offsetHeader,Gt=It===void 0?0:It,$t=St.offsetSummary,mn=$t===void 0?0:$t,Bn=St.offsetScroll,dn=Bn===void 0?0:Bn,Qn=St.getContainer,Gn=Qn===void 0?function(){return Do}:Qn,kn=Gn()||Do;return me.useMemo(function(){var fr=!!Ye;return{isSticky:fr,stickyClassName:fr?"".concat(et,"-sticky-holder"):"",offsetHeader:Gt,offsetSummary:mn,offsetScroll:dn,container:kn}},[dn,Gt,mn,et,kn])}function MA(Ye,et,St){var It=(0,me.useMemo)(function(){for(var Gt=[],$t=[],mn=0,Bn=0,dn=0;dn=kn&&(Oa=kn-fr),mn({scrollLeft:Oa/kn*(Gn+2)}),_r.current.x=Aa.pageX},ga=function(){if($t.current){var Aa=(0,gs.os)($t.current).top,Ta=Aa+$t.current.offsetHeight,So=dn===window?document.documentElement.scrollTop+window.innerHeight:(0,gs.os)(dn).top+dn.clientHeight;Ta-(0,kt.Z)()<=So||Aa>=So-Bn?Qr(function(to){return(0,nt.Z)((0,nt.Z)({},to),{},{isHiddenScrollBar:!0})}):Qr(function(to){return(0,nt.Z)((0,nt.Z)({},to),{},{isHiddenScrollBar:!1})})}},ra=function(Aa){Qr(function(Ta){return(0,nt.Z)((0,nt.Z)({},Ta),{},{scrollLeft:Aa/Gn*kn||0})})};return me.useImperativeHandle(St,function(){return{setScrollLeft:ra}}),me.useEffect(function(){var $r=(0,yi.Z)(document.body,"mouseup",Ka,!1),Aa=(0,yi.Z)(document.body,"mousemove",Jr,!1);return ga(),function(){$r.remove(),Aa.remove()}},[fr,Ua]),me.useEffect(function(){var $r=(0,yi.Z)(dn,"scroll",ga,!1),Aa=(0,yi.Z)(window,"resize",ga,!1);return function(){$r.remove(),Aa.remove()}},[dn]),me.useEffect(function(){Fr.isHiddenScrollBar||Qr(function($r){var Aa=$t.current;return Aa?(0,nt.Z)((0,nt.Z)({},$r),{},{scrollLeft:Aa.scrollLeft/Aa.scrollWidth*Aa.clientWidth}):$r})},[Fr.isHiddenScrollBar]),Gn<=kn||!fr||Fr.isHiddenScrollBar?null:me.createElement("div",{style:{height:(0,kt.Z)(),width:kn,bottom:Bn},className:"".concat(Qn,"-sticky-scroll")},me.createElement("div",{onMouseDown:ao,ref:or,className:ke()("".concat(Qn,"-sticky-scroll-bar"),(0,De.Z)({},"".concat(Qn,"-sticky-scroll-bar-active"),Ua)),style:{width:"".concat(fr,"px"),transform:"translate3d(".concat(Fr.scrollLeft,"px, 0, 0)")}}))},ZA=me.forwardRef(Fl);function Pr(Ye){return null}var Dc=Pr;function Su(Ye){return null}var Qu=Su,tl="rc-table",Rr=[],Na={};function Po(){return"No Data"}function Fa(Ye){var et,St=(0,nt.Z)({rowKey:"key",prefixCls:tl,emptyText:Po},Ye),It=St.prefixCls,Gt=St.className,$t=St.rowClassName,mn=St.style,Bn=St.data,dn=St.rowKey,Qn=St.scroll,Gn=St.tableLayout,kn=St.direction,fr=St.title,or=St.footer,ur=St.summary,jr=St.caption,Fr=St.id,Qr=St.showHeader,_r=St.components,Vr=St.emptyText,wa=St.onRow,Ua=St.onHeaderRow,ca=St.internalHooks,Ka=St.transformColumns,ao=St.internalRefs,Jr=St.tailor,ga=St.sticky,ra=Bn||Rr,$r=!!ra.length,Aa=ca===be,Ta=me.useCallback(function(ci,Ti){return(0,it.Z)(_r,ci)||Ti},[_r]),So=me.useMemo(function(){return typeof dn=="function"?dn:function(ci){var Ti=ci&&ci[dn];return Ti}},[dn]),to=Ta(["body"]),Oa=fi(),uo=(0,ze.Z)(Oa,3),Io=uo[0],Ei=uo[1],$o=uo[2],Ri=yA(St,ra,So),tA=(0,ze.Z)(Ri,6),oo=tA[0],PA=tA[1],ni=tA[2],Fi=tA[3],Li=tA[4],$s=tA[5],oa=Qn==null?void 0:Qn.x,ja=me.useState(0),ka=(0,ze.Z)(ja,2),Ba=ka[0],ri=ka[1],Sa=vo((0,nt.Z)((0,nt.Z)((0,nt.Z)({},St),oo),{},{expandable:!!oo.expandedRowRender,columnTitle:oo.columnTitle,expandedKeys:ni,getRowKey:So,onTriggerExpand:$s,expandIcon:Fi,expandIconColumnIndex:oo.expandIconColumnIndex,direction:kn,scrollWidth:Aa&&Jr&&typeof oa=="number"?oa:null}),Aa?Ka:null),Ja=(0,ze.Z)(Sa,3),Oo=Ja[0],ko=Ja[1],Es=Ja[2],pA=Es!=null?Es:oa,kl=me.useMemo(function(){return{columns:Oo,flattenColumns:ko}},[Oo,ko]),vA=me.useRef(),sl=me.useRef(),Kr=me.useRef(),ks=me.useRef(),fc=me.useRef(),ai=me.useState(!1),Uo=(0,ze.Z)(ai,2),$i=Uo[0],TA=Uo[1],Qi=me.useState(!1),yo=(0,ze.Z)(Qi,2),Fs=yo[0],vs=yo[1],Zs=No(new Map),Rs=(0,ze.Z)(Zs,2),js=Rs[0],Bl=Rs[1],Cu=ft(ko),Sl=Cu.map(function(ci){return js.get(ci)}),nA=me.useMemo(function(){return Sl},[Sl.join("_")]),is=GA(nA,ko.length,kn),EA=Qn&&rn(Qn.y),Zi=Qn&&rn(pA)||!!oo.fixed,Yl=Zi&&ko.some(function(ci){var Ti=ci.fixed;return Ti}),fu=me.useRef(),Pu=hA(ga,It),Jl=Pu.isSticky,hd=Pu.offsetHeader,Md=Pu.offsetSummary,Ro=Pu.offsetScroll,Ii=Pu.stickyClassName,As=Pu.container,Hi=me.useMemo(function(){return ur==null?void 0:ur(ra)},[ur,ra]),ss=(EA||Jl)&&me.isValidElement(Hi)&&Hi.type===ye&&Hi.props.fixed,Bs,rA,ql;EA&&(rA={overflowY:"scroll",maxHeight:Qn.y}),Zi&&(Bs={overflowX:"auto"},EA||(rA={overflowY:"hidden"}),ql={width:pA===!0?"auto":pA,minWidth:"100%"});var md=me.useCallback(function(ci,Ti){(0,ct.Z)(vA.current)&&Bl(function(Rl){if(Rl.get(ci)!==Ti){var Zu=new Map(Rl);return Zu.set(ci,Ti),Zu}return Rl})},[]),pd=Di(null),Hd=(0,ze.Z)(pd,2),wg=Hd[0],bg=Hd[1];function Zc(ci,Ti){Ti&&(typeof Ti=="function"?Ti(ci):Ti.scrollLeft!==ci&&(Ti.scrollLeft=ci,Ti.scrollLeft!==ci&&setTimeout(function(){Ti.scrollLeft=ci},0)))}var eu=(0,at.Z)(function(ci){var Ti=ci.currentTarget,Rl=ci.scrollLeft,Zu=kn==="rtl",Wu=typeof Rl=="number"?Rl:Ti.scrollLeft,Ff=Ti||Na;if(!bg()||bg()===Ff){var Lg;wg(Ff),Zc(Wu,sl.current),Zc(Wu,Kr.current),Zc(Wu,fc.current),Zc(Wu,(Lg=fu.current)===null||Lg===void 0?void 0:Lg.setScrollLeft)}var Ig=Ti||sl.current;if(Ig){var Ug=Ig.scrollWidth,Ng=Ig.clientWidth;if(Ug===Ng){TA(!1),vs(!1);return}Zu?(TA(-Wu0)):(TA(Wu>0),vs(Wu1?jr-Aa:0,So=(0,nt.Z)((0,nt.Z)((0,nt.Z)({},Ka),dn),{},{flex:"0 0 ".concat(Aa,"px"),width:"".concat(Aa,"px"),marginRight:Ta,pointerEvents:"auto"}),to=me.useMemo(function(){return Gn?ra<=1:Jr===0||ra===0||ra>1},[ra,Jr,Gn]);to?So.visibility="hidden":Gn&&(So.height=kn==null?void 0:kn(ra));var Oa=to?function(){return null}:fr,uo={};return(ra===0||Jr===0)&&(uo.rowSpan=1,uo.colSpan=1),me.createElement(Vn,(0,Ie.Z)({className:ke()(ur,Qn),ellipsis:St.ellipsis,align:St.align,scope:St.rowScope,component:"div",prefixCls:et.prefixCls,key:Vr,record:Bn,index:$t,renderIndex:mn,dataIndex:or,render:Oa,shouldCellUpdate:St.shouldCellUpdate},wa,{appendNode:Ua,additionalProps:(0,nt.Z)((0,nt.Z)({},ca),{},{style:So},uo)}))}var Qc=Oc,xl=["data","index","className","rowKey","style","extra","getHeight"],_l=me.forwardRef(function(Ye,et){var St=Ye.data,It=Ye.index,Gt=Ye.className,$t=Ye.rowKey,mn=Ye.style,Bn=Ye.extra,dn=Ye.getHeight,Qn=(0,Kt.Z)(Ye,xl),Gn=St.record,kn=St.indent,fr=St.index,or=de(_e,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),ur=or.scrollX,jr=or.flattenColumns,Fr=or.prefixCls,Qr=or.fixColumn,_r=or.componentWidth,Vr=Xt(Gn,$t,It,kn),wa=Vr.rowSupportExpand,Ua=Vr.expanded,ca=Vr.rowProps,Ka=Vr.expandedRowRender,ao=Vr.expandedRowClassName,Jr;if(wa&&Ua){var ga=Ka(Gn,It,kn+1,Ua),ra=ao==null?void 0:ao(Gn,It,kn),$r={};Qr&&($r={style:(0,De.Z)({},"--virtual-width","".concat(_r,"px"))});var Aa="".concat(Fr,"-expanded-row-cell");Jr=me.createElement("div",{className:ke()("".concat(Fr,"-expanded-row"),"".concat(Fr,"-expanded-row-level-").concat(kn+1),ra)},me.createElement(Vn,{component:"div",prefixCls:Fr,className:ke()(Aa,(0,De.Z)({},"".concat(Aa,"-fixed"),Qr)),additionalProps:$r},ga))}var Ta=(0,nt.Z)((0,nt.Z)({},mn),{},{width:ur});Bn&&(Ta.position="absolute",Ta.pointerEvents="none");var So=me.createElement("div",(0,Ie.Z)({},ca,Qn,{ref:wa?null:et,className:ke()(Gt,"".concat(Fr,"-row"),ca==null?void 0:ca.className,(0,De.Z)({},"".concat(Fr,"-row-extra"),Bn)),style:(0,nt.Z)((0,nt.Z)({},Ta),ca==null?void 0:ca.style)}),jr.map(function(to,Oa){return me.createElement(Qc,{key:Oa,rowInfo:Vr,column:to,colIndex:Oa,indent:kn,index:It,renderIndex:fr,record:Gn,inverse:Bn,getHeight:dn})}));return wa?me.createElement("div",{ref:et},So,Jr):So}),Tc=ne(_l),Tu=Tc,ku=me.forwardRef(function(Ye,et){var St=Ye.data,It=Ye.onScroll,Gt=de(_e,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),$t=Gt.flattenColumns,mn=Gt.onColumnResize,Bn=Gt.getRowKey,dn=Gt.expandedKeys,Qn=Gt.prefixCls,Gn=Gt.childrenColumnName,kn=Gt.emptyNode,fr=Gt.scrollX,or=de(ns),ur=or.scrollY,jr=or.listItemHeight,Fr=me.useRef(),Qr=nn(St,Gn,dn,Bn),_r=me.useMemo(function(){var Jr=0;return $t.map(function(ga){var ra=ga.width,$r=ga.key;return Jr+=ra,[$r,ra,Jr]})},[$t]),Vr=me.useMemo(function(){return _r.map(function(Jr){return Jr[2]})},[_r]);me.useEffect(function(){_r.forEach(function(Jr){var ga=(0,ze.Z)(Jr,2),ra=ga[0],$r=ga[1];mn(ra,$r)})},[_r]),me.useImperativeHandle(et,function(){var Jr={};return Object.defineProperty(Jr,"scrollLeft",{get:function(){var ra;return((ra=Fr.current)===null||ra===void 0?void 0:ra.getScrollInfo().x)||0},set:function(ra){var $r;($r=Fr.current)===null||$r===void 0||$r.scrollTo({left:ra})}}),Jr});var wa=function(ga,ra){var $r,Aa=($r=Qr[ra])===null||$r===void 0?void 0:$r.record,Ta=ga.onCell;if(Ta){var So,to=Ta(Aa,ra);return(So=to==null?void 0:to.rowSpan)!==null&&So!==void 0?So:1}return 1},Ua=function(ga){var ra=ga.start,$r=ga.end,Aa=ga.getSize,Ta=ga.offsetY;if($r<0)return null;for(var So=$t.filter(function(oa){return wa(oa,ra)===0}),to=ra,Oa=function(ja){if(So=So.filter(function(ka){return wa(ka,ja)===0}),!So.length)return to=ja,"break"},uo=ra;uo>=0;uo-=1){var Io=Oa(uo);if(Io==="break")break}for(var Ei=$t.filter(function(oa){return wa(oa,$r)!==1}),$o=$r,Ri=function(ja){if(Ei=Ei.filter(function(ka){return wa(ka,ja)!==1}),!Ei.length)return $o=Math.max(ja-1,$r),"break"},tA=$r;tA1})&&PA.push(ja)},Fi=to;Fi<=$o;Fi+=1)var Li=ni(Fi);var $s=PA.map(function(oa){var ja=Qr[oa],ka=Bn(ja.record,oa),Ba=function(Ja){var Oo=oa+Ja-1,ko=Bn(Qr[Oo].record,Oo),Es=Aa(ka,ko);return Es.bottom-Es.top},ri=Aa(ka);return me.createElement(Tu,{key:oa,data:ja,rowKey:ka,index:oa,style:{top:-Ta+ri.top},extra:!0,getHeight:Ba})});return $s},ca=me.useMemo(function(){return{columnsOffset:Vr}},[Vr]),Ka="".concat(Qn,"-tbody"),ao;return Qr.length?ao=me.createElement(ts.Z,{fullHeight:!1,ref:Fr,className:ke()(Ka,"".concat(Ka,"-virtual")),height:ur,itemHeight:jr||24,data:Qr,itemKey:function(ga){return Bn(ga.record)},scrollWidth:fr,onVirtualScroll:function(ga){var ra=ga.x;It({scrollLeft:ra})},extraRender:Ua},function(Jr,ga,ra){var $r=Bn(Jr.record,ga);return me.createElement(Tu,(0,Ie.Z)({data:Jr,rowKey:$r,index:ga},ra))}):ao=me.createElement("div",{className:ke()("".concat(Qn,"-placeholder"))},me.createElement(Vn,{component:"div",prefixCls:Qn},kn)),me.createElement(yu.Provider,{value:ca},ao)}),Au=ne(ku),fl=Au,Ru=function(et,St){var It=St.ref,Gt=St.onScroll;return me.createElement(fl,{ref:It,data:et,onScroll:Gt})},An=100;function kc(Ye){var et=Ye.columns,St=Ye.scroll,It=Ye.prefixCls,Gt=It===void 0?tl:It,$t=Ye.className,mn=Ye.listItemHeight,Bn=St||{},dn=Bn.x,Qn=Bn.y;typeof dn!="number"&&(dn=((et||[]).length+1)*An),typeof Qn!="number"&&(Qn=500);var Gn=me.useMemo(function(){return{scrollY:Qn,listItemHeight:mn}},[Qn,mn]);return me.createElement(ns.Provider,{value:Gn},me.createElement(va,(0,Ie.Z)({},Ye,{className:ke()($t,"".concat(Gt,"-virtual")),scroll:(0,nt.Z)((0,nt.Z)({},St),{},{x:dn}),components:{body:Ru},columns:et,internalHooks:be,tailor:!0})))}function ju(Ye){return te(kc,Ye)}var cd=ju(),su=null;function fs(Ye){return null}var lu=fs;function rs(Ye){return null}var NA=rs,Ac=we(2738),Gl=we(68031),wA=we(36355),WA=we(93891),Rc=we(19716),uu=we(8628),jc=we(31724),wn=we(58421),Dt=we(71418),en=we(88088);function On(Ye){return function(St){let{prefixCls:It,onExpand:Gt,record:$t,expanded:mn,expandable:Bn}=St;const dn=`${It}-row-expand-icon`;return me.createElement("button",{type:"button",onClick:Qn=>{Gt($t,Qn),Qn.stopPropagation()},className:ke()(dn,{[`${dn}-spaced`]:!Bn,[`${dn}-expanded`]:Bn&&mn,[`${dn}-collapsed`]:Bn&&!mn}),"aria-label":mn?Ye.collapse:Ye.expand,"aria-expanded":mn})}}var sr=On;function Xr(Ye,et){return"key"in Ye&&Ye.key!==void 0&&Ye.key!==null?Ye.key:Ye.dataIndex?Array.isArray(Ye.dataIndex)?Ye.dataIndex.join("."):Ye.dataIndex:et}function Ir(Ye,et){return et?`${et}-${Ye}`:`${Ye}`}function mr(Ye,et){return typeof Ye=="function"?Ye(et):Ye}function xr(Ye,et){const St=mr(Ye,et);return Object.prototype.toString.call(St)==="[object Object]"?"":St}var da={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},Ha=da,To=we(7657),ua=function(et,St){return me.createElement(To.Z,(0,Ie.Z)({},et,{ref:St,icon:Ha}))},zi=me.forwardRef(ua),li=zi,Bi=we(56762);function ma(Ye){const et=me.useRef(Ye),St=(0,Bi.Z)();return[()=>et.current,It=>{et.current=It,St()}]}var Da=we(3113),Ma=we(24905),La=we(38854),Eo=we(64165),Bo=we(20834),VA=we(40875),hl=we(5112),iA=we(17574),XA=we(47472),nl=we(92832);function rl(Ye){let{value:et,onChange:St,filterSearch:It,tablePrefixCls:Gt,locale:$t}=Ye;return It?me.createElement("div",{className:`${Gt}-filter-dropdown-search`},me.createElement(nl.default,{prefix:me.createElement(XA.Z,null),placeholder:$t.filterSearchPlaceholder,onChange:St,value:et,htmlSize:1,className:`${Gt}-filter-dropdown-search-input`})):null}var al=rl,Pn=we(10228);const In=Ye=>{const{keyCode:et}=Ye;et===Pn.Z.ENTER&&Ye.stopPropagation()};var Wr=me.forwardRef((Ye,et)=>me.createElement("div",{className:Ye.className,onClick:St=>St.stopPropagation(),onKeyDown:In,ref:et},Ye.children));function xa(Ye){let et=[];return(Ye||[]).forEach(St=>{let{value:It,children:Gt}=St;et.push(It),Gt&&(et=[].concat((0,ea.Z)(et),(0,ea.Z)(xa(Gt))))}),et}function Lo(Ye){return Ye.some(et=>{let{children:St}=et;return St})}function Pi(Ye,et){return typeof et=="string"||typeof et=="number"?et==null?void 0:et.toString().toLowerCase().includes(Ye.trim().toLowerCase()):!1}function eo(Ye){let{filters:et,prefixCls:St,filteredKeys:It,filterMultiple:Gt,searchValue:$t,filterSearch:mn}=Ye;return et.map((Bn,dn)=>{const Qn=String(Bn.value);if(Bn.children)return{key:Qn||dn,label:Bn.text,popupClassName:`${St}-dropdown-submenu`,children:eo({filters:Bn.children,prefixCls:St,filteredKeys:It,filterMultiple:Gt,searchValue:$t,filterSearch:mn})};const Gn=Gt?Ma.default:hl.ZP,kn={key:Bn.value!==void 0?Qn:dn,label:me.createElement(me.Fragment,null,me.createElement(Gn,{checked:It.includes(Qn)}),me.createElement("span",null,Bn.text))};return $t.trim()?typeof mn=="function"?mn($t,Bn)?kn:null:Pi($t,Bn.text)?kn:null:kn})}function qi(Ye){var et,St;const{tablePrefixCls:It,prefixCls:Gt,column:$t,dropdownPrefixCls:mn,columnKey:Bn,filterMultiple:dn,filterMode:Qn="menu",filterSearch:Gn=!1,filterState:kn,triggerFilter:fr,locale:or,children:ur,getPopupContainer:jr}=Ye,{filterDropdownOpen:Fr,onFilterDropdownOpenChange:Qr,filterResetToDefaultFilteredValue:_r,defaultFilteredValue:Vr,filterDropdownVisible:wa,onFilterDropdownVisibleChange:Ua}=$t,[ca,Ka]=me.useState(!1),ao=!!(kn&&(!((et=kn.filteredKeys)===null||et===void 0)&&et.length||kn.forceFiltered)),Jr=Sa=>{Ka(Sa),Qr==null||Qr(Sa),Ua==null||Ua(Sa)},ga=(St=Fr!=null?Fr:wa)!==null&&St!==void 0?St:ca,ra=kn==null?void 0:kn.filteredKeys,[$r,Aa]=ma(ra||[]),Ta=Sa=>{let{selectedKeys:Ja}=Sa;Aa(Ja)},So=(Sa,Ja)=>{let{node:Oo,checked:ko}=Ja;Ta(dn?{selectedKeys:Sa}:{selectedKeys:ko&&Oo.key?[Oo.key]:[]})};me.useEffect(()=>{ca&&Ta({selectedKeys:ra||[]})},[ra]);const[to,Oa]=me.useState([]),uo=Sa=>{Oa(Sa)},[Io,Ei]=me.useState(""),$o=Sa=>{const{value:Ja}=Sa.target;Ei(Ja)};me.useEffect(()=>{ca||Ei("")},[ca]);const Ri=Sa=>{const Ja=Sa&&Sa.length?Sa:null;if(Ja===null&&(!kn||!kn.filteredKeys)||(0,je.Z)(Ja,kn==null?void 0:kn.filteredKeys,!0))return null;fr({column:$t,key:Bn,filteredKeys:Ja})},tA=()=>{Jr(!1),Ri($r())},oo=function(){let{confirm:Sa,closeDropdown:Ja}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Sa&&Ri([]),Ja&&Jr(!1),Ei(""),Aa(_r?(Vr||[]).map(Oo=>String(Oo)):[])},PA=function(){let{closeDropdown:Sa}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Sa&&Jr(!1),Ri($r())},ni=Sa=>{Sa&&ra!==void 0&&Aa(ra||[]),Jr(Sa),!Sa&&!$t.filterDropdown&&tA()},Fi=ke()({[`${mn}-menu-without-submenu`]:!Lo($t.filters||[])}),Li=Sa=>{if(Sa.target.checked){const Ja=xa($t==null?void 0:$t.filters).map(Oo=>String(Oo));Aa(Ja)}else Aa([])},$s=Sa=>{let{filters:Ja}=Sa;return(Ja||[]).map((Oo,ko)=>{const Es=String(Oo.value),pA={title:Oo.text,key:Oo.value!==void 0?Es:ko};return Oo.children&&(pA.children=$s({filters:Oo.children})),pA})},oa=Sa=>{var Ja;return Object.assign(Object.assign({},Sa),{text:Sa.title,value:Sa.key,children:((Ja=Sa.children)===null||Ja===void 0?void 0:Ja.map(Oo=>oa(Oo)))||[]})};let ja;if(typeof $t.filterDropdown=="function")ja=$t.filterDropdown({prefixCls:`${mn}-custom`,setSelectedKeys:Sa=>Ta({selectedKeys:Sa}),selectedKeys:$r(),confirm:PA,clearFilters:oo,filters:$t.filters,visible:ga,close:()=>{Jr(!1)}});else if($t.filterDropdown)ja=$t.filterDropdown;else{const Sa=$r()||[],Ja=()=>($t.filters||[]).length===0?me.createElement(Eo.Z,{image:Eo.Z.PRESENTED_IMAGE_SIMPLE,description:or.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Qn==="tree"?me.createElement(me.Fragment,null,me.createElement(al,{filterSearch:Gn,value:Io,onChange:$o,tablePrefixCls:It,locale:or}),me.createElement("div",{className:`${It}-filter-dropdown-tree`},dn?me.createElement(Ma.default,{checked:Sa.length===xa($t.filters).length,indeterminate:Sa.length>0&&Sa.lengthtypeof Gn=="function"?Gn(Io,oa(ko)):Pi(Io,ko.title):void 0}))):me.createElement(me.Fragment,null,me.createElement(al,{filterSearch:Gn,value:Io,onChange:$o,tablePrefixCls:It,locale:or}),me.createElement(Bo.default,{selectable:!0,multiple:dn,prefixCls:`${mn}-menu`,className:Fi,onSelect:Ta,onDeselect:Ta,selectedKeys:Sa,getPopupContainer:jr,openKeys:to,onOpenChange:uo,items:eo({filters:$t.filters||[],filterSearch:Gn,prefixCls:Gt,filteredKeys:$r(),filterMultiple:dn,searchValue:Io})})),Oo=()=>_r?(0,je.Z)((Vr||[]).map(ko=>String(ko)),Sa,!0):Sa.length===0;ja=me.createElement(me.Fragment,null,Ja(),me.createElement("div",{className:`${Gt}-dropdown-btns`},me.createElement(Da.ZP,{type:"link",size:"small",disabled:Oo(),onClick:()=>oo()},or.filterReset),me.createElement(Da.ZP,{type:"primary",size:"small",onClick:tA},or.filterConfirm)))}$t.filterDropdown&&(ja=me.createElement(VA.J,{selectable:void 0},ja));const ka=()=>me.createElement(Wr,{className:`${Gt}-dropdown`},ja);let Ba;typeof $t.filterIcon=="function"?Ba=$t.filterIcon(ao):$t.filterIcon?Ba=$t.filterIcon:Ba=me.createElement(li,null);const{direction:ri}=me.useContext(wA.E_);return me.createElement("div",{className:`${Gt}-column`},me.createElement("span",{className:`${It}-column-title`},ur),me.createElement(La.Z,{dropdownRender:ka,trigger:["click"],open:ga,onOpenChange:ni,getPopupContainer:jr,placement:ri==="rtl"?"bottomLeft":"bottomRight"},me.createElement("span",{role:"button",tabIndex:-1,className:ke()(`${Gt}-trigger`,{active:ao}),onClick:Sa=>{Sa.stopPropagation()}},Ba)))}var Mu=qi;function cu(Ye,et,St){let It=[];return(Ye||[]).forEach((Gt,$t)=>{var mn;const Bn=Ir($t,St);if(Gt.filters||"filterDropdown"in Gt||"onFilter"in Gt)if("filteredValue"in Gt){let dn=Gt.filteredValue;"filterDropdown"in Gt||(dn=(mn=dn==null?void 0:dn.map(String))!==null&&mn!==void 0?mn:dn),It.push({column:Gt,key:Xr(Gt,Bn),filteredKeys:dn,forceFiltered:Gt.filtered})}else It.push({column:Gt,key:Xr(Gt,Bn),filteredKeys:et&&Gt.defaultFilteredValue?Gt.defaultFilteredValue:void 0,forceFiltered:Gt.filtered});"children"in Gt&&(It=[].concat((0,ea.Z)(It),(0,ea.Z)(cu(Gt.children,et,Bn))))}),It}function Ll(Ye,et,St,It,Gt,$t,mn,Bn){return St.map((dn,Qn)=>{const Gn=Ir(Qn,Bn),{filterMultiple:kn=!0,filterMode:fr,filterSearch:or}=dn;let ur=dn;if(ur.filters||ur.filterDropdown){const jr=Xr(ur,Gn),Fr=It.find(Qr=>{let{key:_r}=Qr;return jr===_r});ur=Object.assign(Object.assign({},ur),{title:Qr=>me.createElement(Mu,{tablePrefixCls:Ye,prefixCls:`${Ye}-filter`,dropdownPrefixCls:et,column:ur,columnKey:jr,filterState:Fr,filterMultiple:kn,filterMode:fr,filterSearch:or,triggerFilter:$t,locale:Gt,getPopupContainer:mn},mr(dn.title,Qr))})}return"children"in ur&&(ur=Object.assign(Object.assign({},ur),{children:Ll(Ye,et,ur.children,It,Gt,$t,mn,Gn)})),ur})}function il(Ye){const et={};return Ye.forEach(St=>{let{key:It,filteredKeys:Gt,column:$t}=St;const{filters:mn,filterDropdown:Bn}=$t;if(Bn)et[It]=Gt||null;else if(Array.isArray(Gt)){const dn=xa(mn);et[It]=dn.filter(Qn=>Gt.includes(String(Qn)))}else et[It]=null}),et}function Rd(Ye,et){return et.reduce((St,It)=>{const{column:{onFilter:Gt,filters:$t},filteredKeys:mn}=It;return Gt&&mn&&mn.length?St.filter(Bn=>mn.some(dn=>{const Qn=xa($t),Gn=Qn.findIndex(fr=>String(fr)===String(dn)),kn=Gn!==-1?Qn[Gn]:dn;return Gt(kn,Bn)})):St},Ye)}const Il=Ye=>Ye.flatMap(et=>"children"in et?[et].concat((0,ea.Z)(Il(et.children||[]))):[et]);function AA(Ye){let{prefixCls:et,dropdownPrefixCls:St,mergedColumns:It,onFilterChange:Gt,getPopupContainer:$t,locale:mn}=Ye;const Bn=me.useMemo(()=>Il(It||[]),[It]),[dn,Qn]=me.useState(()=>cu(Bn,!0)),Gn=me.useMemo(()=>{const ur=cu(Bn,!1);if(ur.length===0)return ur;let jr=!0,Fr=!0;if(ur.forEach(Qr=>{let{filteredKeys:_r}=Qr;_r!==void 0?jr=!1:Fr=!1}),jr){const Qr=(Bn||[]).map((_r,Vr)=>Xr(_r,Ir(Vr)));return dn.filter(_r=>{let{key:Vr}=_r;return Qr.includes(Vr)}).map(_r=>{const Vr=Bn[Qr.findIndex(wa=>wa===_r.key)];return Object.assign(Object.assign({},_r),{column:Object.assign(Object.assign({},_r.column),Vr),forceFiltered:Vr.filtered})})}return ur},[Bn,dn]),kn=me.useMemo(()=>il(Gn),[Gn]),fr=ur=>{const jr=Gn.filter(Fr=>{let{key:Qr}=Fr;return Qr!==ur.key});jr.push(ur),Qn(jr),Gt(il(jr),jr)};return[ur=>Ll(et,St,ur,Gn,mn,fr,$t),Gn,kn]}var sc=AA;function DA(Ye,et,St){const It=me.useRef({});function Gt($t){if(!It.current||It.current.data!==Ye||It.current.childrenColumnName!==et||It.current.getRowKey!==St){let Bn=function(dn){dn.forEach((Qn,Gn)=>{const kn=St(Qn,Gn);mn.set(kn,Qn),Qn&&typeof Qn=="object"&&et in Qn&&Bn(Qn[et]||[])})};const mn=new Map;Bn(Ye),It.current={data:Ye,childrenColumnName:et,kvMap:mn,getRowKey:St}}return It.current.kvMap.get($t)}return[Gt]}var Hu=we(50371),ml=function(Ye,et){var St={};for(var It in Ye)Object.prototype.hasOwnProperty.call(Ye,It)&&et.indexOf(It)<0&&(St[It]=Ye[It]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gt=0,It=Object.getOwnPropertySymbols(Ye);Gt{const $t=Ye[Gt];typeof $t!="function"&&(St[Gt]=$t)}),St}function wu(Ye,et,St){const It=St&&typeof St=="object"?St:{},{total:Gt=0}=It,$t=ml(It,["total"]),[mn,Bn]=(0,me.useState)(()=>({current:"defaultCurrent"in $t?$t.defaultCurrent:1,pageSize:"defaultPageSize"in $t?$t.defaultPageSize:Ul})),dn=(0,Hu.Z)(mn,$t,{total:Gt>0?Gt:Ye}),Qn=Math.ceil((Gt||Ye)/dn.pageSize);dn.current>Qn&&(dn.current=Qn||1);const Gn=(fr,or)=>{Bn({current:fr!=null?fr:1,pageSize:or||dn.pageSize})},kn=(fr,or)=>{var ur;St&&((ur=St.onChange)===null||ur===void 0||ur.call(St,fr,or)),Gn(fr,or),et(fr,or||(dn==null?void 0:dn.pageSize))};return St===!1?[{},()=>{}]:[Object.assign(Object.assign({},dn),{onChange:kn}),Gn]}var lc=wu,dd=we(84105),mA=we(35654),Qs=we(90782),Nl=we(71430),$l=we(18929);const bi={},Cs="SELECT_ALL",OA="SELECT_INVERT",sA="SELECT_NONE",lA=[],Dl=(Ye,et)=>{let St=[];return(et||[]).forEach(It=>{St.push(It),It&&typeof It=="object"&&Ye in It&&(St=[].concat((0,ea.Z)(St),(0,ea.Z)(Dl(Ye,It[Ye]))))}),St};var YA=(Ye,et)=>{const{preserveSelectedRowKeys:St,selectedRowKeys:It,defaultSelectedRowKeys:Gt,getCheckboxProps:$t,onChange:mn,onSelect:Bn,onSelectAll:dn,onSelectInvert:Qn,onSelectNone:Gn,onSelectMultiple:kn,columnWidth:fr,type:or,selections:ur,fixed:jr,renderCell:Fr,hideSelectAll:Qr,checkStrictly:_r=!0}=et||{},{prefixCls:Vr,data:wa,pageData:Ua,getRecordByKey:ca,getRowKey:Ka,expandType:ao,childrenColumnName:Jr,locale:ga,getPopupContainer:ra}=Ye,[$r,Aa]=(0,$l.Z)(It||Gt||lA,{value:It}),Ta=me.useRef(new Map),So=(0,me.useCallback)(oa=>{if(St){const ja=new Map;oa.forEach(ka=>{let Ba=ca(ka);!Ba&&Ta.current.has(ka)&&(Ba=Ta.current.get(ka)),ja.set(ka,Ba)}),Ta.current=ja}},[ca,St]);me.useEffect(()=>{So($r)},[$r]);const{keyEntities:to}=(0,me.useMemo)(()=>{if(_r)return{keyEntities:null};let oa=wa;if(St){const ja=new Set(wa.map((Ba,ri)=>Ka(Ba,ri))),ka=Array.from(Ta.current).reduce((Ba,ri)=>{let[Sa,Ja]=ri;return ja.has(Sa)?Ba:Ba.concat(Ja)},[]);oa=[].concat((0,ea.Z)(oa),(0,ea.Z)(ka))}return(0,Nl.I8)(oa,{externalGetKey:Ka,childrenPropName:Jr})},[wa,Ka,_r,Jr,St]),Oa=(0,me.useMemo)(()=>Dl(Jr,Ua),[Jr,Ua]),uo=(0,me.useMemo)(()=>{const oa=new Map;return Oa.forEach((ja,ka)=>{const Ba=Ka(ja,ka),ri=($t?$t(ja):null)||{};oa.set(Ba,ri)}),oa},[Oa,Ka,$t]),Io=(0,me.useCallback)(oa=>{var ja;return!!(!((ja=uo.get(Ka(oa)))===null||ja===void 0)&&ja.disabled)},[uo,Ka]),[Ei,$o]=(0,me.useMemo)(()=>{if(_r)return[$r||[],[]];const{checkedKeys:oa,halfCheckedKeys:ja}=(0,Qs.S)($r,!0,to,Io);return[oa||[],ja]},[$r,_r,to,Io]),Ri=(0,me.useMemo)(()=>{const oa=or==="radio"?Ei.slice(0,1):Ei;return new Set(oa)},[Ei,or]),tA=(0,me.useMemo)(()=>or==="radio"?new Set:new Set($o),[$o,or]),[oo,PA]=(0,me.useState)(null);me.useEffect(()=>{et||Aa(lA)},[!!et]);const ni=(0,me.useCallback)((oa,ja)=>{let ka,Ba;So(oa),St?(ka=oa,Ba=oa.map(ri=>Ta.current.get(ri))):(ka=[],Ba=[],oa.forEach(ri=>{const Sa=ca(ri);Sa!==void 0&&(ka.push(ri),Ba.push(Sa))})),Aa(ka),mn==null||mn(ka,Ba,{type:ja})},[Aa,ca,mn,St]),Fi=(0,me.useCallback)((oa,ja,ka,Ba)=>{if(Bn){const ri=ka.map(Sa=>ca(Sa));Bn(ca(oa),ja,ri,Ba)}ni(ka,"single")},[Bn,ca,ni]),Li=(0,me.useMemo)(()=>!ur||Qr?null:(ur===!0?[Cs,OA,sA]:ur).map(ja=>ja===Cs?{key:"all",text:ga.selectionAll,onSelect(){ni(wa.map((ka,Ba)=>Ka(ka,Ba)).filter(ka=>{const Ba=uo.get(ka);return!(Ba!=null&&Ba.disabled)||Ri.has(ka)}),"all")}}:ja===OA?{key:"invert",text:ga.selectInvert,onSelect(){const ka=new Set(Ri);Ua.forEach((ri,Sa)=>{const Ja=Ka(ri,Sa),Oo=uo.get(Ja);Oo!=null&&Oo.disabled||(ka.has(Ja)?ka.delete(Ja):ka.add(Ja))});const Ba=Array.from(ka);Qn&&Qn(Ba),ni(Ba,"invert")}}:ja===sA?{key:"none",text:ga.selectNone,onSelect(){Gn==null||Gn(),ni(Array.from(Ri).filter(ka=>{const Ba=uo.get(ka);return Ba==null?void 0:Ba.disabled}),"none")}}:ja).map(ja=>Object.assign(Object.assign({},ja),{onSelect:function(){for(var ka,Ba,ri=arguments.length,Sa=new Array(ri),Ja=0;Ja{var ja;if(!et)return oa.filter(ai=>ai!==bi);let ka=(0,ea.Z)(oa);const Ba=new Set(Ri),ri=Oa.map(Ka).filter(ai=>!uo.get(ai).disabled),Sa=ri.every(ai=>Ba.has(ai)),Ja=ri.some(ai=>Ba.has(ai)),Oo=()=>{const ai=[];Sa?ri.forEach($i=>{Ba.delete($i),ai.push($i)}):ri.forEach($i=>{Ba.has($i)||(Ba.add($i),ai.push($i))});const Uo=Array.from(Ba);dn==null||dn(!Sa,Uo.map($i=>ca($i)),ai.map($i=>ca($i))),ni(Uo,"all"),PA(null)};let ko;if(or!=="radio"){let ai;if(Li){const yo={getPopupContainer:ra,items:Li.map((Fs,vs)=>{const{key:Zs,text:Rs,onSelect:js}=Fs;return{key:Zs!=null?Zs:vs,onClick:()=>{js==null||js(ri)},label:Rs}})};ai=me.createElement("div",{className:`${Vr}-selection-extra`},me.createElement(La.Z,{menu:yo,getPopupContainer:ra},me.createElement("span",null,me.createElement(dd.Z,null))))}const Uo=Oa.map((yo,Fs)=>{const vs=Ka(yo,Fs),Zs=uo.get(vs)||{};return Object.assign({checked:Ba.has(vs)},Zs)}).filter(yo=>{let{disabled:Fs}=yo;return Fs}),$i=!!Uo.length&&Uo.length===Oa.length,TA=$i&&Uo.every(yo=>{let{checked:Fs}=yo;return Fs}),Qi=$i&&Uo.some(yo=>{let{checked:Fs}=yo;return Fs});ko=!Qr&&me.createElement("div",{className:`${Vr}-selection`},me.createElement(Ma.default,{checked:$i?TA:!!Oa.length&&Sa,indeterminate:$i?!TA&&Qi:!Sa&&Ja,onChange:Oo,disabled:Oa.length===0||$i,"aria-label":ai?"Custom selection":"Select all",skipGroup:!0}),ai)}let Es;or==="radio"?Es=(ai,Uo,$i)=>{const TA=Ka(Uo,$i),Qi=Ba.has(TA);return{node:me.createElement(hl.ZP,Object.assign({},uo.get(TA),{checked:Qi,onClick:yo=>yo.stopPropagation(),onChange:yo=>{Ba.has(TA)||Fi(TA,!0,[TA],yo.nativeEvent)}})),checked:Qi}}:Es=(ai,Uo,$i)=>{var TA;const Qi=Ka(Uo,$i),yo=Ba.has(Qi),Fs=tA.has(Qi),vs=uo.get(Qi);let Zs;return ao==="nest"?Zs=Fs:Zs=(TA=vs==null?void 0:vs.indeterminate)!==null&&TA!==void 0?TA:Fs,{node:me.createElement(Ma.default,Object.assign({},vs,{indeterminate:Zs,checked:yo,skipGroup:!0,onClick:Rs=>Rs.stopPropagation(),onChange:Rs=>{let{nativeEvent:js}=Rs;const{shiftKey:Bl}=js;let Cu=-1,Sl=-1;if(Bl&&_r){const nA=new Set([oo,Qi]);ri.some((is,EA)=>{if(nA.has(is))if(Cu===-1)Cu=EA;else return Sl=EA,!0;return!1})}if(Sl!==-1&&Cu!==Sl&&_r){const nA=ri.slice(Cu,Sl+1),is=[];yo?nA.forEach(Zi=>{Ba.has(Zi)&&(is.push(Zi),Ba.delete(Zi))}):nA.forEach(Zi=>{Ba.has(Zi)||(is.push(Zi),Ba.add(Zi))});const EA=Array.from(Ba);kn==null||kn(!yo,EA.map(Zi=>ca(Zi)),is.map(Zi=>ca(Zi))),ni(EA,"multiple")}else{const nA=Ei;if(_r){const is=yo?(0,mA._5)(nA,Qi):(0,mA.L0)(nA,Qi);Fi(Qi,!yo,is,js)}else{const is=(0,Qs.S)([].concat((0,ea.Z)(nA),[Qi]),!0,to,Io),{checkedKeys:EA,halfCheckedKeys:Zi}=is;let Yl=EA;if(yo){const fu=new Set(EA);fu.delete(Qi),Yl=(0,Qs.S)(Array.from(fu),{checked:!1,halfCheckedKeys:Zi},to,Io).checkedKeys}Fi(Qi,!yo,Yl,js)}}PA(yo?null:Qi)}})),checked:yo}};const pA=(ai,Uo,$i)=>{const{node:TA,checked:Qi}=Es(ai,Uo,$i);return Fr?Fr(Qi,Uo,$i,TA):TA};if(!ka.includes(bi))if(ka.findIndex(ai=>{var Uo;return((Uo=ai[br])===null||Uo===void 0?void 0:Uo.columnType)==="EXPAND_COLUMN"})===0){const[ai,...Uo]=ka;ka=[ai,bi].concat((0,ea.Z)(Uo))}else ka=[bi].concat((0,ea.Z)(ka));const kl=ka.indexOf(bi);ka=ka.filter((ai,Uo)=>ai!==bi||Uo===kl);const vA=ka[kl-1],sl=ka[kl+1];let Kr=jr;Kr===void 0&&((sl==null?void 0:sl.fixed)!==void 0?Kr=sl.fixed:(vA==null?void 0:vA.fixed)!==void 0&&(Kr=vA.fixed)),Kr&&vA&&((ja=vA[br])===null||ja===void 0?void 0:ja.columnType)==="EXPAND_COLUMN"&&vA.fixed===void 0&&(vA.fixed=Kr);const ks=ke()(`${Vr}-selection-col`,{[`${Vr}-selection-col-with-dropdown`]:ur&&or==="checkbox"}),fc={fixed:Kr,width:fr,className:`${Vr}-selection-column`,title:et.columnTitle||ko,render:pA,onCell:et.onCell,[br]:{className:ks}};return ka.map(ai=>ai===bi?fc:ai)},[Ka,Oa,et,Ei,Ri,tA,fr,Li,ao,oo,uo,kn,Fi,Io]),Ri]},Ku=we(89489),bA=we(59477),Ol=we(6848);const eA="ascend",uc="descend";function du(Ye){return typeof Ye.sorter=="object"&&typeof Ye.sorter.multiple=="number"?Ye.sorter.multiple:!1}function gu(Ye){return typeof Ye=="function"?Ye:Ye&&typeof Ye=="object"&&Ye.compare?Ye.compare:!1}function Hc(Ye,et){return et?Ye[Ye.indexOf(et)+1]:Ye[0]}function Zl(Ye,et,St){let It=[];function Gt($t,mn){It.push({column:$t,key:Xr($t,mn),multiplePriority:du($t),sortOrder:$t.sortOrder})}return(Ye||[]).forEach(($t,mn)=>{const Bn=Ir(mn,St);$t.children?("sortOrder"in $t&&Gt($t,Bn),It=[].concat((0,ea.Z)(It),(0,ea.Z)(Zl($t.children,et,Bn)))):$t.sorter&&("sortOrder"in $t?Gt($t,Bn):et&&$t.defaultSortOrder&&It.push({column:$t,key:Xr($t,Bn),multiplePriority:du($t),sortOrder:$t.defaultSortOrder}))}),It}function Er(Ye,et,St,It,Gt,$t,mn,Bn){return(et||[]).map((dn,Qn)=>{const Gn=Ir(Qn,Bn);let kn=dn;if(kn.sorter){const fr=kn.sortDirections||Gt,or=kn.showSorterTooltip===void 0?mn:kn.showSorterTooltip,ur=Xr(kn,Gn),jr=St.find(ao=>{let{key:Jr}=ao;return Jr===ur}),Fr=jr?jr.sortOrder:null,Qr=Hc(fr,Fr);let _r;if(dn.sortIcon)_r=dn.sortIcon({sortOrder:Fr});else{const ao=fr.includes(eA)&&me.createElement(bA.Z,{className:ke()(`${Ye}-column-sorter-up`,{active:Fr===eA})}),Jr=fr.includes(uc)&&me.createElement(Ku.Z,{className:ke()(`${Ye}-column-sorter-down`,{active:Fr===uc})});_r=me.createElement("span",{className:ke()(`${Ye}-column-sorter`,{[`${Ye}-column-sorter-full`]:!!(ao&&Jr)})},me.createElement("span",{className:`${Ye}-column-sorter-inner`,"aria-hidden":"true"},ao,Jr))}const{cancelSort:Vr,triggerAsc:wa,triggerDesc:Ua}=$t||{};let ca=Vr;Qr===uc?ca=Ua:Qr===eA&&(ca=wa);const Ka=typeof or=="object"?or:{title:ca};kn=Object.assign(Object.assign({},kn),{className:ke()(kn.className,{[`${Ye}-column-sort`]:Fr}),title:ao=>{const Jr=me.createElement("div",{className:`${Ye}-column-sorters`},me.createElement("span",{className:`${Ye}-column-title`},mr(dn.title,ao)),_r);return or?me.createElement(Ol.Z,Object.assign({},Ka),Jr):Jr},onHeaderCell:ao=>{const Jr=dn.onHeaderCell&&dn.onHeaderCell(ao)||{},ga=Jr.onClick,ra=Jr.onKeyDown;Jr.onClick=Ta=>{It({column:dn,key:ur,sortOrder:Qr,multiplePriority:du(dn)}),ga==null||ga(Ta)},Jr.onKeyDown=Ta=>{Ta.keyCode===Pn.Z.ENTER&&(It({column:dn,key:ur,sortOrder:Qr,multiplePriority:du(dn)}),ra==null||ra(Ta))};const $r=xr(dn.title,{}),Aa=$r==null?void 0:$r.toString();return Fr?Jr["aria-sort"]=Fr==="ascend"?"ascending":"descending":Jr["aria-label"]=Aa||"",Jr.className=ke()(Jr.className,`${Ye}-column-has-sorters`),Jr.tabIndex=0,dn.ellipsis&&(Jr.title=($r!=null?$r:"").toString()),Jr}})}return"children"in kn&&(kn=Object.assign(Object.assign({},kn),{children:Er(Ye,kn.children,St,It,Gt,$t,mn,Gn)})),kn})}function Ia(Ye){const{column:et,sortOrder:St}=Ye;return{column:et,order:St,field:et.dataIndex,columnKey:et.key}}function lr(Ye){const et=Ye.filter(St=>{let{sortOrder:It}=St;return It}).map(Ia);return et.length===0&&Ye.length?Object.assign(Object.assign({},Ia(Ye[Ye.length-1])),{column:void 0}):et.length<=1?et[0]||{}:et}function $a(Ye,et,St){const It=et.slice().sort((mn,Bn)=>Bn.multiplePriority-mn.multiplePriority),Gt=Ye.slice(),$t=It.filter(mn=>{let{column:{sorter:Bn},sortOrder:dn}=mn;return gu(Bn)&&dn});return $t.length?Gt.sort((mn,Bn)=>{for(let dn=0;dn<$t.length;dn+=1){const Qn=$t[dn],{column:{sorter:Gn},sortOrder:kn}=Qn,fr=gu(Gn);if(fr&&kn){const or=fr(mn,Bn,kn);if(or!==0)return kn===eA?or:-or}}return 0}).map(mn=>{const Bn=mn[St];return Bn?Object.assign(Object.assign({},mn),{[St]:$a(Bn,et,St)}):mn}):Gt}function wo(Ye){let{prefixCls:et,mergedColumns:St,onSorterChange:It,sortDirections:Gt,tableLocale:$t,showSorterTooltip:mn}=Ye;const[Bn,dn]=me.useState(Zl(St,!0)),Qn=me.useMemo(()=>{let ur=!0;const jr=Zl(St,!1);if(!jr.length)return Bn;const Fr=[];function Qr(Vr){ur?Fr.push(Vr):Fr.push(Object.assign(Object.assign({},Vr),{sortOrder:null}))}let _r=null;return jr.forEach(Vr=>{_r===null?(Qr(Vr),Vr.sortOrder&&(Vr.multiplePriority===!1?ur=!1:_r=!0)):(_r&&Vr.multiplePriority!==!1||(ur=!1),Qr(Vr))}),Fr},[St,Bn]),Gn=me.useMemo(()=>{const ur=Qn.map(jr=>{let{column:Fr,sortOrder:Qr}=jr;return{column:Fr,order:Qr}});return{sortColumns:ur,sortColumn:ur[0]&&ur[0].column,sortOrder:ur[0]&&ur[0].order}},[Qn]);function kn(ur){let jr;ur.multiplePriority===!1||!Qn.length||Qn[0].multiplePriority===!1?jr=[ur]:jr=[].concat((0,ea.Z)(Qn.filter(Fr=>{let{key:Qr}=Fr;return Qr!==ur.key})),[ur]),dn(jr),It(lr(jr),jr)}return[ur=>Er(et,ur,Qn,kn,Gt,$t,mn),Qn,Gn,()=>lr(Qn)]}function uA(Ye,et){return Ye.map(St=>{const It=Object.assign({},St);return It.title=mr(St.title,et),"children"in It&&(It.children=uA(It.children,et)),It})}function Ts(Ye){return[me.useCallback(St=>uA(St,Ye),[Ye])]}var JA=Ga((Ye,et)=>{const{_renderTimes:St}=Ye,{_renderTimes:It}=et;return St!==It}),Wl=ju((Ye,et)=>{const{_renderTimes:St}=Ye,{_renderTimes:It}=et;return St!==It}),Al=we(64993),Ps=we(17313),ui=we(83116),pl=we(37613),as=Ye=>{const{componentCls:et}=Ye,St=`${Ye.lineWidth}px ${Ye.lineType} ${Ye.tableBorderColor}`,It=(Gt,$t,mn)=>({[`&${et}-${Gt}`]:{[`> ${et}-container`]:{[`> ${et}-content, > ${et}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${et}-expanded-row-fixed`]:{margin:`-${$t}px -${mn+Ye.lineWidth}px`}}}}}});return{[`${et}-wrapper`]:{[`${et}${et}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${et}-title`]:{border:St,borderBottom:0},[`> ${et}-container`]:{borderInlineStart:St,borderTop:St,[` > ${et}-content, > ${et}-header, > ${et}-body, > ${et}-summary `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:St},"> thead":{"> tr:not(:last-child) > th":{borderBottom:St},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${et}-cell-fix-right-first::after`]:{borderInlineEnd:St}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${et}-expanded-row-fixed`]:{margin:`-${Ye.tablePaddingVertical}px -${Ye.tablePaddingHorizontal+Ye.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Ye.lineWidth,bottom:0,borderInlineEnd:St,content:'""'}}}}}},[`&${et}-scroll-horizontal`]:{[`> ${et}-container > ${et}-body`]:{"> table > tbody":{[` > tr${et}-expanded-row, > tr${et}-placeholder `]:{"> th, > td":{borderInlineEnd:0}}}}}},It("middle",Ye.tablePaddingVerticalMiddle,Ye.tablePaddingHorizontalMiddle)),It("small",Ye.tablePaddingVerticalSmall,Ye.tablePaddingHorizontalSmall)),{[`> ${et}-footer`]:{border:St,borderTop:0}}),[`${et}-cell`]:{[`${et}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Ye.lineWidth}px 0 ${Ye.lineWidth}px ${Ye.tableHeaderBg}`}},[`${et}-bordered ${et}-cell-scrollbar`]:{borderInlineEnd:St}}}},Gi=Ye=>{const{componentCls:et}=Ye;return{[`${et}-wrapper`]:{[`${et}-cell-ellipsis`]:Object.assign(Object.assign({},Ps.vS),{wordBreak:"keep-all",[` &${et}-cell-fix-left-last, &${et}-cell-fix-right-first `]:{overflow:"visible",[`${et}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${et}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Vl=Ye=>{const{componentCls:et}=Ye;return{[`${et}-wrapper`]:{[`${et}-tbody > tr${et}-placeholder`]:{textAlign:"center",color:Ye.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Ye.colorBgContainer}}}}},os=we(15969),HA=Ye=>{const{componentCls:et,antCls:St,controlInteractiveSize:It,motionDurationSlow:Gt,lineWidth:$t,paddingXS:mn,lineType:Bn,tableBorderColor:dn,tableExpandIconBg:Qn,tableExpandColumnWidth:Gn,borderRadius:kn,fontSize:fr,fontSizeSM:or,lineHeight:ur,tablePaddingVertical:jr,tablePaddingHorizontal:Fr,tableExpandedRowBg:Qr,paddingXXS:_r}=Ye,Vr=It/2-$t,wa=Vr*2+$t*3,Ua=`${$t}px ${Bn} ${dn}`,ca=_r-$t;return{[`${et}-wrapper`]:{[`${et}-expand-icon-col`]:{width:Gn},[`${et}-row-expand-icon-cell`]:{textAlign:"center",[`${et}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${et}-row-indent`]:{height:1,float:"left"},[`${et}-row-expand-icon`]:Object.assign(Object.assign({},(0,os.N)(Ye)),{position:"relative",float:"left",boxSizing:"border-box",width:wa,height:wa,padding:0,color:"inherit",lineHeight:`${wa}px`,background:Qn,border:Ua,borderRadius:kn,transform:`scale(${It/wa})`,transition:`all ${Gt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Gt} ease-out`,content:'""'},"&::before":{top:Vr,insetInlineEnd:ca,insetInlineStart:ca,height:$t},"&::after":{top:ca,bottom:ca,insetInlineStart:Vr,width:$t,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${et}-row-indent + ${et}-row-expand-icon`]:{marginTop:(fr*ur-$t*3)/2-Math.ceil((or*1.4-$t*3)/2),marginInlineEnd:mn},[`tr${et}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Qr}},[`${St}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${et}-expanded-row-fixed`]:{position:"relative",margin:`-${jr}px -${Fr}px`,padding:`${jr}px ${Fr}px`}}}},ms=Ye=>{const{componentCls:et,antCls:St,iconCls:It,tableFilterDropdownWidth:Gt,tableFilterDropdownSearchWidth:$t,paddingXXS:mn,paddingXS:Bn,colorText:dn,lineWidth:Qn,lineType:Gn,tableBorderColor:kn,tableHeaderIconColor:fr,fontSizeSM:or,tablePaddingHorizontal:ur,borderRadius:jr,motionDurationSlow:Fr,colorTextDescription:Qr,colorPrimary:_r,tableHeaderFilterActiveBg:Vr,colorTextDisabled:wa,tableFilterDropdownBg:Ua,tableFilterDropdownHeight:ca,controlItemBgHover:Ka,controlItemBgActive:ao,boxShadowSecondary:Jr,filterDropdownMenuBg:ga}=Ye,ra=`${St}-dropdown`,$r=`${et}-filter-dropdown`,Aa=`${St}-tree`,Ta=`${Qn}px ${Gn} ${kn}`;return[{[`${et}-wrapper`]:{[`${et}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${et}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-mn,marginInline:`${mn}px ${-ur/2}px`,padding:`0 ${mn}px`,color:fr,fontSize:or,borderRadius:jr,cursor:"pointer",transition:`all ${Fr}`,"&:hover":{color:Qr,background:Vr},"&.active":{color:_r}}}},{[`${St}-dropdown`]:{[$r]:Object.assign(Object.assign({},(0,Ps.Wf)(Ye)),{minWidth:Gt,backgroundColor:Ua,borderRadius:jr,boxShadow:Jr,overflow:"hidden",[`${ra}-menu`]:{maxHeight:ca,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:ga,"&:empty::after":{display:"block",padding:`${Bn}px 0`,color:wa,fontSize:or,textAlign:"center",content:'"Not Found"'}},[`${$r}-tree`]:{paddingBlock:`${Bn}px 0`,paddingInline:Bn,[Aa]:{padding:0},[`${Aa}-treenode ${Aa}-node-content-wrapper:hover`]:{backgroundColor:Ka},[`${Aa}-treenode-checkbox-checked ${Aa}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:ao}}},[`${$r}-search`]:{padding:Bn,borderBottom:Ta,"&-input":{input:{minWidth:$t},[It]:{color:wa}}},[`${$r}-checkall`]:{width:"100%",marginBottom:mn,marginInlineStart:mn},[`${$r}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Bn-Qn}px ${Bn}px`,overflow:"hidden",borderTop:Ta}})}},{[`${St}-dropdown ${$r}, ${$r}-submenu`]:{[`${St}-checkbox-wrapper + span`]:{paddingInlineStart:Bn,color:dn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Ql=Ye=>{const{componentCls:et,lineWidth:St,colorSplit:It,motionDurationSlow:Gt,zIndexTableFixed:$t,tableBg:mn,zIndexTableSticky:Bn}=Ye,dn=It;return{[`${et}-wrapper`]:{[` ${et}-cell-fix-left, ${et}-cell-fix-right `]:{position:"sticky !important",zIndex:$t,background:mn},[` ${et}-cell-fix-left-first::after, ${et}-cell-fix-left-last::after `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-St,width:30,transform:"translateX(100%)",transition:`box-shadow ${Gt}`,content:'""',pointerEvents:"none"},[`${et}-cell-fix-left-all::after`]:{display:"none"},[` ${et}-cell-fix-right-first::after, ${et}-cell-fix-right-last::after `]:{position:"absolute",top:0,bottom:-St,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Gt}`,content:'""',pointerEvents:"none"},[`${et}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Bn+1,width:30,transition:`box-shadow ${Gt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${et}-ping-left`]:{[`&:not(${et}-has-fix-left) ${et}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${dn}`}},[` ${et}-cell-fix-left-first::after, ${et}-cell-fix-left-last::after `]:{boxShadow:`inset 10px 0 8px -8px ${dn}`},[`${et}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${et}-ping-right`]:{[`&:not(${et}-has-fix-right) ${et}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${dn}`}},[` ${et}-cell-fix-right-first::after, ${et}-cell-fix-right-last::after `]:{boxShadow:`inset -10px 0 8px -8px ${dn}`}}}}},QA=Ye=>{const{componentCls:et,antCls:St}=Ye;return{[`${et}-wrapper`]:{[`${et}-pagination${St}-pagination`]:{margin:`${Ye.margin}px 0`},[`${et}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Ye.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},dc=Ye=>{const{componentCls:et,tableRadius:St}=Ye;return{[`${et}-wrapper`]:{[et]:{[`${et}-title, ${et}-header`]:{borderRadius:`${St}px ${St}px 0 0`},[`${et}-title + ${et}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${et}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:St,borderStartEndRadius:St,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:St},"> *:last-child":{borderStartEndRadius:St}}},"&-footer":{borderRadius:`0 0 ${St}px ${St}px`}}}}},th=Ye=>{const{componentCls:et}=Ye;return{[`${et}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${et}-pagination-left`]:{justifyContent:"flex-end"},[`${et}-pagination-right`]:{justifyContent:"flex-start"},[`${et}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${et}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${et}-row-indent`]:{float:"right"}}}}},Bf=Ye=>{const{componentCls:et,antCls:St,iconCls:It,fontSizeIcon:Gt,padding:$t,paddingXS:mn,tableHeaderIconColor:Bn,tableHeaderIconColorHover:dn,tableSelectionColumnWidth:Qn}=Ye;return{[`${et}-wrapper`]:{[`${et}-selection-col`]:{width:Qn,[`&${et}-selection-col-with-dropdown`]:{width:Qn+Gt+$t/4}},[`${et}-bordered ${et}-selection-col`]:{width:Qn+mn*2,[`&${et}-selection-col-with-dropdown`]:{width:Qn+Gt+$t/4+mn*2}},[` table tr th${et}-selection-column, table tr td${et}-selection-column `]:{paddingInlineEnd:Ye.paddingXS,paddingInlineStart:Ye.paddingXS,textAlign:"center",[`${St}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${et}-selection-column${et}-cell-fix-left`]:{zIndex:Ye.zIndexTableFixed+1},[`table tr th${et}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${et}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${et}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Ye.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Ye.tablePaddingHorizontal/4}px`,[It]:{color:Bn,fontSize:Gt,verticalAlign:"baseline","&:hover":{color:dn}}}}}},jd=Ye=>{const{componentCls:et}=Ye,St=(It,Gt,$t,mn)=>({[`${et}${et}-${It}`]:{fontSize:mn,[` ${et}-title, ${et}-footer, ${et}-cell, ${et}-thead > tr > th, ${et}-tbody > tr > th, ${et}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{padding:`${Gt}px ${$t}px`},[`${et}-filter-trigger`]:{marginInlineEnd:`-${$t/2}px`},[`${et}-expanded-row-fixed`]:{margin:`-${Gt}px -${$t}px`},[`${et}-tbody`]:{[`${et}-wrapper:only-child ${et}`]:{marginBlock:`-${Gt}px`,marginInline:`${Ye.tableExpandColumnWidth-$t}px -${$t}px`}},[`${et}-selection-column`]:{paddingInlineStart:`${$t/4}px`}}});return{[`${et}-wrapper`]:Object.assign(Object.assign({},St("middle",Ye.tablePaddingVerticalMiddle,Ye.tablePaddingHorizontalMiddle,Ye.tableFontSizeMiddle)),St("small",Ye.tablePaddingVerticalSmall,Ye.tablePaddingHorizontalSmall,Ye.tableFontSizeSmall))}},Gu=Ye=>{const{componentCls:et,marginXXS:St,fontSizeIcon:It,tableHeaderIconColor:Gt,tableHeaderIconColorHover:$t}=Ye;return{[`${et}-wrapper`]:{[`${et}-thead th${et}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Ye.motionDurationSlow}`,"&:hover":{background:Ye.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Ye.colorPrimary},[` &${et}-cell-fix-left:hover, &${et}-cell-fix-right:hover `]:{background:Ye.tableFixedHeaderSortActiveBg}},[`${et}-thead th${et}-column-sort`]:{background:Ye.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${et}-column-sort`]:{background:Ye.tableBodySortBg},[`${et}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${et}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${et}-column-sorter`]:{marginInlineStart:St,color:Gt,fontSize:0,transition:`color ${Ye.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:It,"&.active":{color:Ye.colorPrimary}},[`${et}-column-sorter-up + ${et}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${et}-column-sorters:hover ${et}-column-sorter`]:{color:$t}}}},vl=Ye=>{const{componentCls:et,opacityLoading:St,tableScrollThumbBg:It,tableScrollThumbBgHover:Gt,tableScrollThumbSize:$t,tableScrollBg:mn,zIndexTableSticky:Bn,stickyScrollBarBorderRadius:dn}=Ye,Qn=`${Ye.lineWidth}px ${Ye.lineType} ${Ye.tableBorderColor}`;return{[`${et}-wrapper`]:{[`${et}-sticky`]:{"&-holder":{position:"sticky",zIndex:Bn,background:Ye.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${$t}px !important`,zIndex:Bn,display:"flex",alignItems:"center",background:mn,borderTop:Qn,opacity:St,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:$t,backgroundColor:It,borderRadius:dn,transition:`all ${Ye.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Gt}}}}}}},zc=Ye=>{const{componentCls:et,lineWidth:St,tableBorderColor:It}=Ye,Gt=`${St}px ${Ye.lineType} ${It}`;return{[`${et}-wrapper`]:{[`${et}-summary`]:{position:"relative",zIndex:Ye.zIndexTableFixed,background:Ye.tableBg,"> tr":{"> th, > td":{borderBottom:Gt}}},[`div${et}-summary`]:{boxShadow:`0 -${St}px 0 ${It}`}}}},yf=Ye=>{const{componentCls:et}=Ye,St=`${Ye.lineWidth}px ${Ye.lineType} ${Ye.tableBorderColor}`,It=`${et}-expanded-row-cell`;return{[`${et}-wrapper`]:{[`${et}-tbody-virtual`]:{[`${et}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${et}-cell`]:{borderBottom:St},[`${et}-expanded-row`]:{[`${It}${It}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Ye.lineWidth}px)`,borderInlineEnd:"none"}}},[`${et}-bordered`]:{[`${et}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:St,position:"absolute"},[`${et}-cell`]:{borderInlineEnd:St,[`&${et}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Ye.lineWidth,borderInlineStart:St}}}}}}};const Gc=Ye=>{const{componentCls:et,fontWeightStrong:St,tablePaddingVertical:It,tablePaddingHorizontal:Gt,lineWidth:$t,lineType:mn,tableBorderColor:Bn,tableFontSize:dn,tableBg:Qn,tableRadius:Gn,tableHeaderTextColor:kn,motionDurationMid:fr,tableHeaderBg:or,tableHeaderCellSplitColor:ur,tableRowHoverBg:jr,tableSelectedRowBg:Fr,tableSelectedRowHoverBg:Qr,tableFooterTextColor:_r,tableFooterBg:Vr,paddingContentVerticalLG:wa}=Ye,Ua=`${$t}px ${mn} ${Bn}`;return{[`${et}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Ps.dF)()),{[et]:Object.assign(Object.assign({},(0,Ps.Wf)(Ye)),{fontSize:dn,background:Qn,borderRadius:`${Gn}px ${Gn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Gn}px ${Gn}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${et}-cell, ${et}-thead > tr > th, ${et}-tbody > tr > th, ${et}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{position:"relative",padding:`${wa}px ${Gt}px`,overflowWrap:"break-word"},[`${et}-title`]:{padding:`${It}px ${Gt}px`},[`${et}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:kn,fontWeight:St,textAlign:"start",background:or,borderBottom:Ua,transition:`background ${fr} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${et}-selection-column):not(${et}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:ur,transform:"translateY(-50%)",transition:`background-color ${fr}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${et}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${fr}, border-color ${fr}`,borderBottom:Ua,[` > ${et}-wrapper:only-child, > ${et}-expanded-row-fixed > ${et}-wrapper:only-child `]:{[et]:{marginBlock:`-${It}px`,marginInline:`${Ye.tableExpandColumnWidth-Gt}px -${Gt}px`,[`${et}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:kn,fontWeight:St,textAlign:"start",background:or,borderBottom:Ua,transition:`background ${fr} ease`},[` &${et}-row:hover > th, &${et}-row:hover > td, > th${et}-cell-row-hover, > td${et}-cell-row-hover `]:{background:jr},[`&${et}-row-selected`]:{"> th, > td":{background:Fr},"&:hover > th, &:hover > td":{background:Qr}}}},[`${et}-footer`]:{padding:`${It}px ${Gt}px`,color:_r,background:Vr}})}};var gd=(0,ui.Z)("Table",Ye=>{const{colorTextHeading:et,colorSplit:St,colorIcon:It,colorIconHover:Gt,opacityLoading:$t,colorBgContainer:mn,controlInteractiveSize:Bn,headerBg:dn,headerColor:Qn,headerSortActiveBg:Gn,headerSortHoverBg:kn,bodySortBg:fr,rowHoverBg:or,rowSelectedBg:ur,rowSelectedHoverBg:jr,rowExpandedBg:Fr,cellPaddingBlock:Qr,cellPaddingInline:_r,cellPaddingBlockMD:Vr,cellPaddingInlineMD:wa,cellPaddingBlockSM:Ua,cellPaddingInlineSM:ca,borderColor:Ka,footerBg:ao,footerColor:Jr,headerBorderRadius:ga,cellFontSize:ra,cellFontSizeMD:$r,cellFontSizeSM:Aa,headerSplitColor:Ta,fixedHeaderSortActiveBg:So,headerFilterHoverBg:to,filterDropdownBg:Oa,expandIconBg:uo,selectionColumnWidth:Io,stickyScrollBarBg:Ei}=Ye,$o=new Al.C(It),Ri=new Al.C(Gt),tA=2,oo=(0,pl.TS)(Ye,{tableFontSize:ra,tableBg:mn,tableRadius:ga,tablePaddingVertical:Qr,tablePaddingHorizontal:_r,tablePaddingVerticalMiddle:Vr,tablePaddingHorizontalMiddle:wa,tablePaddingVerticalSmall:Ua,tablePaddingHorizontalSmall:ca,tableBorderColor:Ka,tableHeaderTextColor:Qn,tableHeaderBg:dn,tableFooterTextColor:Jr,tableFooterBg:ao,tableHeaderCellSplitColor:Ta,tableHeaderSortBg:Gn,tableHeaderSortHoverBg:kn,tableHeaderIconColor:$o.clone().setAlpha($o.getAlpha()*$t).toRgbString(),tableHeaderIconColorHover:Ri.clone().setAlpha(Ri.getAlpha()*$t).toRgbString(),tableBodySortBg:fr,tableFixedHeaderSortActiveBg:So,tableHeaderFilterActiveBg:to,tableFilterDropdownBg:Oa,tableRowHoverBg:or,tableSelectedRowBg:ur,tableSelectedRowHoverBg:jr,zIndexTableFixed:tA,zIndexTableSticky:tA+1,tableFontSizeMiddle:$r,tableFontSizeSmall:Aa,tableSelectionColumnWidth:Io,tableExpandIconBg:uo,tableExpandColumnWidth:Bn+2*Ye.padding,tableExpandedRowBg:Fr,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Ei,tableScrollThumbBgHover:et,tableScrollBg:St});return[Gc(oo),QA(oo),zc(oo),Gu(oo),ms(oo),as(oo),dc(oo),HA(oo),zc(oo),Vl(oo),Bf(oo),Ql(oo),vl(oo),Gi(oo),jd(oo),th(oo),yf(oo)]},Ye=>{const{colorFillAlter:et,colorBgContainer:St,colorTextHeading:It,colorFillSecondary:Gt,colorFillContent:$t,controlItemBgActive:mn,controlItemBgActiveHover:Bn,padding:dn,paddingSM:Qn,paddingXS:Gn,colorBorderSecondary:kn,borderRadiusLG:fr,fontSize:or,controlHeight:ur,colorTextPlaceholder:jr}=Ye,Fr=new Al.C(Gt).onBackground(St).toHexShortString(),Qr=new Al.C($t).onBackground(St).toHexShortString(),_r=new Al.C(et).onBackground(St).toHexShortString();return{headerBg:_r,headerColor:It,headerSortActiveBg:Fr,headerSortHoverBg:Qr,bodySortBg:_r,rowHoverBg:_r,rowSelectedBg:mn,rowSelectedHoverBg:Bn,rowExpandedBg:et,cellPaddingBlock:dn,cellPaddingInline:dn,cellPaddingBlockMD:Qn,cellPaddingInlineMD:Gn,cellPaddingBlockSM:Gn,cellPaddingInlineSM:Gn,borderColor:kn,headerBorderRadius:fr,footerBg:_r,footerColor:It,cellFontSize:or,cellFontSizeMD:or,cellFontSizeSM:or,headerSplitColor:kn,fixedHeaderSortActiveBg:Fr,headerFilterHoverBg:$t,filterDropdownMenuBg:St,filterDropdownBg:St,expandIconBg:St,selectionColumnWidth:ur,stickyScrollBarBg:jr,stickyScrollBarBorderRadius:100}});const yg=[],$c=(Ye,et)=>{const{prefixCls:St,className:It,rootClassName:Gt,style:$t,size:mn,bordered:Bn,dropdownPrefixCls:dn,dataSource:Qn,pagination:Gn,rowSelection:kn,rowKey:fr="key",rowClassName:or,columns:ur,children:jr,childrenColumnName:Fr,onChange:Qr,getPopupContainer:_r,loading:Vr,expandIcon:wa,expandable:Ua,expandedRowRender:ca,expandIconColumnIndex:Ka,indentSize:ao,scroll:Jr,sortDirections:ga,locale:ra,showSorterTooltip:$r=!0,virtual:Aa}=Ye,Ta=me.useMemo(()=>ur||vn(jr),[ur,jr]),So=me.useMemo(()=>Ta.some(Ro=>Ro.responsive),[Ta]),to=(0,uu.Z)(So),Oa=me.useMemo(()=>{const Ro=new Set(Object.keys(to).filter(Ii=>to[Ii]));return Ta.filter(Ii=>!Ii.responsive||Ii.responsive.some(As=>Ro.has(As)))},[Ta,to]),uo=(0,Ac.Z)(Ye,["className","style","columns"]),{locale:Io=jc.Z,direction:Ei,table:$o,renderEmpty:Ri,getPrefixCls:tA,getPopupContainer:oo}=me.useContext(wA.E_),PA=(0,Rc.Z)(mn),ni=Object.assign(Object.assign({},Io.Table),ra),Fi=Qn||yg,Li=tA("table",St),$s=tA("dropdown",dn),oa=Object.assign({childrenColumnName:Fr,expandIconColumnIndex:Ka},Ua),{childrenColumnName:ja="children"}=oa,ka=me.useMemo(()=>Fi.some(Ro=>Ro==null?void 0:Ro[ja])?"nest":ca||Ua&&Ua.expandedRowRender?"row":null,[Fi]),Ba={body:me.useRef()},ri=me.useMemo(()=>typeof fr=="function"?fr:Ro=>Ro==null?void 0:Ro[fr],[fr]),[Sa]=DA(Fi,ja,ri),Ja={},Oo=function(Ro,Ii){let As=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Hi,ss,Bs;const rA=Object.assign(Object.assign({},Ja),Ro);As&&((Hi=Ja.resetPagination)===null||Hi===void 0||Hi.call(Ja),!((ss=rA.pagination)===null||ss===void 0)&&ss.current&&(rA.pagination.current=1),Gn&&Gn.onChange&&Gn.onChange(1,(Bs=rA.pagination)===null||Bs===void 0?void 0:Bs.pageSize)),Jr&&Jr.scrollToFirstRowOnChange!==!1&&Ba.body.current&&(0,Gl.Z)(0,{getContainer:()=>Ba.body.current}),Qr==null||Qr(rA.pagination,rA.filters,rA.sorter,{currentDataSource:Rd($a(Fi,rA.sorterStates,ja),rA.filterStates),action:Ii})},ko=(Ro,Ii)=>{Oo({sorter:Ro,sorterStates:Ii},"sort",!1)},[Es,pA,kl,vA]=wo({prefixCls:Li,mergedColumns:Oa,onSorterChange:ko,sortDirections:ga||["ascend","descend"],tableLocale:ni,showSorterTooltip:$r}),sl=me.useMemo(()=>$a(Fi,pA,ja),[Fi,pA]);Ja.sorter=vA(),Ja.sorterStates=pA;const Kr=(Ro,Ii)=>{Oo({filters:Ro,filterStates:Ii},"filter",!0)},[ks,fc,ai]=sc({prefixCls:Li,locale:ni,dropdownPrefixCls:$s,mergedColumns:Oa,onFilterChange:Kr,getPopupContainer:_r||oo}),Uo=Rd(sl,fc);Ja.filters=ai,Ja.filterStates=fc;const $i=me.useMemo(()=>{const Ro={};return Object.keys(ai).forEach(Ii=>{ai[Ii]!==null&&(Ro[Ii]=ai[Ii])}),Object.assign(Object.assign({},kl),{filters:Ro})},[kl,ai]),[TA]=Ts($i),Qi=(Ro,Ii)=>{Oo({pagination:Object.assign(Object.assign({},Ja.pagination),{current:Ro,pageSize:Ii})},"paginate")},[yo,Fs]=lc(Uo.length,Qi,Gn);Ja.pagination=Gn===!1?{}:ti(yo,Gn),Ja.resetPagination=Fs;const vs=me.useMemo(()=>{if(Gn===!1||!yo.pageSize)return Uo;const{current:Ro=1,total:Ii,pageSize:As=Ul}=yo;return Uo.lengthAs?Uo.slice((Ro-1)*As,Ro*As):Uo:Uo.slice((Ro-1)*As,Ro*As)},[!!Gn,Uo,yo&&yo.current,yo&&yo.pageSize,yo&&yo.total]),[Zs,Rs]=YA({prefixCls:Li,data:Uo,pageData:vs,getRowKey:ri,getRecordByKey:Sa,expandType:ka,childrenColumnName:ja,locale:ni,getPopupContainer:_r||oo},kn),js=(Ro,Ii,As)=>{let Hi;return typeof or=="function"?Hi=ke()(or(Ro,Ii,As)):Hi=ke()(or),ke()({[`${Li}-row-selected`]:Rs.has(ri(Ro,Ii))},Hi)};oa.__PARENT_RENDER_ICON__=oa.expandIcon,oa.expandIcon=oa.expandIcon||wa||sr(ni),ka==="nest"&&oa.expandIconColumnIndex===void 0?oa.expandIconColumnIndex=kn?1:0:oa.expandIconColumnIndex>0&&kn&&(oa.expandIconColumnIndex-=1),typeof oa.indentSize!="number"&&(oa.indentSize=typeof ao=="number"?ao:15);const Bl=me.useCallback(Ro=>TA(Zs(ks(Es(Ro)))),[Es,ks,Zs]);let Cu,Sl;if(Gn!==!1&&(yo!=null&&yo.total)){let Ro;yo.size?Ro=yo.size:Ro=PA==="small"||PA==="middle"?"small":void 0;const Ii=ss=>me.createElement(wn.Z,Object.assign({},yo,{className:ke()(`${Li}-pagination ${Li}-pagination-${ss}`,yo.className),size:Ro})),As=Ei==="rtl"?"left":"right",{position:Hi}=yo;if(Hi!==null&&Array.isArray(Hi)){const ss=Hi.find(ql=>ql.includes("top")),Bs=Hi.find(ql=>ql.includes("bottom")),rA=Hi.every(ql=>`${ql}`=="none");!ss&&!Bs&&!rA&&(Sl=Ii(As)),ss&&(Cu=Ii(ss.toLowerCase().replace("top",""))),Bs&&(Sl=Ii(Bs.toLowerCase().replace("bottom","")))}else Sl=Ii(As)}let nA;typeof Vr=="boolean"?nA={spinning:Vr}:typeof Vr=="object"&&(nA=Object.assign({spinning:!0},Vr));const[is,EA]=gd(Li),[,Zi]=(0,en.Z)(),Yl=ke()(`${Li}-wrapper`,$o==null?void 0:$o.className,{[`${Li}-wrapper-rtl`]:Ei==="rtl"},It,Gt,EA),fu=Object.assign(Object.assign({},$o==null?void 0:$o.style),$t),Pu=ra&&ra.emptyText||(Ri==null?void 0:Ri("Table"))||me.createElement(WA.Z,{componentName:"Table"}),Jl=Aa?Wl:JA,hd={},Md=me.useMemo(()=>{const{fontSize:Ro,lineHeight:Ii,padding:As,paddingXS:Hi,paddingSM:ss}=Zi,Bs=Math.floor(Ro*Ii);switch(PA){case"large":return As*2+Bs;case"small":return Hi*2+Bs;default:return ss*2+Bs}},[Zi,PA]);return Aa&&(hd.listItemHeight=Md),is(me.createElement("div",{ref:et,className:Yl,style:fu},me.createElement(Dt.Z,Object.assign({spinning:!1},nA),Cu,me.createElement(Jl,Object.assign({},hd,uo,{columns:Oa,direction:Ei,expandable:oa,prefixCls:Li,className:ke()({[`${Li}-middle`]:PA==="middle",[`${Li}-small`]:PA==="small",[`${Li}-bordered`]:Bn,[`${Li}-empty`]:Fi.length===0}),data:vs,rowKey:ri,rowClassName:js,emptyText:Pu,internalHooks:be,internalRefs:Ba,transformColumns:Bl})),Sl)))};var nh=me.forwardRef($c);const rh=(Ye,et)=>{const St=me.useRef(0);return St.current+=1,me.createElement(nh,Object.assign({},Ye,{ref:et,_renderTimes:St.current}))},ps=me.forwardRef(rh);ps.SELECTION_COLUMN=bi,ps.EXPAND_COLUMN=Oe,ps.SELECTION_ALL=Cs,ps.SELECTION_INVERT=OA,ps.SELECTION_NONE=sA,ps.Column=lu,ps.ColumnGroup=NA,ps.Summary=Me;var fd=ps,ah=fd},17574:function(on,Ut,we){"use strict";we.d(Ut,{default:function(){return pt}});var Oe=we(60091),be=we(94480),ze=we(52671),at=we(8657),Ge=we(54476),je=we(59301),me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Be=me,Le=we(7657),de=function(ft,rn){return je.createElement(Le.Z,(0,Ge.Z)({},ft,{ref:rn,icon:Be}))},Ie=je.forwardRef(de),Fe=Ie,Ce=we(92310),ie=we.n(Ce),y=we(35654),a=we(71430),ee=we(36355),E=we(56082),te=we(62892),ne=we(20648);const oe=4;function he(st){const{dropPosition:ft,dropLevelOffset:rn,prefixCls:fn,indent:Et,direction:Jt="ltr"}=st,Ln=Jt==="ltr"?"left":"right",Hn=Jt==="ltr"?"right":"left",un={[Ln]:-rn*Et+oe,[Hn]:0};switch(ft){case-1:un.top=-3;break;case 1:un.bottom=-3;break;default:un.bottom=-3,un[Ln]=Et+oe;break}return je.createElement("div",{style:un,className:`${fn}-drop-indicator`})}var _e=we(71997),Qe=je.forwardRef((st,ft)=>{const{getPrefixCls:rn,direction:fn,virtual:Et,tree:Jt}=je.useContext(ee.E_),{prefixCls:Ln,className:Hn,showIcon:un=!1,showLine:Vn,switcherIcon:yt,blockNode:Kn=!1,children:er,checkable:Re=!1,selectable:Kt=!0,draggable:Te,motion:pe,style:ce}=st,ye=rn("tree",Ln),qe=rn(),gt=pe!=null?pe:Object.assign(Object.assign({},(0,te.Z)(qe)),{motionAppear:!1}),Me=Object.assign(Object.assign({},st),{checkable:Re,selectable:Kt,showIcon:un,motion:gt,blockNode:Kn,showLine:!!Vn,dropIndicatorRender:he}),[Xe,Pt]=(0,ne.ZP)(ye),ct=je.useMemo(()=>{if(!Te)return!1;let kt={};switch(typeof Te){case"function":kt.nodeDraggable=Te;break;case"object":kt=Object.assign({},Te);break;default:break}return kt.icon!==!1&&(kt.icon=kt.icon||je.createElement(E.Z,null)),kt},[Te]),ot=kt=>je.createElement(_e.Z,{prefixCls:ye,switcherIcon:yt,treeNodeProps:kt,showLine:Vn});return Xe(je.createElement(Oe.Z,Object.assign({itemHeight:20,ref:ft,virtual:Et},Me,{style:Object.assign(Object.assign({},Jt==null?void 0:Jt.style),ce),prefixCls:ye,className:ie()({[`${ye}-icon-hide`]:!un,[`${ye}-block-node`]:Kn,[`${ye}-unselectable`]:!Kt,[`${ye}-rtl`]:fn==="rtl"},Jt==null?void 0:Jt.className,Hn,Pt),direction:fn,checkable:Re&&je.createElement("span",{className:`${ye}-checkbox-inner`}),selectable:Kt,switcherIcon:ot,draggable:ct}),er))}),Ze;(function(st){st[st.None=0]="None",st[st.Start=1]="Start",st[st.End=2]="End"})(Ze||(Ze={}));function Ve(st,ft){function rn(fn){const{key:Et,children:Jt}=fn;ft(Et,fn)!==!1&&Ve(Jt||[],ft)}st.forEach(rn)}function nt(st){let{treeData:ft,expandedKeys:rn,startKey:fn,endKey:Et}=st;const Jt=[];let Ln=Ze.None;if(fn&&fn===Et)return[fn];if(!fn||!Et)return[];function Hn(un){return un===fn||un===Et}return Ve(ft,un=>{if(Ln===Ze.End)return!1;if(Hn(un)){if(Jt.push(un),Ln===Ze.None)Ln=Ze.Start;else if(Ln===Ze.Start)return Ln=Ze.End,!1}else Ln===Ze.Start&&Jt.push(un);return rn.includes(un)}),Jt}function De(st,ft){const rn=(0,be.Z)(ft),fn=[];return Ve(st,(Et,Jt)=>{const Ln=rn.indexOf(Et);return Ln!==-1&&(fn.push(Jt),rn.splice(Ln,1)),!!rn.length}),fn}var Bt=function(st,ft){var rn={};for(var fn in st)Object.prototype.hasOwnProperty.call(st,fn)&&ft.indexOf(fn)<0&&(rn[fn]=st[fn]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,fn=Object.getOwnPropertySymbols(st);Et{var{defaultExpandAll:rn,defaultExpandParent:fn,defaultExpandedKeys:Et}=st,Jt=Bt(st,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Ln=je.useRef(),Hn=je.useRef(),un=()=>{const{keyEntities:ct}=(0,a.I8)(Ot(Jt));let ot;return rn?ot=Object.keys(ct):fn?ot=(0,y.r7)(Jt.expandedKeys||Et||[],ct):ot=Jt.expandedKeys||Et,ot},[Vn,yt]=je.useState(Jt.selectedKeys||Jt.defaultSelectedKeys||[]),[Kn,er]=je.useState(()=>un());je.useEffect(()=>{"selectedKeys"in Jt&&yt(Jt.selectedKeys)},[Jt.selectedKeys]),je.useEffect(()=>{"expandedKeys"in Jt&&er(Jt.expandedKeys)},[Jt.expandedKeys]);const Re=(ct,ot)=>{var kt;return"expandedKeys"in Jt||er(ct),(kt=Jt.onExpand)===null||kt===void 0?void 0:kt.call(Jt,ct,ot)},Kt=(ct,ot)=>{var kt;const{multiple:_n}=Jt,{node:_t,nativeEvent:nn}=ot,{key:Nt=""}=_t,yn=Ot(Jt),Xt=Object.assign(Object.assign({},ot),{selected:!0}),Jn=(nn==null?void 0:nn.ctrlKey)||(nn==null?void 0:nn.metaKey),hr=nn==null?void 0:nn.shiftKey;let tr;_n&&Jn?(tr=ct,Ln.current=Nt,Hn.current=tr,Xt.selectedNodes=De(yn,tr)):_n&&hr?(tr=Array.from(new Set([].concat((0,be.Z)(Hn.current||[]),(0,be.Z)(nt({treeData:yn,expandedKeys:Kn,startKey:Nt,endKey:Ln.current}))))),Xt.selectedNodes=De(yn,tr)):(tr=[Nt],Ln.current=Nt,Hn.current=tr,Xt.selectedNodes=De(yn,tr)),(kt=Jt.onSelect)===null||kt===void 0||kt.call(Jt,tr,Xt),"selectedKeys"in Jt||yt(tr)},{getPrefixCls:Te,direction:pe}=je.useContext(ee.E_),{prefixCls:ce,className:ye,showIcon:qe=!0,expandAction:gt="click"}=Jt,Me=Bt(Jt,["prefixCls","className","showIcon","expandAction"]),Xe=Te("tree",ce),Pt=ie()(`${Xe}-directory`,{[`${Xe}-directory-rtl`]:pe==="rtl"},ye);return je.createElement(Qe,Object.assign({icon:ke,ref:ft,blockNode:!0},Me,{showIcon:qe,expandAction:gt,prefixCls:Xe,className:Pt,expandedKeys:Kn,selectedKeys:Vn,onSelect:Kt,onExpand:Re}))};var wt=je.forwardRef(it);const dt=Qe;dt.DirectoryTree=wt,dt.TreeNode=Oe.O;var pt=dt},20648:function(on,Ut,we){"use strict";we.d(Ut,{TM:function(){return Ce},Yk:function(){return Fe}});var Oe=we(36237),be=we(98447),ze=we(17313),at=we(8378),Ge=we(37613),je=we(83116);const me=new Oe.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Be=(ie,y)=>({[`.${ie}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),Le=(ie,y)=>({[`.${ie}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:y.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${y.lineWidthBold}px solid ${y.colorPrimary}`,borderRadius:"50%",content:'""'}}}),de=(ie,y)=>{const{treeCls:a,treeNodeCls:ee,treeNodePadding:E,titleHeight:te,nodeSelectedBg:ne,nodeHoverBg:oe}=y,he=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,ze.Wf)(y)),{background:y.colorBgContainer,borderRadius:y.borderRadius,transition:`background-color ${y.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,ze.oN)(y)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${ee}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,border:`1px solid ${y.colorPrimary}`,opacity:0,animationName:me,animationDuration:y.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${ee}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${E}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:y.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,ze.oN)(y)),[`&:not(${ee}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:te,lineHeight:`${te}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${y.motionDurationSlow}`,[`${ee}:hover &`]:{opacity:.45}},[`&${ee}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:te}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},Be(ie,y)),{position:"relative",flex:"none",alignSelf:"stretch",width:te,margin:0,lineHeight:`${te}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:y.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:te/2,bottom:-E,marginInlineStart:-1,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:te/2*.8,height:te/2,borderBottom:`1px solid ${y.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:he},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:te,margin:0,padding:`0 ${y.paddingXS/2}px`,color:"inherit",lineHeight:`${te}px`,background:"transparent",borderRadius:y.borderRadius,cursor:"pointer",transition:`all ${y.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:oe},[`&${a}-node-selected`]:{backgroundColor:ne},[`${a}-iconEle`]:{display:"inline-block",width:te,height:te,lineHeight:`${te}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${te}px`,userSelect:"none"},Le(ie,y)),[`${ee}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${y.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:te/2,bottom:-E,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${ee}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${te/2}px !important`}}}}})}},Ie=ie=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:ee,directoryNodeSelectedBg:E,directoryNodeSelectedColor:te}=ie;return{[`${y}${y}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:ee,insetInlineStart:0,transition:`background-color ${ie.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ie.controlItemBgHover}},"> *":{zIndex:1},[`${y}-switcher`]:{transition:`color ${ie.motionDurationMid}`},[`${y}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${y}-node-selected`]:{color:te,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:E},[`${y}-switcher`]:{color:te},[`${y}-node-content-wrapper`]:{color:te,background:"transparent"}}}}}},Fe=(ie,y)=>{const a=`.${ie}`,ee=`${a}-treenode`,E=y.paddingXS/2,te=(0,Ge.TS)(y,{treeCls:a,treeNodeCls:ee,treeNodePadding:E});return[de(ie,te),Ie(te)]},Ce=ie=>{const{controlHeightSM:y}=ie;return{titleHeight:y,nodeHoverBg:ie.controlItemBgHover,nodeSelectedBg:ie.controlItemBgActive}};Ut.ZP=(0,je.Z)("Tree",(ie,y)=>{let{prefixCls:a}=y;return[{[ie.componentCls]:(0,be.C2)(`${a}-checkbox`,ie)},Fe(a,ie),(0,at.Z)(ie)]},ie=>{const{colorTextLightSolid:y,colorPrimary:a}=ie;return Object.assign(Object.assign({},Ce(ie)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(on,Ut,we){"use strict";we.d(Ut,{Z:function(){return ee}});var Oe=we(54476),be=we(59301),ze={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},at=ze,Ge=we(7657),je=function(te,ne){return be.createElement(Ge.Z,(0,Oe.Z)({},te,{ref:ne,icon:at}))},me=be.forwardRef(je),Be=me,Le=we(52671),de=we(58617),Ie=we(15075),Fe=we(43531),Ce=we(92310),ie=we.n(Ce),y=we(92343),ee=E=>{const{prefixCls:te,switcherIcon:ne,treeNodeProps:oe,showLine:he}=E,{isLeaf:_e,expanded:Pe,loading:Qe}=oe;if(Qe)return be.createElement(de.Z,{className:`${te}-switcher-loading-icon`});let Ze;if(he&&typeof he=="object"&&(Ze=he.showLeafIcon),_e){if(!he)return null;if(typeof Ze!="boolean"&&Ze){const De=typeof Ze=="function"?Ze(oe):Ze,Bt=`${te}-switcher-line-custom-icon`;return(0,y.l$)(De)?(0,y.Tm)(De,{className:ie()(De.props.className||"",Bt)}):De}return Ze?be.createElement(Le.Z,{className:`${te}-switcher-line-icon`}):be.createElement("span",{className:`${te}-switcher-leaf-line`})}const Ve=`${te}-switcher-icon`,nt=typeof ne=="function"?ne(oe):ne;return(0,y.l$)(nt)?(0,y.Tm)(nt,{className:ie()(nt.props.className||"",Ve)}):nt!==void 0?nt:he?Pe?be.createElement(Ie.Z,{className:`${te}-switcher-line-icon`}):be.createElement(Fe.Z,{className:`${te}-switcher-line-icon`}):be.createElement(Be,{className:Ve})}},86251:function(on,Ut){"use strict";Ut.byteLength=me,Ut.toByteArray=Le,Ut.fromByteArray=Fe;for(var we=[],Oe=[],be=typeof Uint8Array!="undefined"?Uint8Array:Array,ze="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",at=0,Ge=ze.length;at0)throw new Error("Invalid string. Length must be a multiple of 4");var y=Ce.indexOf("=");y===-1&&(y=ie);var a=y===ie?0:4-y%4;return[y,a]}function me(Ce){var ie=je(Ce),y=ie[0],a=ie[1];return(y+a)*3/4-a}function Be(Ce,ie,y){return(ie+y)*3/4-y}function Le(Ce){var ie,y=je(Ce),a=y[0],ee=y[1],E=new be(Be(Ce,a,ee)),te=0,ne=ee>0?a-4:a,oe;for(oe=0;oe>16&255,E[te++]=ie>>8&255,E[te++]=ie&255;return ee===2&&(ie=Oe[Ce.charCodeAt(oe)]<<2|Oe[Ce.charCodeAt(oe+1)]>>4,E[te++]=ie&255),ee===1&&(ie=Oe[Ce.charCodeAt(oe)]<<10|Oe[Ce.charCodeAt(oe+1)]<<4|Oe[Ce.charCodeAt(oe+2)]>>2,E[te++]=ie>>8&255,E[te++]=ie&255),E}function de(Ce){return we[Ce>>18&63]+we[Ce>>12&63]+we[Ce>>6&63]+we[Ce&63]}function Ie(Ce,ie,y){for(var a,ee=[],E=ie;Ene?ne:te+E));return a===1?(ie=Ce[y-1],ee.push(we[ie>>2]+we[ie<<4&63]+"==")):a===2&&(ie=(Ce[y-2]<<8)+Ce[y-1],ee.push(we[ie>>10]+we[ie>>4&63]+we[ie<<2&63]+"=")),ee.join("")}},19208:function(on,Ut,we){"use strict";var Oe;var be=we(86251),ze=we(67467),at=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ut.lW=Be,Oe=te,Ut.h2=50;var Ge=2147483647;Oe=Ge,Be.TYPED_ARRAY_SUPPORT=je(),!Be.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 je(){try{var Te=new Uint8Array(1),pe={foo:function(){return 42}};return Object.setPrototypeOf(pe,Uint8Array.prototype),Object.setPrototypeOf(Te,pe),Te.foo()===42}catch(ce){return!1}}Object.defineProperty(Be.prototype,"parent",{enumerable:!0,get:function(){if(Be.isBuffer(this))return this.buffer}}),Object.defineProperty(Be.prototype,"offset",{enumerable:!0,get:function(){if(Be.isBuffer(this))return this.byteOffset}});function me(Te){if(Te>Ge)throw new RangeError('The value "'+Te+'" is invalid for option "size"');var pe=new Uint8Array(Te);return Object.setPrototypeOf(pe,Be.prototype),pe}function Be(Te,pe,ce){if(typeof Te=="number"){if(typeof pe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Fe(Te)}return Le(Te,pe,ce)}Be.poolSize=8192;function Le(Te,pe,ce){if(typeof Te=="string")return Ce(Te,pe);if(ArrayBuffer.isView(Te))return y(Te);if(Te==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Te);if(er(Te,ArrayBuffer)||Te&&er(Te.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(er(Te,SharedArrayBuffer)||Te&&er(Te.buffer,SharedArrayBuffer)))return a(Te,pe,ce);if(typeof Te=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ye=Te.valueOf&&Te.valueOf();if(ye!=null&&ye!==Te)return Be.from(ye,pe,ce);var qe=ee(Te);if(qe)return qe;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Te[Symbol.toPrimitive]=="function")return Be.from(Te[Symbol.toPrimitive]("string"),pe,ce);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Te)}Be.from=function(Te,pe,ce){return Le(Te,pe,ce)},Object.setPrototypeOf(Be.prototype,Uint8Array.prototype),Object.setPrototypeOf(Be,Uint8Array);function de(Te){if(typeof Te!="number")throw new TypeError('"size" argument must be of type number');if(Te<0)throw new RangeError('The value "'+Te+'" is invalid for option "size"')}function Ie(Te,pe,ce){return de(Te),Te<=0?me(Te):pe!==void 0?typeof ce=="string"?me(Te).fill(pe,ce):me(Te).fill(pe):me(Te)}Be.alloc=function(Te,pe,ce){return Ie(Te,pe,ce)};function Fe(Te){return de(Te),me(Te<0?0:E(Te)|0)}Be.allocUnsafe=function(Te){return Fe(Te)},Be.allocUnsafeSlow=function(Te){return Fe(Te)};function Ce(Te,pe){if((typeof pe!="string"||pe==="")&&(pe="utf8"),!Be.isEncoding(pe))throw new TypeError("Unknown encoding: "+pe);var ce=ne(Te,pe)|0,ye=me(ce),qe=ye.write(Te,pe);return qe!==ce&&(ye=ye.slice(0,qe)),ye}function ie(Te){for(var pe=Te.length<0?0:E(Te.length)|0,ce=me(pe),ye=0;ye=Ge)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ge.toString(16)+" bytes");return Te|0}function te(Te){return+Te!=Te&&(Te=0),Be.alloc(+Te)}Be.isBuffer=function(pe){return pe!=null&&pe._isBuffer===!0&&pe!==Be.prototype},Be.compare=function(pe,ce){if(er(pe,Uint8Array)&&(pe=Be.from(pe,pe.offset,pe.byteLength)),er(ce,Uint8Array)&&(ce=Be.from(ce,ce.offset,ce.byteLength)),!Be.isBuffer(pe)||!Be.isBuffer(ce))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(pe===ce)return 0;for(var ye=pe.length,qe=ce.length,gt=0,Me=Math.min(ye,qe);gtqe.length?Be.from(Me).copy(qe,gt):Uint8Array.prototype.set.call(qe,Me,gt);else if(Be.isBuffer(Me))Me.copy(qe,gt);else throw new TypeError('"list" argument must be an Array of Buffers');gt+=Me.length}return qe};function ne(Te,pe){if(Be.isBuffer(Te))return Te.length;if(ArrayBuffer.isView(Te)||er(Te,ArrayBuffer))return Te.byteLength;if(typeof Te!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Te);var ce=Te.length,ye=arguments.length>2&&arguments[2]===!0;if(!ye&&ce===0)return 0;for(var qe=!1;;)switch(pe){case"ascii":case"latin1":case"binary":return ce;case"utf8":case"utf-8":return Hn(Te).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ce*2;case"hex":return ce>>>1;case"base64":return yt(Te).length;default:if(qe)return ye?-1:Hn(Te).length;pe=(""+pe).toLowerCase(),qe=!0}}Be.byteLength=ne;function oe(Te,pe,ce){var ye=!1;if((pe===void 0||pe<0)&&(pe=0),pe>this.length||((ce===void 0||ce>this.length)&&(ce=this.length),ce<=0)||(ce>>>=0,pe>>>=0,ce<=pe))return"";for(Te||(Te="utf8");;)switch(Te){case"hex":return dt(this,pe,ce);case"utf8":case"utf-8":return ke(this,pe,ce);case"ascii":return rt(this,pe,ce);case"latin1":case"binary":return wt(this,pe,ce);case"base64":return Bt(this,pe,ce);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pt(this,pe,ce);default:if(ye)throw new TypeError("Unknown encoding: "+Te);Te=(Te+"").toLowerCase(),ye=!0}}Be.prototype._isBuffer=!0;function he(Te,pe,ce){var ye=Te[pe];Te[pe]=Te[ce],Te[ce]=ye}Be.prototype.swap16=function(){var pe=this.length;if(pe%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var ce=0;cece&&(pe+=" ... "),""},at&&(Be.prototype[at]=Be.prototype.inspect),Be.prototype.compare=function(pe,ce,ye,qe,gt){if(er(pe,Uint8Array)&&(pe=Be.from(pe,pe.offset,pe.byteLength)),!Be.isBuffer(pe))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof pe);if(ce===void 0&&(ce=0),ye===void 0&&(ye=pe?pe.length:0),qe===void 0&&(qe=0),gt===void 0&&(gt=this.length),ce<0||ye>pe.length||qe<0||gt>this.length)throw new RangeError("out of range index");if(qe>=gt&&ce>=ye)return 0;if(qe>=gt)return-1;if(ce>=ye)return 1;if(ce>>>=0,ye>>>=0,qe>>>=0,gt>>>=0,this===pe)return 0;for(var Me=gt-qe,Xe=ye-ce,Pt=Math.min(Me,Xe),ct=this.slice(qe,gt),ot=pe.slice(ce,ye),kt=0;kt2147483647?ce=2147483647:ce<-2147483648&&(ce=-2147483648),ce=+ce,Re(ce)&&(ce=qe?0:Te.length-1),ce<0&&(ce=Te.length+ce),ce>=Te.length){if(qe)return-1;ce=Te.length-1}else if(ce<0)if(qe)ce=0;else return-1;if(typeof pe=="string"&&(pe=Be.from(pe,ye)),Be.isBuffer(pe))return pe.length===0?-1:Pe(Te,pe,ce,ye,qe);if(typeof pe=="number")return pe=pe&255,typeof Uint8Array.prototype.indexOf=="function"?qe?Uint8Array.prototype.indexOf.call(Te,pe,ce):Uint8Array.prototype.lastIndexOf.call(Te,pe,ce):Pe(Te,[pe],ce,ye,qe);throw new TypeError("val must be string, number or Buffer")}function Pe(Te,pe,ce,ye,qe){var gt=1,Me=Te.length,Xe=pe.length;if(ye!==void 0&&(ye=String(ye).toLowerCase(),ye==="ucs2"||ye==="ucs-2"||ye==="utf16le"||ye==="utf-16le")){if(Te.length<2||pe.length<2)return-1;gt=2,Me/=2,Xe/=2,ce/=2}function Pt(_t,nn){return gt===1?_t[nn]:_t.readUInt16BE(nn*gt)}var ct;if(qe){var ot=-1;for(ct=ce;ctMe&&(ce=Me-Xe),ct=ce;ct>=0;ct--){for(var kt=!0,_n=0;_nqe&&(ye=qe)):ye=qe;var gt=pe.length;ye>gt/2&&(ye=gt/2);for(var Me=0;Me>>0,isFinite(ye)?(ye=ye>>>0,qe===void 0&&(qe="utf8")):(qe=ye,ye=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var gt=this.length-ce;if((ye===void 0||ye>gt)&&(ye=gt),pe.length>0&&(ye<0||ce<0)||ce>this.length)throw new RangeError("Attempt to write outside buffer bounds");qe||(qe="utf8");for(var Me=!1;;)switch(qe){case"hex":return Qe(this,pe,ce,ye);case"utf8":case"utf-8":return Ze(this,pe,ce,ye);case"ascii":case"latin1":case"binary":return Ve(this,pe,ce,ye);case"base64":return nt(this,pe,ce,ye);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return De(this,pe,ce,ye);default:if(Me)throw new TypeError("Unknown encoding: "+qe);qe=(""+qe).toLowerCase(),Me=!0}},Be.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Bt(Te,pe,ce){return pe===0&&ce===Te.length?be.fromByteArray(Te):be.fromByteArray(Te.slice(pe,ce))}function ke(Te,pe,ce){ce=Math.min(Te.length,ce);for(var ye=[],qe=pe;qe239?4:gt>223?3:gt>191?2:1;if(qe+Xe<=ce){var Pt,ct,ot,kt;switch(Xe){case 1:gt<128&&(Me=gt);break;case 2:Pt=Te[qe+1],(Pt&192)===128&&(kt=(gt&31)<<6|Pt&63,kt>127&&(Me=kt));break;case 3:Pt=Te[qe+1],ct=Te[qe+2],(Pt&192)===128&&(ct&192)===128&&(kt=(gt&15)<<12|(Pt&63)<<6|ct&63,kt>2047&&(kt<55296||kt>57343)&&(Me=kt));break;case 4:Pt=Te[qe+1],ct=Te[qe+2],ot=Te[qe+3],(Pt&192)===128&&(ct&192)===128&&(ot&192)===128&&(kt=(gt&15)<<18|(Pt&63)<<12|(ct&63)<<6|ot&63,kt>65535&&kt<1114112&&(Me=kt))}}Me===null?(Me=65533,Xe=1):Me>65535&&(Me-=65536,ye.push(Me>>>10&1023|55296),Me=56320|Me&1023),ye.push(Me),qe+=Xe}return it(ye)}var Ot=4096;function it(Te){var pe=Te.length;if(pe<=Ot)return String.fromCharCode.apply(String,Te);for(var ce="",ye=0;yeye)&&(ce=ye);for(var qe="",gt=pe;gtye&&(pe=ye),ce<0?(ce+=ye,ce<0&&(ce=0)):ce>ye&&(ce=ye),cece)throw new RangeError("Trying to access beyond buffer length")}Be.prototype.readUintLE=Be.prototype.readUIntLE=function(pe,ce,ye){pe=pe>>>0,ce=ce>>>0,ye||st(pe,ce,this.length);for(var qe=this[pe],gt=1,Me=0;++Me>>0,ce=ce>>>0,ye||st(pe,ce,this.length);for(var qe=this[pe+--ce],gt=1;ce>0&&(gt*=256);)qe+=this[pe+--ce]*gt;return qe},Be.prototype.readUint8=Be.prototype.readUInt8=function(pe,ce){return pe=pe>>>0,ce||st(pe,1,this.length),this[pe]},Be.prototype.readUint16LE=Be.prototype.readUInt16LE=function(pe,ce){return pe=pe>>>0,ce||st(pe,2,this.length),this[pe]|this[pe+1]<<8},Be.prototype.readUint16BE=Be.prototype.readUInt16BE=function(pe,ce){return pe=pe>>>0,ce||st(pe,2,this.length),this[pe]<<8|this[pe+1]},Be.prototype.readUint32LE=Be.prototype.readUInt32LE=function(pe,ce){return pe=pe>>>0,ce||st(pe,4,this.length),(this[pe]|this[pe+1]<<8|this[pe+2]<<16)+this[pe+3]*16777216},Be.prototype.readUint32BE=Be.prototype.readUInt32BE=function(pe,ce){return pe=pe>>>0,ce||st(pe,4,this.length),this[pe]*16777216+(this[pe+1]<<16|this[pe+2]<<8|this[pe+3])},Be.prototype.readIntLE=function(pe,ce,ye){pe=pe>>>0,ce=ce>>>0,ye||st(pe,ce,this.length);for(var qe=this[pe],gt=1,Me=0;++Me=gt&&(qe-=Math.pow(2,8*ce)),qe},Be.prototype.readIntBE=function(pe,ce,ye){pe=pe>>>0,ce=ce>>>0,ye||st(pe,ce,this.length);for(var qe=ce,gt=1,Me=this[pe+--qe];qe>0&&(gt*=256);)Me+=this[pe+--qe]*gt;return gt*=128,Me>=gt&&(Me-=Math.pow(2,8*ce)),Me},Be.prototype.readInt8=function(pe,ce){return pe=pe>>>0,ce||st(pe,1,this.length),this[pe]&128?(255-this[pe]+1)*-1:this[pe]},Be.prototype.readInt16LE=function(pe,ce){pe=pe>>>0,ce||st(pe,2,this.length);var ye=this[pe]|this[pe+1]<<8;return ye&32768?ye|4294901760:ye},Be.prototype.readInt16BE=function(pe,ce){pe=pe>>>0,ce||st(pe,2,this.length);var ye=this[pe+1]|this[pe]<<8;return ye&32768?ye|4294901760:ye},Be.prototype.readInt32LE=function(pe,ce){return pe=pe>>>0,ce||st(pe,4,this.length),this[pe]|this[pe+1]<<8|this[pe+2]<<16|this[pe+3]<<24},Be.prototype.readInt32BE=function(pe,ce){return pe=pe>>>0,ce||st(pe,4,this.length),this[pe]<<24|this[pe+1]<<16|this[pe+2]<<8|this[pe+3]},Be.prototype.readFloatLE=function(pe,ce){return pe=pe>>>0,ce||st(pe,4,this.length),ze.read(this,pe,!0,23,4)},Be.prototype.readFloatBE=function(pe,ce){return pe=pe>>>0,ce||st(pe,4,this.length),ze.read(this,pe,!1,23,4)},Be.prototype.readDoubleLE=function(pe,ce){return pe=pe>>>0,ce||st(pe,8,this.length),ze.read(this,pe,!0,52,8)},Be.prototype.readDoubleBE=function(pe,ce){return pe=pe>>>0,ce||st(pe,8,this.length),ze.read(this,pe,!1,52,8)};function ft(Te,pe,ce,ye,qe,gt){if(!Be.isBuffer(Te))throw new TypeError('"buffer" argument must be a Buffer instance');if(pe>qe||peTe.length)throw new RangeError("Index out of range")}Be.prototype.writeUintLE=Be.prototype.writeUIntLE=function(pe,ce,ye,qe){if(pe=+pe,ce=ce>>>0,ye=ye>>>0,!qe){var gt=Math.pow(2,8*ye)-1;ft(this,pe,ce,ye,gt,0)}var Me=1,Xe=0;for(this[ce]=pe&255;++Xe>>0,ye=ye>>>0,!qe){var gt=Math.pow(2,8*ye)-1;ft(this,pe,ce,ye,gt,0)}var Me=ye-1,Xe=1;for(this[ce+Me]=pe&255;--Me>=0&&(Xe*=256);)this[ce+Me]=pe/Xe&255;return ce+ye},Be.prototype.writeUint8=Be.prototype.writeUInt8=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,1,255,0),this[ce]=pe&255,ce+1},Be.prototype.writeUint16LE=Be.prototype.writeUInt16LE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,2,65535,0),this[ce]=pe&255,this[ce+1]=pe>>>8,ce+2},Be.prototype.writeUint16BE=Be.prototype.writeUInt16BE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,2,65535,0),this[ce]=pe>>>8,this[ce+1]=pe&255,ce+2},Be.prototype.writeUint32LE=Be.prototype.writeUInt32LE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,4,4294967295,0),this[ce+3]=pe>>>24,this[ce+2]=pe>>>16,this[ce+1]=pe>>>8,this[ce]=pe&255,ce+4},Be.prototype.writeUint32BE=Be.prototype.writeUInt32BE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,4,4294967295,0),this[ce]=pe>>>24,this[ce+1]=pe>>>16,this[ce+2]=pe>>>8,this[ce+3]=pe&255,ce+4},Be.prototype.writeIntLE=function(pe,ce,ye,qe){if(pe=+pe,ce=ce>>>0,!qe){var gt=Math.pow(2,8*ye-1);ft(this,pe,ce,ye,gt-1,-gt)}var Me=0,Xe=1,Pt=0;for(this[ce]=pe&255;++Me>0)-Pt&255;return ce+ye},Be.prototype.writeIntBE=function(pe,ce,ye,qe){if(pe=+pe,ce=ce>>>0,!qe){var gt=Math.pow(2,8*ye-1);ft(this,pe,ce,ye,gt-1,-gt)}var Me=ye-1,Xe=1,Pt=0;for(this[ce+Me]=pe&255;--Me>=0&&(Xe*=256);)pe<0&&Pt===0&&this[ce+Me+1]!==0&&(Pt=1),this[ce+Me]=(pe/Xe>>0)-Pt&255;return ce+ye},Be.prototype.writeInt8=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,1,127,-128),pe<0&&(pe=255+pe+1),this[ce]=pe&255,ce+1},Be.prototype.writeInt16LE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,2,32767,-32768),this[ce]=pe&255,this[ce+1]=pe>>>8,ce+2},Be.prototype.writeInt16BE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,2,32767,-32768),this[ce]=pe>>>8,this[ce+1]=pe&255,ce+2},Be.prototype.writeInt32LE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,4,2147483647,-2147483648),this[ce]=pe&255,this[ce+1]=pe>>>8,this[ce+2]=pe>>>16,this[ce+3]=pe>>>24,ce+4},Be.prototype.writeInt32BE=function(pe,ce,ye){return pe=+pe,ce=ce>>>0,ye||ft(this,pe,ce,4,2147483647,-2147483648),pe<0&&(pe=4294967295+pe+1),this[ce]=pe>>>24,this[ce+1]=pe>>>16,this[ce+2]=pe>>>8,this[ce+3]=pe&255,ce+4};function rn(Te,pe,ce,ye,qe,gt){if(ce+ye>Te.length)throw new RangeError("Index out of range");if(ce<0)throw new RangeError("Index out of range")}function fn(Te,pe,ce,ye,qe){return pe=+pe,ce=ce>>>0,qe||rn(Te,pe,ce,4,34028234663852886e22,-34028234663852886e22),ze.write(Te,pe,ce,ye,23,4),ce+4}Be.prototype.writeFloatLE=function(pe,ce,ye){return fn(this,pe,ce,!0,ye)},Be.prototype.writeFloatBE=function(pe,ce,ye){return fn(this,pe,ce,!1,ye)};function Et(Te,pe,ce,ye,qe){return pe=+pe,ce=ce>>>0,qe||rn(Te,pe,ce,8,17976931348623157e292,-17976931348623157e292),ze.write(Te,pe,ce,ye,52,8),ce+8}Be.prototype.writeDoubleLE=function(pe,ce,ye){return Et(this,pe,ce,!0,ye)},Be.prototype.writeDoubleBE=function(pe,ce,ye){return Et(this,pe,ce,!1,ye)},Be.prototype.copy=function(pe,ce,ye,qe){if(!Be.isBuffer(pe))throw new TypeError("argument should be a Buffer");if(ye||(ye=0),!qe&&qe!==0&&(qe=this.length),ce>=pe.length&&(ce=pe.length),ce||(ce=0),qe>0&&qe=this.length)throw new RangeError("Index out of range");if(qe<0)throw new RangeError("sourceEnd out of bounds");qe>this.length&&(qe=this.length),pe.length-ce>>0,ye=ye===void 0?this.length:ye>>>0,pe||(pe=0);var Me;if(typeof pe=="number")for(Me=ce;Me55295&&ce<57344){if(!qe){if(ce>56319){(pe-=3)>-1&>.push(239,191,189);continue}else if(Me+1===ye){(pe-=3)>-1&>.push(239,191,189);continue}qe=ce;continue}if(ce<56320){(pe-=3)>-1&>.push(239,191,189),qe=ce;continue}ce=(qe-55296<<10|ce-56320)+65536}else qe&&(pe-=3)>-1&>.push(239,191,189);if(qe=null,ce<128){if((pe-=1)<0)break;gt.push(ce)}else if(ce<2048){if((pe-=2)<0)break;gt.push(ce>>6|192,ce&63|128)}else if(ce<65536){if((pe-=3)<0)break;gt.push(ce>>12|224,ce>>6&63|128,ce&63|128)}else if(ce<1114112){if((pe-=4)<0)break;gt.push(ce>>18|240,ce>>12&63|128,ce>>6&63|128,ce&63|128)}else throw new Error("Invalid code point")}return gt}function un(Te){for(var pe=[],ce=0;ce>8,qe=ce%256,gt.push(qe),gt.push(ye);return gt}function yt(Te){return be.toByteArray(Ln(Te))}function Kn(Te,pe,ce,ye){for(var qe=0;qe=pe.length||qe>=Te.length);++qe)pe[qe+ce]=Te[qe];return qe}function er(Te,pe){return Te instanceof pe||Te!=null&&Te.constructor!=null&&Te.constructor.name!=null&&Te.constructor.name===pe.name}function Re(Te){return Te!==Te}var Kt=function(){for(var Te="0123456789abcdef",pe=new Array(256),ce=0;ce<16;++ce)for(var ye=ce*16,qe=0;qe<16;++qe)pe[ye+qe]=Te[ce]+Te[qe];return pe}()},14625:function(on){function Ut(Oe){var be,ze,at="";if(typeof Oe=="string"||typeof Oe=="number")at+=Oe;else if(typeof Oe=="object")if(Array.isArray(Oe)){var Ge=Oe.length;for(be=0;be0&&tt[tt.length-1])&&(bn[0]===6||bn[0]===2)){fe=0;continue}if(bn[0]===3&&(!tt||bn[1]>tt[0]&&bn[1]=55296&&He<=56319&&fe>10)+55296,ht%1024+56320)),(He+1===fe||ge.length>16384)&&(tt+=String.fromCharCode.apply(String,ge),ge.length=0)}return tt},de="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ie=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Fe=0;Fe>4,Un[He++]=(ht&15)<<4|jt>>2,Un[He++]=(jt&3)<<6|Rt&63;return bn},ee=function(ue){for(var Ae=ue.length,fe=[],ge=0;ge>te,Pe=1<>te,Ve=_e+Ze,nt=Ve,De=32,Bt=nt+De,ke=65536>>ne,Ot=1<=0){if(Ae<55296||Ae>56319&&Ae<=65535)return fe=this.index[Ae>>te],fe=(fe<>te)],fe=(fe<>ne),fe=this.index[fe],fe+=Ae>>te&it,fe=this.index[fe],fe=(fe<Et?(He.push(!0),jt-=Et):He.push(!1),["normal","auto","loose"].indexOf(Ae)!==-1&&[8208,8211,12316,12448].indexOf(tt)!==-1)return ge.push(ht),fe.push(qe);if(jt===un||jt===Kt){if(ht===0)return ge.push(ht),fe.push(Jn);var Rt=fe[ht-1];return Gs.indexOf(Rt)===-1?(ge.push(ge[ht-1]),fe.push(Rt)):(ge.push(ht),fe.push(Jn))}if(ge.push(ht),jt===hr)return fe.push(Ae==="strict"?ct:Hr);if(jt===fo||jt===Xt)return fe.push(Jn);if(jt===ea)return tt>=131072&&tt<=196605||tt>=196608&&tt<=262141?fe.push(Hr):fe.push(Jn);fe.push(jt)}),[ge,fe,He]},Dn=function(ue,Ae,fe,ge){var He=ge[fe];if(Array.isArray(ue)?ue.indexOf(He)!==-1:ue===He)for(var tt=fe;tt<=ge.length;){tt++;var ht=ge[tt];if(ht===Ae)return!0;if(ht!==Re)break}if(He===Re)for(var tt=fe;tt>0;){tt--;var jt=ge[tt];if(Array.isArray(ue)?ue.indexOf(jt)!==-1:ue===jt)for(var Rt=fe;Rt<=ge.length;){Rt++;var ht=ge[Rt];if(ht===Ae)return!0;if(ht!==Re)break}if(jt!==Re)break}return!1},vn=function(ue,Ae){for(var fe=ue;fe>=0;){var ge=Ae[fe];if(ge===Re)fe--;else return ge}return 0},kr=function(ue,Ae,fe,ge,He){if(fe[ge]===0)return na;var tt=ge-1;if(Array.isArray(He)&&He[tt]===!0)return na;var ht=tt-1,jt=tt+1,Rt=Ae[tt],bn=ht>=0?Ae[ht]:0,Un=Ae[jt];if(Rt===Ln&&Un===Hn)return na;if(UA.indexOf(Rt)!==-1)return _i;if(UA.indexOf(Un)!==-1||ds.indexOf(Un)!==-1)return na;if(vn(tt,Ae)===Kn)return ln;if(zA.get(ue[tt])===Kt||(Rt===tr||Rt===Dr)&&zA.get(ue[jt])===Kt||Rt===yt||Un===yt||Rt===er||[Re,pe,ye].indexOf(Rt)===-1&&Un===er||[gt,Me,Xe,_n,yn].indexOf(Un)!==-1||vn(tt,Ae)===ot||Dn(kt,ot,tt,Ae)||Dn([gt,Me],ct,tt,Ae)||Dn(Te,Te,tt,Ae))return na;if(Rt===Re)return ln;if(Rt===kt||Un===kt)return na;if(Un===qe||Rt===qe)return ln;if([pe,ye,ct].indexOf(Un)!==-1||Rt===ce||bn===sa&&Ji.indexOf(Rt)!==-1||Rt===yn&&Un===sa||Un===Pt||fA.indexOf(Un)!==-1&&Rt===_t||fA.indexOf(Rt)!==-1&&Un===_t||Rt===Nt&&[Hr,tr,Dr].indexOf(Un)!==-1||[Hr,tr,Dr].indexOf(Rt)!==-1&&Un===nn||fA.indexOf(Rt)!==-1&&wi.indexOf(Un)!==-1||wi.indexOf(Rt)!==-1&&fA.indexOf(Un)!==-1||[Nt,nn].indexOf(Rt)!==-1&&(Un===_t||[ot,ye].indexOf(Un)!==-1&&Ae[jt+1]===_t)||[ot,ye].indexOf(Rt)!==-1&&Un===_t||Rt===_t&&[_t,yn,_n].indexOf(Un)!==-1)return na;if([_t,yn,_n,gt,Me].indexOf(Un)!==-1)for(var Rn=tt;Rn>=0;){var dr=Ae[Rn];if(dr===_t)return na;if([yn,_n].indexOf(dr)!==-1)Rn--;else break}if([Nt,nn].indexOf(Un)!==-1)for(var Rn=[gt,Me].indexOf(Rt)!==-1?ht:tt;Rn>=0;){var dr=Ae[Rn];if(dr===_t)return na;if([yn,_n].indexOf(dr)!==-1)Rn--;else break}if(br===Rt&&[br,Tr,Or,la].indexOf(Un)!==-1||[Tr,Or].indexOf(Rt)!==-1&&[Tr,ta].indexOf(Un)!==-1||[ta,la].indexOf(Rt)!==-1&&Un===ta||SA.indexOf(Rt)!==-1&&[Pt,nn].indexOf(Un)!==-1||SA.indexOf(Un)!==-1&&Rt===Nt||fA.indexOf(Rt)!==-1&&fA.indexOf(Un)!==-1||Rt===_n&&fA.indexOf(Un)!==-1||fA.concat(_t).indexOf(Rt)!==-1&&Un===ot&&pi.indexOf(ue[jt])===-1||fA.concat(_t).indexOf(Un)!==-1&&Rt===Me)return na;if(Rt===_a&&Un===_a){for(var Ca=fe[tt],Mr=1;Ca>0&&(Ca--,Ae[Ca]===_a);)Mr++;if(Mr%2!==0)return na}return Rt===tr&&Un===Dr?na:ln},Ea=function(ue,Ae){Ae||(Ae={lineBreak:"normal",wordBreak:"normal"});var fe=En(ue,Ae.lineBreak),ge=fe[0],He=fe[1],tt=fe[2];(Ae.wordBreak==="break-all"||Ae.wordBreak==="break-word")&&(He=He.map(function(jt){return[_t,Jn,fo].indexOf(jt)!==-1?Hr:jt}));var ht=Ae.wordBreak==="keep-all"?tt.map(function(jt,Rt){return jt&&ue[Rt]>=19968&&ue[Rt]<=40959}):void 0;return[ge,He,ht]},Zr=function(){function ue(Ae,fe,ge,He){this.codePoints=Ae,this.required=fe===_i,this.start=ge,this.end=He}return ue.prototype.slice=function(){return Le.apply(void 0,this.codePoints.slice(this.start,this.end))},ue}(),si=function(ue,Ae){var fe=Be(ue),ge=Ea(fe,Ae),He=ge[0],tt=ge[1],ht=ge[2],jt=fe.length,Rt=0,bn=0;return{next:function(){if(bn>=jt)return{done:!0,value:null};for(var Un=na;bn=kc&&ue<=57},Rc=function(ue){return ue>=55296&&ue<=57343},uu=function(ue){return WA(ue)||ue>=rs&&ue<=Ac||ue>=ju&&ue<=su},jc=function(ue){return ue>=ju&&ue<=lu},wn=function(ue){return ue>=rs&&ue<=wA},Dt=function(ue){return jc(ue)||wn(ue)},en=function(ue){return ue>=ts},On=function(ue){return ue===gr||ue===fi||ue===Si},sr=function(ue){return Dt(ue)||en(ue)||ue===Fl},Xr=function(ue){return sr(ue)||WA(ue)||ue===ZA},Ir=function(ue){return ue>=Tc&&ue<=Tu||ue===ku||ue>=Au&&ue<=fl||ue===Ru},mr=function(ue,Ae){return ue!==Di?!1:Ae!==gr},xr=function(ue,Ae,fe){return ue===ZA?sr(Ae)||mr(Ae,fe):sr(ue)?!0:!!(ue===Di&&mr(ue,Ae))},da=function(ue,Ae,fe){return ue===Os||ue===ZA?WA(Ae)?!0:Ae===_l&&WA(fe):WA(ue===_l?Ae:ue)},Ha=function(ue){var Ae=0,fe=1;(ue[Ae]===Os||ue[Ae]===ZA)&&(ue[Ae]===ZA&&(fe=-1),Ae++);for(var ge=[];WA(ue[Ae]);)ge.push(ue[Ae++]);var He=ge.length?parseInt(Le.apply(void 0,ge),10):0;ue[Ae]===_l&&Ae++;for(var tt=[];WA(ue[Ae]);)tt.push(ue[Ae++]);var ht=tt.length,jt=ht?parseInt(Le.apply(void 0,tt),10):0;(ue[Ae]===NA||ue[Ae]===cd)&&Ae++;var Rt=1;(ue[Ae]===Os||ue[Ae]===ZA)&&(ue[Ae]===ZA&&(Rt=-1),Ae++);for(var bn=[];WA(ue[Ae]);)bn.push(ue[Ae++]);var Un=bn.length?parseInt(Le.apply(void 0,bn),10):0;return fe*(He+jt*Math.pow(10,-ht))*Math.pow(10,Rt*Un)},To={type:2},ua={type:3},zi={type:4},li={type:13},Bi={type:8},ma={type:21},Da={type:9},Ma={type:10},La={type:11},Eo={type:12},Bo={type:14},VA={type:23},hl={type:1},iA={type:25},XA={type:24},nl={type:26},rl={type:27},al={type:28},Pn={type:29},In={type:31},ol={type:32},Wr=function(){function ue(){this._value=[]}return ue.prototype.write=function(Ae){this._value=this._value.concat(Be(Ae))},ue.prototype.read=function(){for(var Ae=[],fe=this.consumeToken();fe!==ol;)Ae.push(fe),fe=this.consumeToken();return Ae},ue.prototype.consumeToken=function(){var Ae=this.consumeCodePoint();switch(Ae){case Do:return this.consumeStringToken(Do);case MA:var fe=this.peekCodePoint(0),ge=this.peekCodePoint(1),He=this.peekCodePoint(2);if(Xr(fe)||mr(ge,He)){var tt=xr(fe,ge,He)?Ko:vo,ht=this.consumeName();return{type:5,value:ht,flags:tt}}break;case GA:if(this.peekCodePoint(0)===hA)return this.consumeCodePoint(),li;break;case $A:return this.consumeStringToken($A);case yi:return To;case gs:return ua;case yu:if(this.peekCodePoint(0)===hA)return this.consumeCodePoint(),Bo;break;case Os:if(da(Ae,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();break;case Oc:return zi;case ZA:var jt=Ae,Rt=this.peekCodePoint(0),bn=this.peekCodePoint(1);if(da(jt,Rt,bn))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();if(xr(jt,Rt,bn))return this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();if(Rt===ZA&&bn===Su)return this.consumeCodePoint(),this.consumeCodePoint(),XA;break;case _l:if(da(Ae,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(Ae),this.consumeNumericToken();break;case No:if(this.peekCodePoint(0)===yu)for(this.consumeCodePoint();;){var Un=this.consumeCodePoint();if(Un===yu&&(Un=this.consumeCodePoint(),Un===No))return this.consumeToken();if(Un===An)return this.consumeToken()}break;case Qc:return nl;case xl:return rl;case Dc:if(this.peekCodePoint(0)===Pr&&this.peekCodePoint(1)===ZA&&this.peekCodePoint(2)===ZA)return this.consumeCodePoint(),this.consumeCodePoint(),iA;break;case Qu:var Rn=this.peekCodePoint(0),dr=this.peekCodePoint(1),Ca=this.peekCodePoint(2);if(xr(Rn,dr,Ca)){var ht=this.consumeName();return{type:7,value:ht}}break;case tl:return al;case Di:if(mr(Ae,this.peekCodePoint(0)))return this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();break;case Rr:return Pn;case Na:if(this.peekCodePoint(0)===hA)return this.consumeCodePoint(),Bi;break;case Po:return La;case Ga:return Eo;case fs:case Gl:var Mr=this.peekCodePoint(0),ia=this.peekCodePoint(1);return Mr===Os&&(uu(ia)||ia===Fa)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken();case vi:if(this.peekCodePoint(0)===hA)return this.consumeCodePoint(),Da;if(this.peekCodePoint(0)===vi)return this.consumeCodePoint(),ma;break;case va:if(this.peekCodePoint(0)===hA)return this.consumeCodePoint(),Ma;break;case An:return ol}return On(Ae)?(this.consumeWhiteSpace(),In):WA(Ae)?(this.reconsumeCodePoint(Ae),this.consumeNumericToken()):sr(Ae)?(this.reconsumeCodePoint(Ae),this.consumeIdentLikeToken()):{type:6,value:Le(Ae)}},ue.prototype.consumeCodePoint=function(){var Ae=this._value.shift();return typeof Ae=="undefined"?-1:Ae},ue.prototype.reconsumeCodePoint=function(Ae){this._value.unshift(Ae)},ue.prototype.peekCodePoint=function(Ae){return Ae>=this._value.length?-1:this._value[Ae]},ue.prototype.consumeUnicodeRangeToken=function(){for(var Ae=[],fe=this.consumeCodePoint();uu(fe)&&Ae.length<6;)Ae.push(fe),fe=this.consumeCodePoint();for(var ge=!1;fe===Fa&&Ae.length<6;)Ae.push(fe),fe=this.consumeCodePoint(),ge=!0;if(ge){var He=parseInt(Le.apply(void 0,Ae.map(function(Rt){return Rt===Fa?kc:Rt})),16),tt=parseInt(Le.apply(void 0,Ae.map(function(Rt){return Rt===Fa?Ac:Rt})),16);return{type:30,start:He,end:tt}}var ht=parseInt(Le.apply(void 0,Ae),16);if(this.peekCodePoint(0)===ZA&&uu(this.peekCodePoint(1))){this.consumeCodePoint(),fe=this.consumeCodePoint();for(var jt=[];uu(fe)&&jt.length<6;)jt.push(fe),fe=this.consumeCodePoint();var tt=parseInt(Le.apply(void 0,jt),16);return{type:30,start:ht,end:tt}}else return{type:30,start:ht,end:ht}},ue.prototype.consumeIdentLikeToken=function(){var Ae=this.consumeName();return Ae.toLowerCase()==="url"&&this.peekCodePoint(0)===yi?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===yi?(this.consumeCodePoint(),{type:19,value:Ae}):{type:20,value:Ae}},ue.prototype.consumeUrlToken=function(){var Ae=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===An)return{type:22,value:""};var fe=this.peekCodePoint(0);if(fe===$A||fe===Do){var ge=this.consumeStringToken(this.consumeCodePoint());return ge.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===An||this.peekCodePoint(0)===gs)?(this.consumeCodePoint(),{type:22,value:ge.value}):(this.consumeBadUrlRemnants(),VA)}for(;;){var He=this.consumeCodePoint();if(He===An||He===gs)return{type:22,value:Le.apply(void 0,Ae)};if(On(He))return this.consumeWhiteSpace(),this.peekCodePoint(0)===An||this.peekCodePoint(0)===gs?(this.consumeCodePoint(),{type:22,value:Le.apply(void 0,Ae)}):(this.consumeBadUrlRemnants(),VA);if(He===Do||He===$A||He===yi||Ir(He))return this.consumeBadUrlRemnants(),VA;if(He===Di)if(mr(He,this.peekCodePoint(0)))Ae.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),VA;else Ae.push(He)}},ue.prototype.consumeWhiteSpace=function(){for(;On(this.peekCodePoint(0));)this.consumeCodePoint()},ue.prototype.consumeBadUrlRemnants=function(){for(;;){var Ae=this.consumeCodePoint();if(Ae===gs||Ae===An)return;mr(Ae,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},ue.prototype.consumeStringSlice=function(Ae){for(var fe=5e4,ge="";Ae>0;){var He=Math.min(fe,Ae);ge+=Le.apply(void 0,this._value.splice(0,He)),Ae-=He}return this._value.shift(),ge},ue.prototype.consumeStringToken=function(Ae){var fe="",ge=0;do{var He=this._value[ge];if(He===An||He===void 0||He===Ae)return fe+=this.consumeStringSlice(ge),{type:0,value:fe};if(He===gr)return this._value.splice(0,ge),hl;if(He===Di){var tt=this._value[ge+1];tt!==An&&tt!==void 0&&(tt===gr?(fe+=this.consumeStringSlice(ge),ge=-1,this._value.shift()):mr(He,tt)&&(fe+=this.consumeStringSlice(ge),fe+=Le(this.consumeEscapedCodePoint()),ge=-1))}ge++}while(!0)},ue.prototype.consumeNumber=function(){var Ae=[],fe=_o,ge=this.peekCodePoint(0);for((ge===Os||ge===ZA)&&Ae.push(this.consumeCodePoint());WA(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());ge=this.peekCodePoint(0);var He=this.peekCodePoint(1);if(ge===_l&&WA(He))for(Ae.push(this.consumeCodePoint(),this.consumeCodePoint()),fe=yA;WA(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());ge=this.peekCodePoint(0),He=this.peekCodePoint(1);var tt=this.peekCodePoint(2);if((ge===NA||ge===cd)&&((He===Os||He===ZA)&&WA(tt)||WA(He)))for(Ae.push(this.consumeCodePoint(),this.consumeCodePoint()),fe=yA;WA(this.peekCodePoint(0));)Ae.push(this.consumeCodePoint());return[Ha(Ae),fe]},ue.prototype.consumeNumericToken=function(){var Ae=this.consumeNumber(),fe=Ae[0],ge=Ae[1],He=this.peekCodePoint(0),tt=this.peekCodePoint(1),ht=this.peekCodePoint(2);if(xr(He,tt,ht)){var jt=this.consumeName();return{type:15,number:fe,flags:ge,unit:jt}}return He===Ds?(this.consumeCodePoint(),{type:16,number:fe,flags:ge}):{type:17,number:fe,flags:ge}},ue.prototype.consumeEscapedCodePoint=function(){var Ae=this.consumeCodePoint();if(uu(Ae)){for(var fe=Le(Ae);uu(this.peekCodePoint(0))&&fe.length<6;)fe+=Le(this.consumeCodePoint());On(this.peekCodePoint(0))&&this.consumeCodePoint();var ge=parseInt(fe,16);return ge===0||Rc(ge)||ge>1114111?ns:ge}return Ae===An?ns:Ae},ue.prototype.consumeName=function(){for(var Ae="";;){var fe=this.consumeCodePoint();if(Xr(fe))Ae+=Le(fe);else if(mr(fe,this.peekCodePoint(0)))Ae+=Le(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(fe),Ae}},ue}(),xa=function(){function ue(Ae){this._tokens=Ae}return ue.create=function(Ae){var fe=new Wr;return fe.write(Ae),new ue(fe.read())},ue.parseValue=function(Ae){return ue.create(Ae).parseComponentValue()},ue.parseValues=function(Ae){return ue.create(Ae).parseComponentValues()},ue.prototype.parseComponentValue=function(){for(var Ae=this.consumeToken();Ae.type===31;)Ae=this.consumeToken();if(Ae.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(Ae);var fe=this.consumeComponentValue();do Ae=this.consumeToken();while(Ae.type===31);if(Ae.type===32)return fe;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},ue.prototype.parseComponentValues=function(){for(var Ae=[];;){var fe=this.consumeComponentValue();if(fe.type===32)return Ae;Ae.push(fe),Ae.push()}},ue.prototype.consumeComponentValue=function(){var Ae=this.consumeToken();switch(Ae.type){case 11:case 28:case 2:return this.consumeSimpleBlock(Ae.type);case 19:return this.consumeFunction(Ae)}return Ae},ue.prototype.consumeSimpleBlock=function(Ae){for(var fe={type:Ae,values:[]},ge=this.consumeToken();;){if(ge.type===32||Rd(ge,Ae))return fe;this.reconsumeToken(ge),fe.values.push(this.consumeComponentValue()),ge=this.consumeToken()}},ue.prototype.consumeFunction=function(Ae){for(var fe={name:Ae.value,values:[],type:18};;){var ge=this.consumeToken();if(ge.type===32||ge.type===3)return fe;this.reconsumeToken(ge),fe.values.push(this.consumeComponentValue())}},ue.prototype.consumeToken=function(){var Ae=this._tokens.shift();return typeof Ae=="undefined"?ol:Ae},ue.prototype.reconsumeToken=function(Ae){this._tokens.unshift(Ae)},ue}(),Lo=function(ue){return ue.type===15},Pi=function(ue){return ue.type===17},eo=function(ue){return ue.type===20},qi=function(ue){return ue.type===0},Mu=function(ue,Ae){return eo(ue)&&ue.value===Ae},cu=function(ue){return ue.type!==31},Ll=function(ue){return ue.type!==31&&ue.type!==4},il=function(ue){var Ae=[],fe=[];return ue.forEach(function(ge){if(ge.type===4){if(fe.length===0)throw new Error("Error parsing function args, zero tokens for arg");Ae.push(fe),fe=[];return}ge.type!==31&&fe.push(ge)}),fe.length&&Ae.push(fe),Ae},Rd=function(ue,Ae){return Ae===11&&ue.type===12||Ae===28&&ue.type===29?!0:Ae===2&&ue.type===3},Il=function(ue){return ue.type===17||ue.type===15},AA=function(ue){return ue.type===16||Il(ue)},sc=function(ue){return ue.length>1?[ue[0],ue[1]]:[ue[0]]},DA={type:17,number:0,flags:_o},Hu={type:16,number:50,flags:_o},ml={type:16,number:100,flags:_o},Ul=function(ue,Ae,fe){var ge=ue[0],He=ue[1];return[ti(ge,Ae),ti(typeof He!="undefined"?He:ge,fe)]},ti=function(ue,Ae){if(ue.type===16)return ue.number/100*Ae;if(Lo(ue))switch(ue.unit){case"rem":case"em":return 16*ue.number;case"px":default:return ue.number}return ue.number},wu="deg",lc="grad",dd="rad",mA="turn",Qs={name:"angle",parse:function(ue,Ae){if(Ae.type===15)switch(Ae.unit){case wu:return Math.PI*Ae.number/180;case lc:return Math.PI/200*Ae.number;case dd:return Ae.number;case mA:return Math.PI*2*Ae.number}throw new Error("Unsupported angle type")}},Nl=function(ue){return ue.type===15&&(ue.unit===wu||ue.unit===lc||ue.unit===dd||ue.unit===mA)},$l=function(ue){var Ae=ue.filter(eo).map(function(fe){return fe.value}).join(" ");switch(Ae){case"to bottom right":case"to right bottom":case"left top":case"top left":return[DA,DA];case"to top":case"bottom":return bi(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[DA,ml];case"to right":case"left":return bi(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[ml,ml];case"to bottom":case"top":return bi(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[ml,DA];case"to left":case"right":return bi(270)}return 0},bi=function(ue){return Math.PI*ue/180},Cs={name:"color",parse:function(ue,Ae){if(Ae.type===18){var fe=bA[Ae.name];if(typeof fe=="undefined")throw new Error('Attempting to parse an unsupported color function "'+Ae.name+'"');return fe(ue,Ae.values)}if(Ae.type===5){if(Ae.value.length===3){var ge=Ae.value.substring(0,1),He=Ae.value.substring(1,2),tt=Ae.value.substring(2,3);return lA(parseInt(ge+ge,16),parseInt(He+He,16),parseInt(tt+tt,16),1)}if(Ae.value.length===4){var ge=Ae.value.substring(0,1),He=Ae.value.substring(1,2),tt=Ae.value.substring(2,3),ht=Ae.value.substring(3,4);return lA(parseInt(ge+ge,16),parseInt(He+He,16),parseInt(tt+tt,16),parseInt(ht+ht,16)/255)}if(Ae.value.length===6){var ge=Ae.value.substring(0,2),He=Ae.value.substring(2,4),tt=Ae.value.substring(4,6);return lA(parseInt(ge,16),parseInt(He,16),parseInt(tt,16),1)}if(Ae.value.length===8){var ge=Ae.value.substring(0,2),He=Ae.value.substring(2,4),tt=Ae.value.substring(4,6),ht=Ae.value.substring(6,8);return lA(parseInt(ge,16),parseInt(He,16),parseInt(tt,16),parseInt(ht,16)/255)}}if(Ae.type===20){var jt=eA[Ae.value.toUpperCase()];if(typeof jt!="undefined")return jt}return eA.TRANSPARENT}},OA=function(ue){return(255&ue)===0},sA=function(ue){var Ae=255&ue,fe=255&ue>>8,ge=255&ue>>16,He=255&ue>>24;return Ae<255?"rgba("+He+","+ge+","+fe+","+Ae/255+")":"rgb("+He+","+ge+","+fe+")"},lA=function(ue,Ae,fe,ge){return(ue<<24|Ae<<16|fe<<8|Math.round(ge*255)<<0)>>>0},Dl=function(ue,Ae){if(ue.type===17)return ue.number;if(ue.type===16){var fe=Ae===3?1:255;return Ae===3?ue.number/100*fe:Math.round(ue.number/100*fe)}return 0},Mc=function(ue,Ae){var fe=Ae.filter(Ll);if(fe.length===3){var ge=fe.map(Dl),He=ge[0],tt=ge[1],ht=ge[2];return lA(He,tt,ht,1)}if(fe.length===4){var jt=fe.map(Dl),He=jt[0],tt=jt[1],ht=jt[2],Rt=jt[3];return lA(He,tt,ht,Rt)}return 0};function YA(ue,Ae,fe){return fe<0&&(fe+=1),fe>=1&&(fe-=1),fe<1/6?(Ae-ue)*fe*6+ue:fe<1/2?Ae:fe<2/3?(Ae-ue)*6*(2/3-fe)+ue:ue}var Ku=function(ue,Ae){var fe=Ae.filter(Ll),ge=fe[0],He=fe[1],tt=fe[2],ht=fe[3],jt=(ge.type===17?bi(ge.number):Qs.parse(ue,ge))/(Math.PI*2),Rt=AA(He)?He.number/100:0,bn=AA(tt)?tt.number/100:0,Un=typeof ht!="undefined"&&AA(ht)?ti(ht,1):1;if(Rt===0)return lA(bn*255,bn*255,bn*255,1);var Rn=bn<=.5?bn*(Rt+1):bn+Rt-bn*Rt,dr=bn*2-Rn,Ca=YA(dr,Rn,jt+1/3),Mr=YA(dr,Rn,jt),ia=YA(dr,Rn,jt-1/3);return lA(Ca*255,Mr*255,ia*255,Un)},bA={hsl:Ku,hsla:Ku,rgb:Mc,rgba:Mc},Ol=function(ue,Ae){return Cs.parse(ue,xa.create(Ae).parseComponentValue())},eA={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},uc={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(ue,Ae){return Ae.map(function(fe){if(eo(fe))switch(fe.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},du={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},gu=function(ue,Ae){var fe=Cs.parse(ue,Ae[0]),ge=Ae[1];return ge&&AA(ge)?{color:fe,stop:ge}:{color:fe,stop:null}},Hc=function(ue,Ae){var fe=ue[0],ge=ue[ue.length-1];fe.stop===null&&(fe.stop=DA),ge.stop===null&&(ge.stop=ml);for(var He=[],tt=0,ht=0;httt?He.push(Rt):He.push(tt),tt=Rt}else He.push(null)}for(var bn=null,ht=0;htht.optimumDistance)?{optimumCorner:jt,optimumDistance:Un}:ht},{optimumDistance:He?1/0:-1/0,optimumCorner:null}).optimumCorner},$a=function(ue,Ae,fe,ge,He){var tt=0,ht=0;switch(ue.size){case 0:ue.shape===0?tt=ht=Math.min(Math.abs(Ae),Math.abs(Ae-ge),Math.abs(fe),Math.abs(fe-He)):ue.shape===1&&(tt=Math.min(Math.abs(Ae),Math.abs(Ae-ge)),ht=Math.min(Math.abs(fe),Math.abs(fe-He)));break;case 2:if(ue.shape===0)tt=ht=Math.min(Ia(Ae,fe),Ia(Ae,fe-He),Ia(Ae-ge,fe),Ia(Ae-ge,fe-He));else if(ue.shape===1){var jt=Math.min(Math.abs(fe),Math.abs(fe-He))/Math.min(Math.abs(Ae),Math.abs(Ae-ge)),Rt=lr(ge,He,Ae,fe,!0),bn=Rt[0],Un=Rt[1];tt=Ia(bn-Ae,(Un-fe)/jt),ht=jt*tt}break;case 1:ue.shape===0?tt=ht=Math.max(Math.abs(Ae),Math.abs(Ae-ge),Math.abs(fe),Math.abs(fe-He)):ue.shape===1&&(tt=Math.max(Math.abs(Ae),Math.abs(Ae-ge)),ht=Math.max(Math.abs(fe),Math.abs(fe-He)));break;case 3:if(ue.shape===0)tt=ht=Math.max(Ia(Ae,fe),Ia(Ae,fe-He),Ia(Ae-ge,fe),Ia(Ae-ge,fe-He));else if(ue.shape===1){var jt=Math.max(Math.abs(fe),Math.abs(fe-He))/Math.max(Math.abs(Ae),Math.abs(Ae-ge)),Rn=lr(ge,He,Ae,fe,!1),bn=Rn[0],Un=Rn[1];tt=Ia(bn-Ae,(Un-fe)/jt),ht=jt*tt}break}return Array.isArray(ue.size)&&(tt=ti(ue.size[0],ge),ht=ue.size.length===2?ti(ue.size[1],He):tt),[tt,ht]},wo=function(ue,Ae){var fe=bi(180),ge=[];return il(Ae).forEach(function(He,tt){if(tt===0){var ht=He[0];if(ht.type===20&&ht.value==="to"){fe=$l(He);return}else if(Nl(ht)){fe=Qs.parse(ue,ht);return}}var jt=gu(ue,He);ge.push(jt)}),{angle:fe,stops:ge,type:1}},uA=function(ue,Ae){var fe=bi(180),ge=[];return il(Ae).forEach(function(He,tt){if(tt===0){var ht=He[0];if(ht.type===20&&["top","left","right","bottom"].indexOf(ht.value)!==-1){fe=$l(He);return}else if(Nl(ht)){fe=(Qs.parse(ue,ht)+bi(270))%bi(360);return}}var jt=gu(ue,He);ge.push(jt)}),{angle:fe,stops:ge,type:1}},Ts=function(ue,Ae){var fe=bi(180),ge=[],He=1,tt=0,ht=3,jt=[];return il(Ae).forEach(function(Rt,bn){var Un=Rt[0];if(bn===0){if(eo(Un)&&Un.value==="linear"){He=1;return}else if(eo(Un)&&Un.value==="radial"){He=2;return}}if(Un.type===18){if(Un.name==="from"){var Rn=Cs.parse(ue,Un.values[0]);ge.push({stop:DA,color:Rn})}else if(Un.name==="to"){var Rn=Cs.parse(ue,Un.values[0]);ge.push({stop:ml,color:Rn})}else if(Un.name==="color-stop"){var dr=Un.values.filter(Ll);if(dr.length===2){var Rn=Cs.parse(ue,dr[1]),Ca=dr[0];Pi(Ca)&&ge.push({stop:{type:16,number:Ca.number*100,flags:Ca.flags},color:Rn})}}}}),He===1?{angle:(fe+bi(180))%bi(360),stops:ge,type:He}:{size:ht,shape:tt,stops:ge,position:jt,type:He}},JA="closest-side",Wl="farthest-side",Al="closest-corner",Ps="farthest-corner",ui="circle",pl="ellipse",Wo="cover",as="contain",Ya=function(ue,Ae){var fe=0,ge=3,He=[],tt=[];return il(Ae).forEach(function(ht,jt){var Rt=!0;if(jt===0){var bn=!1;Rt=ht.reduce(function(Rn,dr){if(bn)if(eo(dr))switch(dr.value){case"center":return tt.push(Hu),Rn;case"top":case"left":return tt.push(DA),Rn;case"right":case"bottom":return tt.push(ml),Rn}else(AA(dr)||Il(dr))&&tt.push(dr);else if(eo(dr))switch(dr.value){case ui:return fe=0,!1;case pl:return fe=1,!1;case"at":return bn=!0,!1;case JA:return ge=0,!1;case Wo:case Wl:return ge=1,!1;case as:case Al:return ge=2,!1;case Ps:return ge=3,!1}else if(Il(dr)||AA(dr))return Array.isArray(ge)||(ge=[]),ge.push(dr),!1;return Rn},Rt)}if(Rt){var Un=gu(ue,ht);He.push(Un)}}),{size:ge,shape:fe,stops:He,position:tt,type:2}},Gi=function(ue,Ae){var fe=0,ge=3,He=[],tt=[];return il(Ae).forEach(function(ht,jt){var Rt=!0;if(jt===0?Rt=ht.reduce(function(Un,Rn){if(eo(Rn))switch(Rn.value){case"center":return tt.push(Hu),!1;case"top":case"left":return tt.push(DA),!1;case"right":case"bottom":return tt.push(ml),!1}else if(AA(Rn)||Il(Rn))return tt.push(Rn),!1;return Un},Rt):jt===1&&(Rt=ht.reduce(function(Un,Rn){if(eo(Rn))switch(Rn.value){case ui:return fe=0,!1;case pl:return fe=1,!1;case as:case JA:return ge=0,!1;case Wl:return ge=1,!1;case Al:return ge=2,!1;case Wo:case Ps:return ge=3,!1}else if(Il(Rn)||AA(Rn))return Array.isArray(ge)||(ge=[]),ge.push(Rn),!1;return Un},Rt)),Rt){var bn=gu(ue,ht);He.push(bn)}}),{size:ge,shape:fe,stops:He,position:tt,type:2}},Oi=function(ue){return ue.type===1},Vl=function(ue){return ue.type===2},os={name:"image",parse:function(ue,Ae){if(Ae.type===22){var fe={url:Ae.value,type:0};return ue.cache.addImage(Ae.value),fe}if(Ae.type===18){var ge=HA[Ae.name];if(typeof ge=="undefined")throw new Error('Attempting to parse an unsupported image function "'+Ae.name+'"');return ge(ue,Ae.values)}throw new Error("Unsupported image type "+Ae.type)}};function CA(ue){return!(ue.type===20&&ue.value==="none")&&(ue.type!==18||!!HA[ue.name])}var HA={"linear-gradient":wo,"-moz-linear-gradient":uA,"-ms-linear-gradient":uA,"-o-linear-gradient":uA,"-webkit-linear-gradient":uA,"radial-gradient":Ya,"-moz-radial-gradient":Gi,"-ms-radial-gradient":Gi,"-o-radial-gradient":Gi,"-webkit-radial-gradient":Gi,"-webkit-gradient":Ts},hs={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(ue,Ae){if(Ae.length===0)return[];var fe=Ae[0];return fe.type===20&&fe.value==="none"?[]:Ae.filter(function(ge){return Ll(ge)&&CA(ge)}).map(function(ge){return os.parse(ue,ge)})}},ms={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(ue,Ae){return Ae.map(function(fe){if(eo(fe))switch(fe.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},cc={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(ue,Ae){return il(Ae).map(function(fe){return fe.filter(AA)}).map(sc)}},Ql={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(ue,Ae){return il(Ae).map(function(fe){return fe.filter(eo).map(function(ge){return ge.value}).join(" ")}).map(Xl)}},Xl=function(ue){switch(ue){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},QA;(function(ue){ue.AUTO="auto",ue.CONTAIN="contain",ue.COVER="cover"})(QA||(QA={}));var bu={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(ue,Ae){return il(Ae).map(function(fe){return fe.filter(dc)})}},dc=function(ue){return eo(ue)||AA(ue)},zu=function(ue){return{name:"border-"+ue+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},th=zu("top"),Kc=zu("right"),Bf=zu("bottom"),gc=zu("left"),jd=function(ue){return{name:"border-radius-"+ue,initialValue:"0 0",prefix:!1,type:1,parse:function(Ae,fe){return sc(fe.filter(AA))}}},Bm=jd("top-left"),Gu=jd("top-right"),Tl=jd("bottom-right"),vl=jd("bottom-left"),Ci=function(ue){return{name:"border-"+ue+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(Ae,fe){switch(fe){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},zc=Ci("top"),Sf=Ci("right"),yf=Ci("bottom"),Gc=Ci("left"),gd=function(ue){return{name:"border-"+ue+"-width",initialValue:"0",type:0,prefix:!1,parse:function(Ae,fe){return Lo(fe)?fe.number:0}}},yg=gd("top"),$c=gd("right"),nh=gd("bottom"),rh=gd("left"),ps={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},fd={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"rtl":return 1;case"ltr":default:return 0}}},ah={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(ue,Ae){return Ae.filter(eo).reduce(function(fe,ge){return fe|Ye(ge.value)},0)}},Ye=function(ue){switch(ue){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},et={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},St={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(ue,Ae){return Ae.type===20&&Ae.value==="normal"?0:Ae.type===17||Ae.type===15?Ae.number:0}},It;(function(ue){ue.NORMAL="normal",ue.STRICT="strict"})(It||(It={}));var Gt={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"strict":return It.STRICT;case"normal":default:return It.NORMAL}}},$t={name:"line-height",initialValue:"normal",prefix:!1,type:4},mn=function(ue,Ae){return eo(ue)&&ue.value==="normal"?1.2*Ae:ue.type===17?Ae*ue.number:AA(ue)?ti(ue,Ae):Ae},Bn={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(ue,Ae){return Ae.type===20&&Ae.value==="none"?null:os.parse(ue,Ae)}},dn={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"inside":return 0;case"outside":default:return 1}}},Qn={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Gn=function(ue){return{name:"margin-"+ue,initialValue:"0",prefix:!1,type:4}},kn=Gn("top"),fr=Gn("right"),or=Gn("bottom"),ur=Gn("left"),jr={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(ue,Ae){return Ae.filter(eo).map(function(fe){switch(fe.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Fr={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"break-word":return"break-word";case"normal":default:return"normal"}}},Qr=function(ue){return{name:"padding-"+ue,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},_r=Qr("top"),Vr=Qr("right"),wa=Qr("bottom"),Ua=Qr("left"),ca={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Ka={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(ue,Ae){switch(Ae){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},ao={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ue,Ae){return Ae.length===1&&Mu(Ae[0],"none")?[]:il(Ae).map(function(fe){for(var ge={color:eA.TRANSPARENT,offsetX:DA,offsetY:DA,blur:DA},He=0,tt=0;tt1?1:0],this.overflowWrap=Kr(Ae,Fr,fe.overflowWrap),this.paddingTop=Kr(Ae,_r,fe.paddingTop),this.paddingRight=Kr(Ae,Vr,fe.paddingRight),this.paddingBottom=Kr(Ae,wa,fe.paddingBottom),this.paddingLeft=Kr(Ae,Ua,fe.paddingLeft),this.paintOrder=Kr(Ae,ko,fe.paintOrder),this.position=Kr(Ae,Ka,fe.position),this.textAlign=Kr(Ae,ca,fe.textAlign),this.textDecorationColor=Kr(Ae,tA,(ge=fe.textDecorationColor)!==null&&ge!==void 0?ge:fe.color),this.textDecorationLine=Kr(Ae,oo,(He=fe.textDecorationLine)!==null&&He!==void 0?He:fe.textDecoration),this.textShadow=Kr(Ae,ao,fe.textShadow),this.textTransform=Kr(Ae,Jr,fe.textTransform),this.transform=Kr(Ae,ga,fe.transform),this.transformOrigin=Kr(Ae,to,fe.transformOrigin),this.visibility=Kr(Ae,Oa,fe.visibility),this.webkitTextStrokeColor=Kr(Ae,Es,fe.webkitTextStrokeColor),this.webkitTextStrokeWidth=Kr(Ae,pA,fe.webkitTextStrokeWidth),this.wordBreak=Kr(Ae,Io,fe.wordBreak),this.zIndex=Kr(Ae,Ei,fe.zIndex)}return ue.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},ue.prototype.isTransparent=function(){return OA(this.backgroundColor)},ue.prototype.isTransformed=function(){return this.transform!==null},ue.prototype.isPositioned=function(){return this.position!==0},ue.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},ue.prototype.isFloating=function(){return this.float!==0},ue.prototype.isInlineLevel=function(){return oa(this.display,4)||oa(this.display,33554432)||oa(this.display,268435456)||oa(this.display,536870912)||oa(this.display,67108864)||oa(this.display,134217728)},ue}(),vA=function(){function ue(Ae,fe){this.content=Kr(Ae,ja,fe.content),this.quotes=Kr(Ae,Sa,fe.quotes)}return ue}(),sl=function(){function ue(Ae,fe){this.counterIncrement=Kr(Ae,ka,fe.counterIncrement),this.counterReset=Kr(Ae,Ba,fe.counterReset)}return ue}(),Kr=function(ue,Ae,fe){var ge=new Wr,He=fe!==null&&typeof fe!="undefined"?fe.toString():Ae.initialValue;ge.write(He);var tt=new xa(ge.read());switch(Ae.type){case 2:var ht=tt.parseComponentValue();return Ae.parse(ue,eo(ht)?ht.value:Ae.initialValue);case 0:return Ae.parse(ue,tt.parseComponentValue());case 1:return Ae.parse(ue,tt.parseComponentValues());case 4:return tt.parseComponentValue();case 3:switch(Ae.format){case"angle":return Qs.parse(ue,tt.parseComponentValue());case"color":return Cs.parse(ue,tt.parseComponentValue());case"image":return os.parse(ue,tt.parseComponentValue());case"length":var jt=tt.parseComponentValue();return Il(jt)?jt:DA;case"length-percentage":var Rt=tt.parseComponentValue();return AA(Rt)?Rt:DA;case"time":return $o.parse(ue,tt.parseComponentValue())}break}},ks="data-html2canvas-debug",fc=function(ue){var Ae=ue.getAttribute(ks);switch(Ae){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},ai=function(ue,Ae){var fe=fc(ue);return fe===1||Ae===fe},Uo=function(){function ue(Ae,fe){if(this.context=Ae,this.textNodes=[],this.elements=[],this.flags=0,ai(fe,3))debugger;this.styles=new kl(Ae,window.getComputedStyle(fe,null)),lh(fe)&&(this.styles.animationDuration.some(function(ge){return ge>0})&&(fe.style.animationDuration="0s"),this.styles.transform!==null&&(fe.style.transform="none")),this.bounds=je(this.context,fe),ai(fe,4)&&(this.flags|=16)}return ue}(),$i="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",TA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Qi=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),yo=0;yo>4,Un[He++]=(ht&15)<<4|jt>>2,Un[He++]=(jt&3)<<6|Rt&63;return bn},vs=function(ue){for(var Ae=ue.length,fe=[],ge=0;ge>Rs,nA=1<>Rs,Zi=Sl+EA,Yl=Zi,fu=32,Pu=Yl+fu,Jl=65536>>js,hd=1<=0){if(Ae<55296||Ae>56319&&Ae<=65535)return fe=this.index[Ae>>Rs],fe=(fe<>Rs)],fe=(fe<>js),fe=this.index[fe],fe+=Ae>>Rs&Md,fe=this.index[fe],fe=(fe<=55296&&He<=56319&&fe>10)+55296,ht%1024+56320)),(He+1===fe||ge.length>16384)&&(tt+=String.fromCharCode.apply(String,ge),ge.length=0)}return tt},Eg=As($i),hi="\xD7",$d="\xF7",bf=function(ue){return Eg.get(ue)},oh=function(ue,Ae,fe){var ge=fe-2,He=Ae[ge],tt=Ae[fe-1],ht=Ae[fe];if(tt===md&&ht===pd)return hi;if(tt===md||tt===pd||tt===Hd||ht===md||ht===pd||ht===Hd)return $d;if(tt===Zc&&[Zc,eu,Cg,Kd].indexOf(ht)!==-1||(tt===Cg||tt===eu)&&(ht===eu||ht===hc)||(tt===Kd||tt===hc)&&ht===hc||ht===Pg||ht===wg||ht===bg||tt===ql)return hi;if(tt===Pg&&ht===zd){for(;He===wg;)He=Ae[--ge];if(He===zd)return hi}if(tt===mc&&ht===mc){for(var jt=0;He===mc;)jt++,He=Ae[--ge];if(jt%2===0)return hi}return $d},Cf=function(ue){var Ae=Gd(ue),fe=Ae.length,ge=0,He=0,tt=Ae.map(bf);return{next:function(){if(ge>=fe)return{done:!0,value:null};for(var ht=hi;geht.x||Un.y>ht.y;return ht=Un,bn===0?!0:Rn});return ue.body.removeChild(Ae),jt},Pf=function(){return typeof new Image().crossOrigin!="undefined"},$u=function(){return typeof new XMLHttpRequest().responseType=="string"},_g=function(ue){var Ae=new Image,fe=ue.createElement("canvas"),ge=fe.getContext("2d");if(!ge)return!1;Ae.src="data:image/svg+xml,";try{ge.drawImage(Ae,0,0),fe.toDataURL()}catch(He){return!1}return!0},Wd=function(ue){return ue[0]===0&&ue[1]===255&&ue[2]===0&&ue[3]===255},Ef=function(ue){var Ae=ue.createElement("canvas"),fe=100;Ae.width=fe,Ae.height=fe;var ge=Ae.getContext("2d");if(!ge)return Promise.reject(!1);ge.fillStyle="rgb(0, 255, 0)",ge.fillRect(0,0,fe,fe);var He=new Image,tt=Ae.toDataURL();He.src=tt;var ht=vd(fe,fe,0,0,He);return ge.fillStyle="red",ge.fillRect(0,0,fe,fe),Vd(ht).then(function(jt){ge.drawImage(jt,0,0);var Rt=ge.getImageData(0,0,fe,fe).data;ge.fillStyle="red",ge.fillRect(0,0,fe,fe);var bn=ue.createElement("div");return bn.style.backgroundImage="url("+tt+")",bn.style.height=fe+"px",Wd(Rt)?Vd(vd(fe,fe,0,0,bn)):Promise.reject(!1)}).then(function(jt){return ge.drawImage(jt,0,0),Wd(ge.getImageData(0,0,fe,fe).data)}).catch(function(){return!1})},vd=function(ue,Ae,fe,ge,He){var tt="http://www.w3.org/2000/svg",ht=document.createElementNS(tt,"svg"),jt=document.createElementNS(tt,"foreignObject");return ht.setAttributeNS(null,"width",ue.toString()),ht.setAttributeNS(null,"height",Ae.toString()),jt.setAttributeNS(null,"width","100%"),jt.setAttributeNS(null,"height","100%"),jt.setAttributeNS(null,"x",fe.toString()),jt.setAttributeNS(null,"y",ge.toString()),jt.setAttributeNS(null,"externalResourcesRequired","true"),ht.appendChild(jt),jt.appendChild(He),ht},Vd=function(ue){return new Promise(function(Ae,fe){var ge=new Image;ge.onload=function(){return Ae(ge)},ge.onerror=fe,ge.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(ue))})},ls={get SUPPORT_RANGE_BOUNDS(){var ue=xg(document);return Object.defineProperty(ls,"SUPPORT_RANGE_BOUNDS",{value:ue}),ue},get SUPPORT_WORD_BREAKING(){var ue=ls.SUPPORT_RANGE_BOUNDS&&Zd(document);return Object.defineProperty(ls,"SUPPORT_WORD_BREAKING",{value:ue}),ue},get SUPPORT_SVG_DRAWING(){var ue=_g(document);return Object.defineProperty(ls,"SUPPORT_SVG_DRAWING",{value:ue}),ue},get SUPPORT_FOREIGNOBJECT_DRAWING(){var ue=typeof Array.from=="function"&&typeof window.fetch=="function"?Ef(document):Promise.resolve(!1);return Object.defineProperty(ls,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:ue}),ue},get SUPPORT_CORS_IMAGES(){var ue=Pf();return Object.defineProperty(ls,"SUPPORT_CORS_IMAGES",{value:ue}),ue},get SUPPORT_RESPONSE_TYPE(){var ue=$u();return Object.defineProperty(ls,"SUPPORT_RESPONSE_TYPE",{value:ue}),ue},get SUPPORT_CORS_XHR(){var ue="withCredentials"in new XMLHttpRequest;return Object.defineProperty(ls,"SUPPORT_CORS_XHR",{value:ue}),ue},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var ue=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(ls,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:ue}),ue}},Eu=function(){function ue(Ae,fe){this.text=Ae,this.bounds=fe}return ue}(),Xd=function(ue,Ae,fe,ge){var He=Zu(Ae,fe),tt=[],ht=0;return He.forEach(function(jt){if(fe.textDecorationLine.length||jt.trim().length>0)if(ls.SUPPORT_RANGE_BOUNDS){var Rt=ci(ge,ht,jt.length).getClientRects();if(Rt.length>1){var bn=Ti(jt),Un=0;bn.forEach(function(dr){tt.push(new Eu(dr,Ge.fromDOMRectList(ue,ci(ge,Un+ht,dr.length).getClientRects()))),Un+=dr.length})}else tt.push(new Eu(jt,Ge.fromDOMRectList(ue,Rt)))}else{var Rn=ge.splitText(jt.length);tt.push(new Eu(jt,ih(ue,ge))),ge=Rn}else ls.SUPPORT_RANGE_BOUNDS||(ge=ge.splitText(jt.length));ht+=jt.length}),tt},ih=function(ue,Ae){var fe=Ae.ownerDocument;if(fe){var ge=fe.createElement("html2canvaswrapper");ge.appendChild(Ae.cloneNode(!0));var He=Ae.parentNode;if(He){He.replaceChild(ge,Ae);var tt=je(ue,ge);return ge.firstChild&&He.replaceChild(ge.firstChild,ge),tt}}return Ge.EMPTY},ci=function(ue,Ae,fe){var ge=ue.ownerDocument;if(!ge)throw new Error("Node has no owner document");var He=ge.createRange();return He.setStart(ue,Ae),He.setEnd(ue,Ae+fe),He},Ti=function(ue){if(ls.SUPPORT_NATIVE_TEXT_SEGMENTATION){var Ae=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(Ae.segment(ue)).map(function(fe){return fe.segment})}return Fg(ue)},Rl=function(ue,Ae){if(ls.SUPPORT_NATIVE_TEXT_SEGMENTATION){var fe=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(fe.segment(ue)).map(function(ge){return ge.segment})}return Ff(ue,Ae)},Zu=function(ue,Ae){return Ae.letterSpacing!==0?Ti(ue):Rl(ue,Ae)},Wu=[32,160,4961,65792,65793,4153,4241],Ff=function(ue,Ae){for(var fe=si(ue,{lineBreak:Ae.lineBreak,wordBreak:Ae.overflowWrap==="break-word"?"break-word":Ae.wordBreak}),ge=[],He,tt=function(){if(He.value){var ht=He.value.slice(),jt=Be(ht),Rt="";jt.forEach(function(bn){Wu.indexOf(bn)===-1?Rt+=Le(bn):(Rt.length&&ge.push(Rt),ge.push(Le(bn)),Rt="")}),Rt.length&&ge.push(Rt)}};!(He=fe.next()).done;)tt();return ge},Lg=function(){function ue(Ae,fe,ge){this.text=Ig(fe.data,ge.textTransform),this.textBounds=Xd(Ae,this.text,ge,fe)}return ue}(),Ig=function(ue,Ae){switch(Ae){case 1:return ue.toLowerCase();case 3:return ue.replace(Ug,Ng);case 2:return ue.toUpperCase();default:return ue}},Ug=/(^|\s|:|-|\(|\))([a-z])/g,Ng=function(ue,Ae,fe){return ue.length>0?Ae+fe.toUpperCase():ue},t0=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this;return He.src=ge.currentSrc||ge.src,He.intrinsicWidth=ge.naturalWidth,He.intrinsicHeight=ge.naturalHeight,He.context.cache.addImage(He.src),He}return Ae}(Uo),n0=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this;return He.canvas=ge,He.intrinsicWidth=ge.width,He.intrinsicHeight=ge.height,He}return Ae}(Uo),r0=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this,tt=new XMLSerializer,ht=je(fe,ge);return ge.setAttribute("width",ht.width+"px"),ge.setAttribute("height",ht.height+"px"),He.svg="data:image/svg+xml,"+encodeURIComponent(tt.serializeToString(ge)),He.intrinsicWidth=ge.width.baseVal.value,He.intrinsicHeight=ge.height.baseVal.value,He.context.cache.addImage(He.svg),He}return Ae}(Uo),a0=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this;return He.value=ge.value,He}return Ae}(Uo),Ah=function(ue){we(Ae,ue);function Ae(fe,ge){var He=ue.call(this,fe,ge)||this;return He.start=ge.start,He.reversed=typeof ge.reversed=="boolean"&&ge.reversed===!0,He}return Ae}(Uo),pc=[{type:15,flags:0,unit:"px",number:3}],Sm=[{type:16,flags:0,number:50}],ym=function(ue){return ue.width>ue.height?new Ge(ue.left+(ue.width-ue.height)/2,ue.top,ue.height,ue.height):ue.width0)fe.textNodes.push(new Lg(ue,He,fe.styles));else if(Jd(He))if(m0(He)&&He.assignedNodes)He.assignedNodes().forEach(function(jt){return Yd(ue,jt,fe,ge)});else{var ht=s0(ue,He);ht.styles.isVisible()&&(wm(He,ht,ge)?ht.flags|=4:bm(ht.styles)&&(ht.flags|=2),Qg.indexOf(He.tagName)!==-1&&(ht.flags|=8),fe.elements.push(ht),He.slot,He.shadowRoot?Yd(ue,He.shadowRoot,ht,ge):!Tg(He)&&!c0(He)&&!Uf(He)&&Yd(ue,He,ht,ge))}},s0=function(ue,Ae){return ch(Ae)?new t0(ue,Ae):d0(Ae)?new n0(ue,Ae):c0(Ae)?new r0(ue,Ae):Cm(Ae)?new a0(ue,Ae):Pm(Ae)?new Ah(ue,Ae):Em(Ae)?new Og(ue,Ae):Uf(Ae)?new i0(ue,Ae):Tg(Ae)?new sh(ue,Ae):f0(Ae)?new A0(ue,Ae):new Uo(ue,Ae)},l0=function(ue,Ae){var fe=s0(ue,Ae);return fe.flags|=4,Yd(ue,Ae,fe,fe),fe},wm=function(ue,Ae,fe){return Ae.styles.isPositionedWithZIndex()||Ae.styles.opacity<1||Ae.styles.isTransformed()||uh(ue)&&fe.styles.isTransparent()},bm=function(ue){return ue.isPositioned()||ue.isFloating()},u0=function(ue){return ue.nodeType===Node.TEXT_NODE},Jd=function(ue){return ue.nodeType===Node.ELEMENT_NODE},lh=function(ue){return Jd(ue)&&typeof ue.style!="undefined"&&!If(ue)},If=function(ue){return typeof ue.className=="object"},Cm=function(ue){return ue.tagName==="LI"},Pm=function(ue){return ue.tagName==="OL"},Em=function(ue){return ue.tagName==="INPUT"},Fm=function(ue){return ue.tagName==="HTML"},c0=function(ue){return ue.tagName==="svg"},uh=function(ue){return ue.tagName==="BODY"},d0=function(ue){return ue.tagName==="CANVAS"},g0=function(ue){return ue.tagName==="VIDEO"},ch=function(ue){return ue.tagName==="IMG"},f0=function(ue){return ue.tagName==="IFRAME"},h0=function(ue){return ue.tagName==="STYLE"},dh=function(ue){return ue.tagName==="SCRIPT"},Tg=function(ue){return ue.tagName==="TEXTAREA"},Uf=function(ue){return ue.tagName==="SELECT"},m0=function(ue){return ue.tagName==="SLOT"},p0=function(ue){return ue.tagName.indexOf("-")>0},Pp=function(){function ue(){this.counters={}}return ue.prototype.getCounterValue=function(Ae){var fe=this.counters[Ae];return fe&&fe.length?fe[fe.length-1]:1},ue.prototype.getCounterValues=function(Ae){var fe=this.counters[Ae];return fe||[]},ue.prototype.pop=function(Ae){var fe=this;Ae.forEach(function(ge){return fe.counters[ge].pop()})},ue.prototype.parse=function(Ae){var fe=this,ge=Ae.counterIncrement,He=Ae.counterReset,tt=!0;ge!==null&&ge.forEach(function(jt){var Rt=fe.counters[jt.counter];Rt&&jt.increment!==0&&(tt=!1,Rt.length||Rt.push(1),Rt[Math.max(0,Rt.length-1)]+=jt.increment)});var ht=[];return tt&&He.forEach(function(jt){var Rt=fe.counters[jt.counter];ht.push(jt.counter),Rt||(Rt=fe.counters[jt.counter]=[]),Rt.push(jt.reset)}),ht},ue}(),gh={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},fh={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},xm={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},v0={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},Bd=function(ue,Ae,fe,ge,He,tt){return uefe?Rg(ue,He,tt.length>0):ge.integers.reduce(function(ht,jt,Rt){for(;ue>=jt;)ue-=jt,ht+=ge.values[Rt];return ht},"")+tt},_m=function(ue,Ae,fe,ge){var He="";do fe||ue--,He=ge(ue)+He,ue/=Ae;while(ue*Ae>=Ae);return He},qA=function(ue,Ae,fe,ge,He){var tt=fe-Ae+1;return(ue<0?"-":"")+(_m(Math.abs(ue),tt,ge,function(ht){return Le(Math.floor(ht%tt)+Ae)})+He)},Wc=function(ue,Ae,fe){fe===void 0&&(fe=". ");var ge=Ae.length;return _m(Math.abs(ue),ge,!1,function(He){return Ae[Math.floor(He%ge)]})+fe},Sd=1,vc=2,Bc=4,kg=8,Sc=function(ue,Ae,fe,ge,He,tt){if(ue<-9999||ue>9999)return Rg(ue,4,He.length>0);var ht=Math.abs(ue),jt=He;if(ht===0)return Ae[0]+jt;for(var Rt=0;ht>0&&Rt<=4;Rt++){var bn=ht%10;bn===0&&oa(tt,Sd)&&jt!==""?jt=Ae[bn]+jt:bn>1||bn===1&&Rt===0||bn===1&&Rt===1&&oa(tt,vc)||bn===1&&Rt===1&&oa(tt,Bc)&&ue>100||bn===1&&Rt>1&&oa(tt,kg)?jt=Ae[bn]+(Rt>0?fe[Rt-1]:"")+jt:bn===1&&Rt>0&&(jt=fe[Rt-1]+jt),ht=Math.floor(ht/10)}return(ue<0?ge:"")+jt},B0="\u5341\u767E\u5343\u842C",Lm="\u62FE\u4F70\u4EDF\u842C",S0="\u30DE\u30A4\u30CA\u30B9",hh="\uB9C8\uC774\uB108\uC2A4",Rg=function(ue,Ae,fe){var ge=fe?". ":"",He=fe?"\u3001":"",tt=fe?", ":"",ht=fe?" ":"";switch(Ae){case 0:return"\u2022"+ht;case 1:return"\u25E6"+ht;case 2:return"\u25FE"+ht;case 5:var jt=qA(ue,48,57,!0,ge);return jt.length<4?"0"+jt:jt;case 4:return Wc(ue,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",He);case 6:return Bd(ue,1,3999,gh,3,ge).toLowerCase();case 7:return Bd(ue,1,3999,gh,3,ge);case 8:return qA(ue,945,969,!1,ge);case 9:return qA(ue,97,122,!1,ge);case 10:return qA(ue,65,90,!1,ge);case 11:return qA(ue,1632,1641,!0,ge);case 12:case 49:return Bd(ue,1,9999,fh,3,ge);case 35:return Bd(ue,1,9999,fh,3,ge).toLowerCase();case 13:return qA(ue,2534,2543,!0,ge);case 14:case 30:return qA(ue,6112,6121,!0,ge);case 15:return Wc(ue,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",He);case 16:return Wc(ue,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",He);case 17:case 48:return Sc(ue,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",B0,"\u8CA0",He,vc|Bc|kg);case 47:return Sc(ue,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Lm,"\u8CA0",He,Sd|vc|Bc|kg);case 42:return Sc(ue,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",B0,"\u8D1F",He,vc|Bc|kg);case 41:return Sc(ue,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Lm,"\u8D1F",He,Sd|vc|Bc|kg);case 26:return Sc(ue,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",S0,He,0);case 25:return Sc(ue,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",S0,He,Sd|vc|Bc);case 31:return Sc(ue,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",hh,tt,Sd|vc|Bc);case 33:return Sc(ue,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",hh,tt,0);case 32:return Sc(ue,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",hh,tt,Sd|vc|Bc);case 18:return qA(ue,2406,2415,!0,ge);case 20:return Bd(ue,1,19999,v0,3,ge);case 21:return qA(ue,2790,2799,!0,ge);case 22:return qA(ue,2662,2671,!0,ge);case 22:return Bd(ue,1,10999,xm,3,ge);case 23:return Wc(ue,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return Wc(ue,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return qA(ue,3302,3311,!0,ge);case 28:return Wc(ue,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",He);case 29:return Wc(ue,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",He);case 34:return qA(ue,3792,3801,!0,ge);case 37:return qA(ue,6160,6169,!0,ge);case 38:return qA(ue,4160,4169,!0,ge);case 39:return qA(ue,2918,2927,!0,ge);case 40:return qA(ue,1776,1785,!0,ge);case 43:return qA(ue,3046,3055,!0,ge);case 44:return qA(ue,3174,3183,!0,ge);case 45:return qA(ue,3664,3673,!0,ge);case 46:return qA(ue,3872,3881,!0,ge);case 3:default:return qA(ue,48,57,!0,ge)}},y0="data-html2canvas-ignore",Im=function(){function ue(Ae,fe,ge){if(this.context=Ae,this.options=ge,this.scrolledElements=[],this.referenceElement=fe,this.counters=new Pp,this.quoteDepth=0,!fe.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(fe.ownerDocument.documentElement,!1)}return ue.prototype.toIFrame=function(Ae,fe){var ge=this,He=Um(Ae,fe);if(!He.contentWindow)return Promise.reject("Unable to find iframe window");var tt=Ae.defaultView.pageXOffset,ht=Ae.defaultView.pageYOffset,jt=He.contentWindow,Rt=jt.document,bn=Mg(He).then(function(){return be(ge,void 0,void 0,function(){var Un,Rn;return ze(this,function(dr){switch(dr.label){case 0:return this.scrolledElements.forEach(C0),jt&&(jt.scrollTo(fe.left,fe.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(jt.scrollY!==fe.top||jt.scrollX!==fe.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(jt.scrollX-fe.left,jt.scrollY-fe.top,0,0))),Un=this.options.onclone,Rn=this.clonedReferenceElement,typeof Rn=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Rt.fonts&&Rt.fonts.ready?[4,Rt.fonts.ready]:[3,2];case 1:dr.sent(),dr.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Nm(Rt)]:[3,4];case 3:dr.sent(),dr.label=4;case 4:return typeof Un=="function"?[2,Promise.resolve().then(function(){return Un(Rt,Rn)}).then(function(){return He})]:[2,He]}})})});return Rt.open(),Rt.write(Dm(document.doctype)+""),b0(this.referenceElement.ownerDocument,tt,ht),Rt.replaceChild(Rt.adoptNode(this.documentElement),Rt.documentElement),Rt.close(),bn},ue.prototype.createElementClone=function(Ae){if(ai(Ae,2))debugger;if(d0(Ae))return this.createCanvasClone(Ae);if(g0(Ae))return this.createVideoClone(Ae);if(h0(Ae))return this.createStyleClone(Ae);var fe=Ae.cloneNode(!1);return ch(fe)&&(ch(Ae)&&Ae.currentSrc&&Ae.currentSrc!==Ae.src&&(fe.src=Ae.currentSrc,fe.srcset=""),fe.loading==="lazy"&&(fe.loading="eager")),p0(fe)?this.createCustomElementClone(fe):fe},ue.prototype.createCustomElementClone=function(Ae){var fe=document.createElement("html2canvascustomelement");return Nf(Ae.style,fe),fe},ue.prototype.createStyleClone=function(Ae){try{var fe=Ae.sheet;if(fe&&fe.cssRules){var ge=[].slice.call(fe.cssRules,0).reduce(function(tt,ht){return ht&&typeof ht.cssText=="string"?tt+ht.cssText:tt},""),He=Ae.cloneNode(!1);return He.textContent=ge,He}}catch(tt){if(this.context.logger.error("Unable to access cssRules property",tt),tt.name!=="SecurityError")throw tt}return Ae.cloneNode(!1)},ue.prototype.createCanvasClone=function(Ae){var fe;if(this.options.inlineImages&&Ae.ownerDocument){var ge=Ae.ownerDocument.createElement("img");try{return ge.src=Ae.toDataURL(),ge}catch(bn){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",Ae)}}var He=Ae.cloneNode(!1);try{He.width=Ae.width,He.height=Ae.height;var tt=Ae.getContext("2d"),ht=He.getContext("2d");if(ht)if(!this.options.allowTaint&&tt)ht.putImageData(tt.getImageData(0,0,Ae.width,Ae.height),0,0);else{var jt=(fe=Ae.getContext("webgl2"))!==null&&fe!==void 0?fe:Ae.getContext("webgl");if(jt){var Rt=jt.getContextAttributes();(Rt==null?void 0:Rt.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",Ae)}ht.drawImage(Ae,0,0)}return He}catch(bn){this.context.logger.info("Unable to clone canvas as it is tainted",Ae)}return He},ue.prototype.createVideoClone=function(Ae){var fe=Ae.ownerDocument.createElement("canvas");fe.width=Ae.offsetWidth,fe.height=Ae.offsetHeight;var ge=fe.getContext("2d");try{return ge&&(ge.drawImage(Ae,0,0,fe.width,fe.height),this.options.allowTaint||ge.getImageData(0,0,fe.width,fe.height)),fe}catch(tt){this.context.logger.info("Unable to clone video as it is tainted",Ae)}var He=Ae.ownerDocument.createElement("canvas");return He.width=Ae.offsetWidth,He.height=Ae.offsetHeight,He},ue.prototype.appendChildNode=function(Ae,fe,ge){(!Jd(fe)||!dh(fe)&&!fe.hasAttribute(y0)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(fe)))&&(!this.options.copyStyles||!Jd(fe)||!h0(fe))&&Ae.appendChild(this.cloneNode(fe,ge))},ue.prototype.cloneChildNodes=function(Ae,fe,ge){for(var He=this,tt=Ae.shadowRoot?Ae.shadowRoot.firstChild:Ae.firstChild;tt;tt=tt.nextSibling)if(Jd(tt)&&m0(tt)&&typeof tt.assignedNodes=="function"){var ht=tt.assignedNodes();ht.length&&ht.forEach(function(jt){return He.appendChildNode(fe,jt,ge)})}else this.appendChildNode(fe,tt,ge)},ue.prototype.cloneNode=function(Ae,fe){if(u0(Ae))return document.createTextNode(Ae.data);if(!Ae.ownerDocument)return Ae.cloneNode(!1);var ge=Ae.ownerDocument.defaultView;if(ge&&Jd(Ae)&&(lh(Ae)||If(Ae))){var He=this.createElementClone(Ae);He.style.transitionProperty="none";var tt=ge.getComputedStyle(Ae),ht=ge.getComputedStyle(Ae,":before"),jt=ge.getComputedStyle(Ae,":after");this.referenceElement===Ae&&lh(He)&&(this.clonedReferenceElement=He),uh(He)&&Fp(He);var Rt=this.counters.parse(new sl(this.context,tt)),bn=this.resolvePseudoContent(Ae,He,ht,jg.BEFORE);p0(Ae)&&(fe=!0),g0(Ae)||this.cloneChildNodes(Ae,He,fe),bn&&He.insertBefore(bn,He.firstChild);var Un=this.resolvePseudoContent(Ae,He,jt,jg.AFTER);return Un&&He.appendChild(Un),this.counters.pop(Rt),(tt&&(this.options.copyStyles||If(Ae))&&!f0(Ae)||fe)&&Nf(tt,He),(Ae.scrollTop!==0||Ae.scrollLeft!==0)&&this.scrolledElements.push([He,Ae.scrollLeft,Ae.scrollTop]),(Tg(Ae)||Uf(Ae))&&(Tg(He)||Uf(He))&&(He.value=Ae.value),He}return Ae.cloneNode(!1)},ue.prototype.resolvePseudoContent=function(Ae,fe,ge,He){var tt=this;if(ge){var ht=ge.content,jt=fe.ownerDocument;if(!(!jt||!ht||ht==="none"||ht==="-moz-alt-content"||ge.display==="none")){this.counters.parse(new sl(this.context,ge));var Rt=new vA(this.context,ge),bn=jt.createElement("html2canvaspseudoelement");Nf(ge,bn),Rt.content.forEach(function(Rn){if(Rn.type===0)bn.appendChild(jt.createTextNode(Rn.value));else if(Rn.type===22){var dr=jt.createElement("img");dr.src=Rn.value,dr.style.opacity="1",bn.appendChild(dr)}else if(Rn.type===18){if(Rn.name==="attr"){var Ca=Rn.values.filter(eo);Ca.length&&bn.appendChild(jt.createTextNode(Ae.getAttribute(Ca[0].value)||""))}else if(Rn.name==="counter"){var Mr=Rn.values.filter(Ll),ia=Mr[0],xo=Mr[1];if(ia&&eo(ia)){var Ra=tt.counters.getCounterValue(ia.value),Qa=xo&&eo(xo)?Qn.parse(tt.context,xo.value):3;bn.appendChild(jt.createTextNode(Rg(Ra,Qa,!1)))}}else if(Rn.name==="counters"){var ho=Rn.values.filter(Ll),ia=ho[0],Mo=ho[1],xo=ho[2];if(ia&&eo(ia)){var Ao=tt.counters.getCounterValues(ia.value),ha=xo&&eo(xo)?Qn.parse(tt.context,xo.value):3,mi=Mo&&Mo.type===0?Mo.value:"",Vo=Ao.map(function(Ml){return Rg(Ml,ha,!1)}).join(mi);bn.appendChild(jt.createTextNode(Vo))}}}else if(Rn.type===20)switch(Rn.value){case"open-quote":bn.appendChild(jt.createTextNode(Ja(Rt.quotes,tt.quoteDepth++,!0)));break;case"close-quote":bn.appendChild(jt.createTextNode(Ja(Rt.quotes,--tt.quoteDepth,!1)));break;default:bn.appendChild(jt.createTextNode(Rn.value))}}),bn.className=mh+" "+Df;var Un=He===jg.BEFORE?" "+mh:" "+Df;return If(fe)?fe.className.baseValue+=Un:fe.className+=Un,bn}}},ue.destroy=function(Ae){return Ae.parentNode?(Ae.parentNode.removeChild(Ae),!0):!1},ue}(),jg;(function(ue){ue[ue.BEFORE=0]="BEFORE",ue[ue.AFTER=1]="AFTER"})(jg||(jg={}));var Um=function(ue,Ae){var fe=ue.createElement("iframe");return fe.className="html2canvas-container",fe.style.visibility="hidden",fe.style.position="fixed",fe.style.left="-10000px",fe.style.top="0px",fe.style.border="0",fe.width=Ae.width.toString(),fe.height=Ae.height.toString(),fe.scrolling="no",fe.setAttribute(y0,"true"),ue.body.appendChild(fe),fe},w0=function(ue){return new Promise(function(Ae){if(ue.complete){Ae();return}if(!ue.src){Ae();return}ue.onload=Ae,ue.onerror=Ae})},Nm=function(ue){return Promise.all([].slice.call(ue.images,0).map(w0))},Mg=function(ue){return new Promise(function(Ae,fe){var ge=ue.contentWindow;if(!ge)return fe("No window assigned for iframe");var He=ge.document;ge.onload=ue.onload=function(){ge.onload=ue.onload=null;var tt=setInterval(function(){He.body.childNodes.length>0&&He.readyState==="complete"&&(clearInterval(tt),Ae(ue))},50)}})},Ep=["all","d","content"],Nf=function(ue,Ae){for(var fe=ue.length-1;fe>=0;fe--){var ge=ue.item(fe);Ep.indexOf(ge)===-1&&Ae.style.setProperty(ge,ue.getPropertyValue(ge))}return Ae},Dm=function(ue){var Ae="";return ue&&(Ae+=""),Ae},b0=function(ue,Ae,fe){ue&&ue.defaultView&&(Ae!==ue.defaultView.pageXOffset||fe!==ue.defaultView.pageYOffset)&&ue.defaultView.scrollTo(Ae,fe)},C0=function(ue){var Ae=ue[0],fe=ue[1],ge=ue[2];Ae.scrollLeft=fe,Ae.scrollTop=ge},P0=":before",E0=":after",mh="___html2canvas___pseudoelement_before",Df="___html2canvas___pseudoelement_after",F0=`{ content: "" !important; display: none !important; }`,Fp=function(ue){x0(ue,"."+mh+P0+F0+` .`+Df+E0+F0)},x0=function(ue,Ae){var fe=ue.ownerDocument;if(fe){var ge=fe.createElement("style");ge.textContent=Ae,ue.appendChild(ge)}},_0=function(){function ue(){}return ue.getOrigin=function(Ae){var fe=ue._link;return fe?(fe.href=Ae,fe.href=fe.href,fe.protocol+fe.hostname+fe.port):"about:blank"},ue.isSameOrigin=function(Ae){return ue.getOrigin(Ae)===ue._origin},ue.setContext=function(Ae){ue._link=Ae.document.createElement("a"),ue._origin=ue.getOrigin(Ae.location.href)},ue._origin="about:blank",ue}(),tu=function(){function ue(Ae,fe){this.context=Ae,this._options=fe,this._cache={}}return ue.prototype.addImage=function(Ae){var fe=Promise.resolve();return this.has(Ae)||(Bh(Ae)||Of(Ae))&&(this._cache[Ae]=this.loadImage(Ae)).catch(function(){}),fe},ue.prototype.match=function(Ae){return this._cache[Ae]},ue.prototype.loadImage=function(Ae){return be(this,void 0,void 0,function(){var fe,ge,He,tt,ht=this;return ze(this,function(jt){switch(jt.label){case 0:return fe=_0.isSameOrigin(Ae),ge=!Hg(Ae)&&this._options.useCORS===!0&&ls.SUPPORT_CORS_IMAGES&&!fe,He=!Hg(Ae)&&!fe&&!Bh(Ae)&&typeof this._options.proxy=="string"&&ls.SUPPORT_CORS_XHR&&!ge,!fe&&this._options.allowTaint===!1&&!Hg(Ae)&&!Bh(Ae)&&!He&&!ge?[2]:(tt=Ae,He?[4,this.proxy(tt)]:[3,2]);case 1:tt=jt.sent(),jt.label=2;case 2:return this.context.logger.debug("Added image "+Ae.substring(0,256)),[4,new Promise(function(Rt,bn){var Un=new Image;Un.onload=function(){return Rt(Un)},Un.onerror=bn,(Om(tt)||ge)&&(Un.crossOrigin="anonymous"),Un.src=tt,Un.complete===!0&&setTimeout(function(){return Rt(Un)},500),ht._options.imageTimeout>0&&setTimeout(function(){return bn("Timed out ("+ht._options.imageTimeout+"ms) loading image")},ht._options.imageTimeout)})];case 3:return[2,jt.sent()]}})})},ue.prototype.has=function(Ae){return typeof this._cache[Ae]!="undefined"},ue.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},ue.prototype.proxy=function(Ae){var fe=this,ge=this._options.proxy;if(!ge)throw new Error("No proxy defined");var He=Ae.substring(0,256);return new Promise(function(tt,ht){var jt=ls.SUPPORT_RESPONSE_TYPE?"blob":"text",Rt=new XMLHttpRequest;Rt.onload=function(){if(Rt.status===200)if(jt==="text")tt(Rt.response);else{var Rn=new FileReader;Rn.addEventListener("load",function(){return tt(Rn.result)},!1),Rn.addEventListener("error",function(dr){return ht(dr)},!1),Rn.readAsDataURL(Rt.response)}else ht("Failed to proxy resource "+He+" with status code "+Rt.status)},Rt.onerror=ht;var bn=ge.indexOf("?")>-1?"&":"?";if(Rt.open("GET",""+ge+bn+"url="+encodeURIComponent(Ae)+"&responseType="+jt),jt!=="text"&&Rt instanceof XMLHttpRequest&&(Rt.responseType=jt),fe._options.imageTimeout){var Un=fe._options.imageTimeout;Rt.timeout=Un,Rt.ontimeout=function(){return ht("Timed out ("+Un+"ms) proxying "+He)}}Rt.send()})},ue}(),ph=/^data:image\/svg\+xml/i,L0=/^data:image\/.*;base64,/i,vh=/^data:image\/.*/i,Of=function(ue){return ls.SUPPORT_SVG_DRAWING||!Qm(ue)},Hg=function(ue){return vh.test(ue)},Om=function(ue){return L0.test(ue)},Bh=function(ue){return ue.substr(0,4)==="blob"},Qm=function(ue){return ue.substr(-3).toLowerCase()==="svg"||ph.test(ue)},ba=function(){function ue(Ae,fe){this.type=0,this.x=Ae,this.y=fe}return ue.prototype.add=function(Ae,fe){return new ue(this.x+Ae,this.y+fe)},ue}(),yd=function(ue,Ae,fe){return new ba(ue.x+(Ae.x-ue.x)*fe,ue.y+(Ae.y-ue.y)*fe)},Qf=function(){function ue(Ae,fe,ge,He){this.type=1,this.start=Ae,this.startControl=fe,this.endControl=ge,this.end=He}return ue.prototype.subdivide=function(Ae,fe){var ge=yd(this.start,this.startControl,Ae),He=yd(this.startControl,this.endControl,Ae),tt=yd(this.endControl,this.end,Ae),ht=yd(ge,He,Ae),jt=yd(He,tt,Ae),Rt=yd(ht,jt,Ae);return fe?new ue(this.start,ge,ht,Rt):new ue(Rt,jt,tt,this.end)},ue.prototype.add=function(Ae,fe){return new ue(this.start.add(Ae,fe),this.startControl.add(Ae,fe),this.endControl.add(Ae,fe),this.end.add(Ae,fe))},ue.prototype.reverse=function(){return new ue(this.end,this.endControl,this.startControl,this.start)},ue}(),hu=function(ue){return ue.type===1},Tm=function(){function ue(Ae){var fe=Ae.styles,ge=Ae.bounds,He=Ul(fe.borderTopLeftRadius,ge.width,ge.height),tt=He[0],ht=He[1],jt=Ul(fe.borderTopRightRadius,ge.width,ge.height),Rt=jt[0],bn=jt[1],Un=Ul(fe.borderBottomRightRadius,ge.width,ge.height),Rn=Un[0],dr=Un[1],Ca=Ul(fe.borderBottomLeftRadius,ge.width,ge.height),Mr=Ca[0],ia=Ca[1],xo=[];xo.push((tt+Rt)/ge.width),xo.push((Mr+Rn)/ge.width),xo.push((ht+ia)/ge.height),xo.push((bn+dr)/ge.height);var Ra=Math.max.apply(Math,xo);Ra>1&&(tt/=Ra,ht/=Ra,Rt/=Ra,bn/=Ra,Rn/=Ra,dr/=Ra,Mr/=Ra,ia/=Ra);var Qa=ge.width-Rt,ho=ge.height-dr,Mo=ge.width-Rn,Ao=ge.height-ia,ha=fe.borderTopWidth,mi=fe.borderRightWidth,Vo=fe.borderBottomWidth,mo=fe.borderLeftWidth,aa=ti(fe.paddingTop,Ae.bounds.width),Ml=ti(fe.paddingRight,Ae.bounds.width),ru=ti(fe.paddingBottom,Ae.bounds.width),Wi=ti(fe.paddingLeft,Ae.bounds.width);this.topLeftBorderDoubleOuterBox=tt>0||ht>0?FA(ge.left+mo/3,ge.top+ha/3,tt-mo/3,ht-ha/3,Ki.TOP_LEFT):new ba(ge.left+mo/3,ge.top+ha/3),this.topRightBorderDoubleOuterBox=tt>0||ht>0?FA(ge.left+Qa,ge.top+ha/3,Rt-mi/3,bn-ha/3,Ki.TOP_RIGHT):new ba(ge.left+ge.width-mi/3,ge.top+ha/3),this.bottomRightBorderDoubleOuterBox=Rn>0||dr>0?FA(ge.left+Mo,ge.top+ho,Rn-mi/3,dr-Vo/3,Ki.BOTTOM_RIGHT):new ba(ge.left+ge.width-mi/3,ge.top+ge.height-Vo/3),this.bottomLeftBorderDoubleOuterBox=Mr>0||ia>0?FA(ge.left+mo/3,ge.top+Ao,Mr-mo/3,ia-Vo/3,Ki.BOTTOM_LEFT):new ba(ge.left+mo/3,ge.top+ge.height-Vo/3),this.topLeftBorderDoubleInnerBox=tt>0||ht>0?FA(ge.left+mo*2/3,ge.top+ha*2/3,tt-mo*2/3,ht-ha*2/3,Ki.TOP_LEFT):new ba(ge.left+mo*2/3,ge.top+ha*2/3),this.topRightBorderDoubleInnerBox=tt>0||ht>0?FA(ge.left+Qa,ge.top+ha*2/3,Rt-mi*2/3,bn-ha*2/3,Ki.TOP_RIGHT):new ba(ge.left+ge.width-mi*2/3,ge.top+ha*2/3),this.bottomRightBorderDoubleInnerBox=Rn>0||dr>0?FA(ge.left+Mo,ge.top+ho,Rn-mi*2/3,dr-Vo*2/3,Ki.BOTTOM_RIGHT):new ba(ge.left+ge.width-mi*2/3,ge.top+ge.height-Vo*2/3),this.bottomLeftBorderDoubleInnerBox=Mr>0||ia>0?FA(ge.left+mo*2/3,ge.top+Ao,Mr-mo*2/3,ia-Vo*2/3,Ki.BOTTOM_LEFT):new ba(ge.left+mo*2/3,ge.top+ge.height-Vo*2/3),this.topLeftBorderStroke=tt>0||ht>0?FA(ge.left+mo/2,ge.top+ha/2,tt-mo/2,ht-ha/2,Ki.TOP_LEFT):new ba(ge.left+mo/2,ge.top+ha/2),this.topRightBorderStroke=tt>0||ht>0?FA(ge.left+Qa,ge.top+ha/2,Rt-mi/2,bn-ha/2,Ki.TOP_RIGHT):new ba(ge.left+ge.width-mi/2,ge.top+ha/2),this.bottomRightBorderStroke=Rn>0||dr>0?FA(ge.left+Mo,ge.top+ho,Rn-mi/2,dr-Vo/2,Ki.BOTTOM_RIGHT):new ba(ge.left+ge.width-mi/2,ge.top+ge.height-Vo/2),this.bottomLeftBorderStroke=Mr>0||ia>0?FA(ge.left+mo/2,ge.top+Ao,Mr-mo/2,ia-Vo/2,Ki.BOTTOM_LEFT):new ba(ge.left+mo/2,ge.top+ge.height-Vo/2),this.topLeftBorderBox=tt>0||ht>0?FA(ge.left,ge.top,tt,ht,Ki.TOP_LEFT):new ba(ge.left,ge.top),this.topRightBorderBox=Rt>0||bn>0?FA(ge.left+Qa,ge.top,Rt,bn,Ki.TOP_RIGHT):new ba(ge.left+ge.width,ge.top),this.bottomRightBorderBox=Rn>0||dr>0?FA(ge.left+Mo,ge.top+ho,Rn,dr,Ki.BOTTOM_RIGHT):new ba(ge.left+ge.width,ge.top+ge.height),this.bottomLeftBorderBox=Mr>0||ia>0?FA(ge.left,ge.top+Ao,Mr,ia,Ki.BOTTOM_LEFT):new ba(ge.left,ge.top+ge.height),this.topLeftPaddingBox=tt>0||ht>0?FA(ge.left+mo,ge.top+ha,Math.max(0,tt-mo),Math.max(0,ht-ha),Ki.TOP_LEFT):new ba(ge.left+mo,ge.top+ha),this.topRightPaddingBox=Rt>0||bn>0?FA(ge.left+Math.min(Qa,ge.width-mi),ge.top+ha,Qa>ge.width+mi?0:Math.max(0,Rt-mi),Math.max(0,bn-ha),Ki.TOP_RIGHT):new ba(ge.left+ge.width-mi,ge.top+ha),this.bottomRightPaddingBox=Rn>0||dr>0?FA(ge.left+Math.min(Mo,ge.width-mo),ge.top+Math.min(ho,ge.height-Vo),Math.max(0,Rn-mi),Math.max(0,dr-Vo),Ki.BOTTOM_RIGHT):new ba(ge.left+ge.width-mi,ge.top+ge.height-Vo),this.bottomLeftPaddingBox=Mr>0||ia>0?FA(ge.left+mo,ge.top+Math.min(Ao,ge.height-Vo),Math.max(0,Mr-mo),Math.max(0,ia-Vo),Ki.BOTTOM_LEFT):new ba(ge.left+mo,ge.top+ge.height-Vo),this.topLeftContentBox=tt>0||ht>0?FA(ge.left+mo+Wi,ge.top+ha+aa,Math.max(0,tt-(mo+Wi)),Math.max(0,ht-(ha+aa)),Ki.TOP_LEFT):new ba(ge.left+mo+Wi,ge.top+ha+aa),this.topRightContentBox=Rt>0||bn>0?FA(ge.left+Math.min(Qa,ge.width+mo+Wi),ge.top+ha+aa,Qa>ge.width+mo+Wi?0:Rt-mo+Wi,bn-(ha+aa),Ki.TOP_RIGHT):new ba(ge.left+ge.width-(mi+Ml),ge.top+ha+aa),this.bottomRightContentBox=Rn>0||dr>0?FA(ge.left+Math.min(Mo,ge.width-(mo+Wi)),ge.top+Math.min(ho,ge.height+ha+aa),Math.max(0,Rn-(mi+Ml)),dr-(Vo+ru),Ki.BOTTOM_RIGHT):new ba(ge.left+ge.width-(mi+Ml),ge.top+ge.height-(Vo+ru)),this.bottomLeftContentBox=Mr>0||ia>0?FA(ge.left+mo+Wi,ge.top+Ao,Math.max(0,Mr-(mo+Wi)),ia-(Vo+ru),Ki.BOTTOM_LEFT):new ba(ge.left+mo+Wi,ge.top+ge.height-(Vo+ru))}return ue}(),Ki;(function(ue){ue[ue.TOP_LEFT=0]="TOP_LEFT",ue[ue.TOP_RIGHT=1]="TOP_RIGHT",ue[ue.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",ue[ue.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Ki||(Ki={}));var FA=function(ue,Ae,fe,ge,He){var tt=4*((Math.sqrt(2)-1)/3),ht=fe*tt,jt=ge*tt,Rt=ue+fe,bn=Ae+ge;switch(He){case Ki.TOP_LEFT:return new Qf(new ba(ue,bn),new ba(ue,bn-jt),new ba(Rt-ht,Ae),new ba(Rt,Ae));case Ki.TOP_RIGHT:return new Qf(new ba(ue,Ae),new ba(ue+ht,Ae),new ba(Rt,bn-jt),new ba(Rt,bn));case Ki.BOTTOM_RIGHT:return new Qf(new ba(Rt,Ae),new ba(Rt,Ae+jt),new ba(ue+ht,bn),new ba(ue,bn));case Ki.BOTTOM_LEFT:default:return new Qf(new ba(Rt,bn),new ba(Rt-ht,bn),new ba(ue,Ae+jt),new ba(ue,Ae))}},Tf=function(ue){return[ue.topLeftBorderBox,ue.topRightBorderBox,ue.bottomRightBorderBox,ue.bottomLeftBorderBox]},xp=function(ue){return[ue.topLeftContentBox,ue.topRightContentBox,ue.bottomRightContentBox,ue.bottomLeftContentBox]},Sh=function(ue){return[ue.topLeftPaddingBox,ue.topRightPaddingBox,ue.bottomRightPaddingBox,ue.bottomLeftPaddingBox]},Fo=function(){function ue(Ae,fe,ge){this.offsetX=Ae,this.offsetY=fe,this.matrix=ge,this.type=0,this.target=6}return ue}(),qd=function(){function ue(Ae,fe){this.path=Ae,this.target=fe,this.type=1}return ue}(),cA=function(){function ue(Ae){this.opacity=Ae,this.type=2,this.target=6}return ue}(),yh=function(ue){return ue.type===0},wh=function(ue){return ue.type===1},kf=function(ue){return ue.type===2},Vc=function(ue,Ae){return ue.length===Ae.length?ue.some(function(fe,ge){return fe===Ae[ge]}):!1},I0=function(ue,Ae,fe,ge,He){return ue.map(function(tt,ht){switch(ht){case 0:return tt.add(Ae,fe);case 1:return tt.add(Ae+ge,fe);case 2:return tt.add(Ae+ge,fe+He);case 3:return tt.add(Ae,fe+He)}return tt})},Kg=function(){function ue(Ae){this.element=Ae,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return ue}(),bh=function(){function ue(Ae,fe){if(this.container=Ae,this.parent=fe,this.effects=[],this.curves=new Tm(this.container),this.container.styles.opacity<1&&this.effects.push(new cA(this.container.styles.opacity)),this.container.styles.transform!==null){var ge=this.container.bounds.left+this.container.styles.transformOrigin[0].number,He=this.container.bounds.top+this.container.styles.transformOrigin[1].number,tt=this.container.styles.transform;this.effects.push(new Fo(ge,He,tt))}if(this.container.styles.overflowX!==0){var ht=Tf(this.curves),jt=Sh(this.curves);Vc(ht,jt)?this.effects.push(new qd(ht,6)):(this.effects.push(new qd(ht,2)),this.effects.push(new qd(jt,4)))}}return ue.prototype.getEffects=function(Ae){for(var fe=[2,3].indexOf(this.container.styles.position)===-1,ge=this.parent,He=this.effects.slice(0);ge;){var tt=ge.effects.filter(function(Rt){return!wh(Rt)});if(fe||ge.container.styles.position!==0||!ge.parent){if(He.unshift.apply(He,tt),fe=[2,3].indexOf(ge.container.styles.position)===-1,ge.container.styles.overflowX!==0){var ht=Tf(ge.curves),jt=Sh(ge.curves);Vc(ht,jt)||He.unshift(new qd(jt,6))}}else He.unshift.apply(He,tt);ge=ge.parent}return He.filter(function(Rt){return oa(Rt.target,Ae)})},ue}(),zg=function(ue,Ae,fe,ge){ue.container.elements.forEach(function(He){var tt=oa(He.flags,4),ht=oa(He.flags,2),jt=new bh(He,ue);oa(He.styles.display,2048)&&ge.push(jt);var Rt=oa(He.flags,8)?[]:ge;if(tt||ht){var bn=tt||He.styles.isPositioned()?fe:Ae,Un=new Kg(jt);if(He.styles.isPositioned()||He.styles.opacity<1||He.styles.isTransformed()){var Rn=He.styles.zIndex.order;if(Rn<0){var dr=0;bn.negativeZIndex.some(function(Mr,ia){return Rn>Mr.element.container.styles.zIndex.order?(dr=ia,!1):dr>0}),bn.negativeZIndex.splice(dr,0,Un)}else if(Rn>0){var Ca=0;bn.positiveZIndex.some(function(Mr,ia){return Rn>=Mr.element.container.styles.zIndex.order?(Ca=ia+1,!1):Ca>0}),bn.positiveZIndex.splice(Ca,0,Un)}else bn.zeroOrAutoZIndexOrTransformedOrOpacity.push(Un)}else He.styles.isFloating()?bn.nonPositionedFloats.push(Un):bn.nonPositionedInlineLevel.push(Un);zg(jt,Un,tt?Un:fe,Rt)}else He.styles.isInlineLevel()?Ae.inlineLevel.push(jt):Ae.nonInlineLevel.push(jt),zg(jt,Ae,fe,Rt);oa(He.flags,8)&&Gg(He,Rt)})},Gg=function(ue,Ae){for(var fe=ue instanceof Ah?ue.start:1,ge=ue instanceof Ah?ue.reversed:!1,He=0;He0&&fe.intrinsicHeight>0){var tt=jf(fe),ht=Sh(ge);this.path(ht),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(He,0,0,fe.intrinsicWidth,fe.intrinsicHeight,tt.left,tt.top,tt.width,tt.height),this.ctx.restore()}},Ae.prototype.renderNodeContent=function(fe){return be(this,void 0,void 0,function(){var ge,He,tt,ht,jt,Rt,Qa,Qa,bn,Un,Rn,dr,Mo,Ca,Mr,Ao,ia,xo,Ra,Qa,ho,Mo,Ao;return ze(this,function(ha){switch(ha.label){case 0:this.applyEffects(fe.getEffects(4)),ge=fe.container,He=fe.curves,tt=ge.styles,ht=0,jt=ge.textNodes,ha.label=1;case 1:return ht0&&Ms>0&&(Vo=tt.ctx.createPattern(Ao,"repeat"),tt.renderRepeat(aa,Vo,dl,yl))):Vl(Un)&&(mo=Vu(fe,ge,[null,null,null]),aa=mo[0],Ml=mo[1],ru=mo[2],Wi=mo[3],Ms=mo[4],yc=Un.position.length===0?[Hu]:Un.position,dl=ti(yc[0],Wi),yl=ti(yc[yc.length-1],Ms),bd=$a(Un,dl,yl,Wi,Ms),mu=bd[0],wc=bd[1],mu>0&&wc>0&&(Cd=tt.ctx.createRadialGradient(Ml+dl,ru+yl,0,Ml+dl,ru+yl,mu),Hc(Un.stops,mu*2).forEach(function(nd){return Cd.addColorStop(nd.stop,sA(nd.color))}),tt.path(aa),tt.ctx.fillStyle=Cd,mu!==wc?(ed=fe.bounds.left+.5*fe.bounds.width,Yu=fe.bounds.top+.5*fe.bounds.height,td=wc/mu,bc=1/td,tt.ctx.save(),tt.ctx.translate(ed,Yu),tt.ctx.transform(1,0,0,td,0,0),tt.ctx.translate(-ed,-Yu),tt.ctx.fillRect(Ml,bc*(ru-Yu)+Yu,Wi,Ms*bc),tt.ctx.restore()):tt.ctx.fill())),ng.label=6;case 6:return ge--,[2]}})},tt=this,ht=0,jt=fe.styles.backgroundImage.slice(0).reverse(),bn.label=1;case 1:return ht0?Un.style!==2?[3,5]:[4,this.renderDashedDottedBorder(Un.color,Un.width,jt,fe.curves,2)]:[3,11]):[3,13];case 4:return dr.sent(),[3,11];case 5:return Un.style!==3?[3,7]:[4,this.renderDashedDottedBorder(Un.color,Un.width,jt,fe.curves,3)];case 6:return dr.sent(),[3,11];case 7:return Un.style!==4?[3,9]:[4,this.renderDoubleBorder(Un.color,Un.width,jt,fe.curves)];case 8:return dr.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Un.color,jt,fe.curves)];case 10:dr.sent(),dr.label=11;case 11:jt++,dr.label=12;case 12:return Rt++,[3,3];case 13:return[2]}})})},Ae.prototype.renderDashedDottedBorder=function(fe,ge,He,tt,ht){return be(this,void 0,void 0,function(){var jt,Rt,bn,Un,Rn,dr,Ca,Mr,ia,xo,Ra,Qa,ho,Mo,Ao,ha,Ao,ha;return ze(this,function(mi){return this.ctx.save(),jt=U0(tt,He),Rt=Ws(tt,He),ht===2&&(this.path(Rt),this.ctx.clip()),hu(Rt[0])?(bn=Rt[0].start.x,Un=Rt[0].start.y):(bn=Rt[0].x,Un=Rt[0].y),hu(Rt[1])?(Rn=Rt[1].end.x,dr=Rt[1].end.y):(Rn=Rt[1].x,dr=Rt[1].y),He===0||He===2?Ca=Math.abs(bn-Rn):Ca=Math.abs(Un-dr),this.ctx.beginPath(),ht===3?this.formatPath(jt):this.formatPath(Rt.slice(0,2)),Mr=ge<3?ge*3:ge*2,ia=ge<3?ge*2:ge,ht===3&&(Mr=ge,ia=ge),xo=!0,Ca<=Mr*2?xo=!1:Ca<=Mr*2+ia?(Ra=Ca/(2*Mr+ia),Mr*=Ra,ia*=Ra):(Qa=Math.floor((Ca+ia)/(Mr+ia)),ho=(Ca-Qa*Mr)/(Qa-1),Mo=(Ca-(Qa+1)*Mr)/Qa,ia=Mo<=0||Math.abs(ia-ho)wt){var pt=dt;dt=wt,wt=pt}}else if(nt==="l"||nt==="landscape"){if(nt="l",wt>dt){var pt=dt;dt=wt,wt=pt}}else throw"Invalid orientation: "+nt;var st={width:dt,height:wt,unit:De,k:rt};return st},Le.default=Qe.jsPDF},"./src/plugin/pagebreaks.js":function(Be,Le,de){"use strict";de.r(Le);var Ie=de("./node_modules/core-js/modules/es.array.concat.js"),Fe=de.n(Ie),Ce=de("./node_modules/core-js/modules/es.array.slice.js"),ie=de.n(Ce),y=de("./node_modules/core-js/modules/es.array.join.js"),a=de.n(y),ee=de("./node_modules/core-js/modules/web.dom-collections.for-each.js"),E=de.n(ee),te=de("./node_modules/core-js/modules/es.object.keys.js"),ne=de.n(te),oe=de("./src/worker.js"),he=de("./src/utils.js"),_e={toContainer:oe.default.prototype.toContainer};oe.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},oe.default.prototype.toContainer=function(){return _e.toContainer.call(this).then(function(){var Ze=this.prop.container,Ve=this.prop.pageSize.inner.px.height,nt=[].concat(this.opt.pagebreak.mode),De={avoidAll:nt.indexOf("avoid-all")!==-1,css:nt.indexOf("css")!==-1,legacy:nt.indexOf("legacy")!==-1},Bt={},ke=this;["before","after","avoid"].forEach(function(rt){var wt=De.avoidAll&&rt==="avoid";Bt[rt]=wt?[]:[].concat(ke.opt.pagebreak[rt]||[]),Bt[rt].length>0&&(Bt[rt]=Array.prototype.slice.call(Ze.querySelectorAll(Bt[rt].join(", "))))});var Ot=Ze.querySelectorAll(".html2pdf__page-break");Ot=Array.prototype.slice.call(Ot);var it=Ze.querySelectorAll("*");Array.prototype.forEach.call(it,function(wt){var dt={before:!1,after:De.legacy&&Ot.indexOf(wt)!==-1,avoid:De.avoidAll};if(De.css){var pt=window.getComputedStyle(wt),st=["always","page","left","right"],ft=["avoid","avoid-page"];dt={before:dt.before||st.indexOf(pt.breakBefore||pt.pageBreakBefore)!==-1,after:dt.after||st.indexOf(pt.breakAfter||pt.pageBreakAfter)!==-1,avoid:dt.avoid||ft.indexOf(pt.breakInside||pt.pageBreakInside)!==-1}}Object.keys(dt).forEach(function(Hn){dt[Hn]=dt[Hn]||Bt[Hn].indexOf(wt)!==-1});var rn=wt.getBoundingClientRect();if(dt.avoid&&!dt.before){var fn=Math.floor(rn.top/Ve),Et=Math.floor(rn.bottom/Ve),Jt=Math.abs(rn.bottom-rn.top)/Ve;Et!==fn&&Jt<=1&&(dt.before=!0)}if(dt.before){var Ln=(0,he.createElement)("div",{style:{display:"block",height:Ve-rn.top%Ve+"px"}});wt.parentNode.insertBefore(Ln,wt)}if(dt.after){var Ln=(0,he.createElement)("div",{style:{display:"block",height:Ve-rn.bottom%Ve+"px"}});wt.parentNode.insertBefore(Ln,wt.nextSibling)}})})}},"./src/utils.js":function(Be,Le,de){"use strict";de.r(Le),de.d(Le,{objType:function(){return nt},createElement:function(){return De},cloneNode:function(){return Bt},unitConvert:function(){return ke},toPx:function(){return Ot}});var Ie=de("./node_modules/core-js/modules/es.number.constructor.js"),Fe=de.n(Ie),Ce=de("./node_modules/core-js/modules/es.symbol.js"),ie=de.n(Ce),y=de("./node_modules/core-js/modules/es.symbol.description.js"),a=de.n(y),ee=de("./node_modules/core-js/modules/es.object.to-string.js"),E=de.n(ee),te=de("./node_modules/core-js/modules/es.symbol.iterator.js"),ne=de.n(te),oe=de("./node_modules/core-js/modules/es.array.iterator.js"),he=de.n(oe),_e=de("./node_modules/core-js/modules/es.string.iterator.js"),Pe=de.n(_e),Qe=de("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Ze=de.n(Qe);function Ve(it){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ve=function(wt){return typeof wt}:Ve=function(wt){return wt&&typeof Symbol=="function"&&wt.constructor===Symbol&&wt!==Symbol.prototype?"symbol":typeof wt},Ve(it)}var nt=function(rt){var wt=Ve(rt);return wt==="undefined"?"undefined":wt==="string"||rt instanceof String?"string":wt==="number"||rt instanceof Number?"number":wt==="function"||rt instanceof Function?"function":rt&&rt.constructor===Array?"array":rt&&rt.nodeType===1?"element":wt==="object"?"object":"unknown"},De=function(rt,wt){var dt=document.createElement(rt);if(wt.className&&(dt.className=wt.className),wt.innerHTML){dt.innerHTML=wt.innerHTML;for(var pt=dt.getElementsByTagName("script"),st=pt.length;st-- >0;null)pt[st].parentNode.removeChild(pt[st])}for(var ft in wt.style)dt.style[ft]=wt.style[ft];return dt},Bt=function it(rt,wt){for(var dt=rt.nodeType===3?document.createTextNode(rt.nodeValue):rt.cloneNode(!1),pt=rt.firstChild;pt;pt=pt.nextSibling)(wt===!0||pt.nodeType!==1||pt.nodeName!=="SCRIPT")&&dt.appendChild(it(pt,wt));return rt.nodeType===1&&(rt.nodeName==="CANVAS"?(dt.width=rt.width,dt.height=rt.height,dt.getContext("2d").drawImage(rt,0,0)):(rt.nodeName==="TEXTAREA"||rt.nodeName==="SELECT")&&(dt.value=rt.value),dt.addEventListener("load",function(){dt.scrollTop=rt.scrollTop,dt.scrollLeft=rt.scrollLeft},!0)),dt},ke=function(rt,wt){if(nt(rt)==="number")return rt*72/96/wt;var dt={};for(var pt in rt)dt[pt]=rt[pt]*72/96/wt;return dt},Ot=function(rt,wt){return Math.floor(rt*wt/72*96)}},"./src/worker.js":function(Be,Le,de){"use strict";de.r(Le);var Ie=de("./node_modules/core-js/modules/es.object.assign.js"),Fe=de.n(Ie),Ce=de("./node_modules/core-js/modules/es.array.map.js"),ie=de.n(Ce),y=de("./node_modules/core-js/modules/es.object.keys.js"),a=de.n(y),ee=de("./node_modules/core-js/modules/es.array.concat.js"),E=de.n(ee),te=de("./node_modules/core-js/modules/es.object.to-string.js"),ne=de.n(te),oe=de("./node_modules/core-js/modules/es.regexp.to-string.js"),he=de.n(oe),_e=de("./node_modules/core-js/modules/es.function.name.js"),Pe=de.n(_e),Qe=de("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Ze=de.n(Qe),Ve=de("jspdf"),nt=de.n(Ve),De=de("html2canvas"),Bt=de.n(De),ke=de("./src/utils.js"),Ot=de("./node_modules/es6-promise/dist/es6-promise.js"),it=de.n(Ot),rt=it().Promise,wt=function dt(pt){var st=Object.assign(dt.convert(rt.resolve()),JSON.parse(JSON.stringify(dt.template))),ft=dt.convert(rt.resolve(),st);return ft=ft.setProgress(1,dt,1,[dt]),ft=ft.set(pt),ft};wt.prototype=Object.create(rt.prototype),wt.prototype.constructor=wt,wt.convert=function(pt,st){return pt.__proto__=st||wt.prototype,pt},wt.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},wt.prototype.from=function(pt,st){function ft(rn){switch((0,ke.objType)(rn)){case"string":return"string";case"element":return rn.nodeName.toLowerCase&&rn.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(st=st||ft(pt),st){case"string":return this.set({src:(0,ke.createElement)("div",{innerHTML:pt})});case"element":return this.set({src:pt});case"canvas":return this.set({canvas:pt});case"img":return this.set({img:pt});default:return this.error("Unknown source type.")}})},wt.prototype.to=function(pt){switch(pt){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},wt.prototype.toContainer=function(){var pt=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(pt).then(function(){var ft={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},rn={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};ft.opacity=0;var fn=(0,ke.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,ke.createElement)("div",{className:"html2pdf__overlay",style:ft}),this.prop.container=(0,ke.createElement)("div",{className:"html2pdf__container",style:rn}),this.prop.container.appendChild(fn),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},wt.prototype.toCanvas=function(){var pt=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(pt).then(function(){var ft=Object.assign({},this.opt.html2canvas);return delete ft.onrendered,De(this.prop.container,ft)}).then(function(ft){var rn=this.opt.html2canvas.onrendered||function(){};rn(ft),this.prop.canvas=ft,document.body.removeChild(this.prop.overlay)})},wt.prototype.toImg=function(){var pt=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(pt).then(function(){var ft=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=ft})},wt.prototype.toPdf=function(){var pt=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(pt).then(function(){var ft=this.prop.canvas,rn=this.opt,fn=ft.height,Et=Math.floor(ft.width*this.prop.pageSize.inner.ratio),Jt=Math.ceil(fn/Et),Ln=this.prop.pageSize.inner.height,Hn=document.createElement("canvas"),un=Hn.getContext("2d");Hn.width=ft.width,Hn.height=Et,this.prop.pdf=this.prop.pdf||new Ve.jsPDF(rn.jsPDF);for(var Vn=0;Vn1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/to-indexed-object.js"),Fe=de("./node_modules/core-js/internals/to-length.js"),Ce=de("./node_modules/core-js/internals/to-absolute-index.js"),ie=function(y){return function(a,ee,E){var te=Ie(a),ne=Fe(te.length),oe=Ce(E,ne),he;if(y&&ee!=ee){for(;ne>oe;)if(he=te[oe++],he!=he)return!0}else for(;ne>oe;oe++)if((y||oe in te)&&te[oe]===ee)return y||oe||0;return!y&&-1}};Be.exports={includes:ie(!0),indexOf:ie(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/function-bind-context.js"),Fe=de("./node_modules/core-js/internals/indexed-object.js"),Ce=de("./node_modules/core-js/internals/to-object.js"),ie=de("./node_modules/core-js/internals/to-length.js"),y=de("./node_modules/core-js/internals/array-species-create.js"),a=[].push,ee=function(E){var te=E==1,ne=E==2,oe=E==3,he=E==4,_e=E==6,Pe=E==7,Qe=E==5||_e;return function(Ze,Ve,nt,De){for(var Bt=Ce(Ze),ke=Fe(Bt),Ot=Ie(Ve,nt,3),it=ie(ke.length),rt=0,wt=De||y,dt=te?wt(Ze,it):ne||Pe?wt(Ze,0):void 0,pt,st;it>rt;rt++)if((Qe||rt in ke)&&(pt=ke[rt],st=Ot(pt,rt,Bt),E))if(te)dt[rt]=st;else if(st)switch(E){case 3:return!0;case 5:return pt;case 6:return rt;case 2:a.call(dt,pt)}else switch(E){case 4:return!1;case 7:a.call(dt,pt)}return _e?-1:oe||he?he:dt}};Be.exports={forEach:ee(0),map:ee(1),filter:ee(2),some:ee(3),every:ee(4),find:ee(5),findIndex:ee(6),filterReject:ee(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/fails.js"),Fe=de("./node_modules/core-js/internals/well-known-symbol.js"),Ce=de("./node_modules/core-js/internals/engine-v8-version.js"),ie=Fe("species");Be.exports=function(y){return Ce>=51||!Ie(function(){var a=[],ee=a.constructor={};return ee[ie]=function(){return{foo:1}},a[y](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/fails.js");Be.exports=function(Fe,Ce){var ie=[][Fe];return!!ie&&Ie(function(){ie.call(null,Ce||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/is-object.js"),Fe=de("./node_modules/core-js/internals/is-array.js"),Ce=de("./node_modules/core-js/internals/well-known-symbol.js"),ie=Ce("species");Be.exports=function(y){var a;return Fe(y)&&(a=y.constructor,typeof a=="function"&&(a===Array||Fe(a.prototype))?a=void 0:Ie(a)&&(a=a[ie],a===null&&(a=void 0))),a===void 0?Array:a}},"./node_modules/core-js/internals/array-species-create.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/array-species-constructor.js");Be.exports=function(Fe,Ce){return new(Ie(Fe))(Ce===0?0:Ce)}},"./node_modules/core-js/internals/classof-raw.js":function(Be){var Le={}.toString;Be.exports=function(de){return Le.call(de).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/to-string-tag-support.js"),Fe=de("./node_modules/core-js/internals/classof-raw.js"),Ce=de("./node_modules/core-js/internals/well-known-symbol.js"),ie=Ce("toStringTag"),y=Fe(function(){return arguments}())=="Arguments",a=function(ee,E){try{return ee[E]}catch(te){}};Be.exports=Ie?Fe:function(ee){var E,te,ne;return ee===void 0?"Undefined":ee===null?"Null":typeof(te=a(E=Object(ee),ie))=="string"?te:y?Fe(E):(ne=Fe(E))=="Object"&&typeof E.callee=="function"?"Arguments":ne}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/has.js"),Fe=de("./node_modules/core-js/internals/own-keys.js"),Ce=de("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),ie=de("./node_modules/core-js/internals/object-define-property.js");Be.exports=function(y,a){for(var ee=Fe(a),E=ie.f,te=Ce.f,ne=0;ne"+E+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,Fe=de("./node_modules/core-js/internals/object-create.js"),Ce=de("./node_modules/core-js/internals/create-property-descriptor.js"),ie=de("./node_modules/core-js/internals/set-to-string-tag.js"),y=de("./node_modules/core-js/internals/iterators.js"),a=function(){return this};Be.exports=function(ee,E,te){var ne=E+" Iterator";return ee.prototype=Fe(Ie,{next:Ce(1,te)}),ie(ee,ne,!1,!0),y[ne]=a,ee}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/descriptors.js"),Fe=de("./node_modules/core-js/internals/object-define-property.js"),Ce=de("./node_modules/core-js/internals/create-property-descriptor.js");Be.exports=Ie?function(ie,y,a){return Fe.f(ie,y,Ce(1,a))}:function(ie,y,a){return ie[y]=a,ie}},"./node_modules/core-js/internals/create-property-descriptor.js":function(Be){Be.exports=function(Le,de){return{enumerable:!(Le&1),configurable:!(Le&2),writable:!(Le&4),value:de}}},"./node_modules/core-js/internals/create-property.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/to-property-key.js"),Fe=de("./node_modules/core-js/internals/object-define-property.js"),Ce=de("./node_modules/core-js/internals/create-property-descriptor.js");Be.exports=function(ie,y,a){var ee=Ie(y);ee in ie?Fe.f(ie,ee,Ce(0,a)):ie[ee]=a}},"./node_modules/core-js/internals/define-iterator.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/create-iterator-constructor.js"),Ce=de("./node_modules/core-js/internals/object-get-prototype-of.js"),ie=de("./node_modules/core-js/internals/object-set-prototype-of.js"),y=de("./node_modules/core-js/internals/set-to-string-tag.js"),a=de("./node_modules/core-js/internals/create-non-enumerable-property.js"),ee=de("./node_modules/core-js/internals/redefine.js"),E=de("./node_modules/core-js/internals/well-known-symbol.js"),te=de("./node_modules/core-js/internals/is-pure.js"),ne=de("./node_modules/core-js/internals/iterators.js"),oe=de("./node_modules/core-js/internals/iterators-core.js"),he=oe.IteratorPrototype,_e=oe.BUGGY_SAFARI_ITERATORS,Pe=E("iterator"),Qe="keys",Ze="values",Ve="entries",nt=function(){return this};Be.exports=function(De,Bt,ke,Ot,it,rt,wt){Fe(ke,Bt,Ot);var dt=function(un){if(un===it&&fn)return fn;if(!_e&&un in ft)return ft[un];switch(un){case Qe:return function(){return new ke(this,un)};case Ze:return function(){return new ke(this,un)};case Ve:return function(){return new ke(this,un)}}return function(){return new ke(this)}},pt=Bt+" Iterator",st=!1,ft=De.prototype,rn=ft[Pe]||ft["@@iterator"]||it&&ft[it],fn=!_e&&rn||dt(it),Et=Bt=="Array"&&ft.entries||rn,Jt,Ln,Hn;if(Et&&(Jt=Ce(Et.call(new De)),he!==Object.prototype&&Jt.next&&(!te&&Ce(Jt)!==he&&(ie?ie(Jt,he):typeof Jt[Pe]!="function"&&a(Jt,Pe,nt)),y(Jt,pt,!0,!0),te&&(ne[pt]=nt))),it==Ze&&rn&&rn.name!==Ze&&(st=!0,fn=function(){return rn.call(this)}),(!te||wt)&&ft[Pe]!==fn&&a(ft,Pe,fn),ne[Bt]=fn,it)if(Ln={values:dt(Ze),keys:rt?fn:dt(Qe),entries:dt(Ve)},wt)for(Hn in Ln)(_e||st||!(Hn in ft))&&ee(ft,Hn,Ln[Hn]);else Ie({target:Bt,proto:!0,forced:_e||st},Ln);return Ln}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/path.js"),Fe=de("./node_modules/core-js/internals/has.js"),Ce=de("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),ie=de("./node_modules/core-js/internals/object-define-property.js").f;Be.exports=function(y){var a=Ie.Symbol||(Ie.Symbol={});Fe(a,y)||ie(a,y,{value:Ce.f(y)})}},"./node_modules/core-js/internals/descriptors.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/fails.js");Be.exports=!Ie(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/is-object.js"),Ce=Ie.document,ie=Fe(Ce)&&Fe(Ce.createElement);Be.exports=function(y){return ie?Ce.createElement(y):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(Be){Be.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/get-built-in.js");Be.exports=Ie("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/engine-user-agent.js"),Ce=Ie.process,ie=Ie.Deno,y=Ce&&Ce.versions||ie&&ie.version,a=y&&y.v8,ee,E;a?(ee=a.split("."),E=ee[0]<4?1:ee[0]+ee[1]):Fe&&(ee=Fe.match(/Edge\/(\d+)/),(!ee||ee[1]>=74)&&(ee=Fe.match(/Chrome\/(\d+)/),ee&&(E=ee[1]))),Be.exports=E&&+E},"./node_modules/core-js/internals/enum-bug-keys.js":function(Be){Be.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Ce=de("./node_modules/core-js/internals/create-non-enumerable-property.js"),ie=de("./node_modules/core-js/internals/redefine.js"),y=de("./node_modules/core-js/internals/set-global.js"),a=de("./node_modules/core-js/internals/copy-constructor-properties.js"),ee=de("./node_modules/core-js/internals/is-forced.js");Be.exports=function(E,te){var ne=E.target,oe=E.global,he=E.stat,_e,Pe,Qe,Ze,Ve,nt;if(oe?Pe=Ie:he?Pe=Ie[ne]||y(ne,{}):Pe=(Ie[ne]||{}).prototype,Pe)for(Qe in te){if(Ve=te[Qe],E.noTargetGet?(nt=Fe(Pe,Qe),Ze=nt&&nt.value):Ze=Pe[Qe],_e=ee(oe?Qe:ne+(he?".":"#")+Qe,E.forced),!_e&&Ze!==void 0){if(typeof Ve==typeof Ze)continue;a(Ve,Ze)}(E.sham||Ze&&Ze.sham)&&Ce(Ve,"sham",!0),ie(Pe,Qe,Ve,E)}}},"./node_modules/core-js/internals/fails.js":function(Be){Be.exports=function(Le){try{return!!Le()}catch(de){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/a-function.js");Be.exports=function(Fe,Ce,ie){if(Ie(Fe),Ce===void 0)return Fe;switch(ie){case 0:return function(){return Fe.call(Ce)};case 1:return function(y){return Fe.call(Ce,y)};case 2:return function(y,a){return Fe.call(Ce,y,a)};case 3:return function(y,a,ee){return Fe.call(Ce,y,a,ee)}}return function(){return Fe.apply(Ce,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=function(Ce){return typeof Ce=="function"?Ce:void 0};Be.exports=function(Ce,ie){return arguments.length<2?Fe(Ie[Ce]):Ie[Ce]&&Ie[Ce][ie]}},"./node_modules/core-js/internals/global.js":function(Be){var Le=function(de){return de&&de.Math==Math&&de};Be.exports=Le(typeof globalThis=="object"&&globalThis)||Le(typeof window=="object"&&window)||Le(typeof self=="object"&&self)||Le(typeof we.g=="object"&&we.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/to-object.js"),Fe={}.hasOwnProperty;Be.exports=Object.hasOwn||function(ie,y){return Fe.call(Ie(ie),y)}},"./node_modules/core-js/internals/hidden-keys.js":function(Be){Be.exports={}},"./node_modules/core-js/internals/html.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/get-built-in.js");Be.exports=Ie("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/descriptors.js"),Fe=de("./node_modules/core-js/internals/fails.js"),Ce=de("./node_modules/core-js/internals/document-create-element.js");Be.exports=!Ie&&!Fe(function(){return Object.defineProperty(Ce("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/fails.js"),Fe=de("./node_modules/core-js/internals/classof-raw.js"),Ce="".split;Be.exports=Ie(function(){return!Object("z").propertyIsEnumerable(0)})?function(ie){return Fe(ie)=="String"?Ce.call(ie,""):Object(ie)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/is-object.js"),Fe=de("./node_modules/core-js/internals/object-set-prototype-of.js");Be.exports=function(Ce,ie,y){var a,ee;return Fe&&typeof(a=ie.constructor)=="function"&&a!==y&&Ie(ee=a.prototype)&&ee!==y.prototype&&Fe(Ce,ee),Ce}},"./node_modules/core-js/internals/inspect-source.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/shared-store.js"),Fe=Function.toString;typeof Ie.inspectSource!="function"&&(Ie.inspectSource=function(Ce){return Fe.call(Ce)}),Be.exports=Ie.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/native-weak-map.js"),Fe=de("./node_modules/core-js/internals/global.js"),Ce=de("./node_modules/core-js/internals/is-object.js"),ie=de("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=de("./node_modules/core-js/internals/has.js"),a=de("./node_modules/core-js/internals/shared-store.js"),ee=de("./node_modules/core-js/internals/shared-key.js"),E=de("./node_modules/core-js/internals/hidden-keys.js"),te="Object already initialized",ne=Fe.WeakMap,oe,he,_e,Pe=function(ke){return _e(ke)?he(ke):oe(ke,{})},Qe=function(ke){return function(Ot){var it;if(!Ce(Ot)||(it=he(Ot)).type!==ke)throw TypeError("Incompatible receiver, "+ke+" required");return it}};if(Ie||a.state){var Ze=a.state||(a.state=new ne),Ve=Ze.get,nt=Ze.has,De=Ze.set;oe=function(ke,Ot){if(nt.call(Ze,ke))throw new TypeError(te);return Ot.facade=ke,De.call(Ze,ke,Ot),Ot},he=function(ke){return Ve.call(Ze,ke)||{}},_e=function(ke){return nt.call(Ze,ke)}}else{var Bt=ee("state");E[Bt]=!0,oe=function(ke,Ot){if(y(ke,Bt))throw new TypeError(te);return Ot.facade=ke,ie(ke,Bt,Ot),Ot},he=function(ke){return y(ke,Bt)?ke[Bt]:{}},_e=function(ke){return y(ke,Bt)}}Be.exports={set:oe,get:he,has:_e,enforce:Pe,getterFor:Qe}},"./node_modules/core-js/internals/is-array.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/classof-raw.js");Be.exports=Array.isArray||function(Ce){return Ie(Ce)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/fails.js"),Fe=/#|\.prototype\./,Ce=function(E,te){var ne=y[ie(E)];return ne==ee?!0:ne==a?!1:typeof te=="function"?Ie(te):!!te},ie=Ce.normalize=function(E){return String(E).replace(Fe,".").toLowerCase()},y=Ce.data={},a=Ce.NATIVE="N",ee=Ce.POLYFILL="P";Be.exports=Ce},"./node_modules/core-js/internals/is-object.js":function(Be){Be.exports=function(Le){return typeof Le=="object"?Le!==null:typeof Le=="function"}},"./node_modules/core-js/internals/is-pure.js":function(Be){Be.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/get-built-in.js"),Fe=de("./node_modules/core-js/internals/use-symbol-as-uid.js");Be.exports=Fe?function(Ce){return typeof Ce=="symbol"}:function(Ce){var ie=Ie("Symbol");return typeof ie=="function"&&Object(Ce)instanceof ie}},"./node_modules/core-js/internals/iterators-core.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/fails.js"),Fe=de("./node_modules/core-js/internals/object-get-prototype-of.js"),Ce=de("./node_modules/core-js/internals/create-non-enumerable-property.js"),ie=de("./node_modules/core-js/internals/has.js"),y=de("./node_modules/core-js/internals/well-known-symbol.js"),a=de("./node_modules/core-js/internals/is-pure.js"),ee=y("iterator"),E=!1,te=function(){return this},ne,oe,he;[].keys&&(he=[].keys(),"next"in he?(oe=Fe(Fe(he)),oe!==Object.prototype&&(ne=oe)):E=!0);var _e=ne==null||Ie(function(){var Pe={};return ne[ee].call(Pe)!==Pe});_e&&(ne={}),(!a||_e)&&!ie(ne,ee)&&Ce(ne,ee,te),Be.exports={IteratorPrototype:ne,BUGGY_SAFARI_ITERATORS:E}},"./node_modules/core-js/internals/iterators.js":function(Be){Be.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/engine-v8-version.js"),Fe=de("./node_modules/core-js/internals/fails.js");Be.exports=!!Object.getOwnPropertySymbols&&!Fe(function(){var Ce=Symbol();return!String(Ce)||!(Object(Ce)instanceof Symbol)||!Symbol.sham&&Ie&&Ie<41})},"./node_modules/core-js/internals/native-weak-map.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/inspect-source.js"),Ce=Ie.WeakMap;Be.exports=typeof Ce=="function"&&/native code/.test(Fe(Ce))},"./node_modules/core-js/internals/object-assign.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/descriptors.js"),Fe=de("./node_modules/core-js/internals/fails.js"),Ce=de("./node_modules/core-js/internals/object-keys.js"),ie=de("./node_modules/core-js/internals/object-get-own-property-symbols.js"),y=de("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=de("./node_modules/core-js/internals/to-object.js"),ee=de("./node_modules/core-js/internals/indexed-object.js"),E=Object.assign,te=Object.defineProperty;Be.exports=!E||Fe(function(){if(Ie&&E({b:1},E(te({},"a",{enumerable:!0,get:function(){te(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var ne={},oe={},he=Symbol(),_e="abcdefghijklmnopqrst";return ne[he]=7,_e.split("").forEach(function(Pe){oe[Pe]=Pe}),E({},ne)[he]!=7||Ce(E({},oe)).join("")!=_e})?function(oe,he){for(var _e=a(oe),Pe=arguments.length,Qe=1,Ze=ie.f,Ve=y.f;Pe>Qe;)for(var nt=ee(arguments[Qe++]),De=Ze?Ce(nt).concat(Ze(nt)):Ce(nt),Bt=De.length,ke=0,Ot;Bt>ke;)Ot=De[ke++],(!Ie||Ve.call(nt,Ot))&&(_e[Ot]=nt[Ot]);return _e}:E},"./node_modules/core-js/internals/object-create.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/an-object.js"),Fe=de("./node_modules/core-js/internals/object-define-properties.js"),Ce=de("./node_modules/core-js/internals/enum-bug-keys.js"),ie=de("./node_modules/core-js/internals/hidden-keys.js"),y=de("./node_modules/core-js/internals/html.js"),a=de("./node_modules/core-js/internals/document-create-element.js"),ee=de("./node_modules/core-js/internals/shared-key.js"),E=">",te="<",ne="prototype",oe="script",he=ee("IE_PROTO"),_e=function(){},Pe=function(De){return te+oe+E+De+te+"/"+oe+E},Qe=function(De){De.write(Pe("")),De.close();var Bt=De.parentWindow.Object;return De=null,Bt},Ze=function(){var De=a("iframe"),Bt="java"+oe+":",ke;if(De.style)return De.style.display="none",y.appendChild(De),De.src=String(Bt),ke=De.contentWindow.document,ke.open(),ke.write(Pe("document.F=Object")),ke.close(),ke.F},Ve,nt=function(){try{Ve=new ActiveXObject("htmlfile")}catch(Bt){}nt=document.domain&&Ve?Qe(Ve):Ze()||Qe(Ve);for(var De=Ce.length;De--;)delete nt[ne][Ce[De]];return nt()};ie[he]=!0,Be.exports=Object.create||function(Bt,ke){var Ot;return Bt!==null?(_e[ne]=Ie(Bt),Ot=new _e,_e[ne]=null,Ot[he]=Bt):Ot=nt(),ke===void 0?Ot:Fe(Ot,ke)}},"./node_modules/core-js/internals/object-define-properties.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/descriptors.js"),Fe=de("./node_modules/core-js/internals/object-define-property.js"),Ce=de("./node_modules/core-js/internals/an-object.js"),ie=de("./node_modules/core-js/internals/object-keys.js");Be.exports=Ie?Object.defineProperties:function(a,ee){Ce(a);for(var E=ie(ee),te=E.length,ne=0,oe;te>ne;)Fe.f(a,oe=E[ne++],ee[oe]);return a}},"./node_modules/core-js/internals/object-define-property.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/descriptors.js"),Fe=de("./node_modules/core-js/internals/ie8-dom-define.js"),Ce=de("./node_modules/core-js/internals/an-object.js"),ie=de("./node_modules/core-js/internals/to-property-key.js"),y=Object.defineProperty;Le.f=Ie?y:function(ee,E,te){if(Ce(ee),E=ie(E),Ce(te),Fe)try{return y(ee,E,te)}catch(ne){}if("get"in te||"set"in te)throw TypeError("Accessors not supported");return"value"in te&&(ee[E]=te.value),ee}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/descriptors.js"),Fe=de("./node_modules/core-js/internals/object-property-is-enumerable.js"),Ce=de("./node_modules/core-js/internals/create-property-descriptor.js"),ie=de("./node_modules/core-js/internals/to-indexed-object.js"),y=de("./node_modules/core-js/internals/to-property-key.js"),a=de("./node_modules/core-js/internals/has.js"),ee=de("./node_modules/core-js/internals/ie8-dom-define.js"),E=Object.getOwnPropertyDescriptor;Le.f=Ie?E:function(ne,oe){if(ne=ie(ne),oe=y(oe),ee)try{return E(ne,oe)}catch(he){}if(a(ne,oe))return Ce(!Fe.f.call(ne,oe),ne[oe])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/to-indexed-object.js"),Fe=de("./node_modules/core-js/internals/object-get-own-property-names.js").f,Ce={}.toString,ie=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],y=function(a){try{return Fe(a)}catch(ee){return ie.slice()}};Be.exports.f=function(ee){return ie&&Ce.call(ee)=="[object Window]"?y(ee):Fe(Ie(ee))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/object-keys-internal.js"),Fe=de("./node_modules/core-js/internals/enum-bug-keys.js"),Ce=Fe.concat("length","prototype");Le.f=Object.getOwnPropertyNames||function(y){return Ie(y,Ce)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(Be,Le){Le.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/has.js"),Fe=de("./node_modules/core-js/internals/to-object.js"),Ce=de("./node_modules/core-js/internals/shared-key.js"),ie=de("./node_modules/core-js/internals/correct-prototype-getter.js"),y=Ce("IE_PROTO"),a=Object.prototype;Be.exports=ie?Object.getPrototypeOf:function(ee){return ee=Fe(ee),Ie(ee,y)?ee[y]:typeof ee.constructor=="function"&&ee instanceof ee.constructor?ee.constructor.prototype:ee instanceof Object?a:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/has.js"),Fe=de("./node_modules/core-js/internals/to-indexed-object.js"),Ce=de("./node_modules/core-js/internals/array-includes.js").indexOf,ie=de("./node_modules/core-js/internals/hidden-keys.js");Be.exports=function(y,a){var ee=Fe(y),E=0,te=[],ne;for(ne in ee)!Ie(ie,ne)&&Ie(ee,ne)&&te.push(ne);for(;a.length>E;)Ie(ee,ne=a[E++])&&(~Ce(te,ne)||te.push(ne));return te}},"./node_modules/core-js/internals/object-keys.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/object-keys-internal.js"),Fe=de("./node_modules/core-js/internals/enum-bug-keys.js");Be.exports=Object.keys||function(ie){return Ie(ie,Fe)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(Be,Le){"use strict";var de={}.propertyIsEnumerable,Ie=Object.getOwnPropertyDescriptor,Fe=Ie&&!de.call({1:2},1);Le.f=Fe?function(ie){var y=Ie(this,ie);return!!y&&y.enumerable}:de},"./node_modules/core-js/internals/object-set-prototype-of.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/an-object.js"),Fe=de("./node_modules/core-js/internals/a-possible-prototype.js");Be.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var Ce=!1,ie={},y;try{y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,y.call(ie,[]),Ce=ie instanceof Array}catch(a){}return function(ee,E){return Ie(ee),Fe(E),Ce?y.call(ee,E):ee.__proto__=E,ee}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/to-string-tag-support.js"),Fe=de("./node_modules/core-js/internals/classof.js");Be.exports=Ie?{}.toString:function(){return"[object "+Fe(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/is-object.js");Be.exports=function(Fe,Ce){var ie,y;if(Ce==="string"&&typeof(ie=Fe.toString)=="function"&&!Ie(y=ie.call(Fe))||typeof(ie=Fe.valueOf)=="function"&&!Ie(y=ie.call(Fe))||Ce!=="string"&&typeof(ie=Fe.toString)=="function"&&!Ie(y=ie.call(Fe)))return y;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/get-built-in.js"),Fe=de("./node_modules/core-js/internals/object-get-own-property-names.js"),Ce=de("./node_modules/core-js/internals/object-get-own-property-symbols.js"),ie=de("./node_modules/core-js/internals/an-object.js");Be.exports=Ie("Reflect","ownKeys")||function(a){var ee=Fe.f(ie(a)),E=Ce.f;return E?ee.concat(E(a)):ee}},"./node_modules/core-js/internals/path.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js");Be.exports=Ie},"./node_modules/core-js/internals/redefine.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ce=de("./node_modules/core-js/internals/has.js"),ie=de("./node_modules/core-js/internals/set-global.js"),y=de("./node_modules/core-js/internals/inspect-source.js"),a=de("./node_modules/core-js/internals/internal-state.js"),ee=a.get,E=a.enforce,te=String(String).split("String");(Be.exports=function(ne,oe,he,_e){var Pe=_e?!!_e.unsafe:!1,Qe=_e?!!_e.enumerable:!1,Ze=_e?!!_e.noTargetGet:!1,Ve;if(typeof he=="function"&&(typeof oe=="string"&&!Ce(he,"name")&&Fe(he,"name",oe),Ve=E(he),Ve.source||(Ve.source=te.join(typeof oe=="string"?oe:""))),ne===Ie){Qe?ne[oe]=he:ie(oe,he);return}else Pe?!Ze&&ne[oe]&&(Qe=!0):delete ne[oe];Qe?ne[oe]=he:Fe(ne,oe,he)})(Function.prototype,"toString",function(){return typeof this=="function"&&ee(this).source||y(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/an-object.js");Be.exports=function(){var Fe=Ie(this),Ce="";return Fe.global&&(Ce+="g"),Fe.ignoreCase&&(Ce+="i"),Fe.multiline&&(Ce+="m"),Fe.dotAll&&(Ce+="s"),Fe.unicode&&(Ce+="u"),Fe.sticky&&(Ce+="y"),Ce}},"./node_modules/core-js/internals/require-object-coercible.js":function(Be){Be.exports=function(Le){if(Le==null)throw TypeError("Can't call method on "+Le);return Le}},"./node_modules/core-js/internals/set-global.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js");Be.exports=function(Fe,Ce){try{Object.defineProperty(Ie,Fe,{value:Ce,configurable:!0,writable:!0})}catch(ie){Ie[Fe]=Ce}return Ce}},"./node_modules/core-js/internals/set-to-string-tag.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/object-define-property.js").f,Fe=de("./node_modules/core-js/internals/has.js"),Ce=de("./node_modules/core-js/internals/well-known-symbol.js"),ie=Ce("toStringTag");Be.exports=function(y,a,ee){y&&!Fe(y=ee?y:y.prototype,ie)&&Ie(y,ie,{configurable:!0,value:a})}},"./node_modules/core-js/internals/shared-key.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/shared.js"),Fe=de("./node_modules/core-js/internals/uid.js"),Ce=Ie("keys");Be.exports=function(ie){return Ce[ie]||(Ce[ie]=Fe(ie))}},"./node_modules/core-js/internals/shared-store.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/set-global.js"),Ce="__core-js_shared__",ie=Ie[Ce]||Fe(Ce,{});Be.exports=ie},"./node_modules/core-js/internals/shared.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/is-pure.js"),Fe=de("./node_modules/core-js/internals/shared-store.js");(Be.exports=function(Ce,ie){return Fe[Ce]||(Fe[Ce]=ie!==void 0?ie:{})})("versions",[]).push({version:"3.16.0",mode:Ie?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/fails.js");Be.exports=function(Fe){return Ie(function(){var Ce=""[Fe]('"');return Ce!==Ce.toLowerCase()||Ce.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/to-integer.js"),Fe=de("./node_modules/core-js/internals/to-string.js"),Ce=de("./node_modules/core-js/internals/require-object-coercible.js"),ie=function(y){return function(a,ee){var E=Fe(Ce(a)),te=Ie(ee),ne=E.length,oe,he;return te<0||te>=ne?y?"":void 0:(oe=E.charCodeAt(te),oe<55296||oe>56319||te+1===ne||(he=E.charCodeAt(te+1))<56320||he>57343?y?E.charAt(te):oe:y?E.slice(te,te+2):(oe-55296<<10)+(he-56320)+65536)}};Be.exports={codeAt:ie(!1),charAt:ie(!0)}},"./node_modules/core-js/internals/string-trim.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/require-object-coercible.js"),Fe=de("./node_modules/core-js/internals/to-string.js"),Ce=de("./node_modules/core-js/internals/whitespaces.js"),ie="["+Ce+"]",y=RegExp("^"+ie+ie+"*"),a=RegExp(ie+ie+"*$"),ee=function(E){return function(te){var ne=Fe(Ie(te));return E&1&&(ne=ne.replace(y,"")),E&2&&(ne=ne.replace(a,"")),ne}};Be.exports={start:ee(1),end:ee(2),trim:ee(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/to-integer.js"),Fe=Math.max,Ce=Math.min;Be.exports=function(ie,y){var a=Ie(ie);return a<0?Fe(a+y,0):Ce(a,y)}},"./node_modules/core-js/internals/to-indexed-object.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/indexed-object.js"),Fe=de("./node_modules/core-js/internals/require-object-coercible.js");Be.exports=function(Ce){return Ie(Fe(Ce))}},"./node_modules/core-js/internals/to-integer.js":function(Be){var Le=Math.ceil,de=Math.floor;Be.exports=function(Ie){return isNaN(Ie=+Ie)?0:(Ie>0?de:Le)(Ie)}},"./node_modules/core-js/internals/to-length.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/to-integer.js"),Fe=Math.min;Be.exports=function(Ce){return Ce>0?Fe(Ie(Ce),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/require-object-coercible.js");Be.exports=function(Fe){return Object(Ie(Fe))}},"./node_modules/core-js/internals/to-primitive.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/is-object.js"),Fe=de("./node_modules/core-js/internals/is-symbol.js"),Ce=de("./node_modules/core-js/internals/ordinary-to-primitive.js"),ie=de("./node_modules/core-js/internals/well-known-symbol.js"),y=ie("toPrimitive");Be.exports=function(a,ee){if(!Ie(a)||Fe(a))return a;var E=a[y],te;if(E!==void 0){if(ee===void 0&&(ee="default"),te=E.call(a,ee),!Ie(te)||Fe(te))return te;throw TypeError("Can't convert object to primitive value")}return ee===void 0&&(ee="number"),Ce(a,ee)}},"./node_modules/core-js/internals/to-property-key.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/to-primitive.js"),Fe=de("./node_modules/core-js/internals/is-symbol.js");Be.exports=function(Ce){var ie=Ie(Ce,"string");return Fe(ie)?ie:String(ie)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/well-known-symbol.js"),Fe=Ie("toStringTag"),Ce={};Ce[Fe]="z",Be.exports=String(Ce)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/is-symbol.js");Be.exports=function(Fe){if(Ie(Fe))throw TypeError("Cannot convert a Symbol value to a string");return String(Fe)}},"./node_modules/core-js/internals/uid.js":function(Be){var Le=0,de=Math.random();Be.exports=function(Ie){return"Symbol("+String(Ie===void 0?"":Ie)+")_"+(++Le+de).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/native-symbol.js");Be.exports=Ie&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/well-known-symbol.js");Le.f=Ie},"./node_modules/core-js/internals/well-known-symbol.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/shared.js"),Ce=de("./node_modules/core-js/internals/has.js"),ie=de("./node_modules/core-js/internals/uid.js"),y=de("./node_modules/core-js/internals/native-symbol.js"),a=de("./node_modules/core-js/internals/use-symbol-as-uid.js"),ee=Fe("wks"),E=Ie.Symbol,te=a?E:E&&E.withoutSetter||ie;Be.exports=function(ne){return(!Ce(ee,ne)||!(y||typeof ee[ne]=="string"))&&(y&&Ce(E,ne)?ee[ne]=E[ne]:ee[ne]=te("Symbol."+ne)),ee[ne]}},"./node_modules/core-js/internals/whitespaces.js":function(Be){Be.exports=` \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/fails.js"),Ce=de("./node_modules/core-js/internals/is-array.js"),ie=de("./node_modules/core-js/internals/is-object.js"),y=de("./node_modules/core-js/internals/to-object.js"),a=de("./node_modules/core-js/internals/to-length.js"),ee=de("./node_modules/core-js/internals/create-property.js"),E=de("./node_modules/core-js/internals/array-species-create.js"),te=de("./node_modules/core-js/internals/array-method-has-species-support.js"),ne=de("./node_modules/core-js/internals/well-known-symbol.js"),oe=de("./node_modules/core-js/internals/engine-v8-version.js"),he=ne("isConcatSpreadable"),_e=9007199254740991,Pe="Maximum allowed index exceeded",Qe=oe>=51||!Fe(function(){var De=[];return De[he]=!1,De.concat()[0]!==De}),Ze=te("concat"),Ve=function(De){if(!ie(De))return!1;var Bt=De[he];return Bt!==void 0?!!Bt:Ce(De)},nt=!Qe||!Ze;Ie({target:"Array",proto:!0,forced:nt},{concat:function(Bt){var ke=y(this),Ot=E(ke,0),it=0,rt,wt,dt,pt,st;for(rt=-1,dt=arguments.length;rt_e)throw TypeError(Pe);for(wt=0;wt=_e)throw TypeError(Pe);ee(Ot,it++,st)}return Ot.length=it,Ot}})},"./node_modules/core-js/modules/es.array.iterator.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/to-indexed-object.js"),Fe=de("./node_modules/core-js/internals/add-to-unscopables.js"),Ce=de("./node_modules/core-js/internals/iterators.js"),ie=de("./node_modules/core-js/internals/internal-state.js"),y=de("./node_modules/core-js/internals/define-iterator.js"),a="Array Iterator",ee=ie.set,E=ie.getterFor(a);Be.exports=y(Array,"Array",function(te,ne){ee(this,{type:a,target:Ie(te),index:0,kind:ne})},function(){var te=E(this),ne=te.target,oe=te.kind,he=te.index++;return!ne||he>=ne.length?(te.target=void 0,{value:void 0,done:!0}):oe=="keys"?{value:he,done:!1}:oe=="values"?{value:ne[he],done:!1}:{value:[he,ne[he]],done:!1}},"values"),Ce.Arguments=Ce.Array,Fe("keys"),Fe("values"),Fe("entries")},"./node_modules/core-js/modules/es.array.join.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/indexed-object.js"),Ce=de("./node_modules/core-js/internals/to-indexed-object.js"),ie=de("./node_modules/core-js/internals/array-method-is-strict.js"),y=[].join,a=Fe!=Object,ee=ie("join",",");Ie({target:"Array",proto:!0,forced:a||!ee},{join:function(te){return y.call(Ce(this),te===void 0?",":te)}})},"./node_modules/core-js/modules/es.array.map.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/array-iteration.js").map,Ce=de("./node_modules/core-js/internals/array-method-has-species-support.js"),ie=Ce("map");Ie({target:"Array",proto:!0,forced:!ie},{map:function(a){return Fe(this,a,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/is-object.js"),Ce=de("./node_modules/core-js/internals/is-array.js"),ie=de("./node_modules/core-js/internals/to-absolute-index.js"),y=de("./node_modules/core-js/internals/to-length.js"),a=de("./node_modules/core-js/internals/to-indexed-object.js"),ee=de("./node_modules/core-js/internals/create-property.js"),E=de("./node_modules/core-js/internals/well-known-symbol.js"),te=de("./node_modules/core-js/internals/array-method-has-species-support.js"),ne=te("slice"),oe=E("species"),he=[].slice,_e=Math.max;Ie({target:"Array",proto:!0,forced:!ne},{slice:function(Qe,Ze){var Ve=a(this),nt=y(Ve.length),De=ie(Qe,nt),Bt=ie(Ze===void 0?nt:Ze,nt),ke,Ot,it;if(Ce(Ve)&&(ke=Ve.constructor,typeof ke=="function"&&(ke===Array||Ce(ke.prototype))?ke=void 0:Fe(ke)&&(ke=ke[oe],ke===null&&(ke=void 0)),ke===Array||ke===void 0))return he.call(Ve,De,Bt);for(Ot=new(ke===void 0?Array:ke)(_e(Bt-De,0)),it=0;De2){if(dt=Qe(dt),pt=dt.charCodeAt(0),pt===43||pt===45){if(st=dt.charCodeAt(2),st===88||st===120)return NaN}else if(pt===48){switch(dt.charCodeAt(1)){case 66:case 98:ft=2,rn=49;break;case 79:case 111:ft=8,rn=55;break;default:return+dt}for(fn=dt.slice(2),Et=fn.length,Jt=0;Jtrn)return NaN;return parseInt(fn,ft)}}return+dt};if(Ce(Ze,!Ve(" 0o1")||!Ve("0b1")||Ve("+0x1"))){for(var ke=function(dt){var pt=arguments.length<1?0:dt,st=this;return st instanceof ke&&(De?ne(function(){nt.valueOf.call(st)}):a(st)!=Ze)?ee(new Ve(Bt(pt)),st,ke):Bt(pt)},Ot=Ie?he(Ve):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),it=0,rt;Ot.length>it;it++)y(Ve,rt=Ot[it])&&!y(ke,rt)&&Pe(ke,rt,_e(Ve,rt));ke.prototype=nt,nt.constructor=ke,ie(Fe,Ze,ke)}},"./node_modules/core-js/modules/es.object.assign.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/object-assign.js");Ie({target:"Object",stat:!0,forced:Object.assign!==Fe},{assign:Fe})},"./node_modules/core-js/modules/es.object.keys.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/to-object.js"),Ce=de("./node_modules/core-js/internals/object-keys.js"),ie=de("./node_modules/core-js/internals/fails.js"),y=ie(function(){Ce(1)});Ie({target:"Object",stat:!0,forced:y},{keys:function(ee){return Ce(Fe(ee))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/to-string-tag-support.js"),Fe=de("./node_modules/core-js/internals/redefine.js"),Ce=de("./node_modules/core-js/internals/object-to-string.js");Ie||Fe(Object.prototype,"toString",Ce,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/redefine.js"),Fe=de("./node_modules/core-js/internals/an-object.js"),Ce=de("./node_modules/core-js/internals/to-string.js"),ie=de("./node_modules/core-js/internals/fails.js"),y=de("./node_modules/core-js/internals/regexp-flags.js"),a="toString",ee=RegExp.prototype,E=ee[a],te=ie(function(){return E.call({source:"a",flags:"b"})!="/a/b"}),ne=E.name!=a;(te||ne)&&Ie(RegExp.prototype,a,function(){var he=Fe(this),_e=Ce(he.source),Pe=he.flags,Qe=Ce(Pe===void 0&&he instanceof RegExp&&!("flags"in ee)?y.call(he):Pe);return"/"+_e+"/"+Qe},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/string-multibyte.js").charAt,Fe=de("./node_modules/core-js/internals/to-string.js"),Ce=de("./node_modules/core-js/internals/internal-state.js"),ie=de("./node_modules/core-js/internals/define-iterator.js"),y="String Iterator",a=Ce.set,ee=Ce.getterFor(y);ie(String,"String",function(E){a(this,{type:y,string:Fe(E),index:0})},function(){var te=ee(this),ne=te.string,oe=te.index,he;return oe>=ne.length?{value:void 0,done:!0}:(he=Ie(ne,oe),te.index+=he.length,{value:he,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/create-html.js"),Ce=de("./node_modules/core-js/internals/string-html-forced.js");Ie({target:"String",proto:!0,forced:Ce("link")},{link:function(y){return Fe(this,"a","href",y)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/descriptors.js"),Ce=de("./node_modules/core-js/internals/global.js"),ie=de("./node_modules/core-js/internals/has.js"),y=de("./node_modules/core-js/internals/is-object.js"),a=de("./node_modules/core-js/internals/object-define-property.js").f,ee=de("./node_modules/core-js/internals/copy-constructor-properties.js"),E=Ce.Symbol;if(Fe&&typeof E=="function"&&(!("description"in E.prototype)||E().description!==void 0)){var te={},ne=function(){var Ze=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),Ve=this instanceof ne?new E(Ze):Ze===void 0?E():E(Ze);return Ze===""&&(te[Ve]=!0),Ve};ee(ne,E);var oe=ne.prototype=E.prototype;oe.constructor=ne;var he=oe.toString,_e=String(E("test"))=="Symbol(test)",Pe=/^Symbol\((.*)\)[^)]+$/;a(oe,"description",{configurable:!0,get:function(){var Ze=y(this)?this.valueOf():this,Ve=he.call(Ze);if(ie(te,Ze))return"";var nt=_e?Ve.slice(7,-1):Ve.replace(Pe,"$1");return nt===""?void 0:nt}}),Ie({global:!0,forced:!0},{Symbol:ne})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/define-well-known-symbol.js");Ie("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(Be,Le,de){"use strict";var Ie=de("./node_modules/core-js/internals/export.js"),Fe=de("./node_modules/core-js/internals/global.js"),Ce=de("./node_modules/core-js/internals/get-built-in.js"),ie=de("./node_modules/core-js/internals/is-pure.js"),y=de("./node_modules/core-js/internals/descriptors.js"),a=de("./node_modules/core-js/internals/native-symbol.js"),ee=de("./node_modules/core-js/internals/fails.js"),E=de("./node_modules/core-js/internals/has.js"),te=de("./node_modules/core-js/internals/is-array.js"),ne=de("./node_modules/core-js/internals/is-object.js"),oe=de("./node_modules/core-js/internals/is-symbol.js"),he=de("./node_modules/core-js/internals/an-object.js"),_e=de("./node_modules/core-js/internals/to-object.js"),Pe=de("./node_modules/core-js/internals/to-indexed-object.js"),Qe=de("./node_modules/core-js/internals/to-property-key.js"),Ze=de("./node_modules/core-js/internals/to-string.js"),Ve=de("./node_modules/core-js/internals/create-property-descriptor.js"),nt=de("./node_modules/core-js/internals/object-create.js"),De=de("./node_modules/core-js/internals/object-keys.js"),Bt=de("./node_modules/core-js/internals/object-get-own-property-names.js"),ke=de("./node_modules/core-js/internals/object-get-own-property-names-external.js"),Ot=de("./node_modules/core-js/internals/object-get-own-property-symbols.js"),it=de("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),rt=de("./node_modules/core-js/internals/object-define-property.js"),wt=de("./node_modules/core-js/internals/object-property-is-enumerable.js"),dt=de("./node_modules/core-js/internals/create-non-enumerable-property.js"),pt=de("./node_modules/core-js/internals/redefine.js"),st=de("./node_modules/core-js/internals/shared.js"),ft=de("./node_modules/core-js/internals/shared-key.js"),rn=de("./node_modules/core-js/internals/hidden-keys.js"),fn=de("./node_modules/core-js/internals/uid.js"),Et=de("./node_modules/core-js/internals/well-known-symbol.js"),Jt=de("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),Ln=de("./node_modules/core-js/internals/define-well-known-symbol.js"),Hn=de("./node_modules/core-js/internals/set-to-string-tag.js"),un=de("./node_modules/core-js/internals/internal-state.js"),Vn=de("./node_modules/core-js/internals/array-iteration.js").forEach,yt=ft("hidden"),Kn="Symbol",er="prototype",Re=Et("toPrimitive"),Kt=un.set,Te=un.getterFor(Kn),pe=Object[er],ce=Fe.Symbol,ye=Ce("JSON","stringify"),qe=it.f,gt=rt.f,Me=ke.f,Xe=wt.f,Pt=st("symbols"),ct=st("op-symbols"),ot=st("string-to-symbol-registry"),kt=st("symbol-to-string-registry"),_n=st("wks"),_t=Fe.QObject,nn=!_t||!_t[er]||!_t[er].findChild,Nt=y&&ee(function(){return nt(gt({},"a",{get:function(){return gt(this,"a",{value:7}).a}})).a!=7})?function(Hr,br,Tr){var ta=qe(pe,br);ta&&delete pe[br],gt(Hr,br,Tr),ta&&Hr!==pe&>(pe,br,ta)}:gt,yn=function(Hr,br){var Tr=Pt[Hr]=nt(ce[er]);return Kt(Tr,{type:Kn,tag:Hr,description:br}),y||(Tr.description=br),Tr},Xt=function(br,Tr,ta){br===pe&&Xt(ct,Tr,ta),he(br);var _a=Qe(Tr);return he(ta),E(Pt,_a)?(ta.enumerable?(E(br,yt)&&br[yt][_a]&&(br[yt][_a]=!1),ta=nt(ta,{enumerable:Ve(0,!1)})):(E(br,yt)||gt(br,yt,Ve(1,{})),br[yt][_a]=!0),Nt(br,_a,ta)):gt(br,_a,ta)},Jn=function(br,Tr){he(br);var ta=Pe(Tr),_a=De(ta).concat(la(ta));return Vn(_a,function(fo){(!y||tr.call(ta,fo))&&Xt(br,fo,ta[fo])}),br},hr=function(br,Tr){return Tr===void 0?nt(br):Jn(nt(br),Tr)},tr=function(br){var Tr=Qe(br),ta=Xe.call(this,Tr);return this===pe&&E(Pt,Tr)&&!E(ct,Tr)?!1:ta||!E(this,Tr)||!E(Pt,Tr)||E(this,yt)&&this[yt][Tr]?ta:!0},Dr=function(br,Tr){var ta=Pe(br),_a=Qe(Tr);if(!(ta===pe&&E(Pt,_a)&&!E(ct,_a))){var fo=qe(ta,_a);return fo&&E(Pt,_a)&&!(E(ta,yt)&&ta[yt][_a])&&(fo.enumerable=!0),fo}},Or=function(br){var Tr=Me(Pe(br)),ta=[];return Vn(Tr,function(_a){!E(Pt,_a)&&!E(rn,_a)&&ta.push(_a)}),ta},la=function(br){var Tr=br===pe,ta=Me(Tr?ct:Pe(br)),_a=[];return Vn(ta,function(fo){E(Pt,fo)&&(!Tr||E(pe,fo))&&_a.push(Pt[fo])}),_a};if(a||(ce=function(){if(this instanceof ce)throw TypeError("Symbol is not a constructor");var br=!arguments.length||arguments[0]===void 0?void 0:Ze(arguments[0]),Tr=fn(br),ta=function(_a){this===pe&&ta.call(ct,_a),E(this,yt)&&E(this[yt],Tr)&&(this[yt][Tr]=!1),Nt(this,Tr,Ve(1,_a))};return y&&nn&&Nt(pe,Tr,{configurable:!0,set:ta}),yn(Tr,br)},pt(ce[er],"toString",function(){return Te(this).tag}),pt(ce,"withoutSetter",function(Hr){return yn(fn(Hr),Hr)}),wt.f=tr,rt.f=Xt,it.f=Dr,Bt.f=ke.f=Or,Ot.f=la,Jt.f=function(Hr){return yn(Et(Hr),Hr)},y&&(gt(ce[er],"description",{configurable:!0,get:function(){return Te(this).description}}),ie||pt(pe,"propertyIsEnumerable",tr,{unsafe:!0}))),Ie({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:ce}),Vn(De(_n),function(Hr){Ln(Hr)}),Ie({target:Kn,stat:!0,forced:!a},{for:function(Hr){var br=Ze(Hr);if(E(ot,br))return ot[br];var Tr=ce(br);return ot[br]=Tr,kt[Tr]=br,Tr},keyFor:function(br){if(!oe(br))throw TypeError(br+" is not a symbol");if(E(kt,br))return kt[br]},useSetter:function(){nn=!0},useSimple:function(){nn=!1}}),Ie({target:"Object",stat:!0,forced:!a,sham:!y},{create:hr,defineProperty:Xt,defineProperties:Jn,getOwnPropertyDescriptor:Dr}),Ie({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:Or,getOwnPropertySymbols:la}),Ie({target:"Object",stat:!0,forced:ee(function(){Ot.f(1)})},{getOwnPropertySymbols:function(br){return Ot.f(_e(br))}}),ye){var sa=!a||ee(function(){var Hr=ce();return ye([Hr])!="[null]"||ye({a:Hr})!="{}"||ye(Object(Hr))!="{}"});Ie({target:"JSON",stat:!0,forced:sa},{stringify:function(br,Tr,ta){for(var _a=[br],fo=1,ea;arguments.length>fo;)_a.push(arguments[fo++]);if(ea=Tr,!(!ne(Tr)&&br===void 0||oe(br)))return te(Tr)||(Tr=function(pi,_i){if(typeof ea=="function"&&(_i=ea.call(this,pi,_i)),!oe(_i))return _i}),_a[1]=Tr,ye.apply(null,_a)}})}ce[er][Re]||dt(ce[er],Re,ce[er].valueOf),Hn(ce,Kn),rn[yt]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/dom-iterables.js"),Ce=de("./node_modules/core-js/internals/array-for-each.js"),ie=de("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var y in Fe){var a=Ie[y],ee=a&&a.prototype;if(ee&&ee.forEach!==Ce)try{ie(ee,"forEach",Ce)}catch(E){ee.forEach=Ce}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(Be,Le,de){var Ie=de("./node_modules/core-js/internals/global.js"),Fe=de("./node_modules/core-js/internals/dom-iterables.js"),Ce=de("./node_modules/core-js/modules/es.array.iterator.js"),ie=de("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=de("./node_modules/core-js/internals/well-known-symbol.js"),a=y("iterator"),ee=y("toStringTag"),E=Ce.values;for(var te in Fe){var ne=Ie[te],oe=ne&&ne.prototype;if(oe){if(oe[a]!==E)try{ie(oe,a,E)}catch(_e){oe[a]=E}if(oe[ee]||ie(oe,ee,te),Fe[te]){for(var he in Ce)if(oe[he]!==Ce[he])try{ie(oe,he,Ce[he])}catch(_e){oe[he]=Ce[he]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(Be){(function(Le,de){Be.exports=de()})(this,function(){"use strict";function Le(_t){var nn=typeof _t;return _t!==null&&(nn==="object"||nn==="function")}function de(_t){return typeof _t=="function"}var Ie=void 0;Array.isArray?Ie=Array.isArray:Ie=function(_t){return Object.prototype.toString.call(_t)==="[object Array]"};var Fe=Ie,Ce=0,ie=void 0,y=void 0,a=function(nn,Nt){De[Ce]=nn,De[Ce+1]=Nt,Ce+=2,Ce===2&&(y?y(Bt):Ot())};function ee(_t){y=_t}function E(_t){a=_t}var te=typeof window!="undefined"?window:void 0,ne=te||{},oe=ne.MutationObserver||ne.WebKitMutationObserver,he=typeof self=="undefined"&&typeof Oe!="undefined"&&{}.toString.call(Oe)==="[object process]",_e=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Pe(){return function(){return Oe.nextTick(Bt)}}function Qe(){return typeof ie!="undefined"?function(){ie(Bt)}:nt()}function Ze(){var _t=0,nn=new oe(Bt),Nt=document.createTextNode("");return nn.observe(Nt,{characterData:!0}),function(){Nt.data=_t=++_t%2}}function Ve(){var _t=new MessageChannel;return _t.port1.onmessage=Bt,function(){return _t.port2.postMessage(0)}}function nt(){var _t=setTimeout;return function(){return _t(Bt,1)}}var De=new Array(1e3);function Bt(){for(var _t=0;_t>1,de=-7,Ie=be?at-1:0,Fe=be?-1:1,Ce=we[Oe+Ie];for(Ie+=Fe,Ge=Ce&(1<<-de)-1,Ce>>=-de,de+=me;de>0;Ge=Ge*256+we[Oe+Ie],Ie+=Fe,de-=8);for(je=Ge&(1<<-de)-1,Ge>>=-de,de+=ze;de>0;je=je*256+we[Oe+Ie],Ie+=Fe,de-=8);if(Ge===0)Ge=1-Le;else{if(Ge===Be)return je?NaN:(Ce?-1:1)*(1/0);je=je+Math.pow(2,ze),Ge=Ge-Le}return(Ce?-1:1)*je*Math.pow(2,Ge-ze)},Ut.write=function(we,Oe,be,ze,at,Ge){var je,me,Be,Le=Ge*8-at-1,de=(1<>1,Fe=at===23?Math.pow(2,-24)-Math.pow(2,-77):0,Ce=ze?0:Ge-1,ie=ze?1:-1,y=Oe<0||Oe===0&&1/Oe<0?1:0;for(Oe=Math.abs(Oe),isNaN(Oe)||Oe===1/0?(me=isNaN(Oe)?1:0,je=de):(je=Math.floor(Math.log(Oe)/Math.LN2),Oe*(Be=Math.pow(2,-je))<1&&(je--,Be*=2),je+Ie>=1?Oe+=Fe/Be:Oe+=Fe*Math.pow(2,1-Ie),Oe*Be>=2&&(je++,Be/=2),je+Ie>=de?(me=0,je=de):je+Ie>=1?(me=(Oe*Be-1)*Math.pow(2,at),je=je+Ie):(me=Oe*Math.pow(2,Ie-1)*Math.pow(2,at),je=0));at>=8;we[be+Ce]=me&255,Ce+=ie,me/=256,at-=8);for(je=je<0;we[be+Ce]=je&255,Ce+=ie,je/=256,Le-=8);we[be+Ce-ie]|=y*128}},65355:function(on,Ut,we){"use strict";we.r(Ut),we.d(Ut,{AcroForm:function(){return ru},AcroFormAppearance:function(){return aa},AcroFormButton:function(){return ho},AcroFormCheckBox:function(){return mi},AcroFormChoiceField:function(){return ia},AcroFormComboBox:function(){return Ra},AcroFormEditBox:function(){return Qa},AcroFormListBox:function(){return xo},AcroFormPasswordField:function(){return mo},AcroFormPushButton:function(){return Mo},AcroFormRadioButton:function(){return Ao},AcroFormTextField:function(){return Vo},GState:function(){return Zg},ShadingPattern:function(){return Yc},TilingPattern:function(){return Jc},default:function(){return Wa},jsPDF:function(){return Wa}});var Oe=we(76190),be={},ze=function(b,z,x,re,ae){var se=new Worker(be[z]||(be[z]=URL.createObjectURL(new Blob([b+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return se.onmessage=function(Ee){var Se=Ee.data,xe=Se.$e$;if(xe){var Ne=new Error(xe[0]);Ne.code=xe[1],Ne.stack=xe[2],ae(Ne,null)}else ae(null,Se)},se.postMessage(x,re),se},at=Uint8Array,Ge=Uint16Array,je=Int32Array,me=new at([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Be=new at([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Le=new at([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),de=function(b,z){for(var x=new Ge(31),re=0;re<31;++re)x[re]=z+=1<>1|(E&21845)<<1;te=(te&52428)>>2|(te&13107)<<2,te=(te&61680)>>4|(te&3855)<<4,ee[E]=((te&65280)>>8|(te&255)<<8)>>1}for(var ne=function(b,z,x){for(var re=b.length,ae=0,se=new Ge(z);ae>xe]=Ne}else for(Se=new Ge(re),ae=0;ae>15-b[ae]);return Se},oe=new at(288),E=0;E<144;++E)oe[E]=8;for(var E=144;E<256;++E)oe[E]=9;for(var E=256;E<280;++E)oe[E]=7;for(var E=280;E<288;++E)oe[E]=8;for(var he=new at(32),E=0;E<32;++E)he[E]=5;var _e=ne(oe,9,0),Pe=null,Qe=ne(he,5,0),Ze=null,Ve=function(b){for(var z=b[0],x=1;xz&&(z=b[x]);return z},nt=function(b,z,x){var re=z/8|0;return(b[re]|b[re+1]<<8)>>(z&7)&x},De=function(b,z){var x=z/8|0;return(b[x]|b[x+1]<<8|b[x+2]<<16)>>(z&7)},Bt=function(b){return(b+7)/8|0},ke=function(b,z,x){return(z==null||z<0)&&(z=0),(x==null||x>b.length)&&(x=b.length),new at(b.subarray(z,x))},Ot={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},it=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],rt=function(b,z,x){var re=new Error(z||it[b]);if(re.code=b,Error.captureStackTrace&&Error.captureStackTrace(re,rt),!x)throw re;return re},wt=function(b,z,x,re){var ae=b.length,se=re?re.length:0;if(!ae||z.f&&!z.l)return x||new at(0);var Ee=!x,Se=Ee||z.i!=2,xe=z.i;Ee&&(x=new at(ae*3));var Ne=function(zr){var pa=x.length;if(zr>pa){var ya=new at(Math.max(pa*2,zr));ya.set(x),x=ya}},We=z.f||0,At=z.p||0,mt=z.b||0,$e=z.l,Mt=z.d,Tt=z.m,Ht=z.n,xt=ae*8;do{if(!$e){We=nt(b,At,1);var Sn=nt(b,At+1,3);if(At+=3,Sn)if(Sn==1)$e=Pe,Mt=Ze,Tt=9,Ht=5;else if(Sn==2){var Br=nt(b,At,31)+257,ar=nt(b,At+10,15)+4,xn=Br+nt(b,At+5,31)+1;At+=14;for(var tn=new at(xn),Mn=new at(19),Ft=0;Ft>4;if(cn<16)tn[Ft++]=cn;else{var rr=0,Ar=0;for(cn==16?(Ar=3+nt(b,At,3),At+=2,rr=tn[Ft-1]):cn==17?(Ar=3+nt(b,At,7),At+=3):cn==18&&(Ar=11+nt(b,At,127),At+=7);Ar--;)tn[Ft++]=rr}}var Zn=tn.subarray(0,Br),cr=tn.subarray(Br);Tt=Ve(Zn),Ht=Ve(cr),$e=ne(Zn,Tt,1),Mt=ne(cr,Ht,1)}else rt(1);else{var cn=Bt(At)+4,qt=b[cn-4]|b[cn-3]<<8,Yn=cn+qt;if(Yn>ae){xe&&rt(0);break}Se&&Ne(mt+qt),x.set(b.subarray(cn,Yn),mt),z.b=mt+=qt,z.p=At=Yn*8,z.f=We;continue}if(At>xt){xe&&rt(0);break}}Se&&Ne(mt+131072);for(var qr=(1<>4;if(At+=rr&15,At>xt){xe&&rt(0);break}if(rr||rt(2),Yt<256)x[mt++]=Yt;else if(Yt==256){Ct=At,$e=null;break}else{var sn=Yt-254;if(Yt>264){var Ft=Yt-257,Cn=me[Ft];sn=nt(b,At,(1<>4;Tn||rt(3),At+=Tn&15;var cr=y[Wn];if(Wn>3){var Cn=Be[Wn];cr+=De(b,At)&(1<xt){xe&&rt(0);break}Se&&Ne(mt+131072);var ir=mt+sn;if(mt>8},pt=function(b,z,x){x<<=z&7;var re=z/8|0;b[re]|=x,b[re+1]|=x>>8,b[re+2]|=x>>16},st=function(b,z){for(var x=[],re=0;remt&&(mt=se[re].s);var $e=new Ge(mt+1),Mt=ft(x[We-1],$e,0);if(Mt>z){var re=0,Tt=0,Ht=Mt-z,xt=1<z)Tt+=xt-(1<>=Ht;Tt>0;){var cn=se[re].s;$e[cn]=0&&Tt;--re){var qt=se[re].s;$e[qt]==z&&(--$e[qt],++Tt)}Mt=z}return{t:new at($e),l:Mt}},ft=function(b,z,x){return b.s==-1?Math.max(ft(b.l,z,x+1),ft(b.r,z,x+1)):z[b.s]=x},rn=function(b){for(var z=b.length;z&&!b[--z];);for(var x=new Ge(++z),re=0,ae=b[0],se=1,Ee=function(xe){x[re++]=xe},Se=1;Se<=z;++Se)if(b[Se]==ae&&Se!=z)++se;else{if(!ae&&se>2){for(;se>138;se-=138)Ee(32754);se>2&&(Ee(se>10?se-11<<5|28690:se-3<<5|12305),se=0)}else if(se>3){for(Ee(ae),--se;se>6;se-=6)Ee(8304);se>2&&(Ee(se-3<<5|8208),se=0)}for(;se--;)Ee(ae);se=1,ae=b[Se]}return{c:x.subarray(0,re),n:z}},fn=function(b,z){for(var x=0,re=0;re>8,b[ae+2]=b[ae]^255,b[ae+3]=b[ae+1]^255;for(var se=0;se4&&!Mn[Le[zt-1]];--zt);var pn=Ne+5<<3,gn=fn(ae,oe)+fn(se,he)+Ee,qn=fn(ae,mt)+fn(se,Tt)+Ee+14+3*zt+fn(ar,Mn)+2*ar[16]+3*ar[17]+7*ar[18];if(xe>=0&&pn<=gn&&pn<=qn)return Et(z,We,b.subarray(xe,xe+Ne));var rr,Ar,Zn,cr;if(dt(z,We,1+(qn15&&(dt(z,We,Yt[xn]>>5&127),We+=Yt[xn]>>12)}}else rr=_e,Ar=oe,Zn=Qe,cr=he;for(var xn=0;xn255){var sn=Cn>>18&31;pt(z,We,rr[sn+257]),We+=Ar[sn+257],sn>7&&(dt(z,We,Cn>>23&31),We+=me[sn]);var Tn=Cn&31;pt(z,We,Zn[Tn]),We+=cr[Tn],Tn>3&&(pt(z,We,Cn>>5&8191),We+=Be[Tn])}else pt(z,We,rr[Cn]),We+=Ar[Cn]}return pt(z,We,rr[256]),We+Ar[256]},Ln=new je([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Hn=new at(0),un=function(b,z,x,re,ae,se){var Ee=se.z||b.length,Se=new at(re+Ee+5*(1+Math.ceil(Ee/7e3))+ae),xe=Se.subarray(re,Se.length-ae),Ne=se.l,We=(se.r||0)&7;if(z){We&&(xe[0]=se.r>>3);for(var At=Ln[z-1],mt=At>>13,$e=At&8191,Mt=(1<7e3||Mn>24576)&&(rr>423||!Ne)){We=Jt(b,xe,0,qt,Yn,Br,xn,Mn,zt,tn-zt,We),Mn=ar=xn=0,zt=tn;for(var Ar=0;Ar<286;++Ar)Yn[Ar]=0;for(var Ar=0;Ar<30;++Ar)Br[Ar]=0}var Zn=2,cr=0,qr=$e,Lr=gn-qn&32767;if(rr>2&&pn==cn(tn-Lr))for(var Ct=Math.min(mt,rr)-1,Yt=Math.min(32767,tn),sn=Math.min(258,rr);Lr<=Yt&&--qr&&gn!=qn;){if(b[tn+Zn]==b[tn+Zn-Lr]){for(var Cn=0;CnZn){if(Zn=Cn,cr=Lr,Cn>Ct)break;for(var Tn=Math.min(Lr,Cn-2),Wn=0,Ar=0;ArWn&&(Wn=Cr,qn=ir)}}}gn=qn,qn=Tt[gn],Lr+=gn-qn&32767}if(cr){qt[Mn++]=268435456|Ce[Zn]<<18|a[cr];var zr=Ce[Zn]&31,pa=a[cr]&31;xn+=me[zr]+Be[pa],++Yn[257+zr],++Br[pa],Ft=tn+Zn,++ar}else qt[Mn++]=b[tn],++Yn[b[tn]]}}for(tn=Math.max(tn,Ft);tn=Ee&&(xe[We/8|0]=Ne,ya=Ee),We=Et(xe,We+1,b.subarray(tn,ya))}se.i=Ee}return ke(Se,0,re+Bt(We)+ae)},Vn=null,yt=function(){var b=-1;return{p:function(z){for(var x=b,re=0;re>>8;b=x},d:function(){return~b}}},Kn=function(){var b=1,z=0;return{p:function(x){for(var re=b,ae=z,se=x.length|0,Ee=0;Ee!=se;){for(var Se=Math.min(Ee+2655,se);Ee>16),ae=(ae&65535)+15*(ae>>16)}b=re,z=ae},d:function(){return b%=65521,z%=65521,(b&255)<<24|(b&65280)<<8|(z&255)<<8|z>>8}}},er=function(b,z,x,re,ae){if(!ae&&(ae={l:1},z.dictionary)){var se=z.dictionary.subarray(-32768),Ee=new at(se.length+b.length);Ee.set(se),Ee.set(b,se.length),b=Ee,ae.w=se.length}return un(b,z.level==null?6:z.level,z.mem==null?ae.l?Math.ceil(Math.max(8,Math.min(13,Math.log(b.length)))*1.5):20:12+z.mem,x,re,ae)},Re=function(b,z){var x={};for(var re in b)x[re]=b[re];for(var re in z)x[re]=z[re];return x},Kt=function(b,z,x){for(var re=b(),ae=b.toString(),se=ae.slice(ae.indexOf("[")+1,ae.lastIndexOf("]")).replace(/\s+/g,"").split(","),Ee=0;Ee>>0},yn=function(b,z){return Nt(b,z)+Nt(b,z+4)*4294967296},Xt=function(b,z,x){for(;x;++z)b[z]=x,x>>>=8},Jn=function(b,z){var x=z.filename;if(b[0]=31,b[1]=139,b[2]=8,b[8]=z.level<2?4:z.level==9?2:0,b[9]=3,z.mtime!=0&&Xt(b,4,Math.floor(new Date(z.mtime||Date.now())/1e3)),x){b[3]=8;for(var re=0;re<=x.length;++re)b[re+10]=x.charCodeAt(re)}},hr=function(b){(b[0]!=31||b[1]!=139||b[2]!=8)&&rt(6,"invalid gzip data");var z=b[3],x=10;z&4&&(x+=(b[10]|b[11]<<8)+2);for(var re=(z>>3&1)+(z>>4&1);re>0;re-=!b[x++]);return x+(z&2)},tr=function(b){var z=b.length;return(b[z-4]|b[z-3]<<8|b[z-2]<<16|b[z-1]<<24)>>>0},Dr=function(b){return 10+(b.filename?b.filename.length+1:0)},Or=function(b,z){var x=z.level,re=x==0?0:x<6?1:x==9?3:2;if(b[0]=120,b[1]=re<<6|(z.dictionary&&32),b[1]|=31-(b[0]<<8|b[1])%31,z.dictionary){var ae=Kn();ae.p(z.dictionary),Xt(b,2,ae.d())}},la=function(b,z){return((b[0]&15)!=8||b[0]>>4>7||(b[0]<<8|b[1])%31)&&rt(6,"invalid zlib data"),(b[1]>>5&1)==+!z&&rt(6,"invalid zlib data: "+(b[1]&32?"need":"unexpected")+" dictionary"),(b[1]>>3&4)+2};function sa(b,z){return typeof b=="function"&&(z=b,b={}),this.ondata=z,b}var Hr=null,br=null;function Tr(b,z,x){return x||(x=z,z={}),typeof x!="function"&&rt(7),kt(b,z,[qe],function(re){return ct(ta(re.data[0],re.data[1]))},0,x)}function ta(b,z){return er(b,z||{},0,0)}var _a=null,fo=null;function ea(b,z,x){return x||(x=z,z={}),typeof x!="function"&&rt(7),kt(b,z,[ye],function(re){return ct(pi(re.data[0],ot(re.data[1])))},1,x)}function pi(b,z){return wt(b,{i:2},z&&z.out,z&&z.dictionary)}var _i=null,na=null;function ln(b,z,x){return x||(x=z,z={}),typeof x!="function"&&rt(7),kt(b,z,[qe,gt,function(){return[zA]}],function(re){return ct(zA(re.data[0],re.data[1]))},2,x)}function zA(b,z){z||(z={});var x=yt(),re=b.length;x.p(b);var ae=er(b,z,Dr(z),8),se=ae.length;return Jn(ae,z),Xt(ae,se-8,x.d()),Xt(ae,se-4,re),ae}var fA=null,UA=null;function ds(b,z,x){return x||(x=z,z={}),typeof x!="function"&&rt(7),kt(b,z,[ye,Me,function(){return[wi]}],function(re){return ct(wi(re.data[0],re.data[1]))},3,x)}function wi(b,z){var x=hr(b);return x+8>b.length&&rt(6,"invalid gzip data"),wt(b.subarray(x,-8),{i:2},z&&z.out||new at(tr(b)),z&&z.dictionary)}var Gs=null,SA=null;function Ji(b,z,x){return x||(x=z,z={}),typeof x!="function"&&rt(7),kt(b,z,[qe,Xe,function(){return[En]}],function(re){return ct(En(re.data[0],re.data[1]))},4,x)}function En(b,z){z||(z={});var x=Kn();x.p(b);var re=er(b,z,z.dictionary?6:2,4);return Or(re,z),Xt(re,re.length-4,x.d()),re}var Dn=null,vn=null;function kr(b,z,x){return x||(x=z,z={}),typeof x!="function"&&rt(7),kt(b,z,[ye,Pt,function(){return[Ea]}],function(re){return ct(Ea(re.data[0],ot(re.data[1])))},5,x)}function Ea(b,z){return wt(b.subarray(la(b,z&&z.dictionary),-4),{i:2},z&&z.out,z&&z.dictionary)}var Zr=null,si=null;function vo(b,z,x){return x||(x=z,z={}),typeof x!="function"&&rt(7),b[0]==31&&b[1]==139&&b[2]==8?ds(b,z,x):(b[0]&15)!=8||b[0]>>4>7||(b[0]<<8|b[1])%31?ea(b,z,x):kr(b,z,x)}function Ko(b,z){return b[0]==31&&b[1]==139&&b[2]==8?wi(b,z):(b[0]&15)!=8||b[0]>>4>7||(b[0]<<8|b[1])%31?pi(b,z):Ea(b,z)}var _o=function(b,z,x,re){for(var ae in b){var se=b[ae],Ee=z+ae,Se=re;Array.isArray(se)&&(Se=Re(re,se[1]),se=se[0]),se instanceof at?x[Ee]=[se,Se]:(x[Ee+="/"]=[new at(0),Se],_o(se,Ee,x,re))}},yA=typeof TextEncoder!="undefined"&&new TextEncoder,gr=typeof TextDecoder!="undefined"&&new TextDecoder,No=0;try{gr.decode(Hn,{stream:!0}),No=1}catch(b){}var Di=function(b){for(var z="",x=0;;){var re=b[x++],ae=(re>127)+(re>223)+(re>239);if(x+ae>b.length)return{s:z,r:ke(b,x-1)};ae?ae==3?(re=((re&15)<<18|(b[x++]&63)<<12|(b[x++]&63)<<6|b[x++]&63)-65536,z+=String.fromCharCode(55296|re>>10,56320|re&1023)):ae&1?z+=String.fromCharCode((re&31)<<6|b[x++]&63):z+=String.fromCharCode((re&15)<<12|(b[x++]&63)<<6|b[x++]&63):z+=String.fromCharCode(re)}},fi=null,Si=null;function Do(b,z){if(z){for(var x=new at(b.length),re=0;re>1)),Ee=0,Se=function(We){se[Ee++]=We},re=0;rese.length){var xe=new at(Ee+8+(ae-re<<1));xe.set(se),se=xe}var Ne=b.charCodeAt(re);Ne<128||z?Se(Ne):Ne<2048?(Se(192|Ne>>6),Se(128|Ne&63)):Ne>55295&&Ne<57344?(Ne=65536+(Ne&1047552)|b.charCodeAt(++re)&1023,Se(240|Ne>>18),Se(128|Ne>>12&63),Se(128|Ne>>6&63),Se(128|Ne&63)):(Se(224|Ne>>12),Se(128|Ne>>6&63),Se(128|Ne&63))}return ke(se,0,Ee)}function hA(b,z){if(z){for(var x="",re=0;re65535&&rt(9),z+=re+4}return z},gs=function(b,z,x,re,ae,se,Ee,Se){var xe=re.length,Ne=x.extra,We=Se&&Se.length,At=yi(Ne);Xt(b,z,Ee!=null?33639248:67324752),z+=4,Ee!=null&&(b[z++]=20,b[z++]=x.os),b[z]=20,z+=2,b[z++]=x.flag<<1|(se<0&&8),b[z++]=ae&&8,b[z++]=x.compression&255,b[z++]=x.compression>>8;var mt=new Date(x.mtime==null?Date.now():x.mtime),$e=mt.getFullYear()-1980;if(($e<0||$e>119)&&rt(10),Xt(b,z,$e<<25|mt.getMonth()+1<<21|mt.getDate()<<16|mt.getHours()<<11|mt.getMinutes()<<5|mt.getSeconds()>>1),z+=4,se!=-1&&(Xt(b,z,x.crc),Xt(b,z+4,se<0?-se-2:se),Xt(b,z+8,x.size)),Xt(b,z+12,xe),Xt(b,z+14,At),z+=16,Ee!=null&&(Xt(b,z,We),Xt(b,z+6,x.attrs),Xt(b,z+10,Ee),z+=14),b.set(re,z),z+=xe,At)for(var Mt in Ne){var Tt=Ne[Mt],Ht=Tt.length;Xt(b,z,+Mt),Xt(b,z+2,Ht),b.set(Tt,z+4),z+=4+Ht}return We&&(b.set(Se,z),z+=We),z},Fl=function(b,z,x,re,ae){Xt(b,z,101010256),Xt(b,z+8,x),Xt(b,z+10,x),Xt(b,z+12,re),Xt(b,z+16,ae)},ZA=null,Pr=null,Dc=null,Su=null;function Qu(b,z,x){x||(x=z,z={}),typeof x!="function"&&rt(7);var re={};_o(b,"",re,z);var ae=Object.keys(re),se=ae.length,Ee=0,Se=0,xe=se,Ne=new Array(se),We=[],At=function(){for(var Ht=0;Ht65535&&gn(rt(11,0,1),null),!pn)gn(null,cn);else if(Br<16e4)try{gn(null,ta(cn,qt))}catch(qn){gn(qn,null)}else We.push(Tr(cn,qt,gn))},Tt=0;Tt65535&&rt(11);var xt=We?ta(xe,Ne):xe,Sn=xt.length,cn=yt();cn.p(xe),re.push(Re(Ne,{size:xe.length,crc:cn.d(),c:xt,f:At,m:Mt,u:mt!=Ee.length||Mt&&$e.length!=Tt,o:ae,compression:We})),ae+=30+mt+Ht+Sn,se+=76+2*(mt+Ht)+(Tt||0)+Sn}for(var qt=new at(se+22),Yn=ae,Br=se-ae,ar=0;ar65558)return Ee(rt(13,0,1),null),ae;var xe=nn(b,Se+8);if(xe){var Ne=xe,We=Nt(b,Se+16),At=We==4294967295||Ne==65535;if(At){var mt=Nt(b,Se-12);At=Nt(b,mt)==101075792,At&&(Ne=xe=Nt(b,mt+32),We=Nt(b,mt+48))}for(var $e=z&&z.filter,Mt=function(Ht){var xt=Ds(b,We,At),Sn=xt[0],cn=xt[1],qt=xt[2],Yn=xt[3],Br=xt[4],ar=xt[5],xn=GA(b,ar);We=Br;var tn=function(Ft,zt){Ft?(ae(),Ee(Ft,null)):(zt&&(se[Yn]=zt),--xe||Ee(null,se))};if(!$e||$e({name:Yn,size:cn,originalSize:qt,compression:Sn}))if(!Sn)tn(null,ke(b,xn,xn+cn));else if(Sn==8){var Mn=b.subarray(xn,xn+cn);if(qt<524288||cn>.8*qt)try{tn(null,pi(Mn,{out:new at(qt)}))}catch(Ft){tn(Ft,null)}else re.push(ea(Mn,{size:qt},tn))}else tn(rt(14,"unknown compression type "+Sn,1),null);else tn(null,null)},Tt=0;Tt65558)&&rt(13);var ae=nn(b,re+8);if(!ae)return{};var se=Nt(b,re+16),Ee=se==4294967295||ae==65535;if(Ee){var Se=Nt(b,re-12);Ee=Nt(b,Se)==101075792,Ee&&(ae=Nt(b,Se+32),se=Nt(b,Se+48))}for(var xe=z&&z.filter,Ne=0;Ne{const b=new Uint8Array(4),z=new Uint32Array(b.buffer);return!((z[0]=1)&b[0])})(),xl={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class _l{constructor(z=Oc,x={}){Mi(this,"buffer");Mi(this,"byteLength");Mi(this,"byteOffset");Mi(this,"length");Mi(this,"offset");Mi(this,"lastWrittenByte");Mi(this,"littleEndian");Mi(this,"_data");Mi(this,"_mark");Mi(this,"_marks");let re=!1;typeof z=="number"?z=new ArrayBuffer(z):(re=!0,this.lastWrittenByte=z.byteLength);const ae=x.offset?x.offset>>>0:0,se=z.byteLength-ae;let Ee=ae;(ArrayBuffer.isView(z)||z instanceof _l)&&(z.byteLength!==z.buffer.byteLength&&(Ee=z.byteOffset+ae),z=z.buffer),re?this.lastWrittenByte=se:this.lastWrittenByte=0,this.buffer=z,this.length=se,this.byteLength=se,this.byteOffset=Ee,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,Ee,se),this._mark=0,this._marks=[]}available(z=1){return this.offset+z<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(z=1){return this.offset+=z,this}back(z=1){return this.offset-=z,this}seek(z){return this.offset=z,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const z=this._marks.pop();if(z===void 0)throw new Error("Mark stack empty");return this.seek(z),this}rewind(){return this.offset=0,this}ensureAvailable(z=1){if(!this.available(z)){const re=(this.offset+z)*2,ae=new Uint8Array(re);ae.set(new Uint8Array(this.buffer)),this.buffer=ae.buffer,this.length=re,this.byteLength=re,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(z=1){return this.readArray(z,"uint8")}readArray(z,x){const re=xl[x].BYTES_PER_ELEMENT*z,ae=this.byteOffset+this.offset,se=this.buffer.slice(ae,ae+re);if(this.littleEndian===Qc&&x!=="uint8"&&x!=="int8"){const Se=new Uint8Array(this.buffer.slice(ae,ae+re));Se.reverse();const xe=new xl[x](Se.buffer);return this.offset+=re,xe.reverse(),xe}const Ee=new xl[x](se);return this.offset+=re,Ee}readInt16(){const z=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,z}readUint16(){const z=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,z}readInt32(){const z=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,z}readUint32(){const z=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,z}readFloat32(){const z=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,z}readFloat64(){const z=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,z}readBigInt64(){const z=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,z}readBigUint64(){const z=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,z}readChar(){return String.fromCharCode(this.readInt8())}readChars(z=1){let x="";for(let re=0;rethis.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}const Tc=4,Tu=0,ku=1,Au=2;function fl(b){let z=b.length;for(;--z>=0;)b[z]=0}const Ru=0,An=1,kc=2,ju=3,cd=258,su=29,fs=256,lu=fs+1+su,rs=30,NA=19,Ac=2*lu+1,Gl=15,wA=16,WA=7,Rc=256,uu=16,jc=17,wn=18,Dt=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),en=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),On=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),sr=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Xr=512,Ir=new Array((lu+2)*2);fl(Ir);const mr=new Array(rs*2);fl(mr);const xr=new Array(Xr);fl(xr);const da=new Array(cd-ju+1);fl(da);const Ha=new Array(su);fl(Ha);const To=new Array(rs);fl(To);function ua(b,z,x,re,ae){this.static_tree=b,this.extra_bits=z,this.extra_base=x,this.elems=re,this.max_length=ae,this.has_stree=b&&b.length}let zi,li,Bi;function ma(b,z){this.dyn_tree=b,this.max_code=0,this.stat_desc=z}const Da=b=>b<256?xr[b]:xr[256+(b>>>7)],Ma=(b,z)=>{b.pending_buf[b.pending++]=z&255,b.pending_buf[b.pending++]=z>>>8&255},La=(b,z,x)=>{b.bi_valid>wA-x?(b.bi_buf|=z<>wA-b.bi_valid,b.bi_valid+=x-wA):(b.bi_buf|=z<{La(b,x[z*2],x[z*2+1])},Bo=(b,z)=>{let x=0;do x|=b&1,b>>>=1,x<<=1;while(--z>0);return x>>>1},VA=b=>{b.bi_valid===16?(Ma(b,b.bi_buf),b.bi_buf=0,b.bi_valid=0):b.bi_valid>=8&&(b.pending_buf[b.pending++]=b.bi_buf&255,b.bi_buf>>=8,b.bi_valid-=8)},hl=(b,z)=>{const x=z.dyn_tree,re=z.max_code,ae=z.stat_desc.static_tree,se=z.stat_desc.has_stree,Ee=z.stat_desc.extra_bits,Se=z.stat_desc.extra_base,xe=z.stat_desc.max_length;let Ne,We,At,mt,$e,Mt,Tt=0;for(mt=0;mt<=Gl;mt++)b.bl_count[mt]=0;for(x[b.heap[b.heap_max]*2+1]=0,Ne=b.heap_max+1;Nexe&&(mt=xe,Tt++),x[We*2+1]=mt,!(We>re)&&(b.bl_count[mt]++,$e=0,We>=Se&&($e=Ee[We-Se]),Mt=x[We*2],b.opt_len+=Mt*(mt+$e),se&&(b.static_len+=Mt*(ae[We*2+1]+$e)));if(Tt!==0){do{for(mt=xe-1;b.bl_count[mt]===0;)mt--;b.bl_count[mt]--,b.bl_count[mt+1]+=2,b.bl_count[xe]--,Tt-=2}while(Tt>0);for(mt=xe;mt!==0;mt--)for(We=b.bl_count[mt];We!==0;)At=b.heap[--Ne],!(At>re)&&(x[At*2+1]!==mt&&(b.opt_len+=(mt-x[At*2+1])*x[At*2],x[At*2+1]=mt),We--)}},iA=(b,z,x)=>{const re=new Array(Gl+1);let ae=0,se,Ee;for(se=1;se<=Gl;se++)ae=ae+x[se-1]<<1,re[se]=ae;for(Ee=0;Ee<=z;Ee++){let Se=b[Ee*2+1];Se!==0&&(b[Ee*2]=Bo(re[Se]++,Se))}},XA=()=>{let b,z,x,re,ae;const se=new Array(Gl+1);for(x=0,re=0;re>=7;re{let z;for(z=0;z{b.bi_valid>8?Ma(b,b.bi_buf):b.bi_valid>0&&(b.pending_buf[b.pending++]=b.bi_buf),b.bi_buf=0,b.bi_valid=0},al=(b,z,x,re)=>{const ae=z*2,se=x*2;return b[ae]{const re=b.heap[x];let ae=x<<1;for(;ae<=b.heap_len&&(ae{let re,ae,se=0,Ee,Se;if(b.sym_next!==0)do re=b.pending_buf[b.sym_buf+se++]&255,re+=(b.pending_buf[b.sym_buf+se++]&255)<<8,ae=b.pending_buf[b.sym_buf+se++],re===0?Eo(b,ae,z):(Ee=da[ae],Eo(b,Ee+fs+1,z),Se=Dt[Ee],Se!==0&&(ae-=Ha[Ee],La(b,ae,Se)),re--,Ee=Da(re),Eo(b,Ee,x),Se=en[Ee],Se!==0&&(re-=To[Ee],La(b,re,Se)));while(se{const x=z.dyn_tree,re=z.stat_desc.static_tree,ae=z.stat_desc.has_stree,se=z.stat_desc.elems;let Ee,Se,xe=-1,Ne;for(b.heap_len=0,b.heap_max=Ac,Ee=0;Ee>1;Ee>=1;Ee--)Pn(b,x,Ee);Ne=se;do Ee=b.heap[1],b.heap[1]=b.heap[b.heap_len--],Pn(b,x,1),Se=b.heap[1],b.heap[--b.heap_max]=Ee,b.heap[--b.heap_max]=Se,x[Ne*2]=x[Ee*2]+x[Se*2],b.depth[Ne]=(b.depth[Ee]>=b.depth[Se]?b.depth[Ee]:b.depth[Se])+1,x[Ee*2+1]=x[Se*2+1]=Ne,b.heap[1]=Ne++,Pn(b,x,1);while(b.heap_len>=2);b.heap[--b.heap_max]=b.heap[1],hl(b,z),iA(x,xe,b.bl_count)},Wr=(b,z,x)=>{let re,ae=-1,se,Ee=z[0*2+1],Se=0,xe=7,Ne=4;for(Ee===0&&(xe=138,Ne=3),z[(x+1)*2+1]=65535,re=0;re<=x;re++)se=Ee,Ee=z[(re+1)*2+1],!(++Se{let re,ae=-1,se,Ee=z[0*2+1],Se=0,xe=7,Ne=4;for(Ee===0&&(xe=138,Ne=3),re=0;re<=x;re++)if(se=Ee,Ee=z[(re+1)*2+1],!(++Se{let z;for(Wr(b,b.dyn_ltree,b.l_desc.max_code),Wr(b,b.dyn_dtree,b.d_desc.max_code),ol(b,b.bl_desc),z=NA-1;z>=3&&b.bl_tree[sr[z]*2+1]===0;z--);return b.opt_len+=3*(z+1)+5+5+4,z},Pi=(b,z,x,re)=>{let ae;for(La(b,z-257,5),La(b,x-1,5),La(b,re-4,4),ae=0;ae{let z=4093624447,x;for(x=0;x<=31;x++,z>>>=1)if(z&1&&b.dyn_ltree[x*2]!==0)return Tu;if(b.dyn_ltree[9*2]!==0||b.dyn_ltree[10*2]!==0||b.dyn_ltree[13*2]!==0)return ku;for(x=32;x{qi||(XA(),qi=!0),b.l_desc=new ma(b.dyn_ltree,zi),b.d_desc=new ma(b.dyn_dtree,li),b.bl_desc=new ma(b.bl_tree,Bi),b.bi_buf=0,b.bi_valid=0,nl(b)},cu=(b,z,x,re)=>{La(b,(Ru<<1)+(re?1:0),3),rl(b),Ma(b,x),Ma(b,~x),x&&b.pending_buf.set(b.window.subarray(z,z+x),b.pending),b.pending+=x},Ll=b=>{La(b,An<<1,3),Eo(b,Rc,Ir),VA(b)},il=(b,z,x,re)=>{let ae,se,Ee=0;b.level>0?(b.strm.data_type===Au&&(b.strm.data_type=eo(b)),ol(b,b.l_desc),ol(b,b.d_desc),Ee=Lo(b),ae=b.opt_len+3+7>>>3,se=b.static_len+3+7>>>3,se<=ae&&(ae=se)):ae=se=x+5,x+4<=ae&&z!==-1?cu(b,z,x,re):b.strategy===Tc||se===ae?(La(b,(An<<1)+(re?1:0),3),In(b,Ir,mr)):(La(b,(kc<<1)+(re?1:0),3),Pi(b,b.l_desc.max_code+1,b.d_desc.max_code+1,Ee+1),In(b,b.dyn_ltree,b.dyn_dtree)),nl(b),re&&rl(b)},Rd=(b,z,x)=>(b.pending_buf[b.sym_buf+b.sym_next++]=z,b.pending_buf[b.sym_buf+b.sym_next++]=z>>8,b.pending_buf[b.sym_buf+b.sym_next++]=x,z===0?b.dyn_ltree[x*2]++:(b.matches++,z--,b.dyn_ltree[(da[x]+fs+1)*2]++,b.dyn_dtree[Da(z)*2]++),b.sym_next===b.sym_end);var Il=Mu,AA=cu,sc=il,DA=Rd,Hu=Ll,ml={_tr_init:Il,_tr_stored_block:AA,_tr_flush_block:sc,_tr_tally:DA,_tr_align:Hu},ti=(b,z,x,re)=>{let ae=b&65535|0,se=b>>>16&65535|0,Ee=0;for(;x!==0;){Ee=x>2e3?2e3:x,x-=Ee;do ae=ae+z[re++]|0,se=se+ae|0;while(--Ee);ae%=65521,se%=65521}return ae|se<<16|0};const wu=()=>{let b,z=[];for(var x=0;x<256;x++){b=x;for(var re=0;re<8;re++)b=b&1?3988292384^b>>>1:b>>>1;z[x]=b}return z},lc=new Uint32Array(wu());var mA=(b,z,x,re)=>{const ae=lc,se=re+x;b^=-1;for(let Ee=re;Ee>>8^ae[(b^z[Ee])&255];return b^-1},Qs={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Nl={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:$l,_tr_stored_block:bi,_tr_flush_block:Cs,_tr_tally:OA,_tr_align:sA}=ml,{Z_NO_FLUSH:lA,Z_PARTIAL_FLUSH:Dl,Z_FULL_FLUSH:Mc,Z_FINISH:YA,Z_BLOCK:Ku,Z_OK:bA,Z_STREAM_END:Ol,Z_STREAM_ERROR:eA,Z_DATA_ERROR:uc,Z_BUF_ERROR:du,Z_DEFAULT_COMPRESSION:gu,Z_FILTERED:Hc,Z_HUFFMAN_ONLY:Zl,Z_RLE:Er,Z_FIXED:Ia,Z_DEFAULT_STRATEGY:lr,Z_UNKNOWN:$a,Z_DEFLATED:wo}=Nl,uA=9,Ts=15,JA=8,Ps=256+1+29,ui=30,pl=19,Wo=2*Ps+1,as=15,Ya=3,Gi=258,Oi=Gi+Ya+1,Vl=32,os=42,CA=57,HA=69,hs=73,ms=91,cc=103,Ql=113,Xl=666,QA=1,bu=2,dc=3,zu=4,th=3,Kc=(b,z)=>(b.msg=Qs[z],z),Bf=b=>b*2-(b>4?9:0),gc=b=>{let z=b.length;for(;--z>=0;)b[z]=0},jd=b=>{let z,x,re,ae=b.w_size;z=b.hash_size,re=z;do x=b.head[--re],b.head[re]=x>=ae?x-ae:0;while(--z);z=ae,re=z;do x=b.prev[--re],b.prev[re]=x>=ae?x-ae:0;while(--z)};let Gu=(b,z,x)=>(z<{const z=b.state;let x=z.pending;x>b.avail_out&&(x=b.avail_out),x!==0&&(b.output.set(z.pending_buf.subarray(z.pending_out,z.pending_out+x),b.next_out),b.next_out+=x,z.pending_out+=x,b.total_out+=x,b.avail_out-=x,z.pending-=x,z.pending===0&&(z.pending_out=0))},vl=(b,z)=>{Cs(b,b.block_start>=0?b.block_start:-1,b.strstart-b.block_start,z),b.block_start=b.strstart,Tl(b.strm)},Ci=(b,z)=>{b.pending_buf[b.pending++]=z},zc=(b,z)=>{b.pending_buf[b.pending++]=z>>>8&255,b.pending_buf[b.pending++]=z&255},Sf=(b,z,x,re)=>{let ae=b.avail_in;return ae>re&&(ae=re),ae===0?0:(b.avail_in-=ae,z.set(b.input.subarray(b.next_in,b.next_in+ae),x),b.state.wrap===1?b.adler=ti(b.adler,z,ae,x):b.state.wrap===2&&(b.adler=mA(b.adler,z,ae,x)),b.next_in+=ae,b.total_in+=ae,ae)},yf=(b,z)=>{let x=b.max_chain_length,re=b.strstart,ae,se,Ee=b.prev_length,Se=b.nice_match;const xe=b.strstart>b.w_size-Oi?b.strstart-(b.w_size-Oi):0,Ne=b.window,We=b.w_mask,At=b.prev,mt=b.strstart+Gi;let $e=Ne[re+Ee-1],Mt=Ne[re+Ee];b.prev_length>=b.good_match&&(x>>=2),Se>b.lookahead&&(Se=b.lookahead);do if(ae=z,!(Ne[ae+Ee]!==Mt||Ne[ae+Ee-1]!==$e||Ne[ae]!==Ne[re]||Ne[++ae]!==Ne[re+1])){re+=2,ae++;do;while(Ne[++re]===Ne[++ae]&&Ne[++re]===Ne[++ae]&&Ne[++re]===Ne[++ae]&&Ne[++re]===Ne[++ae]&&Ne[++re]===Ne[++ae]&&Ne[++re]===Ne[++ae]&&Ne[++re]===Ne[++ae]&&Ne[++re]===Ne[++ae]&&reEe){if(b.match_start=z,Ee=se,se>=Se)break;$e=Ne[re+Ee-1],Mt=Ne[re+Ee]}}while((z=At[z&We])>xe&&--x!==0);return Ee<=b.lookahead?Ee:b.lookahead},Gc=b=>{const z=b.w_size;let x,re,ae;do{if(re=b.window_size-b.lookahead-b.strstart,b.strstart>=z+(z-Oi)&&(b.window.set(b.window.subarray(z,z+z-re),0),b.match_start-=z,b.strstart-=z,b.block_start-=z,b.insert>b.strstart&&(b.insert=b.strstart),jd(b),re+=z),b.strm.avail_in===0)break;if(x=Sf(b.strm,b.window,b.strstart+b.lookahead,re),b.lookahead+=x,b.lookahead+b.insert>=Ya)for(ae=b.strstart-b.insert,b.ins_h=b.window[ae],b.ins_h=Gu(b,b.ins_h,b.window[ae+1]);b.insert&&(b.ins_h=Gu(b,b.ins_h,b.window[ae+Ya-1]),b.prev[ae&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=ae,ae++,b.insert--,!(b.lookahead+b.insert{let x=b.pending_buf_size-5>b.w_size?b.w_size:b.pending_buf_size-5,re,ae,se,Ee=0,Se=b.strm.avail_in;do{if(re=65535,se=b.bi_valid+42>>3,b.strm.avail_outae+b.strm.avail_in&&(re=ae+b.strm.avail_in),re>se&&(re=se),re>8,b.pending_buf[b.pending-2]=~re,b.pending_buf[b.pending-1]=~re>>8,Tl(b.strm),ae&&(ae>re&&(ae=re),b.strm.output.set(b.window.subarray(b.block_start,b.block_start+ae),b.strm.next_out),b.strm.next_out+=ae,b.strm.avail_out-=ae,b.strm.total_out+=ae,b.block_start+=ae,re-=ae),re&&(Sf(b.strm,b.strm.output,b.strm.next_out,re),b.strm.next_out+=re,b.strm.avail_out-=re,b.strm.total_out+=re)}while(Ee===0);return Se-=b.strm.avail_in,Se&&(Se>=b.w_size?(b.matches=2,b.window.set(b.strm.input.subarray(b.strm.next_in-b.w_size,b.strm.next_in),0),b.strstart=b.w_size,b.insert=b.strstart):(b.window_size-b.strstart<=Se&&(b.strstart-=b.w_size,b.window.set(b.window.subarray(b.w_size,b.w_size+b.strstart),0),b.matches<2&&b.matches++,b.insert>b.strstart&&(b.insert=b.strstart)),b.window.set(b.strm.input.subarray(b.strm.next_in-Se,b.strm.next_in),b.strstart),b.strstart+=Se,b.insert+=Se>b.w_size-b.insert?b.w_size-b.insert:Se),b.block_start=b.strstart),b.high_waterse&&b.block_start>=b.w_size&&(b.block_start-=b.w_size,b.strstart-=b.w_size,b.window.set(b.window.subarray(b.w_size,b.w_size+b.strstart),0),b.matches<2&&b.matches++,se+=b.w_size,b.insert>b.strstart&&(b.insert=b.strstart)),se>b.strm.avail_in&&(se=b.strm.avail_in),se&&(Sf(b.strm,b.window,b.strstart,se),b.strstart+=se,b.insert+=se>b.w_size-b.insert?b.w_size-b.insert:se),b.high_water>3,se=b.pending_buf_size-se>65535?65535:b.pending_buf_size-se,x=se>b.w_size?b.w_size:se,ae=b.strstart-b.block_start,(ae>=x||(ae||z===YA)&&z!==lA&&b.strm.avail_in===0&&ae<=se)&&(re=ae>se?se:ae,Ee=z===YA&&b.strm.avail_in===0&&re===ae?1:0,bi(b,b.block_start,re,Ee),b.block_start+=re,Tl(b.strm)),Ee?dc:QA)},yg=(b,z)=>{let x,re;for(;;){if(b.lookahead=Ya&&(b.ins_h=Gu(b,b.ins_h,b.window[b.strstart+Ya-1]),x=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart),x!==0&&b.strstart-x<=b.w_size-Oi&&(b.match_length=yf(b,x)),b.match_length>=Ya)if(re=OA(b,b.strstart-b.match_start,b.match_length-Ya),b.lookahead-=b.match_length,b.match_length<=b.max_lazy_match&&b.lookahead>=Ya){b.match_length--;do b.strstart++,b.ins_h=Gu(b,b.ins_h,b.window[b.strstart+Ya-1]),x=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart;while(--b.match_length!==0);b.strstart++}else b.strstart+=b.match_length,b.match_length=0,b.ins_h=b.window[b.strstart],b.ins_h=Gu(b,b.ins_h,b.window[b.strstart+1]);else re=OA(b,0,b.window[b.strstart]),b.lookahead--,b.strstart++;if(re&&(vl(b,!1),b.strm.avail_out===0))return QA}return b.insert=b.strstart{let x,re,ae;for(;;){if(b.lookahead=Ya&&(b.ins_h=Gu(b,b.ins_h,b.window[b.strstart+Ya-1]),x=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart),b.prev_length=b.match_length,b.prev_match=b.match_start,b.match_length=Ya-1,x!==0&&b.prev_length4096)&&(b.match_length=Ya-1)),b.prev_length>=Ya&&b.match_length<=b.prev_length){ae=b.strstart+b.lookahead-Ya,re=OA(b,b.strstart-1-b.prev_match,b.prev_length-Ya),b.lookahead-=b.prev_length-1,b.prev_length-=2;do++b.strstart<=ae&&(b.ins_h=Gu(b,b.ins_h,b.window[b.strstart+Ya-1]),x=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart);while(--b.prev_length!==0);if(b.match_available=0,b.match_length=Ya-1,b.strstart++,re&&(vl(b,!1),b.strm.avail_out===0))return QA}else if(b.match_available){if(re=OA(b,0,b.window[b.strstart-1]),re&&vl(b,!1),b.strstart++,b.lookahead--,b.strm.avail_out===0)return QA}else b.match_available=1,b.strstart++,b.lookahead--}return b.match_available&&(re=OA(b,0,b.window[b.strstart-1]),b.match_available=0),b.insert=b.strstart{let x,re,ae,se;const Ee=b.window;for(;;){if(b.lookahead<=Gi){if(Gc(b),b.lookahead<=Gi&&z===lA)return QA;if(b.lookahead===0)break}if(b.match_length=0,b.lookahead>=Ya&&b.strstart>0&&(ae=b.strstart-1,re=Ee[ae],re===Ee[++ae]&&re===Ee[++ae]&&re===Ee[++ae])){se=b.strstart+Gi;do;while(re===Ee[++ae]&&re===Ee[++ae]&&re===Ee[++ae]&&re===Ee[++ae]&&re===Ee[++ae]&&re===Ee[++ae]&&re===Ee[++ae]&&re===Ee[++ae]&&aeb.lookahead&&(b.match_length=b.lookahead)}if(b.match_length>=Ya?(x=OA(b,1,b.match_length-Ya),b.lookahead-=b.match_length,b.strstart+=b.match_length,b.match_length=0):(x=OA(b,0,b.window[b.strstart]),b.lookahead--,b.strstart++),x&&(vl(b,!1),b.strm.avail_out===0))return QA}return b.insert=0,z===YA?(vl(b,!0),b.strm.avail_out===0?dc:zu):b.sym_next&&(vl(b,!1),b.strm.avail_out===0)?QA:bu},rh=(b,z)=>{let x;for(;;){if(b.lookahead===0&&(Gc(b),b.lookahead===0)){if(z===lA)return QA;break}if(b.match_length=0,x=OA(b,0,b.window[b.strstart]),b.lookahead--,b.strstart++,x&&(vl(b,!1),b.strm.avail_out===0))return QA}return b.insert=0,z===YA?(vl(b,!0),b.strm.avail_out===0?dc:zu):b.sym_next&&(vl(b,!1),b.strm.avail_out===0)?QA:bu};function ps(b,z,x,re,ae){this.good_length=b,this.max_lazy=z,this.nice_length=x,this.max_chain=re,this.func=ae}const fd=[new ps(0,0,0,0,gd),new ps(4,4,8,4,yg),new ps(4,5,16,8,yg),new ps(4,6,32,32,yg),new ps(4,4,16,16,$c),new ps(8,16,32,32,$c),new ps(8,16,128,128,$c),new ps(8,32,128,256,$c),new ps(32,128,258,1024,$c),new ps(32,258,258,4096,$c)],ah=b=>{b.window_size=2*b.w_size,gc(b.head),b.max_lazy_match=fd[b.level].max_lazy,b.good_match=fd[b.level].good_length,b.nice_match=fd[b.level].nice_length,b.max_chain_length=fd[b.level].max_chain,b.strstart=0,b.block_start=0,b.lookahead=0,b.insert=0,b.match_length=b.prev_length=Ya-1,b.match_available=0,b.ins_h=0};function Ye(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=wo,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(Wo*2),this.dyn_dtree=new Uint16Array((2*ui+1)*2),this.bl_tree=new Uint16Array((2*pl+1)*2),gc(this.dyn_ltree),gc(this.dyn_dtree),gc(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(as+1),this.heap=new Uint16Array(2*Ps+1),gc(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Ps+1),gc(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const et=b=>{if(!b)return 1;const z=b.state;return!z||z.strm!==b||z.status!==os&&z.status!==CA&&z.status!==HA&&z.status!==hs&&z.status!==ms&&z.status!==cc&&z.status!==Ql&&z.status!==Xl?1:0},St=b=>{if(et(b))return Kc(b,eA);b.total_in=b.total_out=0,b.data_type=$a;const z=b.state;return z.pending=0,z.pending_out=0,z.wrap<0&&(z.wrap=-z.wrap),z.status=z.wrap===2?CA:z.wrap?os:Ql,b.adler=z.wrap===2?0:1,z.last_flush=-2,$l(z),bA},It=b=>{const z=St(b);return z===bA&&ah(b.state),z},Gt=(b,z)=>et(b)||b.state.wrap!==2?eA:(b.state.gzhead=z,bA),$t=(b,z,x,re,ae,se)=>{if(!b)return eA;let Ee=1;if(z===gu&&(z=6),re<0?(Ee=0,re=-re):re>15&&(Ee=2,re-=16),ae<1||ae>uA||x!==wo||re<8||re>15||z<0||z>9||se<0||se>Ia||re===8&&Ee!==1)return Kc(b,eA);re===8&&(re=9);const Se=new Ye;return b.state=Se,Se.strm=b,Se.status=os,Se.wrap=Ee,Se.gzhead=null,Se.w_bits=re,Se.w_size=1<$t(b,z,wo,Ts,JA,lr),Bn=(b,z)=>{if(et(b)||z>Ku||z<0)return b?Kc(b,eA):eA;const x=b.state;if(!b.output||b.avail_in!==0&&!b.input||x.status===Xl&&z!==YA)return Kc(b,b.avail_out===0?du:eA);const re=x.last_flush;if(x.last_flush=z,x.pending!==0){if(Tl(b),b.avail_out===0)return x.last_flush=-1,bA}else if(b.avail_in===0&&Bf(z)<=Bf(re)&&z!==YA)return Kc(b,du);if(x.status===Xl&&b.avail_in!==0)return Kc(b,du);if(x.status===os&&x.wrap===0&&(x.status=Ql),x.status===os){let ae=wo+(x.w_bits-8<<4)<<8,se=-1;if(x.strategy>=Zl||x.level<2?se=0:x.level<6?se=1:x.level===6?se=2:se=3,ae|=se<<6,x.strstart!==0&&(ae|=Vl),ae+=31-ae%31,zc(x,ae),x.strstart!==0&&(zc(x,b.adler>>>16),zc(x,b.adler&65535)),b.adler=1,x.status=Ql,Tl(b),x.pending!==0)return x.last_flush=-1,bA}if(x.status===CA){if(b.adler=0,Ci(x,31),Ci(x,139),Ci(x,8),x.gzhead)Ci(x,(x.gzhead.text?1:0)+(x.gzhead.hcrc?2:0)+(x.gzhead.extra?4:0)+(x.gzhead.name?8:0)+(x.gzhead.comment?16:0)),Ci(x,x.gzhead.time&255),Ci(x,x.gzhead.time>>8&255),Ci(x,x.gzhead.time>>16&255),Ci(x,x.gzhead.time>>24&255),Ci(x,x.level===9?2:x.strategy>=Zl||x.level<2?4:0),Ci(x,x.gzhead.os&255),x.gzhead.extra&&x.gzhead.extra.length&&(Ci(x,x.gzhead.extra.length&255),Ci(x,x.gzhead.extra.length>>8&255)),x.gzhead.hcrc&&(b.adler=mA(b.adler,x.pending_buf,x.pending,0)),x.gzindex=0,x.status=HA;else if(Ci(x,0),Ci(x,0),Ci(x,0),Ci(x,0),Ci(x,0),Ci(x,x.level===9?2:x.strategy>=Zl||x.level<2?4:0),Ci(x,th),x.status=Ql,Tl(b),x.pending!==0)return x.last_flush=-1,bA}if(x.status===HA){if(x.gzhead.extra){let ae=x.pending,se=(x.gzhead.extra.length&65535)-x.gzindex;for(;x.pending+se>x.pending_buf_size;){let Se=x.pending_buf_size-x.pending;if(x.pending_buf.set(x.gzhead.extra.subarray(x.gzindex,x.gzindex+Se),x.pending),x.pending=x.pending_buf_size,x.gzhead.hcrc&&x.pending>ae&&(b.adler=mA(b.adler,x.pending_buf,x.pending-ae,ae)),x.gzindex+=Se,Tl(b),x.pending!==0)return x.last_flush=-1,bA;ae=0,se-=Se}let Ee=new Uint8Array(x.gzhead.extra);x.pending_buf.set(Ee.subarray(x.gzindex,x.gzindex+se),x.pending),x.pending+=se,x.gzhead.hcrc&&x.pending>ae&&(b.adler=mA(b.adler,x.pending_buf,x.pending-ae,ae)),x.gzindex=0}x.status=hs}if(x.status===hs){if(x.gzhead.name){let ae=x.pending,se;do{if(x.pending===x.pending_buf_size){if(x.gzhead.hcrc&&x.pending>ae&&(b.adler=mA(b.adler,x.pending_buf,x.pending-ae,ae)),Tl(b),x.pending!==0)return x.last_flush=-1,bA;ae=0}x.gzindexae&&(b.adler=mA(b.adler,x.pending_buf,x.pending-ae,ae)),x.gzindex=0}x.status=ms}if(x.status===ms){if(x.gzhead.comment){let ae=x.pending,se;do{if(x.pending===x.pending_buf_size){if(x.gzhead.hcrc&&x.pending>ae&&(b.adler=mA(b.adler,x.pending_buf,x.pending-ae,ae)),Tl(b),x.pending!==0)return x.last_flush=-1,bA;ae=0}x.gzindexae&&(b.adler=mA(b.adler,x.pending_buf,x.pending-ae,ae))}x.status=cc}if(x.status===cc){if(x.gzhead.hcrc){if(x.pending+2>x.pending_buf_size&&(Tl(b),x.pending!==0))return x.last_flush=-1,bA;Ci(x,b.adler&255),Ci(x,b.adler>>8&255),b.adler=0}if(x.status=Ql,Tl(b),x.pending!==0)return x.last_flush=-1,bA}if(b.avail_in!==0||x.lookahead!==0||z!==lA&&x.status!==Xl){let ae=x.level===0?gd(x,z):x.strategy===Zl?rh(x,z):x.strategy===Er?nh(x,z):fd[x.level].func(x,z);if((ae===dc||ae===zu)&&(x.status=Xl),ae===QA||ae===dc)return b.avail_out===0&&(x.last_flush=-1),bA;if(ae===bu&&(z===Dl?sA(x):z!==Ku&&(bi(x,0,0,!1),z===Mc&&(gc(x.head),x.lookahead===0&&(x.strstart=0,x.block_start=0,x.insert=0))),Tl(b),b.avail_out===0))return x.last_flush=-1,bA}return z!==YA?bA:x.wrap<=0?Ol:(x.wrap===2?(Ci(x,b.adler&255),Ci(x,b.adler>>8&255),Ci(x,b.adler>>16&255),Ci(x,b.adler>>24&255),Ci(x,b.total_in&255),Ci(x,b.total_in>>8&255),Ci(x,b.total_in>>16&255),Ci(x,b.total_in>>24&255)):(zc(x,b.adler>>>16),zc(x,b.adler&65535)),Tl(b),x.wrap>0&&(x.wrap=-x.wrap),x.pending!==0?bA:Ol)},dn=b=>{if(et(b))return eA;const z=b.state.status;return b.state=null,z===Ql?Kc(b,uc):bA},Qn=(b,z)=>{let x=z.length;if(et(b))return eA;const re=b.state,ae=re.wrap;if(ae===2||ae===1&&re.status!==os||re.lookahead)return eA;if(ae===1&&(b.adler=ti(b.adler,z,x,0)),re.wrap=0,x>=re.w_size){ae===0&&(gc(re.head),re.strstart=0,re.block_start=0,re.insert=0);let xe=new Uint8Array(re.w_size);xe.set(z.subarray(x-re.w_size,x),0),z=xe,x=re.w_size}const se=b.avail_in,Ee=b.next_in,Se=b.input;for(b.avail_in=x,b.next_in=0,b.input=z,Gc(re);re.lookahead>=Ya;){let xe=re.strstart,Ne=re.lookahead-(Ya-1);do re.ins_h=Gu(re,re.ins_h,re.window[xe+Ya-1]),re.prev[xe&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=xe,xe++;while(--Ne);re.strstart=xe,re.lookahead=Ya-1,Gc(re)}return re.strstart+=re.lookahead,re.block_start=re.strstart,re.insert=re.lookahead,re.lookahead=0,re.match_length=re.prev_length=Ya-1,re.match_available=0,b.next_in=Ee,b.input=Se,b.avail_in=se,re.wrap=ae,bA};var Gn=mn,kn=$t,fr=It,or=St,ur=Gt,jr=Bn,Fr=dn,Qr=Qn,_r="pako deflate (from Nodeca project)",Vr={deflateInit:Gn,deflateInit2:kn,deflateReset:fr,deflateResetKeep:or,deflateSetHeader:ur,deflate:jr,deflateEnd:Fr,deflateSetDictionary:Qr,deflateInfo:_r};const wa=(b,z)=>Object.prototype.hasOwnProperty.call(b,z);var Ua=function(b){const z=Array.prototype.slice.call(arguments,1);for(;z.length;){const x=z.shift();if(x){if(typeof x!="object")throw new TypeError(x+"must be non-object");for(const re in x)wa(x,re)&&(b[re]=x[re])}}return b},ca=b=>{let z=0;for(let re=0,ae=b.length;re=252?6:b>=248?5:b>=240?4:b>=224?3:b>=192?2:1;Jr[254]=Jr[254]=1;var ga=b=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(b);let z,x,re,ae,se,Ee=b.length,Se=0;for(ae=0;ae>>6,z[se++]=128|x&63):x<65536?(z[se++]=224|x>>>12,z[se++]=128|x>>>6&63,z[se++]=128|x&63):(z[se++]=240|x>>>18,z[se++]=128|x>>>12&63,z[se++]=128|x>>>6&63,z[se++]=128|x&63);return z};const ra=(b,z)=>{if(z<65534&&b.subarray&&ao)return String.fromCharCode.apply(null,b.length===z?b:b.subarray(0,z));let x="";for(let re=0;re{const x=z||b.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(b.subarray(0,z));let re,ae;const se=new Array(x*2);for(ae=0,re=0;re4){se[ae++]=65533,re+=Se-1;continue}for(Ee&=Se===2?31:Se===3?15:7;Se>1&&re1){se[ae++]=65533;continue}Ee<65536?se[ae++]=Ee:(Ee-=65536,se[ae++]=55296|Ee>>10&1023,se[ae++]=56320|Ee&1023)}return ra(se,ae)},Aa=(b,z)=>{z=z||b.length,z>b.length&&(z=b.length);let x=z-1;for(;x>=0&&(b[x]&192)===128;)x--;return x<0||x===0?z:x+Jr[b[x]]>z?x:z},Ta={string2buf:ga,buf2string:$r,utf8border:Aa};function So(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var to=So;const Oa=Object.prototype.toString,{Z_NO_FLUSH:uo,Z_SYNC_FLUSH:Io,Z_FULL_FLUSH:Ei,Z_FINISH:$o,Z_OK:Ri,Z_STREAM_END:tA,Z_DEFAULT_COMPRESSION:oo,Z_DEFAULT_STRATEGY:PA,Z_DEFLATED:ni}=Nl;function Fi(b){this.options=Ka.assign({level:oo,method:ni,chunkSize:16384,windowBits:15,memLevel:8,strategy:PA},b||{});let z=this.options;z.raw&&z.windowBits>0?z.windowBits=-z.windowBits:z.gzip&&z.windowBits>0&&z.windowBits<16&&(z.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new to,this.strm.avail_out=0;let x=Vr.deflateInit2(this.strm,z.level,z.method,z.windowBits,z.memLevel,z.strategy);if(x!==Ri)throw new Error(Qs[x]);if(z.header&&Vr.deflateSetHeader(this.strm,z.header),z.dictionary){let re;if(typeof z.dictionary=="string"?re=Ta.string2buf(z.dictionary):Oa.call(z.dictionary)==="[object ArrayBuffer]"?re=new Uint8Array(z.dictionary):re=z.dictionary,x=Vr.deflateSetDictionary(this.strm,re),x!==Ri)throw new Error(Qs[x]);this._dict_set=!0}}Fi.prototype.push=function(b,z){const x=this.strm,re=this.options.chunkSize;let ae,se;if(this.ended)return!1;for(z===~~z?se=z:se=z===!0?$o:uo,typeof b=="string"?x.input=Ta.string2buf(b):Oa.call(b)==="[object ArrayBuffer]"?x.input=new Uint8Array(b):x.input=b,x.next_in=0,x.avail_in=x.input.length;;){if(x.avail_out===0&&(x.output=new Uint8Array(re),x.next_out=0,x.avail_out=re),(se===Io||se===Ei)&&x.avail_out<=6){this.onData(x.output.subarray(0,x.next_out)),x.avail_out=0;continue}if(ae=Vr.deflate(x,se),ae===tA)return x.next_out>0&&this.onData(x.output.subarray(0,x.next_out)),ae=Vr.deflateEnd(this.strm),this.onEnd(ae),this.ended=!0,ae===Ri;if(x.avail_out===0){this.onData(x.output);continue}if(se>0&&x.next_out>0){this.onData(x.output.subarray(0,x.next_out)),x.avail_out=0;continue}if(x.avail_in===0)break}return!0},Fi.prototype.onData=function(b){this.chunks.push(b)},Fi.prototype.onEnd=function(b){b===Ri&&(this.result=Ka.flattenChunks(this.chunks)),this.chunks=[],this.err=b,this.msg=this.strm.msg};function Li(b,z){const x=new Fi(z);if(x.push(b,!0),x.err)throw x.msg||Qs[x.err];return x.result}function $s(b,z){return z=z||{},z.raw=!0,Li(b,z)}function oa(b,z){return z=z||{},z.gzip=!0,Li(b,z)}var ja=Fi,ka=Li,Ba=$s,ri=oa,Sa=Nl,Ja={Deflate:ja,deflate:ka,deflateRaw:Ba,gzip:ri,constants:Sa};const Oo=16209,ko=16191;var Es=function(z,x){let re,ae,se,Ee,Se,xe,Ne,We,At,mt,$e,Mt,Tt,Ht,xt,Sn,cn,qt,Yn,Br,ar,xn,tn,Mn;const Ft=z.state;re=z.next_in,tn=z.input,ae=re+(z.avail_in-5),se=z.next_out,Mn=z.output,Ee=se-(x-z.avail_out),Se=se+(z.avail_out-257),xe=Ft.dmax,Ne=Ft.wsize,We=Ft.whave,At=Ft.wnext,mt=Ft.window,$e=Ft.hold,Mt=Ft.bits,Tt=Ft.lencode,Ht=Ft.distcode,xt=(1<>>24,$e>>>=qt,Mt-=qt,qt=cn>>>16&255,qt===0)Mn[se++]=cn&65535;else if(qt&16){Yn=cn&65535,qt&=15,qt&&(Mt>>=qt,Mt-=qt),Mt<15&&($e+=tn[re++]<>>24,$e>>>=qt,Mt-=qt,qt=cn>>>16&255,qt&16){if(Br=cn&65535,qt&=15,Mtxe){z.msg="invalid distance too far back",Ft.mode=Oo;break e}if($e>>>=qt,Mt-=qt,qt=se-Ee,Br>qt){if(qt=Br-qt,qt>We&&Ft.sane){z.msg="invalid distance too far back",Ft.mode=Oo;break e}if(ar=0,xn=mt,At===0){if(ar+=Ne-qt,qt2;)Mn[se++]=xn[ar++],Mn[se++]=xn[ar++],Mn[se++]=xn[ar++],Yn-=3;Yn&&(Mn[se++]=xn[ar++],Yn>1&&(Mn[se++]=xn[ar++]))}else{ar=se-Br;do Mn[se++]=Mn[ar++],Mn[se++]=Mn[ar++],Mn[se++]=Mn[ar++],Yn-=3;while(Yn>2);Yn&&(Mn[se++]=Mn[ar++],Yn>1&&(Mn[se++]=Mn[ar++]))}}else if(qt&64){z.msg="invalid distance code",Ft.mode=Oo;break e}else{cn=Ht[(cn&65535)+($e&(1<>3,re-=Yn,Mt-=Yn<<3,$e&=(1<{const xe=Se.bits;let Ne=0,We=0,At=0,mt=0,$e=0,Mt=0,Tt=0,Ht=0,xt=0,Sn=0,cn,qt,Yn,Br,ar,xn=null,tn;const Mn=new Uint16Array(pA+1),Ft=new Uint16Array(pA+1);let zt=null,pn,gn,qn;for(Ne=0;Ne<=pA;Ne++)Mn[Ne]=0;for(We=0;We=1&&Mn[mt]===0;mt--);if($e>mt&&($e=mt),mt===0)return ae[se++]=1<<24|64<<16|0,ae[se++]=1<<24|64<<16|0,Se.bits=1,0;for(At=1;At0&&(b===sl||mt!==1))return-1;for(Ft[1]=0,Ne=1;Nekl||b===ks&&xt>vA)return 1;for(;;){pn=Ne-Tt,Ee[We]+1=tn?(gn=zt[Ee[We]-tn],qn=xn[Ee[We]-tn]):(gn=96,qn=0),cn=1<>Tt)+qt]=pn<<24|gn<<16|qn|0;while(qt!==0);for(cn=1<>=1;if(cn!==0?(Sn&=cn-1,Sn+=cn):Sn=0,We++,--Mn[Ne]===0){if(Ne===mt)break;Ne=z[x+Ee[We]]}if(Ne>$e&&(Sn&Br)!==Yn){for(Tt===0&&(Tt=$e),ar+=At,Mt=Ne-Tt,Ht=1<kl||b===ks&&xt>vA)return 1;Yn=Sn&Br,ae[Yn]=$e<<24|Mt<<16|ar-se|0}}return Sn!==0&&(ae[ar+Sn]=Ne-Tt<<24|64<<16|0),Se.bits=$e,0};const yo=0,Fs=1,vs=2,{Z_FINISH:Zs,Z_BLOCK:Rs,Z_TREES:js,Z_OK:Bl,Z_STREAM_END:Cu,Z_NEED_DICT:Sl,Z_STREAM_ERROR:nA,Z_DATA_ERROR:is,Z_MEM_ERROR:EA,Z_BUF_ERROR:Zi,Z_DEFLATED:Yl}=Nl,fu=16180,Pu=16181,Jl=16182,hd=16183,Md=16184,Ro=16185,Ii=16186,As=16187,Hi=16188,ss=16189,Bs=16190,rA=16191,ql=16192,md=16193,pd=16194,Hd=16195,wg=16196,bg=16197,Zc=16198,eu=16199,hc=16200,Cg=16201,Kd=16202,Pg=16203,zd=16204,mc=16205,Gd=16206,wf=16207,Eg=16208,hi=16209,$d=16210,bf=16211,oh=852,Cf=592,xg=15,Zd=b=>(b>>>24&255)+(b>>>8&65280)+((b&65280)<<8)+((b&255)<<24);function Pf(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const $u=b=>{if(!b)return 1;const z=b.state;return!z||z.strm!==b||z.modebf?1:0},_g=b=>{if($u(b))return nA;const z=b.state;return b.total_in=b.total_out=z.total=0,b.msg="",z.wrap&&(b.adler=z.wrap&1),z.mode=fu,z.last=0,z.havedict=0,z.flags=-1,z.dmax=32768,z.head=null,z.hold=0,z.bits=0,z.lencode=z.lendyn=new Int32Array(oh),z.distcode=z.distdyn=new Int32Array(Cf),z.sane=1,z.back=-1,Bl},Wd=b=>{if($u(b))return nA;const z=b.state;return z.wsize=0,z.whave=0,z.wnext=0,_g(b)},Ef=(b,z)=>{let x;if($u(b))return nA;const re=b.state;return z<0?(x=0,z=-z):(x=(z>>4)+5,z<48&&(z&=15)),z&&(z<8||z>15)?nA:(re.window!==null&&re.wbits!==z&&(re.window=null),re.wrap=x,re.wbits=z,Wd(b))},vd=(b,z)=>{if(!b)return nA;const x=new Pf;b.state=x,x.strm=b,x.window=null,x.mode=fu;const re=Ef(b,z);return re!==Bl&&(b.state=null),re},Vd=b=>vd(b,xg);let ls=!0,Eu,Xd;const ih=b=>{if(ls){Eu=new Int32Array(512),Xd=new Int32Array(32);let z=0;for(;z<144;)b.lens[z++]=8;for(;z<256;)b.lens[z++]=9;for(;z<280;)b.lens[z++]=7;for(;z<288;)b.lens[z++]=8;for(Qi(Fs,b.lens,0,288,Eu,0,b.work,{bits:9}),z=0;z<32;)b.lens[z++]=5;Qi(vs,b.lens,0,32,Xd,0,b.work,{bits:5}),ls=!1}b.lencode=Eu,b.lenbits=9,b.distcode=Xd,b.distbits=5},ci=(b,z,x,re)=>{let ae;const se=b.state;return se.window===null&&(se.wsize=1<=se.wsize?(se.window.set(z.subarray(x-se.wsize,x),0),se.wnext=0,se.whave=se.wsize):(ae=se.wsize-se.wnext,ae>re&&(ae=re),se.window.set(z.subarray(x-re,x-re+ae),se.wnext),re-=ae,re?(se.window.set(z.subarray(x-re,x),0),se.wnext=re,se.whave=se.wsize):(se.wnext+=ae,se.wnext===se.wsize&&(se.wnext=0),se.whave{let x,re,ae,se,Ee,Se,xe,Ne,We,At,mt,$e,Mt,Tt,Ht=0,xt,Sn,cn,qt,Yn,Br,ar,xn;const tn=new Uint8Array(4);let Mn,Ft;const zt=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if($u(b)||!b.output||!b.input&&b.avail_in!==0)return nA;x=b.state,x.mode===rA&&(x.mode=ql),Ee=b.next_out,ae=b.output,xe=b.avail_out,se=b.next_in,re=b.input,Se=b.avail_in,Ne=x.hold,We=x.bits,At=Se,mt=xe,xn=Bl;e:for(;;)switch(x.mode){case fu:if(x.wrap===0){x.mode=ql;break}for(;We<16;){if(Se===0)break e;Se--,Ne+=re[se++]<>>8&255,x.check=mA(x.check,tn,2,0),Ne=0,We=0,x.mode=Pu;break}if(x.head&&(x.head.done=!1),!(x.wrap&1)||(((Ne&255)<<8)+(Ne>>8))%31){b.msg="incorrect header check",x.mode=hi;break}if((Ne&15)!==Yl){b.msg="unknown compression method",x.mode=hi;break}if(Ne>>>=4,We-=4,ar=(Ne&15)+8,x.wbits===0&&(x.wbits=ar),ar>15||ar>x.wbits){b.msg="invalid window size",x.mode=hi;break}x.dmax=1<>8&1),x.flags&512&&x.wrap&4&&(tn[0]=Ne&255,tn[1]=Ne>>>8&255,x.check=mA(x.check,tn,2,0)),Ne=0,We=0,x.mode=Jl;case Jl:for(;We<32;){if(Se===0)break e;Se--,Ne+=re[se++]<>>8&255,tn[2]=Ne>>>16&255,tn[3]=Ne>>>24&255,x.check=mA(x.check,tn,4,0)),Ne=0,We=0,x.mode=hd;case hd:for(;We<16;){if(Se===0)break e;Se--,Ne+=re[se++]<>8),x.flags&512&&x.wrap&4&&(tn[0]=Ne&255,tn[1]=Ne>>>8&255,x.check=mA(x.check,tn,2,0)),Ne=0,We=0,x.mode=Md;case Md:if(x.flags&1024){for(;We<16;){if(Se===0)break e;Se--,Ne+=re[se++]<>>8&255,x.check=mA(x.check,tn,2,0)),Ne=0,We=0}else x.head&&(x.head.extra=null);x.mode=Ro;case Ro:if(x.flags&1024&&($e=x.length,$e>Se&&($e=Se),$e&&(x.head&&(ar=x.head.extra_len-x.length,x.head.extra||(x.head.extra=new Uint8Array(x.head.extra_len)),x.head.extra.set(re.subarray(se,se+$e),ar)),x.flags&512&&x.wrap&4&&(x.check=mA(x.check,re,$e,se)),Se-=$e,se+=$e,x.length-=$e),x.length))break e;x.length=0,x.mode=Ii;case Ii:if(x.flags&2048){if(Se===0)break e;$e=0;do ar=re[se+$e++],x.head&&ar&&x.length<65536&&(x.head.name+=String.fromCharCode(ar));while(ar&&$e>9&1,x.head.done=!0),b.adler=x.check=0,x.mode=rA;break;case ss:for(;We<32;){if(Se===0)break e;Se--,Ne+=re[se++]<>>=We&7,We-=We&7,x.mode=Gd;break}for(;We<3;){if(Se===0)break e;Se--,Ne+=re[se++]<>>=1,We-=1,Ne&3){case 0:x.mode=md;break;case 1:if(ih(x),x.mode=eu,z===js){Ne>>>=2,We-=2;break e}break;case 2:x.mode=wg;break;case 3:b.msg="invalid block type",x.mode=hi}Ne>>>=2,We-=2;break;case md:for(Ne>>>=We&7,We-=We&7;We<32;){if(Se===0)break e;Se--,Ne+=re[se++]<>>16^65535)){b.msg="invalid stored block lengths",x.mode=hi;break}if(x.length=Ne&65535,Ne=0,We=0,x.mode=pd,z===js)break e;case pd:x.mode=Hd;case Hd:if($e=x.length,$e){if($e>Se&&($e=Se),$e>xe&&($e=xe),$e===0)break e;ae.set(re.subarray(se,se+$e),Ee),Se-=$e,se+=$e,xe-=$e,Ee+=$e,x.length-=$e;break}x.mode=rA;break;case wg:for(;We<14;){if(Se===0)break e;Se--,Ne+=re[se++]<>>=5,We-=5,x.ndist=(Ne&31)+1,Ne>>>=5,We-=5,x.ncode=(Ne&15)+4,Ne>>>=4,We-=4,x.nlen>286||x.ndist>30){b.msg="too many length or distance symbols",x.mode=hi;break}x.have=0,x.mode=bg;case bg:for(;x.have>>=3,We-=3}for(;x.have<19;)x.lens[zt[x.have++]]=0;if(x.lencode=x.lendyn,x.lenbits=7,Mn={bits:x.lenbits},xn=Qi(yo,x.lens,0,19,x.lencode,0,x.work,Mn),x.lenbits=Mn.bits,xn){b.msg="invalid code lengths set",x.mode=hi;break}x.have=0,x.mode=Zc;case Zc:for(;x.have>>24,Sn=Ht>>>16&255,cn=Ht&65535,!(xt<=We);){if(Se===0)break e;Se--,Ne+=re[se++]<>>=xt,We-=xt,x.lens[x.have++]=cn;else{if(cn===16){for(Ft=xt+2;We>>=xt,We-=xt,x.have===0){b.msg="invalid bit length repeat",x.mode=hi;break}ar=x.lens[x.have-1],$e=3+(Ne&3),Ne>>>=2,We-=2}else if(cn===17){for(Ft=xt+3;We>>=xt,We-=xt,ar=0,$e=3+(Ne&7),Ne>>>=3,We-=3}else{for(Ft=xt+7;We>>=xt,We-=xt,ar=0,$e=11+(Ne&127),Ne>>>=7,We-=7}if(x.have+$e>x.nlen+x.ndist){b.msg="invalid bit length repeat",x.mode=hi;break}for(;$e--;)x.lens[x.have++]=ar}}if(x.mode===hi)break;if(x.lens[256]===0){b.msg="invalid code -- missing end-of-block",x.mode=hi;break}if(x.lenbits=9,Mn={bits:x.lenbits},xn=Qi(Fs,x.lens,0,x.nlen,x.lencode,0,x.work,Mn),x.lenbits=Mn.bits,xn){b.msg="invalid literal/lengths set",x.mode=hi;break}if(x.distbits=6,x.distcode=x.distdyn,Mn={bits:x.distbits},xn=Qi(vs,x.lens,x.nlen,x.ndist,x.distcode,0,x.work,Mn),x.distbits=Mn.bits,xn){b.msg="invalid distances set",x.mode=hi;break}if(x.mode=eu,z===js)break e;case eu:x.mode=hc;case hc:if(Se>=6&&xe>=258){b.next_out=Ee,b.avail_out=xe,b.next_in=se,b.avail_in=Se,x.hold=Ne,x.bits=We,Es(b,mt),Ee=b.next_out,ae=b.output,xe=b.avail_out,se=b.next_in,re=b.input,Se=b.avail_in,Ne=x.hold,We=x.bits,x.mode===rA&&(x.back=-1);break}for(x.back=0;Ht=x.lencode[Ne&(1<>>24,Sn=Ht>>>16&255,cn=Ht&65535,!(xt<=We);){if(Se===0)break e;Se--,Ne+=re[se++]<>qt)],xt=Ht>>>24,Sn=Ht>>>16&255,cn=Ht&65535,!(qt+xt<=We);){if(Se===0)break e;Se--,Ne+=re[se++]<>>=qt,We-=qt,x.back+=qt}if(Ne>>>=xt,We-=xt,x.back+=xt,x.length=cn,Sn===0){x.mode=mc;break}if(Sn&32){x.back=-1,x.mode=rA;break}if(Sn&64){b.msg="invalid literal/length code",x.mode=hi;break}x.extra=Sn&15,x.mode=Cg;case Cg:if(x.extra){for(Ft=x.extra;We>>=x.extra,We-=x.extra,x.back+=x.extra}x.was=x.length,x.mode=Kd;case Kd:for(;Ht=x.distcode[Ne&(1<>>24,Sn=Ht>>>16&255,cn=Ht&65535,!(xt<=We);){if(Se===0)break e;Se--,Ne+=re[se++]<>qt)],xt=Ht>>>24,Sn=Ht>>>16&255,cn=Ht&65535,!(qt+xt<=We);){if(Se===0)break e;Se--,Ne+=re[se++]<>>=qt,We-=qt,x.back+=qt}if(Ne>>>=xt,We-=xt,x.back+=xt,Sn&64){b.msg="invalid distance code",x.mode=hi;break}x.offset=cn,x.extra=Sn&15,x.mode=Pg;case Pg:if(x.extra){for(Ft=x.extra;We>>=x.extra,We-=x.extra,x.back+=x.extra}if(x.offset>x.dmax){b.msg="invalid distance too far back",x.mode=hi;break}x.mode=zd;case zd:if(xe===0)break e;if($e=mt-xe,x.offset>$e){if($e=x.offset-$e,$e>x.whave&&x.sane){b.msg="invalid distance too far back",x.mode=hi;break}$e>x.wnext?($e-=x.wnext,Mt=x.wsize-$e):Mt=x.wnext-$e,$e>x.length&&($e=x.length),Tt=x.window}else Tt=ae,Mt=Ee-x.offset,$e=x.length;$e>xe&&($e=xe),xe-=$e,x.length-=$e;do ae[Ee++]=Tt[Mt++];while(--$e);x.length===0&&(x.mode=hc);break;case mc:if(xe===0)break e;ae[Ee++]=x.length,xe--,x.mode=hc;break;case Gd:if(x.wrap){for(;We<32;){if(Se===0)break e;Se--,Ne|=re[se++]<{if($u(b))return nA;let z=b.state;return z.window&&(z.window=null),b.state=null,Bl},Zu=(b,z)=>{if($u(b))return nA;const x=b.state;return x.wrap&2?(x.head=z,z.done=!1,Bl):nA},Wu=(b,z)=>{const x=z.length;let re,ae,se;return $u(b)||(re=b.state,re.wrap!==0&&re.mode!==Bs)?nA:re.mode===Bs&&(ae=1,ae=ti(ae,z,x,0),ae!==re.check)?is:(se=ci(b,z,x,x),se?(re.mode=$d,EA):(re.havedict=1,Bl))};var Ff=Wd,Lg=Ef,Ig=_g,Ug=Vd,Ng=vd,t0=Ti,n0=Rl,r0=Zu,a0=Wu,Ah="pako inflate (from Nodeca project)",pc={inflateReset:Ff,inflateReset2:Lg,inflateResetKeep:Ig,inflateInit:Ug,inflateInit2:Ng,inflate:t0,inflateEnd:n0,inflateGetHeader:r0,inflateSetDictionary:a0,inflateInfo:Ah};function Sm(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var ym=Sm;const o0=Object.prototype.toString,{Z_NO_FLUSH:xf,Z_FINISH:_f,Z_OK:Dg,Z_STREAM_END:Lf,Z_NEED_DICT:Og,Z_STREAM_ERROR:i0,Z_DATA_ERROR:sh,Z_MEM_ERROR:A0}=Nl;function Qg(b){this.options=Ka.assign({chunkSize:1024*64,windowBits:15,to:""},b||{});const z=this.options;z.raw&&z.windowBits>=0&&z.windowBits<16&&(z.windowBits=-z.windowBits,z.windowBits===0&&(z.windowBits=-15)),z.windowBits>=0&&z.windowBits<16&&!(b&&b.windowBits)&&(z.windowBits+=32),z.windowBits>15&&z.windowBits<48&&(z.windowBits&15||(z.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new to,this.strm.avail_out=0;let x=pc.inflateInit2(this.strm,z.windowBits);if(x!==Dg)throw new Error(Qs[x]);if(this.header=new ym,pc.inflateGetHeader(this.strm,this.header),z.dictionary&&(typeof z.dictionary=="string"?z.dictionary=Ta.string2buf(z.dictionary):o0.call(z.dictionary)==="[object ArrayBuffer]"&&(z.dictionary=new Uint8Array(z.dictionary)),z.raw&&(x=pc.inflateSetDictionary(this.strm,z.dictionary),x!==Dg)))throw new Error(Qs[x])}Qg.prototype.push=function(b,z){const x=this.strm,re=this.options.chunkSize,ae=this.options.dictionary;let se,Ee,Se;if(this.ended)return!1;for(z===~~z?Ee=z:Ee=z===!0?_f:xf,o0.call(b)==="[object ArrayBuffer]"?x.input=new Uint8Array(b):x.input=b,x.next_in=0,x.avail_in=x.input.length;;){for(x.avail_out===0&&(x.output=new Uint8Array(re),x.next_out=0,x.avail_out=re),se=pc.inflate(x,Ee),se===Og&&ae&&(se=pc.inflateSetDictionary(x,ae),se===Dg?se=pc.inflate(x,Ee):se===sh&&(se=Og));x.avail_in>0&&se===Lf&&x.state.wrap>0&&b[x.next_in]!==0;)pc.inflateReset(x),se=pc.inflate(x,Ee);switch(se){case i0:case sh:case Og:case A0:return this.onEnd(se),this.ended=!0,!1}if(Se=x.avail_out,x.next_out&&(x.avail_out===0||se===Lf))if(this.options.to==="string"){let xe=Ta.utf8border(x.output,x.next_out),Ne=x.next_out-xe,We=Ta.buf2string(x.output,xe);x.next_out=Ne,x.avail_out=re-Ne,Ne&&x.output.set(x.output.subarray(xe,xe+Ne),0),this.onData(We)}else this.onData(x.output.length===x.next_out?x.output:x.output.subarray(0,x.next_out));if(!(se===Dg&&Se===0)){if(se===Lf)return se=pc.inflateEnd(this.strm),this.onEnd(se),this.ended=!0,!0;if(x.avail_in===0)break}}return!0},Qg.prototype.onData=function(b){this.chunks.push(b)},Qg.prototype.onEnd=function(b){b===Dg&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ka.flattenChunks(this.chunks)),this.chunks=[],this.err=b,this.msg=this.strm.msg};function Yd(b,z){const x=new Qg(z);if(x.push(b),x.err)throw x.msg||Qs[x.err];return x.result}function s0(b,z){return z=z||{},z.raw=!0,Yd(b,z)}var l0=Qg,wm=Yd,bm=s0,u0=Yd,Jd=Nl,lh={Inflate:l0,inflate:wm,inflateRaw:bm,ungzip:u0,constants:Jd};const{Deflate:If,deflate:Cm,deflateRaw:Pm,gzip:Em}=Ja,{Inflate:Fm,inflate:c0,inflateRaw:uh,ungzip:d0}=lh;var g0=If,ch=Cm,f0=Pm,h0=Em,dh=Fm,Tg=c0,Uf=uh,m0=d0,p0=Nl,Pp={Deflate:g0,deflate:ch,deflateRaw:f0,gzip:h0,Inflate:dh,inflate:Tg,inflateRaw:Uf,ungzip:m0,constants:p0};const gh=[];for(let b=0;b<256;b++){let z=b;for(let x=0;x<8;x++)z&1?z=3988292384^z>>>1:z=z>>>1;gh[b]=z}const fh=4294967295;function xm(b,z,x){let re=b;for(let ae=0;ae>>8;return re}function v0(b,z){return(xm(fh,b,z)^fh)>>>0}function Bd(b,z,x){const re=b.readUint32(),ae=v0(new Uint8Array(b.buffer,b.byteOffset+b.offset-z-4,z),z);if(ae!==re)throw new Error(`CRC mismatch for chunk ${x}. Expected ${re}, found ${ae}`)}function _m(b,z){b.writeUint32(v0(new Uint8Array(b.buffer,b.byteOffset+b.offset-z,z),z))}function qA(b,z,x){for(let re=0;re>1)&255}else{for(;se>1)&255;for(;se>1)&255}}function Bc(b,z,x,re,ae){let se=0;if(x.length===0){for(;se=x||Br>=re))for(let ar=0;ar>8&255}const y0=new Uint16Array([255]),jg=new Uint8Array(y0.buffer)[0]===255,Um=new Uint8Array(0);function w0(b){const{data:z,width:x,height:re,channels:ae,depth:se}=b,Ee=Math.ceil(se/8)*ae,Se=Math.ceil(se/8*ae*x),xe=new Uint8Array(re*Se);let Ne=Um,We=0,At,mt;for(let $e=0;$e>8&255}const Mg=Uint8Array.of(137,80,78,71,13,10,26,10);function Ep(b){b.writeBytes(Mg)}function Nf(b){if(!Dm(b.readBytes(Mg.length)))throw new Error("wrong PNG signature")}function Dm(b){if(b.length79)throw new Error("keyword length must be between 1 and 79")}const mh=/^[\u0000-\u00FF]*$/;function Df(b){if(!mh.test(b))throw new Error("invalid latin1 text")}function F0(b,z,x){const re=x0(z);b[re]=_0(z,x-re.length-1)}function Fp(b,z,x){E0(z),Df(x);const re=z.length+1+x.length;b.writeUint32(re),b.writeChars(b0),b.writeChars(z),b.writeByte(C0),b.writeChars(x),writeCrc(b,re+4)}function x0(b){for(b.mark();b.readByte()!==C0;);const z=b.offset;b.reset();const x=P0.decode(b.readBytes(z-b.offset-1));return b.skip(1),E0(x),x}function _0(b,z){return P0.decode(b.readBytes(z))}const tu={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},ph={UNKNOWN:-1,DEFLATE:0},L0={UNKNOWN:-1,ADAPTIVE:0},vh={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},Of={NONE:0,BACKGROUND:1,PREVIOUS:2},Hg={SOURCE:0,OVER:1};class Om extends _l{constructor(x,re={}){super(x);Mi(this,"_checkCrc");Mi(this,"_inflator");Mi(this,"_png");Mi(this,"_apng");Mi(this,"_end");Mi(this,"_hasPalette");Mi(this,"_palette");Mi(this,"_hasTransparency");Mi(this,"_transparency");Mi(this,"_compressionMethod");Mi(this,"_filterMethod");Mi(this,"_interlaceMethod");Mi(this,"_colorType");Mi(this,"_isAnimated");Mi(this,"_numberOfFrames");Mi(this,"_numberOfPlays");Mi(this,"_frames");Mi(this,"_writingDataChunks");const{checkCrc:ae=!1}=re;this._checkCrc=ae,this._inflator=new dh,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=ph.UNKNOWN,this._filterMethod=L0.UNKNOWN,this._interlaceMethod=vh.UNKNOWN,this._colorType=tu.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(Nf(this);!this._end;){const x=this.readUint32(),re=this.readChars(4);this.decodeChunk(x,re)}return this.decodeImage(),this._png}decodeApng(){for(Nf(this);!this._end;){const x=this.readUint32(),re=this.readChars(4);this.decodeApngChunk(x,re)}return this.decodeApngImage(),this._apng}decodeChunk(x,re){const ae=this.offset;switch(re){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(x);break;case"IDAT":this.decodeIDAT(x);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(x);break;case"iCCP":this.decodeiCCP(x);break;case b0:F0(this._png.text,this,x);break;case"pHYs":this.decodepHYs();break;default:this.skip(x);break}if(this.offset-ae!==x)throw new Error(`Length mismatch while decoding chunk ${re}`);this._checkCrc?Bd(this,x+4,re):this.skip(4)}decodeApngChunk(x,re){const ae=this.offset;switch(re!=="fdAT"&&re!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),re){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(x);break;default:this.decodeChunk(x,re),this.offset=ae+x;break}if(this.offset-ae!==x)throw new Error(`Length mismatch while decoding chunk ${re}`);this._checkCrc?Bd(this,x+4,re):this.skip(4)}decodeIHDR(){const x=this._png;x.width=this.readUint32(),x.height=this.readUint32(),x.depth=Bh(this.readUint8());const re=this.readUint8();this._colorType=re;let ae;switch(re){case tu.GREYSCALE:ae=1;break;case tu.TRUECOLOUR:ae=3;break;case tu.INDEXED_COLOUR:ae=1;break;case tu.GREYSCALE_ALPHA:ae=2;break;case tu.TRUECOLOUR_ALPHA:ae=4;break;case tu.UNKNOWN:default:throw new Error(`Unknown color type: ${re}`)}if(this._png.channels=ae,this._compressionMethod=this.readUint8(),this._compressionMethod!==ph.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const x={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(x)}decodePLTE(x){if(x%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${x}`);const re=x/3;this._hasPalette=!0;const ae=[];this._palette=ae;for(let se=0;sethis._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${x/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(x/2);for(let re=0;rethis._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${x} vs ${this._palette.length})`);let re=0;for(;re{const xe=((Ee+re.yOffset)*this._png.width+re.xOffset+Se)*this._png.channels,Ne=(Ee*re.width+Se)*this._png.channels;return{index:xe,frameIndex:Ne}};switch(re.blendOp){case Hg.SOURCE:for(let Ee=0;Eere.at(-1)!==255);this.writeUint32(x.length),this.writeChars("tRNS");for(const re of x)this.writeByte(re.at(-1));writeCrc(this,4+x.length)}encodeIDAT(x){this.writeUint32(x.length),this.writeChars("IDAT"),this.writeBytes(x),writeCrc(this,x.length+4)}encodeData(){const{width:x,height:re,channels:ae,depth:se,data:Ee}=this._png,Se=se<=8?Math.ceil(x*se/8)*ae:Math.ceil(x*se/8*ae/2),xe=new IOBuffer().setBigEndian();let Ne=0;if(this._interlaceMethod===InterlaceMethod.NO_INTERLACE)for(let mt=0;mt0)return b;throw new TypeError(`${z} must be a positive integer`)}function Qf(b,z){const{channels:x=4,depth:re=8}=b;if(x!==4&&x!==3&&x!==2&&x!==1)throw new RangeError(`unsupported number of channels: ${x}`);const ae={channels:x,depth:re,colorType:ColorType.UNKNOWN};switch(x){case 4:ae.colorType=ColorType.TRUECOLOUR_ALPHA;break;case 3:ae.colorType=ColorType.TRUECOLOUR;break;case 1:z?ae.colorType=ColorType.INDEXED_COLOUR:ae.colorType=ColorType.GREYSCALE;break;case 2:ae.colorType=ColorType.GREYSCALE_ALPHA;break;default:throw new Error("unsupported number of channels")}return ae}function hu(b,z,x,re){for(let ae=0;ae>8&255),x.writeByte(cn&255)}}return re}function Ki(b,z,x,re){for(let ae=0;ae=200&&z.status<=299}function kf(b){try{b.dispatchEvent(new MouseEvent("click"))}catch(x){var z=document.createEvent("MouseEvents");z.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),b.dispatchEvent(z)}}var Vc=Fo.saveAs||((typeof window=="undefined"?"undefined":(0,Oe.Z)(window))!=="object"||window!==Fo?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(b,z,x){var re=Fo.URL||Fo.webkitURL,ae=document.createElement("a");z=z||b.name||"download",ae.download=z,ae.rel="noopener",typeof b=="string"?(ae.href=b,ae.origin!==location.origin?wh(ae.href)?yh(b,z,x):kf(ae,ae.target="_blank"):kf(ae)):(ae.href=re.createObjectURL(b),setTimeout(function(){re.revokeObjectURL(ae.href)},4e4),setTimeout(function(){kf(ae)},0))}:"msSaveOrOpenBlob"in navigator?function(b,z,x){if(z=z||b.name||"download",typeof b=="string")if(wh(b))yh(b,z,x);else{var re=document.createElement("a");re.href=b,re.target="_blank",setTimeout(function(){kf(re)})}else navigator.msSaveOrOpenBlob(function(ae,se){return se===void 0?se={autoBom:!1}:(0,Oe.Z)(se)!=="object"&&(cA.warn("Deprecated: Expected third argument to be a object"),se={autoBom:!se}),se.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(ae.type)?new Blob(["\uFEFF",ae],{type:ae.type}):ae}(b,x),z)}:function(b,z,x,re){if((re=re||open("","_blank"))&&(re.document.title=re.document.body.innerText="downloading..."),typeof b=="string")return yh(b,z,x);var ae=b.type==="application/octet-stream",se=/constructor/i.test(Fo.HTMLElement)||Fo.safari,Ee=/CriOS\/[\d]+/.test(navigator.userAgent);if((Ee||ae&&se)&&(typeof FileReader=="undefined"?"undefined":(0,Oe.Z)(FileReader))==="object"){var Se=new FileReader;Se.onloadend=function(){var We=Se.result;We=Ee?We:We.replace(/^data:[^;]*;/,"data:attachment/file;"),re?re.location.href=We:location=We,re=null},Se.readAsDataURL(b)}else{var xe=Fo.URL||Fo.webkitURL,Ne=xe.createObjectURL(b);re?re.location=Ne:location.href=Ne,re=null,setTimeout(function(){xe.revokeObjectURL(Ne)},4e4)}});function I0(b){var z;b=b||"",this.ok=!1,b.charAt(0)=="#"&&(b=b.substr(1,6)),b={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[b=(b=b.replace(/ /g,"")).toLowerCase()]||b;for(var x=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(Se){return[parseInt(Se[1]),parseInt(Se[2]),parseInt(Se[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(Se){return[parseInt(Se[1],16),parseInt(Se[2],16),parseInt(Se[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(Se){return[parseInt(Se[1]+Se[1],16),parseInt(Se[2]+Se[2],16),parseInt(Se[3]+Se[3],16)]}}],re=0;re255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var Se=this.r.toString(16),xe=this.g.toString(16),Ne=this.b.toString(16);return Se.length==1&&(Se="0"+Se),xe.length==1&&(xe="0"+xe),Ne.length==1&&(Ne="0"+Ne),"#"+Se+xe+Ne}}var Kg=Fo.atob.bind(Fo),bh=Fo.btoa.bind(Fo);function zg(b,z){var x=b[0],re=b[1],ae=b[2],se=b[3];x=ll(x,re,ae,se,z[0],7,-680876936),se=ll(se,x,re,ae,z[1],12,-389564586),ae=ll(ae,se,x,re,z[2],17,606105819),re=ll(re,ae,se,x,z[3],22,-1044525330),x=ll(x,re,ae,se,z[4],7,-176418897),se=ll(se,x,re,ae,z[5],12,1200080426),ae=ll(ae,se,x,re,z[6],17,-1473231341),re=ll(re,ae,se,x,z[7],22,-45705983),x=ll(x,re,ae,se,z[8],7,1770035416),se=ll(se,x,re,ae,z[9],12,-1958414417),ae=ll(ae,se,x,re,z[10],17,-42063),re=ll(re,ae,se,x,z[11],22,-1990404162),x=ll(x,re,ae,se,z[12],7,1804603682),se=ll(se,x,re,ae,z[13],12,-40341101),ae=ll(ae,se,x,re,z[14],17,-1502002290),x=Ws(x,re=ll(re,ae,se,x,z[15],22,1236535329),ae,se,z[1],5,-165796510),se=Ws(se,x,re,ae,z[6],9,-1069501632),ae=Ws(ae,se,x,re,z[11],14,643717713),re=Ws(re,ae,se,x,z[0],20,-373897302),x=Ws(x,re,ae,se,z[5],5,-701558691),se=Ws(se,x,re,ae,z[10],9,38016083),ae=Ws(ae,se,x,re,z[15],14,-660478335),re=Ws(re,ae,se,x,z[4],20,-405537848),x=Ws(x,re,ae,se,z[9],5,568446438),se=Ws(se,x,re,ae,z[14],9,-1019803690),ae=Ws(ae,se,x,re,z[3],14,-187363961),re=Ws(re,ae,se,x,z[8],20,1163531501),x=Ws(x,re,ae,se,z[13],5,-1444681467),se=Ws(se,x,re,ae,z[2],9,-51403784),ae=Ws(ae,se,x,re,z[7],14,1735328473),x=ul(x,re=Ws(re,ae,se,x,z[12],20,-1926607734),ae,se,z[5],4,-378558),se=ul(se,x,re,ae,z[8],11,-2022574463),ae=ul(ae,se,x,re,z[11],16,1839030562),re=ul(re,ae,se,x,z[14],23,-35309556),x=ul(x,re,ae,se,z[1],4,-1530992060),se=ul(se,x,re,ae,z[4],11,1272893353),ae=ul(ae,se,x,re,z[7],16,-155497632),re=ul(re,ae,se,x,z[10],23,-1094730640),x=ul(x,re,ae,se,z[13],4,681279174),se=ul(se,x,re,ae,z[0],11,-358537222),ae=ul(ae,se,x,re,z[3],16,-722521979),re=ul(re,ae,se,x,z[6],23,76029189),x=ul(x,re,ae,se,z[9],4,-640364487),se=ul(se,x,re,ae,z[12],11,-421815835),ae=ul(ae,se,x,re,z[15],16,530742520),x=cl(x,re=ul(re,ae,se,x,z[2],23,-995338651),ae,se,z[0],6,-198630844),se=cl(se,x,re,ae,z[7],10,1126891415),ae=cl(ae,se,x,re,z[14],15,-1416354905),re=cl(re,ae,se,x,z[5],21,-57434055),x=cl(x,re,ae,se,z[12],6,1700485571),se=cl(se,x,re,ae,z[3],10,-1894986606),ae=cl(ae,se,x,re,z[10],15,-1051523),re=cl(re,ae,se,x,z[1],21,-2054922799),x=cl(x,re,ae,se,z[8],6,1873313359),se=cl(se,x,re,ae,z[15],10,-30611744),ae=cl(ae,se,x,re,z[6],15,-1560198380),re=cl(re,ae,se,x,z[13],21,1309151649),x=cl(x,re,ae,se,z[4],6,-145523070),se=cl(se,x,re,ae,z[11],10,-1120210379),ae=cl(ae,se,x,re,z[2],15,718787259),re=cl(re,ae,se,x,z[9],21,-343485551),b[0]=Vu(x,b[0]),b[1]=Vu(re,b[1]),b[2]=Vu(ae,b[2]),b[3]=Vu(se,b[3])}function Gg(b,z,x,re,ae,se){return z=Vu(Vu(z,b),Vu(re,se)),Vu(z<>>32-ae,x)}function ll(b,z,x,re,ae,se,Ee){return Gg(z&x|~z&re,b,z,ae,se,Ee)}function Ws(b,z,x,re,ae,se,Ee){return Gg(z&re|x&~re,b,z,ae,se,Ee)}function ul(b,z,x,re,ae,se,Ee){return Gg(z^x^re,b,z,ae,se,Ee)}function cl(b,z,x,re,ae,se,Ee){return Gg(x^(z|~re),b,z,ae,se,Ee)}function U0(b){var z,x=b.length,re=[1732584193,-271733879,-1732584194,271733878];for(z=64;z<=b.length;z+=64)zg(re,Rf(b.substring(z-64,z)));b=b.substring(z-64);var ae=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(z=0;z>2]|=b.charCodeAt(z)<<(z%4<<3);if(ae[z>>2]|=128<<(z%4<<3),z>55)for(zg(re,ae),z=0;z<16;z++)ae[z]=0;return ae[14]=8*x,zg(re,ae),re}function Rf(b){var z,x=[];for(z=0;z<64;z+=4)x[z>>2]=b.charCodeAt(z)+(b.charCodeAt(z+1)<<8)+(b.charCodeAt(z+2)<<16)+(b.charCodeAt(z+3)<<24);return x}var nu="0123456789abcdef".split("");function N0(b){for(var z="",x=0;x<4;x++)z+=nu[b>>8*x+4&15]+nu[b>>8*x&15];return z}function jf(b){return String.fromCharCode(255&b,(65280&b)>>8,(16711680&b)>>16,(4278190080&b)>>24)}function Ch(b){return U0(b).map(jf).join("")}var km=function(b){for(var z=0;z>16)+(z>>16)+(x>>16)<<16|65535&x}return b+z&4294967295}function Xc(b,z){var x,re,ae,se;if(b!==x){for(var Ee=(ae=b,se=1+(256/b.length|0),new Array(se+1).join(ae)),Se=[],xe=0;xe<256;xe++)Se[xe]=xe;var Ne=0;for(xe=0;xe<256;xe++){var We=Se[xe];Ne=(Ne+We+Ee.charCodeAt(xe))%256,Se[xe]=Se[Ne],Se[Ne]=We}x=b,re=Se}else Se=re;var At=z.length,mt=0,$e=0,Mt="";for(xe=0;xe\x80/\f\xA9\xFEdSiz";var se=(z+this.padding).substr(0,32),Ee=(x+this.padding).substr(0,32);this.O=this.processOwnerPassword(se,Ee),this.P=-(1+(255^ae)),this.encryptionKey=Ch(se+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(re)).substr(0,5),this.U=Xc(this.encryptionKey,this.padding)}function Fu(b){if(/[^\u0000-\u00ff]/.test(b))throw new Error("Invalid PDF Name Object: "+b+", Only accept ASCII characters.");for(var z="",x=b.length,re=0;re126?"#"+("0"+ae.toString(16)).slice(-2):b[re]}return z}function D0(b){if((0,Oe.Z)(b)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var z={};this.subscribe=function(x,re,ae){if(ae=ae||!1,typeof x!="string"||typeof re!="function"||typeof ae!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");z.hasOwnProperty(x)||(z[x]={});var se=Math.random().toString(35);return z[x][se]=[re,!!ae],se},this.unsubscribe=function(x){for(var re in z)if(z[re][x])return delete z[re][x],Object.keys(z[re]).length===0&&delete z[re],!0;return!1},this.publish=function(x){if(z.hasOwnProperty(x)){var re=Array.prototype.slice.call(arguments,1),ae=[];for(var se in z[x]){var Ee=z[x][se];try{Ee[0].apply(b,re)}catch(Se){Fo.console&&cA.error("jsPDF PubSub Error",Se.message,Se)}Ee[1]&&ae.push(se)}ae.length&&ae.forEach(this.unsubscribe)}},this.getTopics=function(){return z}}function Zg(b){if(!(this instanceof Zg))return new Zg(b);var z="opacity,stroke-opacity".split(",");for(var x in b)b.hasOwnProperty(x)&&z.indexOf(x)>=0&&(this[x]=b[x]);this.id="",this.objectNumber=-1}function Ph(b,z){this.gState=b,this.matrix=z,this.id="",this.objectNumber=-1}function Yc(b,z,x,re,ae){if(!(this instanceof Yc))return new Yc(b,z,x,re,ae);this.type=b==="axial"?2:3,this.coords=z,this.colors=x,Ph.call(this,re,ae)}function Jc(b,z,x,re,ae){if(!(this instanceof Jc))return new Jc(b,z,x,re,ae);this.boundingBox=b,this.xStep=z,this.yStep=x,this.stream="",this.cloneIndex=0,Ph.call(this,re,ae)}function Wa(b){var z,x=typeof arguments[0]=="string"?arguments[0]:"p",re=arguments[1],ae=arguments[2],se=arguments[3],Ee=[],Se=1,xe=16,Ne="S",We=null;(0,Oe.Z)(b=b||{})==="object"&&(x=b.orientation,re=b.unit||re,ae=b.format||ae,se=b.compress||b.compressPdf||se,(We=b.encryption||null)!==null&&(We.userPassword=We.userPassword||"",We.ownerPassword=We.ownerPassword||"",We.userPermissions=We.userPermissions||[]),Se=typeof b.userUnit=="number"?Math.abs(b.userUnit):1,b.precision!==void 0&&(z=b.precision),b.floatPrecision!==void 0&&(xe=b.floatPrecision),Ne=b.defaultPathOperation||"S"),Ee=b.filters||(se===!0?["FlateEncode"]:Ee),re=re||"mm",x=(""+(x||"P")).toLowerCase();var At=b.putOnlyUsedFonts||!1,mt={},$e={internal:{},__private__:{}};$e.__private__.PubSub=D0;var Mt="1.3",Tt=$e.__private__.getPdfVersion=function(){return Mt};$e.__private__.setPdfVersion=function(Ue){Mt=Ue};var Ht={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};$e.__private__.getPageFormats=function(){return Ht};var xt=$e.__private__.getPageFormat=function(Ue){return Ht[Ue]};ae=ae||"a4";var Sn="compat",cn="advanced",qt=Sn;function Yn(){this.saveGraphicsState(),an(new Co(Qo,0,0,-Qo,0,Af()*Qo).toString()+" cm"),this.setFontSize(this.getFontSize()/Qo),Ne="n",qt=cn}function Br(){this.restoreGraphicsState(),Ne="S",qt=Sn}var ar=$e.__private__.combineFontStyleAndFontWeight=function(Ue,lt){if(Ue=="bold"&<=="normal"||Ue=="bold"&<==400||Ue=="normal"&<=="italic"||Ue=="bold"&<=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return lt&&(Ue=lt==400||lt==="normal"?Ue==="italic"?"italic":"normal":lt!=700&<!=="bold"||Ue!=="normal"?(lt==700?"bold":lt)+""+Ue:"bold"),Ue};$e.advancedAPI=function(Ue){var lt=qt===Sn;return lt&&Yn.call(this),typeof Ue!="function"||(Ue(this),lt&&Br.call(this)),this},$e.compatAPI=function(Ue){var lt=qt===cn;return lt&&Br.call(this),typeof Ue!="function"||(Ue(this),lt&&Yn.call(this)),this},$e.isAdvancedAPI=function(){return qt===cn};var xn,tn=function(Ue){if(qt!==cn)throw new Error(Ue+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Mn=$e.roundToPrecision=$e.__private__.roundToPrecision=function(Ue,lt){var Vt=z||lt;if(isNaN(Ue)||isNaN(Vt))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return Ue.toFixed(Vt).replace(/0+$/,"")};xn=$e.hpf=$e.__private__.hpf=typeof xe=="number"?function(Ue){if(isNaN(Ue))throw new Error("Invalid argument passed to jsPDF.hpf");return Mn(Ue,xe)}:xe==="smart"?function(Ue){if(isNaN(Ue))throw new Error("Invalid argument passed to jsPDF.hpf");return Mn(Ue,Ue>-1&&Ue<1?16:5)}:function(Ue){if(isNaN(Ue))throw new Error("Invalid argument passed to jsPDF.hpf");return Mn(Ue,16)};var Ft=$e.f2=$e.__private__.f2=function(Ue){if(isNaN(Ue))throw new Error("Invalid argument passed to jsPDF.f2");return Mn(Ue,2)},zt=$e.__private__.f3=function(Ue){if(isNaN(Ue))throw new Error("Invalid argument passed to jsPDF.f3");return Mn(Ue,3)},pn=$e.scale=$e.__private__.scale=function(Ue){if(isNaN(Ue))throw new Error("Invalid argument passed to jsPDF.scale");return qt===Sn?Ue*Qo:qt===cn?Ue:void 0},gn=function(Ue){return pn(function(lt){return qt===Sn?Af()-lt:qt===cn?lt:void 0}(Ue))};$e.__private__.setPrecision=$e.setPrecision=function(Ue){typeof parseInt(Ue,10)=="number"&&(z=parseInt(Ue,10))};var qn,rr="00000000000000000000000000000000",Ar=$e.__private__.getFileId=function(){return rr},Zn=$e.__private__.setFileId=function(Ue){return rr=Ue!==void 0&&/^[a-fA-F0-9]{32}$/.test(Ue)?Ue.toUpperCase():rr.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),We!==null&&(_s=new eg(We.userPermissions,We.userPassword,We.ownerPassword,rr)),rr};$e.setFileId=function(Ue){return Zn(Ue),this},$e.getFileId=function(){return Ar()};var cr=$e.__private__.convertDateToPDFDate=function(Ue){var lt=Ue.getTimezoneOffset(),Vt=lt<0?"+":"-",hn=Math.floor(Math.abs(lt/60)),jn=Math.abs(lt%60),yr=[Vt,sn(hn),"'",sn(jn),"'"].join("");return["D:",Ue.getFullYear(),sn(Ue.getMonth()+1),sn(Ue.getDate()),sn(Ue.getHours()),sn(Ue.getMinutes()),sn(Ue.getSeconds()),yr].join("")},qr=$e.__private__.convertPDFDateToDate=function(Ue){var lt=parseInt(Ue.substr(2,4),10),Vt=parseInt(Ue.substr(6,2),10)-1,hn=parseInt(Ue.substr(8,2),10),jn=parseInt(Ue.substr(10,2),10),yr=parseInt(Ue.substr(12,2),10),Nr=parseInt(Ue.substr(14,2),10);return new Date(lt,Vt,hn,jn,yr,Nr,0)},Lr=$e.__private__.setCreationDate=function(Ue){var lt;if(Ue===void 0&&(Ue=new Date),Ue instanceof Date)lt=cr(Ue);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(Ue))throw new Error("Invalid argument passed to jsPDF.setCreationDate");lt=Ue}return qn=lt},Ct=$e.__private__.getCreationDate=function(Ue){var lt=qn;return Ue==="jsDate"&&(lt=qr(qn)),lt};$e.setCreationDate=function(Ue){return Lr(Ue),this},$e.getCreationDate=function(Ue){return Ct(Ue)};var Yt,sn=$e.__private__.padd2=function(Ue){return("0"+parseInt(Ue)).slice(-2)},Cn=$e.__private__.padd2Hex=function(Ue){return("00"+(Ue=Ue.toString())).substr(Ue.length)},Tn=0,Wn=[],ir=[],nr=0,Cr=[],zr=[],pa=!1,ya=ir;$e.__private__.setCustomOutputDestination=function(Ue){pa=!0,ya=Ue};var pr=function(Ue){pa||(ya=Ue)};$e.__private__.resetCustomOutputDestination=function(){pa=!1,ya=ir};var an=$e.__private__.out=function(Ue){return Ue=Ue.toString(),nr+=Ue.length+1,ya.push(Ue),ya},xi=$e.__private__.write=function(Ue){return an(arguments.length===1?Ue.toString():Array.prototype.join.call(arguments," "))},oi=$e.__private__.getArrayBuffer=function(Ue){for(var lt=Ue.length,Vt=new ArrayBuffer(lt),hn=new Uint8Array(Vt);lt--;)hn[lt]=Ue.charCodeAt(lt);return Vt},po=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];$e.__private__.getStandardFonts=function(){return po};var Yr=b.fontSize||16;$e.__private__.setFontSize=$e.setFontSize=function(Ue){return Yr=qt===cn?Ue/Qo:Ue,this};var io,Pa=$e.__private__.getFontSize=$e.getFontSize=function(){return qt===Sn?Yr:Yr*Qo},ii=b.R2L||!1;$e.__private__.setR2L=$e.setR2L=function(Ue){return ii=Ue,this},$e.__private__.getR2L=$e.getR2L=function(){return ii};var co,Vi=$e.__private__.setZoomMode=function(Ue){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(Ue))io=Ue;else if(isNaN(Ue)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(Ue)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+Ue+'" is not recognized.');io=Ue}else io=parseInt(Ue,10)};$e.__private__.getZoomMode=function(){return io};var Xo,Yo=$e.__private__.setPageMode=function(Ue){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(Ue)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+Ue+'" is not recognized.');co=Ue};$e.__private__.getPageMode=function(){return co};var BA=$e.__private__.setLayoutMode=function(Ue){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(Ue)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+Ue+'" is not recognized.');Xo=Ue};$e.__private__.getLayoutMode=function(){return Xo},$e.__private__.setDisplayMode=$e.setDisplayMode=function(Ue,lt,Vt){return Vi(Ue),BA(lt),Yo(Vt),this};var Ai={title:"",subject:"",author:"",keywords:"",creator:""};$e.__private__.getDocumentProperty=function(Ue){if(Object.keys(Ai).indexOf(Ue)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Ai[Ue]},$e.__private__.getDocumentProperties=function(){return Ai},$e.__private__.setDocumentProperties=$e.setProperties=$e.setDocumentProperties=function(Ue){for(var lt in Ai)Ai.hasOwnProperty(lt)&&Ue[lt]&&(Ai[lt]=Ue[lt]);return this},$e.__private__.setDocumentProperty=function(Ue,lt){if(Object.keys(Ai).indexOf(Ue)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Ai[Ue]=lt};var so,Qo,lo,kA,Xi,no={},Jo={},xA=[],bo={},Ui={},qo={},xs={},Vs=null,_A=0,zo=[],aA=new D0($e),Wg=b.hotfixes||[],Hl={},Pd={},ad=[],Co=function Ue(lt,Vt,hn,jn,yr,Nr){if(!(this instanceof Ue))return new Ue(lt,Vt,hn,jn,yr,Nr);isNaN(lt)&&(lt=1),isNaN(Vt)&&(Vt=0),isNaN(hn)&&(hn=0),isNaN(jn)&&(jn=1),isNaN(yr)&&(yr=0),isNaN(Nr)&&(Nr=0),this._matrix=[lt,Vt,hn,jn,yr,Nr]};Object.defineProperty(Co.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Ue){this._matrix[0]=Ue}}),Object.defineProperty(Co.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Ue){this._matrix[1]=Ue}}),Object.defineProperty(Co.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Ue){this._matrix[2]=Ue}}),Object.defineProperty(Co.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Ue){this._matrix[3]=Ue}}),Object.defineProperty(Co.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Ue){this._matrix[4]=Ue}}),Object.defineProperty(Co.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Ue){this._matrix[5]=Ue}}),Object.defineProperty(Co.prototype,"a",{get:function(){return this._matrix[0]},set:function(Ue){this._matrix[0]=Ue}}),Object.defineProperty(Co.prototype,"b",{get:function(){return this._matrix[1]},set:function(Ue){this._matrix[1]=Ue}}),Object.defineProperty(Co.prototype,"c",{get:function(){return this._matrix[2]},set:function(Ue){this._matrix[2]=Ue}}),Object.defineProperty(Co.prototype,"d",{get:function(){return this._matrix[3]},set:function(Ue){this._matrix[3]=Ue}}),Object.defineProperty(Co.prototype,"e",{get:function(){return this._matrix[4]},set:function(Ue){this._matrix[4]=Ue}}),Object.defineProperty(Co.prototype,"f",{get:function(){return this._matrix[5]},set:function(Ue){this._matrix[5]=Ue}}),Object.defineProperty(Co.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Co.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Co.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Co.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Co.prototype.join=function(Ue){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(xn).join(Ue)},Co.prototype.multiply=function(Ue){var lt=Ue.sx*this.sx+Ue.shy*this.shx,Vt=Ue.sx*this.shy+Ue.shy*this.sy,hn=Ue.shx*this.sx+Ue.sy*this.shx,jn=Ue.shx*this.shy+Ue.sy*this.sy,yr=Ue.tx*this.sx+Ue.ty*this.shx+this.tx,Nr=Ue.tx*this.shy+Ue.ty*this.sy+this.ty;return new Co(lt,Vt,hn,jn,yr,Nr)},Co.prototype.decompose=function(){var Ue=this.sx,lt=this.shy,Vt=this.shx,hn=this.sy,jn=this.tx,yr=this.ty,Nr=Math.sqrt(Ue*Ue+lt*lt),Za=(Ue/=Nr)*Vt+(lt/=Nr)*hn;Vt-=Ue*Za,hn-=lt*Za;var qa=Math.sqrt(Vt*Vt+hn*hn);return Za/=qa,Ue*(hn/=qa)>16&255,hn=qa>>8&255,jn=255&qa}if(hn===void 0||yr===void 0&&Vt===hn&&hn===jn)lt=typeof Vt=="string"?Vt+" "+Nr[0]:Ue.precision===2?Ft(Vt/255)+" "+Nr[0]:zt(Vt/255)+" "+Nr[0];else if(yr===void 0||(0,Oe.Z)(yr)==="object"){if(yr&&!isNaN(yr.a)&&yr.a===0)return["1.","1.","1.",Nr[1]].join(" ");lt=typeof Vt=="string"?[Vt,hn,jn,Nr[1]].join(" "):Ue.precision===2?[Ft(Vt/255),Ft(hn/255),Ft(jn/255),Nr[1]].join(" "):[zt(Vt/255),zt(hn/255),zt(jn/255),Nr[1]].join(" ")}else lt=typeof Vt=="string"?[Vt,hn,jn,yr,Nr[2]].join(" "):Ue.precision===2?[Ft(Vt),Ft(hn),Ft(jn),Ft(yr),Nr[2]].join(" "):[zt(Vt),zt(hn),zt(jn),zt(yr),Nr[2]].join(" ");return lt},xc=$e.__private__.getFilters=function(){return Ee},ec=$e.__private__.putStream=function(Ue){var lt=(Ue=Ue||{}).data||"",Vt=Ue.filters||xc(),hn=Ue.alreadyAppliedFilters||[],jn=Ue.addLength1||!1,yr=lt.length,Nr=Ue.objectId,Za=function(Xs){return Xs};if(We!==null&&Nr===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");We!==null&&(Za=_s.encryptor(Nr,0));var qa={};Vt===!0&&(Vt=["FlateEncode"]);var Ho=Ue.additionalKeyValues||[],Zo=(qa=Wa.API.processDataByFilters!==void 0?Wa.API.processDataByFilters(lt,Vt):{data:lt,reverseChain:[]}).reverseChain+(Array.isArray(hn)?hn.join(" "):hn.toString());if(qa.data.length!==0&&(Ho.push({key:"Length",value:qa.data.length}),jn===!0&&Ho.push({key:"Length1",value:yr})),Zo.length!=0)if(Zo.split("/").length-1==1)Ho.push({key:"Filter",value:Zo});else{Ho.push({key:"Filter",value:"["+Zo+"]"});for(var Yi=0;Yi>"),qa.data.length!==0&&(an("stream"),an(Za(qa.data)),an("endstream"))},Xg=$e.__private__.putPage=function(Ue){var lt=Ue.number,Vt=Ue.data,hn=Ue.objId,jn=Ue.contentsObjId;wl(hn,!0),an("<>"),an("endobj");var yr=Vt.join(` `);return qt===cn&&(yr+=` Q`),wl(jn,!0),ec({data:yr,filters:xc(),objectId:jn}),an("endobj"),hn},id=$e.__private__.putPages=function(){var Ue,lt,Vt=[];for(Ue=1;Ue<=_A;Ue++)zo[Ue].objId=gl(),zo[Ue].contentsObjId=gl();for(Ue=1;Ue<=_A;Ue++)Vt.push(Xg({number:Ue,data:zr[Ue],objId:zo[Ue].objId,contentsObjId:zo[Ue].contentsObjId,mediaBox:zo[Ue].mediaBox,cropBox:zo[Ue].cropBox,bleedBox:zo[Ue].bleedBox,trimBox:zo[Ue].trimBox,artBox:zo[Ue].artBox,userUnit:zo[Ue].userUnit,rootDictionaryObjId:ag,resourceDictionaryObjId:Ec}));wl(ag,!0),an("<>"),an("endobj"),aA.publish("postPutPages")},Yg=function(Ue){aA.publish("putFont",{font:Ue,out:an,newObject:Ss,putStream:ec}),Ue.isAlreadyPutted!==!0&&(Ue.objectNumber=Ss(),an("<<"),an("/Type /Font"),an("/BaseFont /"+Fu(Ue.postScriptName)),an("/Subtype /Type1"),typeof Ue.encoding=="string"&&an("/Encoding /"+Ue.encoding),an("/FirstChar 32"),an("/LastChar 255"),an(">>"),an("endobj"))},Hf=function(Ue){Ue.objectNumber=Ss();var lt=[];lt.push({key:"Type",value:"/XObject"}),lt.push({key:"Subtype",value:"/Form"}),lt.push({key:"BBox",value:"["+[xn(Ue.x),xn(Ue.y),xn(Ue.x+Ue.width),xn(Ue.y+Ue.height)].join(" ")+"]"}),lt.push({key:"Matrix",value:"["+Ue.matrix.toString()+"]"});var Vt=Ue.pages[1].join(` `);ec({data:Vt,additionalKeyValues:lt,objectId:Ue.objectNumber}),an("endobj")},Kf=function(Ue,lt){lt||(lt=21);var Vt=Ss(),hn=function(Nr,Za){var qa,Ho=[],Zo=1/(Za-1);for(qa=0;qa<1;qa+=Zo)Ho.push(qa);if(Ho.push(1),Nr[0].offset!=0){var Yi={offset:0,color:Nr[0].color};Nr.unshift(Yi)}if(Nr[Nr.length-1].offset!=1){var cs={offset:1,color:Nr[Nr.length-1].color};Nr.push(cs)}for(var Ks="",RA=0,Xs=0;XsNr[RA+1].offset;)RA++;var zs=Nr[RA].offset,bl=(qa-zs)/(Nr[RA+1].offset-zs),nc=Nr[RA].color,pu=Nr[RA+1].color;Ks+=Cn(Math.round((1-bl)*nc[0]+bl*pu[0]).toString(16))+Cn(Math.round((1-bl)*nc[1]+bl*pu[1]).toString(16))+Cn(Math.round((1-bl)*nc[2]+bl*pu[2]).toString(16))}return Ks.trim()}(Ue.colors,lt),jn=[];jn.push({key:"FunctionType",value:"0"}),jn.push({key:"Domain",value:"[0.0 1.0]"}),jn.push({key:"Size",value:"["+lt+"]"}),jn.push({key:"BitsPerSample",value:"8"}),jn.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),jn.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ec({data:hn,additionalKeyValues:jn,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:Vt}),an("endobj"),Ue.objectNumber=Ss(),an("<< /ShadingType "+Ue.type),an("/ColorSpace /DeviceRGB");var yr="/Coords ["+xn(parseFloat(Ue.coords[0]))+" "+xn(parseFloat(Ue.coords[1]))+" ";Ue.type===2?yr+=xn(parseFloat(Ue.coords[2]))+" "+xn(parseFloat(Ue.coords[3])):yr+=xn(parseFloat(Ue.coords[2]))+" "+xn(parseFloat(Ue.coords[3]))+" "+xn(parseFloat(Ue.coords[4]))+" "+xn(parseFloat(Ue.coords[5])),an(yr+="]"),Ue.matrix&&an("/Matrix ["+Ue.matrix.toString()+"]"),an("/Function "+Vt+" 0 R"),an("/Extend [true true]"),an(">>"),an("endobj")},zf=function(Ue,lt){var Vt=gl(),hn=Ss();lt.push({resourcesOid:Vt,objectOid:hn}),Ue.objectNumber=hn;var jn=[];jn.push({key:"Type",value:"/Pattern"}),jn.push({key:"PatternType",value:"1"}),jn.push({key:"PaintType",value:"1"}),jn.push({key:"TilingType",value:"1"}),jn.push({key:"BBox",value:"["+Ue.boundingBox.map(xn).join(" ")+"]"}),jn.push({key:"XStep",value:xn(Ue.xStep)}),jn.push({key:"YStep",value:xn(Ue.yStep)}),jn.push({key:"Resources",value:Vt+" 0 R"}),Ue.matrix&&jn.push({key:"Matrix",value:"["+Ue.matrix.toString()+"]"}),ec({data:Ue.stream,additionalKeyValues:jn,objectId:Ue.objectNumber}),an("endobj")},Gm=function(Ue){for(var lt in Ue.objectNumber=Ss(),an("<<"),Ue)switch(lt){case"opacity":an("/ca "+Ft(Ue[lt]));break;case"stroke-opacity":an("/CA "+Ft(Ue[lt]))}an(">>"),an("endobj")},Fh=function(Ue){wl(Ue.resourcesOid,!0),an("<<"),an("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var lt in an("/Font <<"),no)no.hasOwnProperty(lt)&&(At===!1||At===!0&&mt.hasOwnProperty(lt))&&an("/"+lt+" "+no[lt].objectNumber+" 0 R");an(">>")}(),function(){if(Object.keys(bo).length>0){for(var lt in an("/Shading <<"),bo)bo.hasOwnProperty(lt)&&bo[lt]instanceof Yc&&bo[lt].objectNumber>=0&&an("/"+lt+" "+bo[lt].objectNumber+" 0 R");aA.publish("putShadingPatternDict"),an(">>")}}(),function(lt){if(Object.keys(bo).length>0){for(var Vt in an("/Pattern <<"),bo)bo.hasOwnProperty(Vt)&&bo[Vt]instanceof $e.TilingPattern&&bo[Vt].objectNumber>=0&&bo[Vt].objectNumber>")}}(Ue.objectOid),function(){if(Object.keys(qo).length>0){var lt;for(lt in an("/ExtGState <<"),qo)qo.hasOwnProperty(lt)&&qo[lt].objectNumber>=0&&an("/"+lt+" "+qo[lt].objectNumber+" 0 R");aA.publish("putGStateDict"),an(">>")}}(),function(){for(var lt in an("/XObject <<"),Hl)Hl.hasOwnProperty(lt)&&Hl[lt].objectNumber>=0&&an("/"+lt+" "+Hl[lt].objectNumber+" 0 R");aA.publish("putXobjectDict"),an(">>")}(),an(">>"),an("endobj")},T0=function(Ue){Jo[Ue.fontName]=Jo[Ue.fontName]||{},Jo[Ue.fontName][Ue.fontStyle]=Ue.id},k0=function(Ue,lt,Vt,hn,jn){var yr={id:"F"+(Object.keys(no).length+1).toString(10),postScriptName:Ue,fontName:lt,fontStyle:Vt,encoding:hn,isStandardFont:jn||!1,metadata:{}};return aA.publish("addFont",{font:yr,instance:this}),no[yr.id]=yr,T0(yr),yr.id},tc=$e.__private__.pdfEscape=$e.pdfEscape=function(Ue,lt){return function(Vt,hn){var jn,yr,Nr,Za,qa,Ho,Zo,Yi,cs;if(Nr=(hn=hn||{}).sourceEncoding||"Unicode",qa=hn.outputEncoding,(hn.autoencode||qa)&&no[so].metadata&&no[so].metadata[Nr]&&no[so].metadata[Nr].encoding&&(Za=no[so].metadata[Nr].encoding,!qa&&no[so].encoding&&(qa=no[so].encoding),!qa&&Za.codePages&&(qa=Za.codePages[0]),typeof qa=="string"&&(qa=Za[qa]),qa)){for(Zo=!1,Ho=[],jn=0,yr=Vt.length;jn>8&&(Zo=!0);Vt=Ho.join("")}for(jn=Vt.length;Zo===void 0&&jn!==0;)Vt.charCodeAt(jn-1)>>8&&(Zo=!0),jn--;if(!Zo)return Vt;for(Ho=hn.noBOM?[]:[254,255],jn=0,yr=Vt.length;jn>8)>>8)throw new Error("Character at position "+jn+" of string '"+Vt+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Ho.push(cs),Ho.push(Yi-(cs<<8))}return String.fromCharCode.apply(void 0,Ho)}(Ue,lt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},xh=$e.__private__.beginPage=function(Ue){zr[++_A]=[],zo[_A]={objId:0,contentsObjId:0,userUnit:Number(Se),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(Ue[0]),topRightY:Number(Ue[1])}},j0(_A),pr(zr[Yt])},R0=function(Ue,lt){var Vt,hn,jn;switch(x=lt||x,typeof Ue=="string"&&(Vt=xt(Ue.toLowerCase()),Array.isArray(Vt)&&(hn=Vt[0],jn=Vt[1])),Array.isArray(Ue)&&(hn=Ue[0]*Qo,jn=Ue[1]*Qo),isNaN(hn)&&(hn=ae[0],jn=ae[1]),(hn>14400||jn>14400)&&(cA.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),hn=Math.min(14400,hn),jn=Math.min(14400,jn)),ae=[hn,jn],x.substr(0,1)){case"l":jn>hn&&(ae=[jn,hn]);break;case"p":hn>jn&&(ae=[jn,hn])}xh(ae),ep(Nh),an($f),Oh!==0&&an(Oh+" J"),Qh!==0&&an(Qh+" j"),aA.publish("addPage",{pageNumber:_A})},_h=function(Ue){Ue>0&&Ue<=_A&&(zr.splice(Ue,1),zo.splice(Ue,1),_A--,Yt>_A&&(Yt=_A),this.setPage(Yt))},j0=function(Ue){Ue>0&&Ue<=_A&&(Yt=Ue)},M0=$e.__private__.getNumberOfPages=$e.getNumberOfPages=function(){return zr.length-1},H0=function(Ue,lt,Vt){var hn,jn=void 0;return Vt=Vt||{},Ue=Ue!==void 0?Ue:no[so].fontName,lt=lt!==void 0?lt:no[so].fontStyle,hn=Ue.toLowerCase(),Jo[hn]!==void 0&&Jo[hn][lt]!==void 0?jn=Jo[hn][lt]:Jo[Ue]!==void 0&&Jo[Ue][lt]!==void 0?jn=Jo[Ue][lt]:Vt.disableWarning===!1&&cA.warn("Unable to look up font label for font '"+Ue+"', '"+lt+"'. Refer to getFontList() for available fonts."),jn||Vt.noFallback||(jn=Jo.times[lt])==null&&(jn=Jo.times.normal),jn},Gf=$e.__private__.putInfo=function(){var Ue=Ss(),lt=function(hn){return hn};for(var Vt in We!==null&&(lt=_s.encryptor(Ue,0)),an("<<"),an("/Producer ("+tc(lt("jsPDF "+Wa.version))+")"),Ai)Ai.hasOwnProperty(Vt)&&Ai[Vt]&&an("/"+Vt.substr(0,1).toUpperCase()+Vt.substr(1)+" ("+tc(lt(Ai[Vt]))+")");an("/CreationDate ("+tc(lt(qn))+")"),an(">>"),an("endobj")},$m=$e.__private__.putCatalog=function(Ue){var lt=(Ue=Ue||{}).rootDictionaryObjId||ag;switch(Ss(),an("<<"),an("/Type /Catalog"),an("/Pages "+lt+" 0 R"),io||(io="fullwidth"),io){case"fullwidth":an("/OpenAction [3 0 R /FitH null]");break;case"fullheight":an("/OpenAction [3 0 R /FitV null]");break;case"fullpage":an("/OpenAction [3 0 R /Fit]");break;case"original":an("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Vt=""+io;Vt.substr(Vt.length-1)==="%"&&(io=parseInt(io)/100),typeof io=="number"&&an("/OpenAction [3 0 R /XYZ null null "+Ft(io)+"]")}switch(Xo||(Xo="continuous"),Xo){case"continuous":an("/PageLayout /OneColumn");break;case"single":an("/PageLayout /SinglePage");break;case"two":case"twoleft":an("/PageLayout /TwoColumnLeft");break;case"tworight":an("/PageLayout /TwoColumnRight")}co&&an("/PageMode /"+co),aA.publish("putCatalog"),an(">>"),an("endobj")},Hs=$e.__private__.putTrailer=function(){an("trailer"),an("<<"),an("/Size "+(Tn+1)),an("/Root "+Tn+" 0 R"),an("/Info "+(Tn-1)+" 0 R"),We!==null&&an("/Encrypt "+_s.oid+" 0 R"),an("/ID [ <"+rr+"> <"+rr+"> ]"),an(">>")},K0=$e.__private__.putHeader=function(){an("%PDF-"+Mt),an("%\xBA\xDF\xAC\xE0")},z0=$e.__private__.putXRef=function(){var Ue="0000000000";an("xref"),an("0 "+(Tn+1)),an("0000000000 65535 f ");for(var lt=1;lt<=Tn;lt++)typeof Wn[lt]=="function"?an((Ue+Wn[lt]()).slice(-10)+" 00000 n "):Wn[lt]!==void 0?an((Ue+Wn[lt]).slice(-10)+" 00000 n "):an("0000000000 00000 n ")},xd=$e.__private__.buildDocument=function(){var Ue;Tn=0,nr=0,ir=[],Wn=[],Cr=[],ag=gl(),Ec=gl(),pr(ir),aA.publish("buildDocument"),K0(),id(),function(){aA.publish("putAdditionalObjects");for(var Vt=0;Vt"),an("/O <"+_s.toHexString(_s.O)+">"),an("/P "+_s.P),an(">>"),an("endobj")),Gf(),$m();var lt=nr;return z0(),Hs(),an("startxref"),an(""+lt),an("%%EOF"),pr(zr[Yt]),ir.join(` `)},Jg=$e.__private__.getBlob=function(Ue){return new Blob([oi(Ue)],{type:"application/pdf"})},_c=$e.output=$e.__private__.output=(qu=function(Ue,lt){switch(typeof(lt=lt||{})=="string"?lt={filename:lt}:lt.filename=lt.filename||"generated.pdf",Ue){case void 0:return xd();case"save":$e.save(lt.filename);break;case"arraybuffer":return oi(xd());case"blob":return Jg(xd());case"bloburi":case"bloburl":if(Fo.URL!==void 0&&typeof Fo.URL.createObjectURL=="function")return Fo.URL&&Fo.URL.createObjectURL(Jg(xd()))||void 0;cA.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var Vt="",hn=xd();try{Vt=bh(hn)}catch(Ks){Vt=bh(unescape(encodeURIComponent(hn)))}return"data:application/pdf;filename="+lt.filename+";base64,"+Vt;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Fo)==="[object Window]"){var jn="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",yr=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';lt.pdfObjectUrl&&(jn=lt.pdfObjectUrl,yr="");var Nr='